com php-src: Fixed segfault (removed superfluous NUL-byte insertion): phpdbg_cmd.c

From: Date: Mon, 09 Dec 2013 11:23:44 +0000
Subject: com php-src: Fixed segfault (removed superfluous NUL-byte insertion): phpdbg_cmd.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-75269@lists.php.net to get a copy of this message
Commit: 97604918baeab1767097d09eee2716883a063a49 Author: Bob Weinand <bobwei9@hotmail.com> Mon, 9 Dec 2013 12:23:44 +0100 Parents: af979393fcb50250b797b1c717fb034c61155fae Branches: PHP-5.6 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=97604918baeab1767097d09eee2716883a063a49 Log: Fixed segfault (removed superfluous NUL-byte insertion) Changed paths: M phpdbg_cmd.c Diff: diff --git a/phpdbg_cmd.c b/phpdbg_cmd.c index 4d18d47..8124b1d 100644 --- a/phpdbg_cmd.c +++ b/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)) {

« previous php.cvs (#75269) next »