Hello community, here is the log from the commit of package fetchmail checked in at Fri May 23 01:40:44 CEST 2008. -------- --- fetchmail/fetchmail.changes 2008-04-30 17:52:15.000000000 +0200 +++ /mounts/work_src_done/STABLE/fetchmail/fetchmail.changes 2008-05-22 17:45:14.000000000 +0200 @@ -1,0 +2,7 @@ +Thu May 22 17:44:06 CEST 2008 - puzel@suse.cz + +- fixed bnc#354291 + * caused segmentation fault when retrieving mail with long To: + headers + +------------------------------------------------------------------- New: ---- fetchmail-6.3.8-long_headers_segfault.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fetchmail.spec ++++++ --- /var/tmp/diff_new_pack.AN7069/_old 2008-05-23 01:40:20.000000000 +0200 +++ /var/tmp/diff_new_pack.AN7069/_new 2008-05-23 01:40:20.000000000 +0200 @@ -17,13 +17,14 @@ Group: Productivity/Networking/Email/Utilities AutoReqProv: on Version: 6.3.8 -Release: 123 +Release: 130 Source: %{name}-%{version}.tar.bz2 Source1: %{name}.init Source2: %{name}.logrotate Source3: sysconfig.%{name} Patch0: fetchmail-6.3.8-CVE-2007-4565.patch Patch1: fetchmail-6.3.8-smtp_errors.patch +Patch2: fetchmail-6.3.8-long_headers_segfault.patch PreReq: %insserv_prereq %fillup_prereq coreutils pwdutils Url: http://www.fetchmail.info/ Icon: fetchmail.xpm @@ -79,6 +80,7 @@ %setup -q %patch0 %patch1 -p1 +%patch2 cp -a %{S:1} %{S:2} %{S:3} . %build @@ -161,6 +163,10 @@ %{py_sitedir}/fetchmailconf.* %changelog +* Thu May 22 2008 puzel@suse.cz +- fixed bnc#354291 + * caused segmentation fault when retrieving mail with long To: + headers * Wed Apr 30 2008 pcerny@suse.cz - added option to specify polling interval to init script * Fri Mar 28 2008 pcerny@suse.cz ++++++ fetchmail-6.3.8-long_headers_segfault.patch ++++++ # 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 @@ 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); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org