File tree 3 files changed +8
-0
lines changed
ext/standard/tests/streams 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,8 @@ PHP NEWS
65
65
. Fixed bug GH-15028 (Memory leak in ext/phar/stream.c). (nielsdos)
66
66
. Fixed bug GH-15034 (Integer overflow on stream_notification_callback
67
67
byte_max parameter with files bigger than 2GB). (nielsdos)
68
+ . Reverted fix for GH-14930 (Custom stream wrapper dir_readdir output
69
+ truncated to 255 characters). (Jakub Zelenka)
68
70
69
71
- Tidy:
70
72
. Fix memory leaks in ext/tidy basedir restriction code. (nielsdos)
Original file line number Diff line number Diff line change 1
1
--TEST--
2
2
GH-14930: Custom stream wrapper dir_readdir output truncated to 255 characters in PHP 8.3
3
+ --XFAIL--
4
+ Fix is an ABI break so reverted from 8.3
3
5
--FILE--
4
6
<?php
5
7
Original file line number Diff line number Diff line change @@ -107,7 +107,11 @@ typedef struct _php_stream_statbuf {
107
107
} php_stream_statbuf ;
108
108
109
109
typedef struct _php_stream_dirent {
110
+ #ifdef NAME_MAX
111
+ char d_name [NAME_MAX + 1 ];
112
+ #else
110
113
char d_name [MAXPATHLEN ];
114
+ #endif
111
115
unsigned char d_type ;
112
116
} php_stream_dirent ;
113
117
You can’t perform that action at this time.
0 commit comments