• 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
名称
最后提交
最后更新
..
bnf 正在载入提交数据...
docs 正在载入提交数据...
features 正在载入提交数据...
http 正在载入提交数据...
ipt 正在载入提交数据...
iptsec 正在载入提交数据...
msg 正在载入提交数据...
nea 正在载入提交数据...
nta 正在载入提交数据...
nth 正在载入提交数据...
nua 正在载入提交数据...
sdp 正在载入提交数据...
sip 正在载入提交数据...
soa 正在载入提交数据...
sresolv 正在载入提交数据...
stun 正在载入提交数据...
su 正在载入提交数据...
tport 正在载入提交数据...
url 正在载入提交数据...
ChangeLog 正在载入提交数据...
Makefile.am 正在载入提交数据...
sofia.am 正在载入提交数据...