History log of /PHP-8.1/ext/standard/tests/file/bug36365.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# 767a77ac 23-Apr-2020 Christoph M. Becker

Fix #36365: scandir duplicates file name at every 65535th file

Since DIR_W32.offset is declared as `uint16_t`, we have an overflow for
directories with many entries. This patch changes

Fix #36365: scandir duplicates file name at every 65535th file

Since DIR_W32.offset is declared as `uint16_t`, we have an overflow for
directories with many entries. This patch changes the field to
`uint32_t`.

show more ...