Fix buffer overflow in glob()
commit70aac1407e72faf5d1b7c91adbdce7faaf85ba87
authorScott MacVicar <macvicar@fb.com>
Tue, 28 Sep 2010 02:13:01 +0000 (27 19:13 -0700)
committermacvicar <macvicar@fb.com>
Wed, 7 Dec 2011 04:58:51 +0000 (6 20:58 -0800)
tree8df7a3873526db69e9053bc57e9992d68fc6a672
parentabacd5a89eb7fe922b846aa1e3bfa0e42837ab22
Fix buffer overflow in glob()

Summary:
glob() needs the directory to be less than PATH_MAX

Test Plan:
make
make fast_tests

DiffCamp Revision: 162960
Reviewed By: hzhao
CC: hzhao, hphp-diffs@lists
Revert Plan:
Ok
src/runtime/ext/ext_file.cpp