Aaah, got it. Sorry, my bad, I made a silly error when backporting the CVE-2006-1494 patch. I attach the fixed one. I'm pretty sure that it'll work now, can you please confirm?
I still wonder why it didn't crash for me, tempnam() works fine on my hoary here. Must be a very strange coincidence, or the fact that gallery2 just uses a lot more memory than my small test scripts. Thank you a lot for tracking this down! -- hoary: intermittent SIGSEGV from php pages after upgrade to 4.3.10-10ubuntu4.5 https://launchpad.net/bugs/53581 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs