Re: [lxc-devel] [PATCH] fix getline(3) memory leaks

2013-05-22 Thread Serge Hallyn
Quoting Christian Seiler (christ...@iwakd.de): > Hi there, > > > Yeah I've tested before (because I used to want to think glibc would > > check for that) and it definately segvs. I'll push this patch with > > that added. > > I'm a bit confused, this goes against everything I know about C memory

Re: [lxc-devel] [PATCH] fix getline(3) memory leaks

2013-05-22 Thread Christian Seiler
Hi there, > Yeah I've tested before (because I used to want to think glibc would > check for that) and it definately segvs. I'll push this patch with > that added. I'm a bit confused, this goes against everything I know about C memory management: ANSI C (ANSI X3J11/88-090, May 13, 1988) [1], Se