ID: 48204
Updated by: [email protected]
Reported By: koenk82 at gmail dot com
-Status: Open
+Status: Verified
Bug Type: XML Writer
Operating System: *
PHP Version: 5.3, 6CVS (2009-05-09)
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