summaryrefslogtreecommitdiff
path: root/sys/conf
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2007-10-05 16:46:31 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2007-10-05 16:46:31 +0000
commit77d240cc411e04f7170cc737b4e5a9771095e1af (patch)
tree5baf8982d0bb0019c60e571515b604e26d724a7d /sys/conf
parent81653f39ae15d84811dad048833e5a416109ca82 (diff)
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/conf')
0 files changed, 0 insertions, 0 deletions