|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: saper at SAPER dot INFO
New email:
PHP Version: OS:


 [2012-03-12 14:21 UTC] saper at SAPER dot INFO
Running xdiff with MediaWiki PHP Unit test suite causes tests to generate such 

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

as well as PHP warnings:

String is not zero-terminated (ý4p) (source: /var/tmp/portage/dev-lang/php-

The bug is filed with MediaWiki as

Test script:
"make test" from pecl-test

Running libxdiff-0.23 tests does not expose any problem.


Add a Patch

Pull Requests

Add a Pull Request


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:

Be careful, there are some binary characters in the output
 [2012-06-11 17:25 UTC]
-Status: Open +Status: Assigned -Assigned To: +Assigned To: felipe
 [2012-06-12 00:01 UTC]
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

 For Windows:
Thank you for the report, and for helping us make PHP better.

 [2012-06-12 00:01 UTC]
-Status: Assigned +Status: Closed
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sat Jan 29 14:03:34 2022 UTC