]> git.pld-linux.org Git - packages/dhcpcd.git/commitdiff
- security patch from Debian/Gentoo (CAN-2005-1848)
authorPaweł Gołaszewski <blues@pld-linux.org>
Wed, 27 Jul 2005 20:57:03 +0000 (20:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dhcpcd-security.patch -> 1.1

dhcpcd-security.patch [new file with mode: 0644]

diff --git a/dhcpcd-security.patch b/dhcpcd-security.patch
new file mode 100644 (file)
index 0000000..c8d8fb6
--- /dev/null
@@ -0,0 +1,11 @@
+--- client.c.orig      2005-07-10 10:16:43.000000000 +0100
++++ client.c   2005-07-10 10:22:31.000000000 +0100
+@@ -129,6 +129,8 @@
+               default:
+         if ( p[1] )
+           {
++            if (p + 2 + p[1] >= end)
++                goto swend; /* Corrupt packet */
+             if ( DhcpOptions.len[*p] == p[1] )
+               memcpy(DhcpOptions.val[*p],p+2,p[1]);
+             else
This page took 0.054898 seconds and 4 git commands to generate.