diff options
| author | Kees Cook <kees@outflux.net> | 2007-03-20 17:16:36 +0000 |
|---|---|---|
| committer | keescook <keescook@users.sourceforge.net> | 2007-03-20 17:16:36 +0000 |
| commit | 4687a1c9ffe0d1d3f6ea01f360faa542a5b6491c (patch) | |
| tree | 734a4d35a4e7b90593ae86a6c9006e58ce23d7d1 /src/dom/xpathparser.h | |
| parent | patch by cilix42 for bug 1671665 (diff) | |
| download | inkscape-4687a1c9ffe0d1d3f6ea01f360faa542a5b6491c.tar.gz inkscape-4687a1c9ffe0d1d3f6ea01f360faa542a5b6491c.zip | |
format string protection/clean up (CVE-2007-1463, CVE-2007-1464)
(bzr r2720)
Diffstat (limited to 'src/dom/xpathparser.h')
| -rw-r--r-- | src/dom/xpathparser.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/dom/xpathparser.h b/src/dom/xpathparser.h index ce5656228..7a5b7cb55 100644 --- a/src/dom/xpathparser.h +++ b/src/dom/xpathparser.h @@ -33,6 +33,7 @@ #include <stdio.h> #include <stdarg.h> +#include <glib.h> #include <string> #include <vector> @@ -415,7 +416,7 @@ private: /** * */ - void trace(const char *fmt, ...); + void trace(const char *fmt, ...) G_GNUC_PRINTF(2,3); /** * @@ -425,7 +426,7 @@ private: /** * */ - void error(const char *fmt, ...); + void error(const char *fmt, ...) G_GNUC_PRINTF(2,3); //################################# //# LEXICAL SCANNING |
