rpms/dhcpv6/F-8 dhcpv6-0.10-dhcp6c-SIGSEGV.patch, NONE, 1.1 dhcpv6.spec, 1.66, 1.67

David Cantrell (dcantrel) fedora-extras-commits at redhat.com
Thu Apr 24 03:17:19 UTC 2008


Author: dcantrel

Update of /cvs/pkgs/rpms/dhcpv6/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25866

Modified Files:
	dhcpv6.spec 
Added Files:
	dhcpv6-0.10-dhcp6c-SIGSEGV.patch 
Log Message:
* Wed Apr 23 2008 David Cantrell <dcantrell at redhat.com> - 0.10-52
- When running dhcp6c in debug mode in the foreground, do not SIGSEGV (#441153)


dhcpv6-0.10-dhcp6c-SIGSEGV.patch:

--- NEW FILE dhcpv6-0.10-dhcp6c-SIGSEGV.patch ---
diff -up dhcp-0.10//dhcp6c.c.sigsegv dhcp-0.10//dhcp6c.c
--- dhcp-0.10//dhcp6c.c.sigsegv	2008-04-23 17:12:54.000000000 -1000
+++ dhcp-0.10//dhcp6c.c	2008-04-23 17:13:40.000000000 -1000
@@ -1213,7 +1213,8 @@ client6_send(ev)
 			break;
 		}
 	default:
-		dst = *sa6_allagent;
+		if (sa6_allagent != NULL)
+			dst = *sa6_allagent;
 		salen = sa6_alen;
 		break;
 	}


Index: dhcpv6.spec
===================================================================
RCS file: /cvs/pkgs/rpms/dhcpv6/F-8/dhcpv6.spec,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -r1.66 -r1.67
--- dhcpv6.spec	9 Oct 2007 14:30:58 -0000	1.66
+++ dhcpv6.spec	24 Apr 2008 03:16:40 -0000	1.67
@@ -1,7 +1,7 @@
 Summary: DHCPv6 - DHCP server and client for IPv6
 Name:    dhcpv6
 Version: 0.10
-Release: 51%{?dist}
+Release: 52%{?dist}
 License: BSD
 Group:   System Environment/Daemons
 URL:     http://dhcpv6.sourceforge.net/
@@ -24,6 +24,7 @@
 Patch12: %{name}-0.10-retransmit-confirm.patch
 Patch13: %{name}-0.10-elapsed-time.patch
 Patch14: %{name}-0.10-reassign-global.patch
+Patch15: ${name}-0.10-dhcp6c-SIGSEGV.patch
 
 Patch99: %{name}-0.10-libdhcp6client.patch
 
@@ -95,6 +96,7 @@
 %patch12 -p1 -b .retransmit
 %patch13 -p1 -b .elapsed
 %patch14 -p1 -b .reassign
+%patch15 -p1 -b .sigsegv
 
 %patch99 -p1 -b .libdhcp6client
 
@@ -189,6 +191,9 @@
 %{_libdir}/libdhcp6client.a
 
 %changelog
+* Wed Apr 23 2008 David Cantrell <dcantrell at redhat.com> - 0.10-52
+- When running dhcp6c in debug mode in the foreground, do not SIGSEGV (#441153)
+
 * Tue Sep 11 2007 David Cantrell <dcantrell at redhat.com> - 0.10-51
 - Fix chkconfig lines in init scripts
 - Obsolete dhcpv6_client (not nvr specific) in dhcpv6-client (#324901)




More information about the fedora-extras-commits mailing list