diff options
author | Sjoerd Simons <[email protected]> | 2020-02-16 22:36:24 +0100 |
---|---|---|
committer | Richard Weinberger <[email protected]> | 2020-03-29 23:54:51 +0200 |
commit | 237ce2e681d20e92fe17fc23a348b4f0d595e641 (patch) | |
tree | 6696bd9c027e803eea0196cfb96d51c7d965e85f /tools/perf/util/trace-event-scripting.c | |
parent | 3363179385629c1804ea846f4e72608c2201a81e (diff) |
um: vector: Avoid NULL ptr deference if transport is unset
When the transport option of a vec isn't set strncmp ends up being
called on a NULL pointer. Better not do that.
Signed-off-by: Sjoerd Simons <[email protected]>
Acked-By: Anton Ivanov <[email protected]>
Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions