Re: [iproute PATCH 01/51] devlink: Check return code of strslashrsplit()

2017-08-15 Thread Stephen Hemminger
On Sat, 12 Aug 2017 14:04:20 +0200 Phil Sutter wrote: > This function shouldn't fail because all callers of > __dl_argv_handle_port() make sure the passed string contains enough > slashes already, but better make sure if this changes in future the > function won't access

[iproute PATCH 01/51] devlink: Check return code of strslashrsplit()

2017-08-12 Thread Phil Sutter
This function shouldn't fail because all callers of __dl_argv_handle_port() make sure the passed string contains enough slashes already, but better make sure if this changes in future the function won't access uninitialized data. Signed-off-by: Phil Sutter --- devlink/devlink.c |