diff options
author | Tai-hwa Liang <avatar@FreeBSD.org> | 2007-11-22 01:51:46 +0000 |
---|---|---|
committer | Tai-hwa Liang <avatar@FreeBSD.org> | 2007-11-22 01:51:46 +0000 |
commit | e7356456ed980db73b21df22d5405c1aaeeca003 (patch) | |
tree | d5f0cbfddb59ef604b4a36dcf44a54e95b6a2dc3 /sys/dev/sk/if_sk.c | |
parent | ddd6e7d2abffb5c191e958593f4f3918678b285c (diff) | |
download | src-e7356456ed980db73b21df22d5405c1aaeeca003.tar.gz src-e7356456ed980db73b21df22d5405c1aaeeca003.zip |
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
Notes
Notes:
svn path=/head/; revision=173838
Diffstat (limited to 'sys/dev/sk/if_sk.c')
0 files changed, 0 insertions, 0 deletions