summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorlum <lum@openbsd.org>2016-09-05 08:10:58 +0000
committerlum <lum@openbsd.org>2016-09-05 08:10:58 +0000
commitaa8ccb00f90eb613819c7f7b6cda4883876cf610 (patch)
treec2de9f895827c3caed9cb779b1fc4cbb1697d1c8 /sys/dev/pci
parentDump vcpu and vmcs info on various fail to enter scenarios (diff)
downloadwireguard-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/dev/pci')
0 files changed, 0 insertions, 0 deletions