note 112741 added to function.readdir

From: Date: Thu, 18 Jul 2013 17:55:09 +0000
Subject: note 112741 added to function.readdir
Groups: php.notes 
Request: Send a blank email to php-notes+get-195666@lists.php.net to get a copy of this message
Warning when using readdir() on certain versions of CentOS on NFS-mounted directories: This is not a bug with PHP's readdir, but a bug with certain versions of CentOS's readdir implementation. According to Post #6213 in the CentOS Bugs forum, when using CentOS kernel versions 2.6.18-348 through 2.6.18-348.3.1, invoking readdir on an NFS-mounted directory may not return all the entries. Since PHP's readdir() uses this library, the issue is manifest in PHP as well. According to the post, upgrading to version 2.6.18-348.4.1.el5 should solve the issue, though I haven't tried it. glob() does NOT seem to suffer from this same vulnerability. ---- Server IP: 69.147.83.199 Probable Submitter: 199.46.198.230 ---- Manual Page -- http://php.net/manual/en/function.readdir.php Edit -- https://master.php.net/note/edit/112741 Del: integrated -- https://master.php.net/note/delete/112741/integrated Del: useless -- https://master.php.net/note/delete/112741/useless Del: bad code -- https://master.php.net/note/delete/112741/bad+code Del: spam -- https://master.php.net/note/delete/112741/spam Del: non-english -- https://master.php.net/note/delete/112741/non-english Del: in docs -- https://master.php.net/note/delete/112741/in+docs Del: other reasons-- https://master.php.net/note/delete/112741 Reject -- https://master.php.net/note/reject/112741 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#195666) next »