diff options
Diffstat (limited to 'xdebug-upstream.patch')
-rw-r--r-- | xdebug-upstream.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/xdebug-upstream.patch b/xdebug-upstream.patch deleted file mode 100644 index c0d73fb..0000000 --- a/xdebug-upstream.patch +++ /dev/null @@ -1,28 +0,0 @@ -From ac8557ff69d2961e91a9212a81ef5eb535beda5f Mon Sep 17 00:00:00 2001 -From: Derick Rethans <github@derickrethans.nl> -Date: Sun, 8 Nov 2015 20:35:36 -0500 -Subject: [PATCH] Fixed issue #1195: Segfault with code coverage and foreach - ---- - tests/bug01195-php5.phpt | 37 +++++++++++++++++++++++++++++++++++++ - tests/bug01195-php7.phpt | 38 ++++++++++++++++++++++++++++++++++++++ - tests/bug01195.inc | 12 ++++++++++++ - xdebug_code_coverage.c | 2 +- - 4 files changed, 88 insertions(+), 1 deletion(-) - create mode 100644 tests/bug01195-php5.phpt - create mode 100644 tests/bug01195-php7.phpt - create mode 100644 tests/bug01195.inc - -diff --git a/xdebug_code_coverage.c b/xdebug_code_coverage.c -index 6c52f81..85a9752 100644 ---- a/xdebug_code_coverage.c -+++ b/xdebug_code_coverage.c -@@ -615,7 +615,7 @@ static int xdebug_find_jump(zend_op_array *opa, unsigned int position, long *jmp - #endif - *jmp1 = position + 1; - #if PHP_VERSION_ID >= 70000 -- *jmp2 = XDEBUG_ZNODE_JMP_LINE(opcode.op2, position, base_address) * sizeof(zend_op); -+ *jmp2 = XDEBUG_ZNODE_JMP_LINE(opcode.op2, position, base_address); - #else - *jmp2 = XDEBUG_ZNODE_ELEM(opcode.op2, opline_num); - #endif |