fix bug #71719 (Buffer overflow in HTTP url parsing functions)
authorMichael Wallner <mike@php.net>
Wed, 9 Mar 2016 08:21:28 +0000 (09:21 +0100)
committerMichael Wallner <mike@php.net>
Wed, 9 Mar 2016 08:22:45 +0000 (09:22 +0100)
commit3724cd76a28be1d6049b5537232e97ac567ae1f5
treef69794e6da9120ffb09e088f56b2944ee0a993a8
parent60087ee5180c74e0dec2f480c32872b902c29571
fix bug #71719 (Buffer overflow in HTTP url parsing functions)

The parser's offset was not reset when we softfail in scheme
parsing and continue to parse a path.
Thanks to hlt99 at blinkenshell dot org for the report.
.gitattributes
src/php_http_url.c
tests/bug71719.phpt [new file with mode: 0644]
tests/data/bug71719.bin [new file with mode: 0644]