diff options
author | 2017-08-22 11:00:39 +0000 | |
---|---|---|
committer | 2017-08-22 11:00:39 +0000 | |
commit | bded617dceb34a2cd5ec7e4a5964b206695b0969 (patch) | |
tree | e66ace39c8ba570c3fe7f970f22c403f10d6dc73 /sys/netinet6 | |
parent | Fix negative array index read. Coverity CID 1453243 and 1453334. (diff) | |
download | wireguard-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