From 4687a1c9ffe0d1d3f6ea01f360faa542a5b6491c Mon Sep 17 00:00:00 2001 From: Kees Cook Date: Tue, 20 Mar 2007 17:16:36 +0000 Subject: format string protection/clean up (CVE-2007-1463, CVE-2007-1464) (bzr r2720) --- src/message-stack.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/message-stack.h') diff --git a/src/message-stack.h b/src/message-stack.h index 058c44933..24ec2d599 100644 --- a/src/message-stack.h +++ b/src/message-stack.h @@ -15,7 +15,7 @@ #define SEEN_INKSCAPE_MESSAGE_STACK_H #include -#include +#include #include #include "gc-managed.h" #include "gc-finalized.h" @@ -85,7 +85,7 @@ public: * * @return the id of the pushed message */ - MessageId pushF(MessageType type, gchar const *format, ...); + MessageId pushF(MessageType type, gchar const *format, ...) G_GNUC_PRINTF(3,4); /** @brief pushes a message onto the stack using printf-like formatting, * using a stdarg argument list @@ -124,7 +124,7 @@ public: * * @return the id of the pushed message */ - MessageId flashF(MessageType type, gchar const *format, ...); + MessageId flashF(MessageType type, gchar const *format, ...) G_GNUC_PRINTF(3,4); /** @brief temporarily pushes a message onto the stack using * printf-like formatting, using a stdarg argument list -- cgit v1.2.3