|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2010-09-08 15:18 UTC] hossy421 at yahoo dot co dot jp
Description: ------------ httpd ( Apache 2.2 ) crashes below messages. > pid XXXXX(httpd), uid 80: exited on signal 11 XXXXX is process id of a httpd child process. Test script: --------------- independent of script. httpd is crashed by any script. for example PukiWiki. Expected result: ---------------- all script will run without any error. Actual result: -------------- I've compiled PHP with --enable-debug option. PHP crash with below message. > --------------------------------------- > Zend/zend_language_scanner.l(704) : Block 0x28f9871c status: > Beginning: Freed > Start: OK > End: Overflown (magic=0x0000003C instead of 0xC5F842B3) > At least 4 bytes overflown > --------------------------------------- Zend/zend_language_scanner.l(704) is below code. > efree(SCNG(script_org)); `SCNG(script_org)' is saved by `zend_save_lexical_state()' function, and restored by `zend_restore_lexical_state()' function. `SCNG(script_org)' is `unsigned char*', but only the pointers are stored and saved, not the string pointed to. Patchespatch-zend_language_scanner.c.diff (last revision 2010-09-08 13:19 UTC by hossy421 at yahoo dot co dot jp)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 12:00:02 2025 UTC |
Happens with 5.3.13 and a custom SAPI. --------------------------------------- Zend/zend_language_scanner.l(709) : Block 0x101e8318 status: Invalid pointer: ((prev=0x00000079) != (prev.size=0x101e827c)) --------------------------------------- --------------------------------------- Zend/zend_language_scanner.l(709) : Block 0x101e8368 status: Beginning: Freed Start: OK End: Overflown (magic=0x0000002D instead of 0xF40CA3AE) At least 4 bytes overflown ---------------------------------------