diff options
author | Remi Collet <remi@php.net> | 2014-10-28 08:48:22 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2014-10-28 08:48:22 +0100 |
commit | 13a218d3285f78812bb8a1d2214b9d6e166924b8 (patch) | |
tree | eae5f3df5d46eb5c44be4d3edd9b09e21573150d /sapi/phpdbg/phpdbg_prompt.c | |
parent | deadeeae1d08877021eb2796aa6790baa74361ed (diff) | |
download | php-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