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 @@ -27,6 +27,9 @@ PHP NEWS
27
27
. Fixed bug #81226 (Integer overflow behavior is different with JIT
28
28
enabled). (Dmitry)
29
29
30
+ - Shmop:
31
+ . Fixed bug #81283 (shmop can't read beyond 2147483647 bytes). (cmb, Nikita)
32
+
30
33
- Standard:
31
34
. Fixed bug #72146 (Integer overflow on substr_replace). (cmb)
32
35
. Fixed bug #81265 (getimagesize returns 0 for 256px ICO images).
Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ PHP_FUNCTION(shmop_read)
241
241
RETURN_THROWS ();
242
242
}
243
243
244
- if (count < 0 || start > (INT_MAX - count ) || start + count > shmop -> size ) {
244
+ if (count < 0 || start > (ZEND_LONG_MAX - count ) || start + count > shmop -> size ) {
245
245
zend_argument_value_error (3 , "is out of range" );
246
246
RETURN_THROWS ();
247
247
}
You can’t perform that action at this time.
0 commit comments