php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #40168 stream_get_wrappers() appends a null-byte
Submitted: 2007-01-19 14:35 UTC Modified: 2007-01-19 14:51 UTC
From: php dot net at benjamin dot schulz dot name Assigned:
Status: Closed Package: Streams related
PHP Version: 5.2.1RC3 OS: linux
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: php dot net at benjamin dot schulz dot name
New email:
PHP Version: OS:

 

 [2007-01-19 14:35 UTC] php dot net at benjamin dot schulz dot name
Description:
------------
see the summary

Reproduce code:
---------------
class foo {}
stream_wrapper_register("foo", "foo");
$t = stream_get_wrappers();
$t = array_pop($t);
var_dump($t); // string(4) "foo


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-01-19 14:51 UTC] tony2001@php.net
This bug has been fixed in CVS.

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/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 10:01:29 2024 UTC