[wp-trac] [WordPress Trac] #49700: IXR_Message XML parsing leaks memory in PHP 7.0.0 and above
WordPress Trac
noreply at wordpress.org
Sun Jul 5 15:20:30 UTC 2020
#49700: IXR_Message XML parsing leaks memory in PHP 7.0.0 and above
--------------------------+-----------------------------
Reporter: procifer | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.5
Component: XML-RPC | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses:
--------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"48322" 48322]:
{{{
#!CommitTicketReference repository="" revision="48322"
XML-RPC: Explicitly unset the reference to the parser resource after
calling `xml_parser_free()` to avoid memory leaks in PHP 7.0.0 or higher.
Props procifer, ayeshrajans.
Fixes #49700.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49700#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list