commit | 6e33f7b0f6e04dd46bea24c3ab28d61e54625dd7 | [log] [tgz] |
---|---|---|
author | Phil Sutter <phil@nwl.cc> | Mon Aug 21 18:36:52 2017 +0200 |
committer | Stephen Hemminger <stephen@networkplumber.org> | Mon Aug 21 17:28:03 2017 -0700 |
tree | 023d5287252d50806a6722182cdf22c5f097347c | |
parent | 84b6a3f4b5720aaf673c2eaad2cf60f786de077b [diff] |
devlink: Check return code of strslashrsplit() 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 <phil@nwl.cc>