diff options
Diffstat (limited to 'src/sp_crypt.c')
| -rw-r--r-- | src/sp_crypt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sp_crypt.c b/src/sp_crypt.c index 55ae37b..6a46d06 100644 --- a/src/sp_crypt.c +++ b/src/sp_crypt.c | |||
| @@ -64,9 +64,9 @@ int decrypt_zval(zval *pDest, bool simulation, zend_hash_key *hash_key) { | |||
| 64 | } | 64 | } |
| 65 | } | 65 | } |
| 66 | 66 | ||
| 67 | 67 | if (ZSTR_LEN(debase64) + (size_t)crypto_secretbox_ZEROBYTES < | |
| 68 | if (ZSTR_LEN(debase64) + (size_t)crypto_secretbox_ZEROBYTES < ZSTR_LEN(debase64)) { | 68 | ZSTR_LEN(debase64)) { |
| 69 | if (true == simulation) { | 69 | if (true == simulation) { |
| 70 | sp_log_msg( | 70 | sp_log_msg( |
| 71 | "cookie_encryption", SP_LOG_SIMULATION, | 71 | "cookie_encryption", SP_LOG_SIMULATION, |
| 72 | "Integer overflow tentative detected in cookie encryption handling " | 72 | "Integer overflow tentative detected in cookie encryption handling " |
