Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_3) /tests bug44830.phpt

[email protected] (Antony Dovgal)
Newsgroups php.zend-engine.cvs
Message-ID <[email protected]>
On 09.05.2008 18:41, Matt Wilmas wrote:
> mattwil		Fri May  9 14:41:16 2008 UTC
> 
>   Modified files:              (Branch: PHP_5_3)
>     /ZendEngine2/tests	bug44830.phpt 
>   Log:
>   MFH

Valgrind log:
==22028== Invalid write of size 1
==22028==    at 0x845CE3: zend_scan_escape_string (zend_language_scanner.l:585)
==22028==    by 0x849E43: lex_scan (zend_language_scanner.l:1738)
==22028==    by 0x873CF7: zendlex (zend_compile.c:4715)
==22028==    by 0x8407A3: zendparse (zend_language_parser.c:3096)
==22028==    by 0x8450CA: compile_file (zend_language_scanner.l:297)
==22028==    by 0x889C83: zend_execute_scripts (zend.c:1187)
==22028==    by 0x813ECE: php_execute_script (main.c:2077)
==22028==    by 0x92BB31: main (php_cli.c:1139)
==22028==  Address 0x9188f5a is 0 bytes after a block of size 2 alloc'd
==22028==    at 0x4C22DAB: malloc (vg_replace_malloc.c:207)
==22028==    by 0x864A93: _emalloc (zend_alloc.c:2281)
==22028==    by 0x864FEB: _estrndup (zend_alloc.c:2423)
==22028==    by 0x8458AA: zend_scan_escape_string (zend_language_scanner.l:493)
==22028==    by 0x849E43: lex_scan (zend_language_scanner.l:1738)
==22028==    by 0x873CF7: zendlex (zend_compile.c:4715)
==22028==    by 0x8407A3: zendparse (zend_language_parser.c:3096)
==22028==    by 0x8450CA: compile_file (zend_language_scanner.l:297)
==22028==    by 0x889C83: zend_execute_scripts (zend.c:1187)
==22028==    by 0x813ECE: php_execute_script (main.c:2077)
==22028==    by 0x92BB31: main (php_cli.c:1139)

-- 
Wbr, 
Antony Dovgal
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.