summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2017-09-15 19:29:28 +0000
committerbluhm <bluhm@openbsd.org>2017-09-15 19:29:28 +0000
commitbd42128be7e8eb50ae3846fd30af7dbb541ddc27 (patch)
tree023cf2542e7eeac1afe16287eedac95747ca1021 /lib/libc
parentCoverity complained that the while loop at the end of m_adj() could (diff)
downloadwireguard-openbsd-bd42128be7e8eb50ae3846fd30af7dbb541ddc27.tar.xz
wireguard-openbsd-bd42128be7e8eb50ae3846fd30af7dbb541ddc27.zip
Coverity complains that top == NULL was checked and further down
top->m_pkthdr.len was accessed without check. See CID 1452933. In fact top cannot be NULL there and the condition was always false. m_getuio() did never reserve space for the header. The correct check is m == top to find the first mbuf. OK visa@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions