Re: [iproute PATCH] iproute: Abort if nexthop cannot be parsed

2018-04-16 Thread Stephen Hemminger
On Wed, 11 Apr 2018 11:43:11 +0200 Jakub Sitnicki wrote: > Attempt to add a multipath route where a nexthop definition refers to a > non-existent device causes 'ip' to crash and burn due to stack buffer > overflow: > > # ip -6 route add fd00::1/64 nexthop dev fake1 > Cannot

[iproute PATCH] iproute: Abort if nexthop cannot be parsed

2018-04-11 Thread Jakub Sitnicki
Attempt to add a multipath route where a nexthop definition refers to a non-existent device causes 'ip' to crash and burn due to stack buffer overflow: # ip -6 route add fd00::1/64 nexthop dev fake1 Cannot find device "fake1" Cannot find device "fake1" Cannot find device "fake1" ...