[xdebug-dev] xdebug xdebug/xdebug.c - Fixed bug #279: PHP segfault on use of virtual() function.

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Sun, 15 Jul 2007 20:39:01 +0200

Date: Sun Jul 15 20:39:01 CEST 2007
User: Derick Rethans
Directory: xdebug

Log Message:
[1.00]
- Fixed bug #279: PHP segfault on use of virtual() function.

Modified files:
           xdebug/xdebug.c (version: 1.399)

[FILE: /xdebug/xdebug.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.398
retrieving revision 1.399
diff -u -r1.398 -r1.399
--- xdebug/xdebug.c:1.398 Sun Jul 08 16:33:44 2007 GMT
+++ xdebug/xdebug.c Sun Jul 15 16:39:01 2007 GMT
@@ -2952,8 +2952,7 @@
         int level = 0;
         TSRMLS_FETCH();
 
- cur_opcode = *EG(opline_ptr);
- lineno = cur_opcode->lineno;
+ lineno = EG(current_execute_data)->opline->lineno;
 
         file = op_array->filename;
         file_len = strlen(file);
Received on Sun Jul 15 2007 - 20:39:07 BST

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST