Hello community, here is the log from the commit of package fetchmail checked in at Tue Jul 8 16:54:29 CEST 2008. -------- --- fetchmail/fetchmail.changes 2008-06-17 13:21:48.000000000 +0200 +++ fetchmail/fetchmail.changes 2008-07-01 11:54:02.000000000 +0200 @@ -1,0 +2,5 @@ +Tue Jul 1 11:53:19 CEST 2008 - puzel@suse.cz + +- updated fetchmail-6.3.8-long_headers_segfault.patch from upstream + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fetchmail.spec ++++++ --- /var/tmp/diff_new_pack.YeP339/_old 2008-07-08 16:51:40.000000000 +0200 +++ /var/tmp/diff_new_pack.YeP339/_new 2008-07-08 16:51:40.000000000 +0200 @@ -17,7 +17,7 @@ Group: Productivity/Networking/Email/Utilities AutoReqProv: on Version: 6.3.8 -Release: 136 +Release: 139 Source: %{name}-%{version}.tar.bz2 Source1: %{name}.init Source2: %{name}.logrotate @@ -164,6 +164,8 @@ %{py_sitedir}/fetchmailconf.* %changelog +* Tue Jul 01 2008 puzel@suse.cz +- updated fetchmail-6.3.8-long_headers_segfault.patch from upstream * Tue Jun 17 2008 puzel@suse.cz - kerberos (krb5) support enabled [bnc#353817] * Wed May 28 2008 puzel@suse.cz ++++++ fetchmail-6.3.8-long_headers_segfault.patch ++++++ --- /var/tmp/diff_new_pack.YeP339/_old 2008-07-08 16:51:40.000000000 +0200 +++ /var/tmp/diff_new_pack.YeP339/_new 2008-07-08 16:51:40.000000000 +0200 @@ -1,20 +1,52 @@ -# Fixes bug (#354291) -# Fetchmail segfaulted while retrieving mail with To: header longer than 2048. -# It had to be invoked with -v -v or higher verbosity level. --- report.c +++ report.c -@@ -238,9 +238,13 @@ +@@ -238,11 +238,17 @@ 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 -+ */ ++ /* ++ * 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); ++ va_end (args); + if (n >= 0 + && (unsigned)n < partial_message_size - partial_message_size_used) +@@ -254,7 +260,6 @@ + partial_message_size += 2048; + partial_message = REALLOC (partial_message, partial_message_size); + } +- va_end (args); + #else + for ( ; ; ) + { +@@ -304,12 +309,13 @@ + rep_ensuresize(); + + #if defined(VA_START) +- VA_START (args, message); + for ( ; ; ) + { ++ VA_START (args, message); + n = vsnprintf (partial_message + partial_message_size_used, + partial_message_size - partial_message_size_used, + message, args); ++ va_end (args); + + /* old glibc versions return -1 for truncation */ + if (n >= 0 +@@ -322,7 +328,6 @@ + partial_message_size += 2048; + partial_message = REALLOC (partial_message, partial_message_size); + } +- va_end (args); + #else + for ( ; ; ) + { ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org