]> granicus.if.org Git - php/commit
Fix bug #71005 (Segfault in php_cli_server_dispatch_router()).
authorAdam Harvey <aharvey@php.net>
Tue, 1 Dec 2015 03:09:36 +0000 (03:09 +0000)
committerAdam Harvey <aharvey@php.net>
Tue, 1 Dec 2015 03:09:36 +0000 (03:09 +0000)
commit91bad929aa0d7b7560a20c58e1e02a76f522b0bd
tree70d86d7605d895c3e1989a6ef3313dfbf3f20d2e
parented4b887cf6e59c12428ebece5492201c63bfbb4f
Fix bug #71005 (Segfault in php_cli_server_dispatch_router()).

We didn't initialise the retval variable in
php_cli_server_dispatch_router(); let's now initialise it to be
IS_UNDEF, as the following if condition expects.
NEWS
sapi/cli/php_cli_server.c
sapi/cli/tests/bug71005.phpt [new file with mode: 0644]