diff options
author | Beau Belgrave <[email protected]> | 2022-02-24 10:16:37 -0800 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2022-03-10 17:41:18 -0500 |
commit | 173c2049d12b441b498d6423276f5dd76b1e637b (patch) | |
tree | bdaf00f8e1dc79f5c3c68612eb44ffa48efef2e4 /drivers/fpga/fpga-bridge.c | |
parent | 9f8e5aee93ed2482638d577a56806b455084b595 (diff) |
user_events: Fix potential uninitialized pointer while parsing field
Ensure name is initialized by default to NULL to prevent possible edge
cases that could lead to it being left uninitialized. Add an explicit
check for NULL name to ensure edge boundaries.
Link: https://lore.kernel.org/bpf/20220224105334.GA2248@kili/
Link: https://lore.kernel.org/linux-trace-devel/[email protected]
Signed-off-by: Beau Belgrave <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions