Sec Bug->Bug #80174 [Opn->Wfx]: Memory leak in XML module

From: Date: Mon, 05 Oct 2020 13:32:29 +0000
Subject: Sec Bug->Bug #80174 [Opn->Wfx]: Memory leak in XML module
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-229405@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=80174&edit=1

 ID:                 80174
 Updated by:         nikic@php.net
 Reported by:        prisacari dot dmitrii at gmail dot com
 Summary:            Memory leak in XML module
-Status:             Open
+Status:             Wont fix
-Type:               Security
+Type:               Bug
 Package:            DOM XML related
 Operating System:   Ubuntu 18.04
 PHP Version:        7.4.11
 Block user comment: N
 Private report:     Y

 New Comment:

This is memory allocated by libxml over which PHP has no control -- and no, we cannot replace libxml
allocation functions because that would conflict with other libxml users that may be loaded into the
same process.


Previous Comments:
------------------------------------------------------------------------
[2020-10-02 11:28:42] prisacari dot dmitrii at gmail dot com

Description:
------------
Under certain circumstances the memory limit that is set in PHP configuration is bypassed and a
memory leak is present.

I've shared a google drive directory with a demo of the issue and the code to reproduce the
issue:
https://drive.google.com/drive/folders/1f8eh7VMuLBbXgEl4CQ-OyiMWigOv4FBc?usp=sharing

Test script:
---------------
https://gist.github.com/icamys/2e680774f06e21d956b2486eaa83c054



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=80174&edit=1


Thread (1 message)

  • nikic@php.net
  • Unknown Message
    • nikic@php.net
« previous php.bugs (#229405) next »