summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Buchholz <rbu@gentoo.org>2009-07-14 22:22:55 +0000
committerRobert Buchholz <rbu@gentoo.org>2009-07-14 22:22:55 +0000
commitc9a1877855940933ff0421a8ef57ebb2630328c3 (patch)
treeef01d6af52d64351c80153aee033a5abe19651fa /net-misc/dhcp/files
parentFix manifest for 2.6.29-r6 (diff)
downloadhistorical-c9a1877855940933ff0421a8ef57ebb2630328c3.tar.gz
historical-c9a1877855940933ff0421a8ef57ebb2630328c3.tar.bz2
historical-c9a1877855940933ff0421a8ef57ebb2630328c3.zip
Add new upstream version with the official fix for CVE-2009-0692, fix DoS issue in dhcpd (CVE-2009-1892), bug #275231.
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'net-misc/dhcp/files')
-rw-r--r--net-misc/dhcp/files/dhcp-3.1.2_p1-CVE-2009-1892.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-misc/dhcp/files/dhcp-3.1.2_p1-CVE-2009-1892.patch b/net-misc/dhcp/files/dhcp-3.1.2_p1-CVE-2009-1892.patch
new file mode 100644
index 000000000000..ae1b92af8a7d
--- /dev/null
+++ b/net-misc/dhcp/files/dhcp-3.1.2_p1-CVE-2009-1892.patch
@@ -0,0 +1,12 @@
+diff -uNr dhcp-3.1.2.ORIG/server/dhcp.c dhcp-3.1.2/server/dhcp.c
+--- dhcp-3.1.2.ORIG/server/dhcp.c 2009-07-13 14:26:15.000000000 +0100
++++ dhcp-3.1.2/server/dhcp.c 2009-07-13 14:26:33.000000000 +0100
+@@ -1747,6 +1747,8 @@
+ host_reference (&host, h, MDL);
+ }
+ if (!host) {
++ if (hp)
++ host_dereference (&hp, MDL);
+ find_hosts_by_haddr (&hp,
+ packet -> raw -> htype,
+ packet -> raw -> chaddr,