From: Jakub Bogusz Date: Tue, 2 Dec 2003 13:40:02 +0000 (+0000) Subject: - CAN-2003-0856 fix from RH X-Git-Tag: auto/ac/iproute2-2_4_7_ss020116-13#2_4_21_1_6~3 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;ds=sidebyside;h=106df1b5f5ef549456c24fd5074db981deef71d7;p=packages%2Fiproute2.git - CAN-2003-0856 fix from RH Changed files: iproute2-netlink.patch -> 1.1 --- 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);