]> git.pld-linux.org Git - packages/iproute2.git/commitdiff
- CAN-2003-0856 fix from RH
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 2 Dec 2003 13:40:02 +0000 (13:40 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    iproute2-netlink.patch -> 1.1

iproute2-netlink.patch [new file with mode: 0644]

diff --git a/iproute2-netlink.patch b/iproute2-netlink.patch
new file mode 100644 (file)
index 0000000..e311a06
--- /dev/null
@@ -0,0 +1,23 @@
+CAN-2003-0856 fix from RH
+--- iproute2/lib/libnetlink.c.orig     2003-08-10 15:02:10.000000000 +1000
++++ iproute2/lib/libnetlink.c  2003-10-13 19:36:41.000000000 +1000
+@@ -169,7 +169,8 @@
+               while (NLMSG_OK(h, status)) {
+                       int err;
+-                      if (h->nlmsg_pid != rth->local.nl_pid ||
++                      if (nladdr.nl_pid != 0 ||
++                          h->nlmsg_pid != rth->local.nl_pid ||
+                           h->nlmsg_seq != rth->dump) {
+                               if (junk) {
+                                       err = junk(&nladdr, h, arg2);
+@@ -277,7 +278,8 @@
+                               exit(1);
+                       }
+-                      if (h->nlmsg_pid != rtnl->local.nl_pid ||
++                      if (nladdr.nl_pid != peer ||
++                          h->nlmsg_pid != rtnl->local.nl_pid ||
+                           h->nlmsg_seq != seq) {
+                               if (junk) {
+                                       err = junk(&nladdr, h, jarg);
This page took 0.034232 seconds and 4 git commands to generate.