[php-maint] Bug#459020: 043-recode_size_t.patch is invalid for recent php versions
tonton-lists at team1664.org
Wed Feb 6 19:41:22 UTC 2008
The patch 043-recode_size_t.patch is broken.
req_len and str_len should be integers, but are size_t
(zend_parse_parameters wants pointers to int). This is a problem for 64
bits arches since a part of the variables is not initialized
(sizof(size_t) != sizeof(int)), and recode_buffer_to_buffer is called
with funny values that makes librecode eat all the system's memory.
The patch was messed up during the conversion from php4 (r301 of the
pkg-kde svn repository).
This patch is not needed in testing/unstable and should be removed since
the bug for this patch (PHP#41765) was fixed upstream in php 5.2.4, but
a fixed version is needed for etch.
An updated version of the patch witch fixes the problem for me is
attached to this mail and should be, IMO, applied as a security fix for
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 325 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20080206/3e2716fd/attachment.bin
More information about the pkg-php-maint