[Date Prev][Date Next]
Patch: Wrong return types for ber_scanf and ber_flatten (ITS#1701)
Full_Name: Hallvard B. Furuseth
Submission from: (NULL) (184.108.40.206)
Fix code which assigns the return value of ber_scanf to an int and then
usually tests if that is LBER_ERROR, and which checks ber_flatten() ==
LBER_ERROR instead of -1.
The request.c patch patches rc=ber_printf instead because most uses
of 'rc' is with ber_scanf, so it's simpler to change the type of 'rc'
and then change the uses of 'rc' which are not with ber_scanf.