summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_prompt.c
diff options
context:
space:
mode:
authorRemi Collet <remi@php.net>2014-10-28 08:48:22 +0100
committerRemi Collet <remi@php.net>2014-10-28 08:48:22 +0100
commit13a218d3285f78812bb8a1d2214b9d6e166924b8 (patch)
treeeae5f3df5d46eb5c44be4d3edd9b09e21573150d /sapi/phpdbg/phpdbg_prompt.c
parentdeadeeae1d08877021eb2796aa6790baa74361ed (diff)
downloadphp-git-13a218d3285f78812bb8a1d2214b9d6e166924b8.tar.gz
Ensure we have enough input data before parsing date
This check have be removed in http://git.php.net/?p=php-src.git;a=commit;h=ba2f87b50667f147c198abd31fc31eb09522f3d7 But the parser really need 17 char. And the string need to be nul terminated for this check So avoid reading random byte from memory.
Diffstat (limited to 'sapi/phpdbg/phpdbg_prompt.c')
0 files changed, 0 insertions, 0 deletions