1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-26 00:37:43 +03:00

Fix some format string warnings with possible format string vulnerability

For https://bugzilla.gnome.org/show_bug.cgi?id=761029

Decorate every method in libxml2 with the appropriate
LIBXML_ATTR_FORMAT(fmt,args) macro and add some cleanups
following the reports.
This commit is contained in:
David Kilzer
2016-05-13 15:13:17 +08:00
committed by Daniel Veillard
parent beca86e8c8
commit 4472c3a5a5
27 changed files with 121 additions and 114 deletions

View File

@@ -351,7 +351,7 @@ XMLPUBFUN void XMLCALL
xmlParserErrors xmlerr,
const char *msg,
const xmlChar * str1,
const xmlChar * str2);
const xmlChar * str2) LIBXML_ATTR_FORMAT(3,0);
#endif
/**