INT_MAX 31 Zend/zend_constants.h #define PHP_USER_CONSTANT INT_MAX /* a constant defined in user space */ INT_MAX 179 ext/calendar/julian.c if (yearl > INT_MAX || yearl < INT_MIN) { INT_MAX 5057 ext/date/php_date.c Z_TYPE_PP(ht_entry) == IS_LONG && Z_LVAL_PP(ht_entry) >= 0 && Z_LVAL_PP(ht_entry) <= INT_MAX) { INT_MAX 1591 ext/gd/gd.c if (x_size <= 0 || y_size <= 0 || x_size >= INT_MAX || y_size >= INT_MAX) { INT_MAX 2172 ext/gd/gd.c if (x_size <= 0 || y_size <= 0 || x_size >= INT_MAX || y_size >= INT_MAX) { INT_MAX 61 ext/gd/gd_compat.c if(a > INT_MAX / b) { INT_MAX 370 ext/gd/libgd/gd_jpeg.c if (cinfo.image_height > INT_MAX) { INT_MAX 371 ext/gd/libgd/gd_jpeg.c php_gd_error_ex(E_WARNING, "gd-jpeg: warning: JPEG image height (%u) is greater than INT_MAX (%d) (and thus greater than gd can handle)", cinfo.image_height, INT_MAX); INT_MAX 374 ext/gd/libgd/gd_jpeg.c if (cinfo.image_width > INT_MAX) { INT_MAX 375 ext/gd/libgd/gd_jpeg.c php_gd_error_ex(E_WARNING, "gd-jpeg: warning: JPEG image width (%u) is greater than INT_MAX (%d) (and thus greater than gd can handle)", cinfo.image_width, INT_MAX); INT_MAX 26 ext/gd/libgd/gd_security.c if(a > INT_MAX / b) { INT_MAX 645 ext/hash/hash.c if (salt_len > INT_MAX - 4) { INT_MAX 33 ext/interbase/ibase_query.c #define ISC_LONG_MAX INT_MAX INT_MAX 1433 ext/mcrypt/mcrypt.c if (size <= 0 || size >= INT_MAX) { INT_MAX 1434 ext/mcrypt/mcrypt.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "Cannot create an IV with a size of less than 1 or greater than %d", INT_MAX); INT_MAX 1044 ext/mysqli/mysqli_api.c if (uval > INT_MAX) { INT_MAX 81 ext/mysqlnd/mysqlnd_ps_codec.c if (uval > INT_MAX) { INT_MAX 79 ext/oci8/php_oci8_int.h #define PHP_OCI_MAX_DATA_SIZE INT_MAX INT_MAX 78 ext/pcre/pcrelib/pcre_compile.c #define OFLOW_MAX (INT_MAX - 20) INT_MAX 1155 ext/pcre/pcrelib/pcre_compile.c if (s > INT_MAX / 10 - 1) /* Integer overflow */ INT_MAX 1222 ext/pcre/pcrelib/pcre_compile.c if (s > INT_MAX / 10 - 1) /* Integer overflow */ INT_MAX 6092 ext/pcre/pcrelib/pcre_compile.c (INT64_OR_DOUBLE)INT_MAX || INT_MAX 6166 ext/pcre/pcrelib/pcre_compile.c > (INT64_OR_DOUBLE)INT_MAX || INT_MAX 6801 ext/pcre/pcrelib/pcre_compile.c if (recno > INT_MAX / 10 - 1) /* Integer overflow */ INT_MAX 6941 ext/pcre/pcrelib/pcre_compile.c if (recno > INT_MAX / 10 - 1) /* Integer overflow */ INT_MAX 7436 ext/pcre/pcrelib/pcre_compile.c if (recno > INT_MAX / 10 - 1) /* Integer overflow */ INT_MAX 2756 ext/pcre/pcrelib/pcre_exec.c if (max == 0) max = INT_MAX; INT_MAX 2764 ext/pcre/pcrelib/pcre_exec.c if (max == 0) max = INT_MAX; INT_MAX 2900 ext/pcre/pcrelib/pcre_exec.c if (max == 0) max = INT_MAX; INT_MAX 2910 ext/pcre/pcrelib/pcre_exec.c if (max == 0) max = INT_MAX; INT_MAX 3127 ext/pcre/pcrelib/pcre_exec.c if (max == 0) max = INT_MAX; INT_MAX 3137 ext/pcre/pcrelib/pcre_exec.c if (max == 0) max = INT_MAX; INT_MAX 3346 ext/pcre/pcrelib/pcre_exec.c max = INT_MAX; INT_MAX 3354 ext/pcre/pcrelib/pcre_exec.c max = INT_MAX; INT_MAX 3382 ext/pcre/pcrelib/pcre_exec.c if (max == 0) max = INT_MAX; INT_MAX 3732 ext/pcre/pcrelib/pcre_exec.c max = INT_MAX; INT_MAX 3740 ext/pcre/pcrelib/pcre_exec.c max = INT_MAX; INT_MAX 3776 ext/pcre/pcrelib/pcre_exec.c if (max == 0) max = INT_MAX; INT_MAX 4098 ext/pcre/pcrelib/pcre_exec.c max = INT_MAX; INT_MAX 4105 ext/pcre/pcrelib/pcre_exec.c max = INT_MAX; INT_MAX 4133 ext/pcre/pcrelib/pcre_exec.c if (max == 0) max = INT_MAX; INT_MAX 5730 ext/pcre/pcrelib/pcre_exec.c if (max < INT_MAX) INT_MAX 205 ext/pcre/pcrelib/pcre_internal.h #define PCRE_INT16_MAX INT_MAX INT_MAX 214 ext/pcre/pcrelib/pcre_internal.h #define PCRE_INT32_MAX INT_MAX INT_MAX 395 ext/pcre/pcrelib/pcre_study.c d = INT_MAX; INT_MAX 353 ext/pcre/pcrelib/pcreposix.c if (nmatch > INT_MAX/(sizeof(int) * 3)) return REG_ESPACE; INT_MAX 259 ext/shmop/shmop.c if (count < 0 || start > (INT_MAX - count) || start + count > shmop->size) { INT_MAX 1476 ext/soap/php_http.c if (header_length < 0 || header_length >= INT_MAX) { INT_MAX 376 ext/sockets/conversions.c if (lval > INT_MAX || lval < INT_MIN) { INT_MAX 73 ext/sockets/sendrecvmsg.c if ((l) < INT_MIN && (l) > INT_MAX) { \ INT_MAX 596 ext/sqlite3/sqlite3.c if ((sqlite3_column_int64(stmt, column)) >= INT_MAX || sqlite3_column_int64(stmt, column) <= INT_MIN) { INT_MAX 6001 ext/standard/basic_functions.c if (INT_MAX - str_len < ZEND_MMAP_AHEAD) { INT_MAX 562 ext/standard/file.c if (len > INT_MAX) { INT_MAX 563 ext/standard/file.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "content truncated from %ld to %d bytes", len, INT_MAX); INT_MAX 564 ext/standard/file.c len = INT_MAX; INT_MAX 94 ext/standard/formatted_print.c if(m_width > INT_MAX - *pos - 1) { INT_MAX 102 ext/standard/formatted_print.c if(*size > INT_MAX/2) { INT_MAX 356 ext/standard/formatted_print.c if (num >= INT_MAX || num < 0) { INT_MAX 513 ext/standard/formatted_print.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "Width must be greater than zero and less than %d", INT_MAX); INT_MAX 530 ext/standard/formatted_print.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "Precision must be greater than zero and less than %d", INT_MAX); INT_MAX 364 ext/standard/math.c places = precision > INT_MAX ? INT_MAX : (int)precision; INT_MAX 57 ext/standard/pack.c if ((a) < 0 || ((INT_MAX - outputpos)/((int)b)) < (a)) { \ INT_MAX 738 ext/standard/pack.c if (size != 0 && size != -1 && INT_MAX - size + 1 < inputpos) { INT_MAX 917 ext/standard/pack.c v = ~INT_MAX; INT_MAX 118 ext/standard/password.c if (length > (INT_MAX / 3)) { INT_MAX 317 ext/standard/php_fopen_wrapper.c dtablesize = INT_MAX; INT_MAX 444 ext/standard/streamsfuncs.c if (len > INT_MAX) { INT_MAX 445 ext/standard/streamsfuncs.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "content truncated from %ld to %d bytes", len, INT_MAX); INT_MAX 446 ext/standard/streamsfuncs.c len = INT_MAX; INT_MAX 1451 ext/standard/streamsfuncs.c if (csize > INT_MAX) { INT_MAX 1452 ext/standard/streamsfuncs.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "The chunk size cannot be larger than %d", INT_MAX); INT_MAX 1968 ext/standard/string.c if (offset < -INT_MAX || -offset > haystack_len) { INT_MAX 2046 ext/standard/string.c if (offset < -INT_MAX || -offset > haystack_len) { INT_MAX 2078 ext/standard/string.c if (offset < -INT_MAX || -offset > haystack_len) { INT_MAX 2154 ext/standard/string.c if(chunks > INT_MAX - 1) { INT_MAX 2158 ext/standard/string.c if(endlen !=0 && out_len > INT_MAX/endlen) { INT_MAX 2162 ext/standard/string.c if(out_len > INT_MAX - srclen - 1) { INT_MAX 4912 ext/standard/string.c if(result_len > INT_MAX) { INT_MAX 4913 ext/standard/string.c php_error_docref(NULL TSRMLS_CC, E_WARNING, "Result is too big, maximum %d allowed", INT_MAX); INT_MAX 5277 ext/standard/string.c if (num_pad_chars >= INT_MAX) { INT_MAX 226 main/php.h #ifndef INT_MAX INT_MAX 231 main/php.h #define INT_MIN (- INT_MAX - 1) INT_MAX 67 main/php_content_types.c if (length > INT_MAX) { INT_MAX 70 main/php_content_types.c (unsigned long) length, INT_MAX); INT_MAX 71 main/php_content_types.c length = INT_MAX; INT_MAX 169 main/spprintf.c if (num >= INT_MAX / 10) { \ INT_MAX 1405 main/streams/streams.c if (0 < (b = PHPWRITE(p, MIN(mapped - bcount, INT_MAX)))) { INT_MAX 458 sapi/fpm/fpm/fastcgi.c if (name_len > (INT_MAX - val_len) || /* would the addition overflow? */ INT_MAX 205 win32/php_stdint.h #define SIG_ATOMIC_MAX INT_MAX