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/cssparser.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/cssparser.h')
| -rw-r--r-- | src/dom/cssparser.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dom/cssparser.h b/src/dom/cssparser.h index 0b399f7d5..816936dc3 100644 --- a/src/dom/cssparser.h +++ b/src/dom/cssparser.h @@ -29,6 +29,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <glib.h> #include "dom.h" @@ -81,7 +82,7 @@ protected: /** * */ - void error(char *fmt, ...); + void error(char *fmt, ...) G_GNUC_PRINTF(2,3); /** * Get the character at the given location in the buffer. |
