#48204 [Opn->Ver]: xmlwriter_open_uri() accepts too long path

From: Date: Sat, 09 May 2009 20:57:14 +0000
Subject: #48204 [Opn->Ver]: xmlwriter_open_uri() accepts too long path
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-137060@lists.php.net to get a copy of this message
ID: 48204 Updated by: jani@php.net 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

« previous php.bugs (#137060) next »