https://bugzilla.novell.com/show_bug.cgi?id=354291
User puzel@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=354291#c18
--- Comment #18 from Petr Uzel 2008-05-23 06:45:29 MST ---
Patch:
--- report.c
+++ report.c
@@ -238,9 +238,13 @@
rep_ensuresize();
#if defined(VA_START)
- VA_START (args, message);
for ( ; ; )
{
+ /*
+ * args has to be initialized before every call of vsnprintf(), because
+ * vsnprintf() invokes va_arg macro and thus args is undefined after the
call
+ */
+ VA_START (args, message);
n = vsnprintf (partial_message + partial_message_size_used,
partial_message_size - partial_message_size_used,
message, args);
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.