summaryrefslogtreecommitdiffstats
path: root/usr.bin/tftp/main.c
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2018-09-20 07:41:25 +0000
committerclaudio <claudio@openbsd.org>2018-09-20 07:41:25 +0000
commitd04df93831fe37af372e74dda5413ce59c0edfb0 (patch)
tree4948ce0895b769d58ca931846a6f06f414da5d14 /usr.bin/tftp/main.c
parentFix an out of bound read that could crash the RDE because it touched (diff)
downloadwireguard-openbsd-d04df93831fe37af372e74dda5413ce59c0edfb0.tar.xz
wireguard-openbsd-d04df93831fe37af372e74dda5413ce59c0edfb0.zip
Fix the empty aspath segments check. seg_size is never 0, this needs to use
seg_len instead. Since seg_len is known early move the check up. Found while hunting for the other bug in aspath_verify.
Diffstat (limited to 'usr.bin/tftp/main.c')
0 files changed, 0 insertions, 0 deletions