summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/labs.c
diff options
context:
space:
mode:
authorsilby <silby@FreeBSD.org>2005-06-29 08:18:26 +0000
committersilby <silby@FreeBSD.org>2005-06-29 08:18:26 +0000
commit0edd2a4f6f00b1528ebec4e54b9a0fdcb4a64ddd (patch)
tree6c825d8a87fb3fe79d721a9157d5389eceed0c1f /lib/libc/stdlib/labs.c
parentbd7fc02cf00f7446a4fc2151d3367d5e935dacae (diff)
downloadFreeBSD-src-0edd2a4f6f00b1528ebec4e54b9a0fdcb4a64ddd.zip
FreeBSD-src-0edd2a4f6f00b1528ebec4e54b9a0fdcb4a64ddd.tar.gz
Fix the false memory modified after free messages some users have been
reporting - in my previous change, I missed the case where a mbuf from the packet zone was freed back to the mbuf/packet keg, where it was subsequently put into the mbuf zone and found not to contain the expected trash. This change adds the necessary trash_dtor call inside mb_fini_pack so that everything is correct. Thanks for Bosko for finding the bug and showing me how secondary zones work. Approved by: re (dwhite)
Diffstat (limited to 'lib/libc/stdlib/labs.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud