Fix gh-issue #2: comparison of obsolete pointers in the header parser
authorMichael Wallner <mike@php.net>
Mon, 13 Jul 2015 08:35:44 +0000 (10:35 +0200)
committerMichael Wallner <mike@php.net>
Mon, 13 Jul 2015 08:35:44 +0000 (10:35 +0200)
commit88c9c06f2aacb4bf29e3f476ab1c41901551a15d
treef9284a9d626630ddddedbf02af5dbb654d03ffff
parentb4c674173c6a1e8414f7c4ec3a920322cb04354a
Fix gh-issue #2: comparison of obsolete pointers in the header parser

Closes #2.

The eol_str pointer could become obsolete due to later usage of
php_http_buffer_fix and render the result of arithmetics against the
changed buffer->data pointer useless or harmgful.

Thanks @xiaoyjy.
package.xml
php_http_header_parser.c