Hello community, here is the log from the commit of package mlmmj checked in at Fri Nov 10 12:37:33 CET 2006. -------- --- mlmmj/mlmmj.changes 2006-10-23 20:01:24.000000000 +0200 +++ /mounts/work_src_done/STABLE/mlmmj/mlmmj.changes 2006-11-10 12:30:52.000000000 +0100 @@ -1,0 +2,6 @@ +Fri Nov 10 12:29:51 CET 2006 - hvogel@suse.de + +- fix header unfolding. gethdrline() did not handle end-of-file in + headers correct [#219497] + +------------------------------------------------------------------- New: ---- mlmmj-1.2.12_RC4-gethdrline.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mlmmj.spec ++++++ --- /var/tmp/diff_new_pack.ERcpaT/_old 2006-11-10 12:37:29.000000000 +0100 +++ /var/tmp/diff_new_pack.ERcpaT/_new 2006-11-10 12:37:29.000000000 +0100 @@ -14,7 +14,7 @@ License: X11/MIT Group: Productivity/Networking/Email/Mailinglists Version: 1.2.12_RC1 -Release: 10 +Release: 15 URL: http://mlmmj.mmj.dk/ Summary: Mail Server Independent Reimplementation of the EZMLM Mailing List Source0: %name-1.2.12-RC4.tar.bz2 @@ -26,6 +26,7 @@ Patch5: %{name}-nonomailsub.patch Patch6: %{name}-log.patch Patch7: %{name}-defaulttextdir.patch +Patch8: mlmmj-1.2.12_RC4-gethdrline.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -50,6 +51,7 @@ %patch5 %patch6 %patch7 +%patch8 %build ./configure --prefix=/usr --mandir=%_mandir @@ -76,6 +78,9 @@ /usr/share/%name %changelog -n mlmmj +* Fri Nov 10 2006 - hvogel@suse.de +- fix header unfolding. gethdrline() did not handle end-of-file in + headers correct [#219497] * Mon Oct 23 2006 - hvogel@suse.de - update to RC4 from 1.2.12 o Fixed memory leak in checkwait_smtpreply() ++++++ mlmmj-1.2.12_RC4-gethdrline.diff ++++++ Index: src/gethdrline.c =================================================================== RCS file: /home/mmj/MMJCVS/mlmmj/src/gethdrline.c,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- src/gethdrline.c 18 Sep 2006 19:03:22 -0000 1.10 +++ src/gethdrline.c 7 Nov 2006 21:50:25 -0000 1.11 @@ -1,7 +1,7 @@ /* Copyright (C) 2004 Mads Martin Joergensen <mmj at mmj.dk> * Copyright (C) 2006 Morten K. Poulsen <morten at afdelingp.dk> * - * $Id: gethdrline.c,v 1.10 2006/09/18 19:03:22 mortenp Exp $ + * $Id: gethdrline.c,v 1.11 2006/11/07 21:50:25 mortenp Exp $ * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to @@ -40,6 +40,9 @@ ssize_t n; retstr = mygetline(fd); + if (!retstr) { + return NULL; + } /* do not attempt to unfold the end-of-headers marker */ if (retstr[0] == '\n') @@ -67,6 +70,9 @@ oldretstr = retstr; line = mygetline(fd); + if (!line) { + return retstr; + } retstr = concatstr(2, oldretstr, line); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org