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

Bug#249559: vsyslog fails



At Tue, 18 May 2004 15:09:43 +0900,
fumihiko kakuma wrote:
> 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.

I made patch for this, and it was fixed in upstream cvs by Jakub
Jelinek.  I put the patch to fix this bug in glibc 2.3.2.ds1-13.

Thanks,
-- gotom



Reply to: