~ubuntu-branches/ubuntu/karmic/iproute/karmic

« back to all changes in this revision

Viewing changes to ip/iproute.c

  • Committer: Bazaar Package Importer
  • Author(s): Joshua Kwan
  • Date: 2004-05-16 20:28:43 UTC
  • Revision ID: james.westby@ubuntu.com-20040516202843-kvaahy5s8mmstjid
Tags: 20010824-13.1
* NMU for a security fix.
* [CAN-2003-0856] Fix a local denial of service vulnerability via
  spoofed messages to the kernel's Netlink interface. (Closes: #242994)

Show diffs side-by-side

added added

removed removed

Lines of Context:
618
618
                        fprintf(stderr, "Error: unexpected end of line after \"nexthop\"\n");
619
619
                        exit(-1);
620
620
                }
 
621
                memset(rtnh, 0, sizeof(*rtnh));
621
622
                rtnh->rtnh_len = sizeof(*rtnh);
622
 
                rtnh->rtnh_ifindex = 0;
623
623
                rta->rta_len += rtnh->rtnh_len;
624
624
                parse_one_nh(rta, rtnh, &argc, &argv);
625
625
                rtnh = RTNH_NEXT(rtnh);