summaryrefslogtreecommitdiff
path: root/suhosin.c
diff options
context:
space:
mode:
Diffstat (limited to 'suhosin.c')
-rw-r--r--suhosin.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/suhosin.c b/suhosin.c
index b186fbb..8ce279d 100644
--- a/suhosin.c
+++ b/suhosin.c
@@ -211,7 +211,7 @@ static void suhosin_shutdown(zend_extension *extension)
211 211
212static int suhosin_startup_wrapper(zend_extension *ext) 212static int suhosin_startup_wrapper(zend_extension *ext)
213{ 213{
214 int res; 214 int res = SUCCESS;
215 zend_extension *ex = &suhosin_zend_extension_entry; 215 zend_extension *ex = &suhosin_zend_extension_entry;
216 char *new_info; 216 char *new_info;
217 int new_info_length; 217 int new_info_length;
@@ -244,7 +244,9 @@ static int suhosin_startup_wrapper(zend_extension *ext)
244 ze->op_array_dtor = stealth_op_array_dtor; 244 ze->op_array_dtor = stealth_op_array_dtor;
245 /*}*/ 245 /*}*/
246 246
247 res = old_startup(ext); 247 if (old_startup != NULL) {
248 res = old_startup(ext);
249 }
248 250
249/* ex->name = NULL; 251/* ex->name = NULL;
250 ex->author = NULL; 252 ex->author = NULL;