From 106df1b5f5ef549456c24fd5074db981deef71d7 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Tue, 2 Dec 2003 13:40:02 +0000 Subject: [PATCH] - CAN-2003-0856 fix from RH Changed files: iproute2-netlink.patch -> 1.1 --- iproute2-netlink.patch | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 iproute2-netlink.patch diff --git a/iproute2-netlink.patch b/iproute2-netlink.patch new file mode 100644 index 0000000..e311a06 --- /dev/null +++ b/iproute2-netlink.patch @@ -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); -- 2.44.0