php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61358 "Warning: String is not zero-terminated" failing tests w/PHP 5.3.10
Submitted: 2012-03-12 14:21 UTC Modified: 2012-06-12 00:01 UTC
From: saper at SAPER dot INFO Assigned: felipe (profile)
Status: Closed Package: xdiff (PECL)
PHP Version: 5.3.10 OS: Gentoo/amd64 something
Private report: No CVE-ID: None
 [2012-03-12 14:21 UTC] saper at SAPER dot INFO
Description:
------------
Running xdiff with MediaWiki PHP Unit test suite causes tests to generate such 
warnings:

/var/tmp/portage/dev-php/pecl-xdiff-1.5.1-r1/work/php5.3/xdiff.c(79) : Block 
0x00000000 status:
NULL

as well as PHP warnings:

String is not zero-terminated (ý4p) (source: /var/tmp/portage/dev-lang/php-
5.3.10/work/sapis-build/cli/Zend/zend_execute_API.c:447)

The bug is filed with MediaWiki as 

https://bugzilla.wikimedia.org/show_bug.cgi?id=35110

Test script:
---------------
"make test" from pecl-test

Running libxdiff-0.23 tests does not expose any problem.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-03-12 14:25 UTC] saper at SAPER dot INFO
I don't seem to be able to upload the test log files, here it is:

http://tools.wikimedia.pl/~saper/fail/php_test_results_20120312_1425.txt

Be careful, there are some binary characters in the output
 [2012-06-11 17:25 UTC] felipe@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: felipe
 [2012-06-12 00:01 UTC] felipe@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 [2012-06-12 00:01 UTC] felipe@php.net
-Status: Assigned +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 13:01:28 2024 UTC