summaryrefslogtreecommitdiff
path: root/src/sp_utils.c
diff options
context:
space:
mode:
authorjvoisin2018-10-06 11:26:32 +0200
committerjvoisin2018-10-06 11:26:32 +0200
commit228fadf307b167a22ad6ec760f3b2ee2e9f2fee3 (patch)
tree5aa52bad7cb0eb4e953a9d978f2ad32197dd2cb7 /src/sp_utils.c
parentfc6e2455c5fcc2a5ec365552fb8d89a9c0571154 (diff)
Remove sp_terminate and bump a bit the coverage
Diffstat (limited to 'src/sp_utils.c')
-rw-r--r--src/sp_utils.c2
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);