]> granicus.if.org Git - php/commit
Ensure we have enough input data before parsing date
authorRemi Collet <remi@php.net>
Tue, 28 Oct 2014 07:48:22 +0000 (08:48 +0100)
committerRemi Collet <remi@php.net>
Tue, 28 Oct 2014 07:48:22 +0000 (08:48 +0100)
commit13a218d3285f78812bb8a1d2214b9d6e166924b8
treeeae5f3df5d46eb5c44be4d3edd9b09e21573150d
parentdeadeeae1d08877021eb2796aa6790baa74361ed
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.
ext/xmlrpc/libxmlrpc/xmlrpc.c