diff options
| author | Remi Collet | 2018-09-03 15:38:51 +0200 |
|---|---|---|
| committer | jvoisin | 2018-09-03 13:38:51 +0000 |
| commit | 499a81914597f156fe9a67e47e3baf82a0af4bde (patch) | |
| tree | 23630733f4b892d362217cb5c8840d268d03c7c1 /src/sp_sloppy.c | |
| parent | c947eb5378f894b154bdd33588f4bfb470075fe8 (diff) | |
Fix #241 segfault on 32-bit related to bad protype (#242)
This should close #241
Diffstat (limited to 'src/sp_sloppy.c')
| -rw-r--r-- | src/sp_sloppy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp_sloppy.c b/src/sp_sloppy.c index 5b36026..ac0cb8a 100644 --- a/src/sp_sloppy.c +++ b/src/sp_sloppy.c | |||
| @@ -38,8 +38,8 @@ ZEND_API zend_op_array* sp_compile_file(zend_file_handle* file_handle, | |||
| 38 | 38 | ||
| 39 | static void array_handler(INTERNAL_FUNCTION_PARAMETERS, | 39 | static void array_handler(INTERNAL_FUNCTION_PARAMETERS, |
| 40 | const char *name, size_t size, | 40 | const char *name, size_t size, |
| 41 | void (*orig_handler)(INTERNAL_FUNCTION_PARAMETERS)) { | 41 | zif_handler orig_handler) { |
| 42 | void (*handler)(INTERNAL_FUNCTION_PARAMETERS); | 42 | zif_handler handler; |
| 43 | zval func_name; | 43 | zval func_name; |
| 44 | zval params[3]; | 44 | zval params[3]; |
| 45 | zval *value, *array; | 45 | zval *value, *array; |
