Changeset 1585 in svn


Ignore:
Timestamp:
2015-04-18T10:57:34Z (4 years ago)
Author:
Xuefer
Message:

inherit class may miss tailing \0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Decompiler.class.php

    r1584 r1585  
    20262026            case XC_DECLARE_INHERITED_CLASS_DELAYED: // {{{
    20272027                $key = $op1['constant'];
     2028                // missing tailing \0 (outside of the string)
     2029                $key = substr($key . ".", 0, strlen($key));
    20282030                if (!isset($this->dc['class_table'][$key])) {
    20292031                    echo "class not found: ", $key, "\nexisting classes are:\n";
    20302032                    var_dump(array_keys($this->dc['class_table']));
    2031                     exit;
     2033                    break;
    20322034                }
    20332035                $class = &$this->dc['class_table'][$key];
Note: See TracChangeset for help on using the changeset viewer.