rpms/fetchmail/devel patch-6.3.2.1-fix-netrc-SIGSEGV.diff, NONE, 1.1 patch-6.3.2.1-fix-netrc-SIGSEGV.diff.asc, NONE, 1.1 fetchmail.spec, 1.37, 1.38

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Jan 30 21:45:07 UTC 2006


Author: mitr

Update of /cvs/dist/rpms/fetchmail/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv26722

Modified Files:
	fetchmail.spec 
Added Files:
	patch-6.3.2.1-fix-netrc-SIGSEGV.diff 
	patch-6.3.2.1-fix-netrc-SIGSEGV.diff.asc 
Log Message:
* Mon Jan 30 2006 Miloslav Trmac <mitr at redhat.com> - 6.3.2.1-1
- Update to fetchmail-6.3.2.1


patch-6.3.2.1-fix-netrc-SIGSEGV.diff:
 netrc.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

--- NEW FILE patch-6.3.2.1-fix-netrc-SIGSEGV.diff ---
Craig Leres identified a problem that makes fetchmail 6.3.2 (only this
version) crash if the .netrc file does not contain a password for a
particular account.

This patch is mostly Craig Leres' work has been committed to the
SVN repository and should be applied to fetchmail 6.3.2 on all sites
that plan to use netrc files:

Index: netrc.c
===================================================================
--- netrc.c	(Revision 4683)
+++ netrc.c	(Revision 4684)
@@ -314,8 +314,10 @@
 free_netrc(netrc_entry *a) {
     while(a) {
 	netrc_entry *n = a->next;
-	memset(a->password, 0x55, strlen(a->password));
-	xfree(a->password);
+	if (a->password != NULL) {
+		memset(a->password, 0x55, strlen(a->password));
+		free(a->password);
+	}
 	xfree(a->login);
 	xfree(a->host);
 	xfree(a);

Sorry for the inconvenience.  -- Matthias Andree, 2006-01-30


--- NEW FILE patch-6.3.2.1-fix-netrc-SIGSEGV.diff.asc ---
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQBD3ddRvmGDOQUufZURAoEeAJ46roXSovLwh08SPa51k8unV9gZ7wCgrjvL
D6eOT0Fg61eCefPRpChXLrU=
=+5Gw
-----END PGP SIGNATURE-----


Index: fetchmail.spec
===================================================================
RCS file: /cvs/dist/rpms/fetchmail/devel/fetchmail.spec,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- fetchmail.spec	23 Jan 2006 17:07:09 -0000	1.37
+++ fetchmail.spec	30 Jan 2006 21:45:05 -0000	1.38
@@ -3,11 +3,13 @@
 
 Summary: A remote mail retrieval and forwarding utility.
 Name: fetchmail
-Version: 6.3.2
+Version: 6.3.2.1
 Release: 1
 Requires: smtpdaemon
-Source0: http://download.berlios.de/fetchmail/fetchmail-%{version}.tar.bz2
-Source1: http://download.berlios.de/fetchmail/fetchmail-%{version}.tar.bz2.asc
+Source0: http://download.berlios.de/fetchmail/fetchmail-6.3.2.tar.bz2
+Source1: http://download.berlios.de/fetchmail/fetchmail-6.3.2.tar.bz2.asc
+Source2: http://download.berlios.de/fetchmail/patch-6.3.2.1-fix-netrc-SIGSEGV.diff
+Source3: http://download.berlios.de/fetchmail/patch-6.3.2.1-fix-netrc-SIGSEGV.diff.asc
 Patch0: fetchmail-6.2.5-addrconf.patch
 URL: http://fetchmail.berlios.de/
 License: GPL
@@ -44,7 +46,8 @@
 need to have Python and Tk installed in order to use fetchmailconf.
 
 %prep
-%setup -q
+%setup -q -n fetchmail-6.3.2
+patch -p0 < %{SOURCE2}
 %patch0 -p1 -b .addrconf
 
 %build
@@ -83,6 +86,9 @@
 %endif
 
 %changelog
+* Mon Jan 30 2006 Miloslav Trmac <mitr at redhat.com> - 6.3.2.1-1
+- Update to fetchmail-6.3.2.1
+
 * Mon Jan 23 2006 Miloslav Trmac <mitr at redhat.com> - 6.3.2-1
 - Update to fetchmail-6.3.2 (CVE-2006-0321)
 




More information about the fedora-cvs-commits mailing list