File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ PHP NEWS
13
13
- CGI:
14
14
. Fixed bug #80849 (HTTP Status header truncation). (cmb)
15
15
16
+ - Shmop:
17
+ . Fixed bug #81283 (shmop can't read beyond 2147483647 bytes). (cmb, Nikita)
18
+
16
19
- Standard:
17
20
. Fixed bug #72146 (Integer overflow on substr_replace). (cmb)
18
21
. Fixed bug #81265 (getimagesize returns 0 for 256px ICO images).
Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ PHP_FUNCTION(shmop_read)
251
251
RETURN_FALSE ;
252
252
}
253
253
254
- if (count < 0 || start > (INT_MAX - count ) || start + count > shmop -> size ) {
254
+ if (count < 0 || start > (ZEND_LONG_MAX - count ) || start + count > shmop -> size ) {
255
255
php_error_docref (NULL , E_WARNING , "count is out of range" );
256
256
RETURN_FALSE ;
257
257
}
You can’t perform that action at this time.
0 commit comments