Ubuntu

php4-pear security update has fatal typo in /usr/share/php/XML/RPC.php

Reported by Brion Vibber on 2005-07-05
6
Affects Status Importance Assigned to Milestone
php4 (Ubuntu)
Critical
Adam Conrad

Bug Description

A security update for the php4-pear package today contains changes to
/usr/share/php/XML/RPC.php. Unfortunately these changes include a spurious
letter "i" at the end of a line, which causes a parse error when including the
file, thus breaking any software that uses the PEAR::XML_RPC package.

Steps to reproduce:
$ php -r 'include "XML/RPC.php";'

Actual results:
Parse error: parse error, unexpected T_VARIABLE in /usr/share/php/XML/RPC.php on
line 266

Expected results:
Program should work without fatal parse errors.

Reproduceable:
Every time.

Martin Pitt (pitti) wrote :

Adam, can you please fix that and upload new packages?

Adam Conrad (adconrad) wrote :

Oh, man, manual patch editing with vi gone horribly wrong. Very sorry about
this one guys, new packages are on their way right now.

Martin Pitt (pitti) wrote :

Released in USN-147-2.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.