diff options
author | 2016-09-05 08:10:58 +0000 | |
---|---|---|
committer | 2016-09-05 08:10:58 +0000 | |
commit | aa8ccb00f90eb613819c7f7b6cda4883876cf610 (patch) | |
tree | c2de9f895827c3caed9cb779b1fc4cbb1697d1c8 /sys | |
parent | Dump vcpu and vmcs info on various fail to enter scenarios (diff) | |
download | wireguard-openbsd-aa8ccb00f90eb613819c7f7b6cda4883876cf610.tar.xz wireguard-openbsd-aa8ccb00f90eb613819c7f7b6cda4883876cf610.zip |
Initialize stack variables to zero before memmove().
Coverity Scan reported these two stack variables as uninitialized, in
particular the .r_lineno struct member was uninitialized. This patch
clears the 'struct region' rather than setting .r_lineno because if
any more struct members are added in the future the clear will cover
them too.
Source Joachim Nilsson. ok tom@ millert@
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions