diff options
author | Adam Tkac <atkac@fedoraproject.org> | 2008-01-22 16:57:44 +0000 |
---|---|---|
committer | Adam Tkac <atkac@fedoraproject.org> | 2008-01-22 16:57:44 +0000 |
commit | bd244743f636afc0a0be0fcdcd168c992aadae61 (patch) | |
tree | 62a5170d372bf3b82c3841668220f68c1065077c /bind-9.5-CVE-2008-0122.patch | |
parent | 7bcaa52bb5aa1ffa325196813e43d1dce5cc3765 (diff) | |
download | bind-bd244743f636afc0a0be0fcdcd168c992aadae61.tar.gz bind-bd244743f636afc0a0be0fcdcd168c992aadae61.tar.xz bind-bd244743f636afc0a0be0fcdcd168c992aadae61.zip |
- removed bind-9.3.2-prctl_set_dumpable.patch (upstream)bind-9_5_0-24_b1_fc9
- allow parallel building of libdns library
- CVE-2008-0122
Diffstat (limited to 'bind-9.5-CVE-2008-0122.patch')
-rw-r--r-- | bind-9.5-CVE-2008-0122.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/bind-9.5-CVE-2008-0122.patch b/bind-9.5-CVE-2008-0122.patch new file mode 100644 index 0000000..38e0a4b --- /dev/null +++ b/bind-9.5-CVE-2008-0122.patch @@ -0,0 +1,20 @@ +Index: lib/bind/inet/inet_network.c +=================================================================== +RCS file: /var/snap/bind9/lib/bind/inet/inet_network.c,v +retrieving revision 1.5 +retrieving revision 1.6 +diff -u -r1.5 -r1.6 +--- lib/bind/inet/inet_network.c 27 Apr 2005 04:56:21 -0000 1.5 ++++ lib/bind/inet/inet_network.c 15 Jan 2008 04:02:01 -0000 1.6 +@@ -84,9 +84,9 @@ + } + if (!digit) + return (INADDR_NONE); ++ if (pp >= parts + 4 || val > 0xffU) ++ return (INADDR_NONE); + if (*cp == '.') { +- if (pp >= parts + 4 || val > 0xffU) +- return (INADDR_NONE); + *pp++ = val, cp++; + goto again; + } |