Re: cvs: php-src(PHP_5_3) /ext/standard/tests/file bug43522.phpt /main/streams streams.c

From: Date: Thu, 13 Dec 2007 00:17:43 +0000
Subject: Re: cvs: php-src(PHP_5_3) /ext/standard/tests/file bug43522.phpt /main/streams streams.c
References: 1 2  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-47469@lists.php.net to get a copy of this message
I tested with valgrind 3.2.3 and I see no memory errors, what valgrind are you using? Could it be a bug in 3.3.0 valgrind? On 11-Dec-07, at 3:45 AM, Antony Dovgal wrote:
On 10.12.2007 17:16, Ilia Alshanetsky wrote:
iliaa Mon Dec 10 14:16:57 2007 UTC
 Added files:                 (Branch: PHP_5_3)
/php-src/ext/standard/tests/file bug43522.phpt Modified files: /php-src/main/streams streams.c Log: Fixed bug #43522 (stream_get_line() eats additional characters)
Ilia, the patch doesn't look correct. ==19357== Conditional jump or move depends on uninitialised value(s)
==19357==    at 0x4C23A4C: memchr (in /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so)
==19357==    by 0x86E631: zend_memnstr (zend_operators.h:226)
==19357==    by 0x86E4D2: php_stream_get_record (streams.c:870)
==19357==    by 0x81B4DA: zif_stream_get_line (streamsfuncs.c:1204)
==19357==    by 0x8E2542: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:191)
==19357==    by 0x8E8873: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:1389)
==19357==    by 0x8E1F72: execute (zend_vm_execute.h:87)
==19357==    by 0x8B62C3: zend_execute_scripts (zend.c:1139)
==19357==    by 0x854E49: php_execute_script (main.c:2008)
==19357==    by 0x95107F: main (php_cli.c:1140)
--Wbr, Antony Dovgal --PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Ilia Alshanetsky

« previous php.cvs (#47469) next »