We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dfd05da commit 387c0deCopy full SHA for 387c0de
NEWS
@@ -13,6 +13,9 @@ PHP NEWS
13
- CGI:
14
. Fixed bug #80849 (HTTP Status header truncation). (cmb)
15
16
+- Shmop:
17
+ . Fixed bug #81283 (shmop can't read beyond 2147483647 bytes). (cmb, Nikita)
18
+
19
- Standard:
20
. Fixed bug #72146 (Integer overflow on substr_replace). (cmb)
21
. Fixed bug #81265 (getimagesize returns 0 for 256px ICO images).
ext/shmop/shmop.c
@@ -251,7 +251,7 @@ PHP_FUNCTION(shmop_read)
251
RETURN_FALSE;
252
}
253
254
- if (count < 0 || start > (INT_MAX - count) || start + count > shmop->size) {
+ if (count < 0 || start > (ZEND_LONG_MAX - count) || start + count > shmop->size) {
255
php_error_docref(NULL, E_WARNING, "count is out of range");
256
257
0 commit comments