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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: saper at SAPER dot INFO
New email:
PHP Version: OS:

 

 [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-2021 The PHP Group
All rights reserved.
Last updated: Mon Nov 29 11:03:18 2021 UTC