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

Ondřej Surý ondrej at debian.org
Tue Mar 22 21:16:17 UTC 2011


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/





More information about the pkg-php-maint mailing list