When option D is active, store callers for all chunks; this avoids
authorotto <otto@openbsd.org>
Sun, 22 Oct 2023 12:19:26 +0000 (12:19 +0000)
committerotto <otto@openbsd.org>
Sun, 22 Oct 2023 12:19:26 +0000 (12:19 +0000)
commit0778079a1a8964ffa14104e44e3032d5c3accda4
tree1c664a8bff69800cfbe7128394c39df2c9e3620a
parent243d6ddeb623c1b9556b4b07fd89ab75de0466fc
When option D is active, store callers for all chunks; this avoids
the 0x0 call sites for leak reports. Also display more info on
detected write of free chunks: print the info about where the chunk
was allocated, and for the preceding chunk as well.
ok asou@
lib/libc/stdlib/malloc.3
lib/libc/stdlib/malloc.c