1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-12-25 23:21:26 +03:00

Thomas Steinborn pointed out #76404 that libxml2 could leak

* xmlIO.c: Thomas Steinborn pointed out #76404 that libxml2
  could leak filedescriptors
Daniel
This commit is contained in:
Daniel Veillard 2002-03-26 12:44:39 +00:00
parent dd4b912f4c
commit db1dc39525
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Tue Mar 26 13:43:16 CET 2002 Daniel Veillard <daniel@veillard.com>
* xmlIO.c: Thomas Steinborn pointed out #76404 that libxml2
could leak filedescriptors
Tue Mar 26 08:55:53 CET 2002 Daniel Veillard <daniel@veillard.com>
* configure.in nanohttp.c: applied patch from Allan Clark for

View File

@ -1804,7 +1804,6 @@ xmlOutputBufferCreateFilename(const char *URI,
for (i = xmlOutputCallbackNr - 1;i >= 0;i--) {
if ((xmlOutputCallbackTable[i].matchcallback != NULL) &&
(xmlOutputCallbackTable[i].matchcallback(URI) != 0)) {
context = xmlOutputCallbackTable[i].opencallback(URI);
#if defined(LIBXML_HTTP_ENABLED) && defined(HAVE_ZLIB_H)
/* Need to pass compression parameter into HTTP open calls */
if (xmlOutputCallbackTable[i].matchcallback == xmlIOHTTPMatch)