summaryrefslogtreecommitdiff
path: root/src/sp_execute.c
diff options
context:
space:
mode:
authorjvoisin2018-10-06 23:21:17 +0200
committerjvoisin2018-10-06 23:21:17 +0200
commita877eca449b0448fbc979db7752ebc0190424187 (patch)
tree7b90708d734a8a894915b89517f0297811bbf34a /src/sp_execute.c
parent41f5fe02575611ac43848a3a95f337e57960d492 (diff)
Coverage++
Diffstat (limited to 'src/sp_execute.c')
-rw-r--r--src/sp_execute.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/sp_execute.c b/src/sp_execute.c
index fa8fa90..7a5229d 100644
--- a/src/sp_execute.c
+++ b/src/sp_execute.c
@@ -55,7 +55,6 @@ inline static void is_builtin_matching(
55 SNUFFLEUPAGUS_G(config) 55 SNUFFLEUPAGUS_G(config)
56 .config_disabled_functions_reg->disabled_functions, 56 .config_disabled_functions_reg->disabled_functions,
57 ht)) { 57 ht)) {
58 zend_bailout();
59 } 58 }
60} 59}
61 60
@@ -72,7 +71,7 @@ is_in_eval_and_whitelisted(const zend_execute_data *execute_data) {
72 } 71 }
73 72
74 if (zend_is_executing() && !EG(current_execute_data)->func) { 73 if (zend_is_executing() && !EG(current_execute_data)->func) {
75 return; 74 return; // LCOV_EXCL_LINE
76 } 75 }
77 76
78 if (UNEXPECTED(!(execute_data->func->common.function_name))) { 77 if (UNEXPECTED(!(execute_data->func->common.function_name))) {
@@ -173,7 +172,6 @@ static void sp_execute_ex(zend_execute_data *execute_data) {
173 NULL, NULL, 172 NULL, NULL,
174 config_disabled_functions_reg, 173 config_disabled_functions_reg,
175 config_disabled_functions))) { 174 config_disabled_functions))) {
176 zend_bailout();
177 } 175 }
178 } else if ((execute_data->prev_execute_data->opline->opcode == 176 } else if ((execute_data->prev_execute_data->opline->opcode ==
179 ZEND_DO_FCALL || 177 ZEND_DO_FCALL ||
@@ -185,7 +183,6 @@ static void sp_execute_ex(zend_execute_data *execute_data) {
185 NULL, NULL, 183 NULL, NULL,
186 config_disabled_functions_reg, 184 config_disabled_functions_reg,
187 config_disabled_functions))) { 185 config_disabled_functions))) {
188 zend_bailout();
189 } 186 }
190 } 187 }
191 188
@@ -207,7 +204,6 @@ static void sp_execute_ex(zend_execute_data *execute_data) {
207 .config_disabled_functions_reg_ret->disabled_functions, 204 .config_disabled_functions_reg_ret->disabled_functions,
208 SNUFFLEUPAGUS_G(config).config_disabled_functions_ret, 205 SNUFFLEUPAGUS_G(config).config_disabled_functions_ret,
209 execute_data))) { 206 execute_data))) {
210 zend_bailout();
211 } 207 }
212 efree(function_name); 208 efree(function_name);
213 209