]> 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)
commitdaa190f8fd5441b077bfd5ae8e999596a8c34dd3
treeedad5a49f5f9faa709836386940bafaeb678eb01
parent1551f2012912b35a707a979a5102b63b5b24bbb1
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