]> granicus.if.org Git - php/commit
Fix headers generated by phar
authorNikita Popov <nikic@php.net>
Sat, 18 Feb 2012 13:39:13 +0000 (13:39 +0000)
committerNikita Popov <nikic@php.net>
Sat, 18 Feb 2012 13:39:13 +0000 (13:39 +0000)
commit032bbc3164c0c8302046e3a9029234528e9ad324
tree124a201599c45885308c0847b158145fbab97cdc
parent0a91432828521fdb4122b0663cb6cb9af64b53fa
Fix headers generated by phar

sapi_header_line.line_len is the length without null terminator, so one has to
take sizeof - 1. This fixes some test failures as the NUL bytes were causing
warnings.

Needs to be merged to 5.4.
ext/phar/phar_object.c