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 > management:
It surprised me as well at the time, > ANSI C (ANSI X3J11/88-090, May 13, 1988) [1], Section 4.10.3.2: > > If ptr is a null pointer, no action occurs. and I didn't go back to check that. That's enough to make me feel confident removing it. Meanwhile, HUH. retrying, I don't get segv. I don't recall which toolchain I tried that under. So we can reverse that, thanks. -serge ------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may _______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel