#48204 [Asn->Csd]: xmlwriter_open_uri() accepts too long path
ID: 48204
Updated by: iliaa@php.net
Reported By: koenk82 at gmail dot com
-Status: Assigned
+Status: Closed
Bug Type: XML Writer
Operating System: *
PHP Version: 5.*, 6CVS (2009-05-09)
Assigned To: pajoye
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2009-05-09 13:47:31] koenk82 at gmail dot com
Description:
------------
When passing a path longer than PHP_MAXPATHLEN to xmlwriter_open_uri()
it doesn't throw an error/warning.
Reproduce code:
---------------
<?php
$path = str_repeat('a', PHP_MAXPATHLEN + 1);
var_dump(xmlwriter_open_uri('file:///' . $path));
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=48204&edit=1
Thread (4 messages)