Browse Source

Fixed segfault (removed superfluous NUL-byte insertion)

pull/550/head
Bob Weinand 13 years ago
parent
commit
97604918ba
  1. 1
      phpdbg_cmd.c

1
phpdbg_cmd.c

@ -94,7 +94,6 @@ PHPDBG_API phpdbg_param_type phpdbg_parse_param(const char *str, size_t len, php
if (line_pos && phpdbg_is_numeric(line_pos+1)) {
if (strchr(str, '#') == line_pos) {
*line_pos = 0;
param->num = strtol(line_pos + 1, NULL, 0);
if (phpdbg_is_class_method(str, line_pos - str, &class_name, &func_name)) {

Loading…
Cancel
Save