]> granicus.if.org Git - php/commit
Fix #36365: scandir duplicates file name at every 65535th file
authorChristoph M. Becker <cmb@php.net>
Thu, 23 Jul 2015 12:11:28 +0000 (14:11 +0200)
committerChristoph M. Becker <cmb@php.net>
Mon, 27 Jul 2015 23:04:55 +0000 (01:04 +0200)
commit4e8f01cb6e75e09ad7ffa5201c42d1bea2a61264
tree7b1d8d6ac7c818b138a3835e61270d5c94ceaab6
parent33a91f57e9a749e62631ccc76b850b17fde218ee
Fix #36365: scandir duplicates file name at every 65535th file

Due to DIR.offset being declared as short we have an overflow. This patch
changes the field to int.
win32/readdir.h