mirror of
https://github.com/php/php-src.git
synced 2025-01-22 19:54:13 +08:00
use constant
This commit is contained in:
parent
ed6725c695
commit
b997390e1d
@ -1242,7 +1242,7 @@ PHP_FUNCTION(mcrypt_create_iv)
|
||||
return;
|
||||
}
|
||||
|
||||
if (size <= 0 || size >= 2147483647) {
|
||||
if (size <= 0 || size >= INT_MAX) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Can not create an IV with a size of less then 1 or greater then %d", INT_MAX);
|
||||
RETURN_FALSE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user