mirror of
https://github.com/php/php-src.git
synced 2024-11-26 19:33:55 +08:00
Revert fix for GH-14930: truncating readdir output (#15533)
This commit is contained in:
parent
d5b5e61d80
commit
70c5e366f6
2
NEWS
2
NEWS
@ -81,6 +81,8 @@ PHP NEWS
|
||||
. Fixed bug GH-15028 (Memory leak in ext/phar/stream.c). (nielsdos)
|
||||
. Fixed bug GH-15034 (Integer overflow on stream_notification_callback
|
||||
byte_max parameter with files bigger than 2GB). (nielsdos)
|
||||
. Reverted fix for GH-14930 (Custom stream wrapper dir_readdir output
|
||||
truncated to 255 characters). (Jakub Zelenka)
|
||||
|
||||
- Tidy:
|
||||
. Fix memory leaks in ext/tidy basedir restriction code. (nielsdos)
|
||||
|
@ -1,5 +1,7 @@
|
||||
--TEST--
|
||||
GH-14930: Custom stream wrapper dir_readdir output truncated to 255 characters in PHP 8.3
|
||||
--XFAIL--
|
||||
Fix is an ABI break so reverted from 8.3
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
|
@ -107,7 +107,11 @@ typedef struct _php_stream_statbuf {
|
||||
} php_stream_statbuf;
|
||||
|
||||
typedef struct _php_stream_dirent {
|
||||
#ifdef NAME_MAX
|
||||
char d_name[NAME_MAX + 1];
|
||||
#else
|
||||
char d_name[MAXPATHLEN];
|
||||
#endif
|
||||
unsigned char d_type;
|
||||
} php_stream_dirent;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user