cbde2faab2
readfile returns a value of type ssize_t (signed) and returns -1 if an error occurs. In auth_readdb_internal, however, we were assigning the return value of readfile to a variable of type size_t (unsigned), but then testing this unsigned value to see if it was < 0, a contradiction. We would thus simultaneously fail to report the error in readfile and would end up with a corrupted length value. |
||
---|---|---|
.. | ||
sofia-sip | ||
ChangeLog | ||
Doxyfile.in | ||
Makefile.am | ||
auth_client.c | ||
auth_client_ntlm.c | ||
auth_common.c | ||
auth_digest.c | ||
auth_module.c | ||
auth_module_http.c | ||
auth_module_sip.c | ||
auth_ntlm.c | ||
auth_plugin.c | ||
auth_plugin_delayed.c | ||
auth_plugin_ntlm.c | ||
auth_tag.c | ||
iptsec.docs | ||
iptsec_debug.c | ||
iptsec_debug.h | ||
test_auth_digest.c | ||
testpasswd |