• Travis Cross's avatar
    Fix confusion between size_t and ssize_t · cbde2faa
    Travis Cross 提交于
    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.
    cbde2faa
名称
最后提交
最后更新
..
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 正在载入提交数据...