1 --- PHP_5_3/ext/shmop/shmop.c 2011/01/01 02:19:59 306939
2 +++ PHP_5_3/ext/shmop/shmop.c 2011/03/08 13:11:14 309018
7 - if (start + count > shmop->size || count < 0) {
8 + if (count < 0 || start > (INT_MAX - count) || start + count > shmop->size) {
9 php_error_docref(NULL TSRMLS_CC, E_WARNING, "count is out of range");