diff options
Diffstat (limited to 'src/sp_utils.c')
| -rw-r--r-- | src/sp_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp_utils.c b/src/sp_utils.c index 8401a92..3e542f7 100644 --- a/src/sp_utils.c +++ b/src/sp_utils.c | |||
| @@ -135,7 +135,7 @@ static char* zend_string_to_char(const zend_string* zs) { | |||
| 135 | if (ZSTR_LEN(zs) + 1 < ZSTR_LEN(zs)) { | 135 | if (ZSTR_LEN(zs) + 1 < ZSTR_LEN(zs)) { |
| 136 | sp_log_err("overflow_error", | 136 | sp_log_err("overflow_error", |
| 137 | "Overflow tentative detected in zend_string_to_char"); | 137 | "Overflow tentative detected in zend_string_to_char"); |
| 138 | sp_terminate(); | 138 | zend_bailout(); |
| 139 | } | 139 | } |
| 140 | 140 | ||
| 141 | char* copy = ecalloc(ZSTR_LEN(zs) + 1, 1); | 141 | char* copy = ecalloc(ZSTR_LEN(zs) + 1, 1); |
