[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#249559: vsyslog fails



Package: libc6
Version: 2.2.5-11.5

vsyslog() fails if a return from open_memstream() is error.
The reason is that when the return from open_memstream() is error,
a variable buf is set a stack pointer of a variable failbuf
and the buf with the stack pointer is freed last.

I think that you would have to check the buf before freeing
it whether the buf have the stack pointer.

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux deb1 2.4.17 #1 SMP Thu Apr 11 13:30:19 JST 2002 i686
Locale: LANG=C, LC_CTYPE=C




Reply to: