Andreas Tscharner <[email protected]> wrote: >> #148370 > I cannot reproduce it. But if the problem is really "out of memory" > (as suspected), someone else (maybe on a 32 bit system) should test > it, as I am on a 64bit system with 6 GiB of RAM...
In http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=148370#45 the reporter indicates that it crashed on a line "png_rows[y] = alloca(png_get_rowbytes(png, pinfo));". alloca allocates memory on the stack, and the manpage on my system specifically notes "If the allocation causes stack overflow, program behavior is undefined." It looks like it may have been fixed in git commit 2ccc8e4a79a3179454d82b9acc574135ea6369a4, as that commit changed it to use malloc instead. -- To unsubscribe, send mail to [email protected].
