Changeset 1163930 in git


Ignore:
Timestamp:
2015-04-18T10:57:34Z (5 years ago)
Author:
Xuefer <xuefer@…>
Branches:
master, trunk
Children:
8443a1a
Parents:
4279f1b
Message:

inherit class may miss tailing \0

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1585 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/Decompiler.class.php

    r4279f1b r1163930  
    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.