summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/sshconnect2.c
diff options
context:
space:
mode:
authorrob <rob@openbsd.org>2018-07-04 13:04:30 +0000
committerrob <rob@openbsd.org>2018-07-04 13:04:30 +0000
commit6946e494d6305a8fc140f509de146101cdaacab0 (patch)
tree9d075ec14181e24575c6bfb23db24e93f0d74771 /usr.bin/ssh/sshconnect2.c
parentMove allocation behind sanity check to address possible memory leak as (diff)
downloadwireguard-openbsd-6946e494d6305a8fc140f509de146101cdaacab0.tar.xz
wireguard-openbsd-6946e494d6305a8fc140f509de146101cdaacab0.zip
Relocate the update of br_offs from ber_read() to ber_readbuf() so ber_getc()
can call ber_readbuf() in all cases. This resolves a problem previously encountered with SNMPv3 authentication, simplifies the code, and completes a full synchronization of all ber instances. Proposed by claudio@. Problematic use case in snmpd tested by sthen@ and me. ldap(s) appear happy as well. looks good to claudio@
Diffstat (limited to 'usr.bin/ssh/sshconnect2.c')
0 files changed, 0 insertions, 0 deletions