summaryrefslogtreecommitdiffstats
path: root/sys/dev/isa
diff options
context:
space:
mode:
authorthib <thib@openbsd.org>2007-10-05 16:46:30 +0000
committerthib <thib@openbsd.org>2007-10-05 16:46:30 +0000
commit4b0bef0f0fdd51a4d30f94f44bc6bdd2e3a9c111 (patch)
treee8dd5e2509a4663fee4129bb7fffa8c463aa3a3a /sys/dev/isa
parentfix by actually using pcc (diff)
downloadwireguard-openbsd-4b0bef0f0fdd51a4d30f94f44bc6bdd2e3a9c111.tar.xz
wireguard-openbsd-4b0bef0f0fdd51a4d30f94f44bc6bdd2e3a9c111.zip
MALLOC/FREE -> malloc/free + M_ZERO.
As a side effect, this probably fixes PR5596, if the allocation of dh_hash succeeds and the dh_blkfree fails, we jump into the fail case, but we haven't initialized dh_hash properly, that is filling the array with memory from the dirhash pool, but the != NULL check holds, since the memory hasn't been zeroed and so we start pool_put()'ing, causing the crash in PR5596. PR5596 debugging by pedro. ok art@, krw@
Diffstat (limited to 'sys/dev/isa')
0 files changed, 0 insertions, 0 deletions