This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project wmaker-crm.git.
The branch, next has been updated
via fae81bf5180620c8d89c282dbac1da4048e44f3b (commit)
from 448a68c6d2812f74a83eed8da7ed7c5abb0ade1c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://repo.or.cz/w/wmaker-crm.git/commit/fae81bf5180620c8d89c282dbac1da4048e44f3b
commit fae81bf5180620c8d89c282dbac1da4048e44f3b
Author: Rodolfo GarcÃa Peñas (kix) <[email protected]>
Date: Mon Jul 16 20:27:10 2012 +0200
Format string bug in WMenuParserError
There is a format string (FS) bug in the function WMenuParserError.
It is the tipical FS bug, like printf(a) instead of printf("%s", a);
See http://en.wikipedia.org/wiki/Uncontrolled_format_string for more info.
diff --git a/WINGs/menuparser.c b/WINGs/menuparser.c
index 7659817..96555cd 100644
--- a/WINGs/menuparser.c
+++ b/WINGs/menuparser.c
@@ -102,7 +102,7 @@ void WMenuParserError(WMenuParser parser, const char *msg,
...)
va_start(args, msg);
vsnprintf(buf, sizeof(buf), msg, args);
va_end(args);
- __wmessage("WMenuParser", parser->file_name, parser->line_number,
WMESSAGE_TYPE_WARNING, buf);
+ __wmessage("WMenuParser", parser->file_name, parser->line_number,
WMESSAGE_TYPE_WARNING, "%s", buf);
for (parent = parser->parent_file; parent != NULL; parent =
parent->parent_file)
__wmessage("WMenuParser", parser->file_name,
parser->line_number, WMESSAGE_TYPE_WARNING,
-----------------------------------------------------------------------
Summary of changes:
WINGs/menuparser.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
repo.or.cz automatic notification. Contact project admin [email protected]
if you want to unsubscribe, or site admin [email protected] if you receive
no reply.
--
wmaker-crm.git ("The Window Maker window manager")
--
To unsubscribe, send mail to [email protected].