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/xmlreader.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/xmlreader.h')
| -rw-r--r-- | src/dom/xmlreader.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dom/xmlreader.h b/src/dom/xmlreader.h index 1060555c7..f616fd1e1 100644 --- a/src/dom/xmlreader.h +++ b/src/dom/xmlreader.h @@ -30,6 +30,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <glib.h> #include "dom.h" @@ -80,7 +81,7 @@ public: protected: - void error(char *format, ...); + void error(char *format, ...) G_GNUC_PRINTF(2,3); int get(int ch); int peek(int ch); |
