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

Reply via email to