[php-src] PR #16521: Ignore xmlDefaultExternalEntityLoader leaks
| From: | cmb69 | Date: | Sun, 20 Oct 2024 17:37:58 +0000 |
| Subject: | [php-src] PR #16521: Ignore xmlDefaultExternalEntityLoader leaks | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-29322@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/16521
Author: cmb69
At least on Windows with libxml2 2.11.9, calling the default entity loader leaks a couple of bytes.
Since we cannot do anything about that, we ignore these leaks.
---
These leaks can be detected when running ext/zend_test/tests/observer_error_04.phpt with Windows
debug heap enabled (
configure --enable-debug; set PHP_WIN32_DEBUG_HEAP=1;
and the usual environment variables). The leaks also can be seen ten soap tests.
With this patch, no further leaks are detected in ext/soap/tests, but I found some in ext/dom/tests;
need to check this.