Edit report at https://bugs.php.net/bug.php?id=60569&edit=1

 ID:                 60569
 Updated by:         fel...@php.net
 Reported by:        hanskrentel at yahoo dot de
 Summary:            Nullbyte truncates Exception $message.
 Status:             Assigned
 Type:               Bug
 Package:            Scripting Engine problem
 Operating System:   Fedora 14
 PHP Version:        5.3.8
 Assigned To:        iliaa
 Block user comment: N
 Private report:     N

 New Comment:

I got the expected result:
Original Message..: Null Char  Test.
Processed Message.: Null Char  Test.


Previous Comments:
------------------------------------------------------------------------
[2012-04-18 09:45:23] larue...@php.net

Automatic comment on behalf of iliaa
Revision: 
http://git.php.net/?p=php-src.git;a=commit;h=d4f05fbffc6f63e094c0f737e0477e27f1bf5f7f
Log: Fixed bug #60569 (Nullbyte truncates Exception $message).

------------------------------------------------------------------------
[2012-03-19 11:50:54] hanskrentel at yahoo dot de

Re-open because it is not fixed.

------------------------------------------------------------------------
[2012-03-14 10:52:47] hanskrentel at yahoo dot de

Tested against PHP trunk Revision: 324199 (Windows), there still is truncation 
on 
the NULL char.

$original = "Null Char \0 Test.";
echo "Original Message..: ", $original, "\n";
$e = new Exception($original);
$processed = $e->getMessage();
echo "Processed Message.: ", $processed, "\n";

------------------------------------------------------------------------
[2012-03-11 18:15:12] il...@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-03-11 18:15:03] il...@php.net

Automatic comment from SVN on behalf of iliaa
Revision: http://svn.php.net/viewvc/?view=revision&revision=324112
Log: Fixed bug #60569 (Nullbyte truncates Exception $message).

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=60569


-- 
Edit this bug report at https://bugs.php.net/bug.php?id=60569&edit=1

Reply via email to