[php-maint] Bug#619307: Bug#619307: php-pear seems to be broken

Ernesto Domato edomat at gmail.com
Tue Mar 22 21:51:48 UTC 2011

Ok, I reported the bug to PEAR too since the error is also on SVN trunk :-)

The problem is that there's a parentheses mistake on line 232. In the
patch included in this mail is both fixes, the parenthesis one and the
raiseErro one.


On Tue, Mar 22, 2011 at 18:16, Ondřej Surý <ondrej at debian.org> wrote:
> You could try to pull whole PEAR 1.9.3 from SVN and test if it works.
> And I guess PEAR people would be happy if you report new bugs along
> the way. (Something could be caused by pulling incomplete fix from
> 1.9.3 to fix new CVE caused by another incomplete fix for different
> CVE...  argh, so we have incomplete fixes on top of incomplete fixes
> :))).
> Thanks for debugging the issue, it's much appreciated.
> O.
> On Tue, Mar 22, 2011 at 22:06, Ernesto Domato <edomat at gmail.com> wrote:
>> Ok, that solves part of the problem but there's more upstream ones :-P
>> The saveCache function calls System::mkdir but the method is
>> System::mkDir and for that reason, now the error is raised correctly
>> but is because is calling a method from System module that doesn't
>> exists.
>> Anyway, changing line 232 from REST.php to call System::mkDir still
>> doesn't solve the problem (even when the correct method is called).
>> I'm still debugging the problem that is really weird cause making a
>> simple test script that makes the same call to System::mkDir that
>> REST.php does creates the directory as it should but the on the
>> REST.php is not created and the error is raised.
>> I'll let you know when I finally got it.
>> Ernesto
>> On Tue, Mar 22, 2011 at 17:43, Ondřej Surý <ondrej at debian.org> wrote:
>>> tags 619307 +upstream patch
>>> thank you
>>> Looks like an upstream bug, diff is here (and attached):
>>> http://svn.php.net/viewvc/pear/pear-core/trunk/PEAR/REST.php?r1=308688&r2=308983
>>> Apply the attached patch for a quick fix.
>>> I'll pull the fix to -4 tomorrow.
>>> Thanks for the report,
>>> O.
> --
> Ondřej Surý <ondrej at sury.org>
> http://blog.rfc1925.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: REST.diff
Type: text/x-patch
Size: 1719 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20110322/197ad0df/attachment.bin>

More information about the pkg-php-maint mailing list