diff options
author | avatar <avatar@FreeBSD.org> | 2007-11-22 01:51:46 +0000 |
---|---|---|
committer | avatar <avatar@FreeBSD.org> | 2007-11-22 01:51:46 +0000 |
commit | 5fe104598e52f3420ed1a06628822037577d6f88 (patch) | |
tree | d5f0cbfddb59ef604b4a36dcf44a54e95b6a2dc3 /sys/pci/if_rl.c | |
parent | 018efe29f979fab10b25b6928fe98cfde2fe5a80 (diff) | |
download | FreeBSD-src-5fe104598e52f3420ed1a06628822037577d6f88.zip FreeBSD-src-5fe104598e52f3420ed1a06628822037577d6f88.tar.gz |
Nuking the temporary pointer once it is properly tracked in local storage.
This should fix the double free() bug where there's no tailing newline(\n)
character:
current# echo -n test | tail
testAssertion failed: (run->magic == ARENA_RUN_MAGIC), function
arena_dalloc, file /usr/src/lib/libc/stdlib/malloc.c, line 2448.
Abort (core dumped)
Reviewed by: kib
MFC after: 3 days
Diffstat (limited to 'sys/pci/if_rl.c')
0 files changed, 0 insertions, 0 deletions