1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-23 01:52:48 +03:00

xmllint: Fix use-after-free with --maxmem

Fixes #498.
This commit is contained in:
Nick Wellnhofer
2023-03-14 13:02:36 +01:00
parent e7c3a4ca1b
commit d7daf9fd96
3 changed files with 29 additions and 9 deletions

View File

@@ -139,6 +139,8 @@ XMLPUBFUN void
/*
* These are specific to the XML debug memory wrapper.
*/
XMLPUBFUN size_t
xmlMemSize (void *ptr);
XMLPUBFUN int
xmlMemUsed (void);
XMLPUBFUN int