[PHP-DEV] Bug #10400: output_transform_file pointer in sablot.c MUST be initialized to NULL in php_sablot_init_globals, and S_FREE macro MUST set the pointer it frees to NULL after freeing. Otherwise xslt_begintransform clobbers memory at a random location causing memory corruption and segfaults apache after a few requests. More info, a working patch and an example that causes the problem is available on request. These two changes has made it perfectly reliable for me in version 4.0.4.5rc6-2 (debian package source version).

2001-04-19 Thread lsorense
From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.4pl1 PHP Bug Type: Sablotron XSL Bug description: output_transform_file pointer in sablot.c MUST be initialized to NULL in php_sablot_init_globals, and S_FREE macro MUST set the pointer it frees to NULL after

[PHP-DEV] PHP 4.0 Bug #10400 Updated: output_transform_file pointer in sablot.c MUST be initialized to NULL in php_sab

2001-04-19 Thread lsorense
ID: 10400 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Sablotron XSL Description: output_transform_file pointer in sablot.c MUST be initialized to NULL in php_sab The two suggested changes fixes the segfaults in apache and the hangs that occour when using