Bug #60569 [Asn->Csd]: Nullbyte truncates Exception $message.

From: Date: Sun, 17 Nov 2013 09:33:11 +0000
Subject: Bug #60569 [Asn->Csd]: Nullbyte truncates Exception $message.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-182792@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=60569&edit=1 ID: 60569 Updated by: laruence@php.net Reported by: hanskrentel at yahoo dot de Summary: Nullbyte truncates Exception $message. -Status: Assigned +Status: Closed 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: 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). Previous Comments: ------------------------------------------------------------------------ [2012-07-24 23:36:35] rasmus@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-04-20 01:40:54] felipe@php.net I got the expected result: Original Message..: Null Char Test. Processed Message.: Null Char Test. ------------------------------------------------------------------------ [2012-04-18 09:45:23] laruence@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"; ------------------------------------------------------------------------ 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

« previous php.bugs (#182792) next »