summaryrefslogtreecommitdiffstats
path: root/sys/netinet6
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2017-08-22 11:00:39 +0000
committerjsg <jsg@openbsd.org>2017-08-22 11:00:39 +0000
commitbded617dceb34a2cd5ec7e4a5964b206695b0969 (patch)
treee66ace39c8ba570c3fe7f970f22c403f10d6dc73 /sys/netinet6
parentFix negative array index read. Coverity CID 1453243 and 1453334. (diff)
downloadwireguard-openbsd-bded617dceb34a2cd5ec7e4a5964b206695b0969.tar.xz
wireguard-openbsd-bded617dceb34a2cd5ec7e4a5964b206695b0969.zip
Move array bounds tests before access to avoid reading past the end of
an array. Coverity CIDs 1452968 1453000. ok jung@ who mentions this case isn't hit in practice due to arrays having a terminating NULL.
Diffstat (limited to 'sys/netinet6')
0 files changed, 0 insertions, 0 deletions