Re: [PHP-DEV] Comment on Bug #30153: FATAL erealloc() error whenusing gzinflate()

2005-10-04 Thread Tim Nufire
Ron, But the error I'm seeing is *not* a segfault... Bad input data causes unbounded memory allocations which are eventually terminated when the per script memory limit is hit. At this point, PHP traps the condition and terminates the script 'gracefully'. The problem is that a 'graceful' term

Re: [PHP-DEV] Comment on Bug #30153: FATAL erealloc() error whenusing gzinflate()

2005-10-04 Thread Ron Korving
Tim, I'm no core PHP developer (just a user) but I'm pretty convinced that there's nothing that can be done to solve this from PHP. PHP just passes bytes to the zlib functions (which are implemented by the zlib guys). If one of these functions causes a segfault, there's really nothing you can do.