HomePhorge

Work around argument corruption bug in XMLReader::open

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Work around argument corruption bug in XMLReader::open

Use a static call to XMLReader::open() in PHP 8.0.0+.

Remove the check for LIBXML_PARSEHUGE since it is always available in
PHP 7.4+. The #ifdef was removed.

Bug: T330464
Change-Id: I39f050c5d4e461923a84ebb8b3b1d92c021d2e7a
(cherry picked from commit 7aeadbf81bba17051d8d9b52969d4ff398c6b0dd)

Details

Provenance
Tim Starling <tstarling@wikimedia.org>Authored on Jun 28 2023, 5:47 AM
Reedy <reedy@wikimedia.org>Committed on Jun 29 2023, 12:22 AM

Event Timeline

Reedy <reedy@wikimedia.org> committed rMW39c697fb6860: Work around argument corruption bug in XMLReader::open (authored by Tim Starling <tstarling@wikimedia.org>).Jun 29 2023, 12:22 AM

Commit No Longer Exists

This commit no longer exists in the repository.