diff options
author | Beau Belgrave <[email protected]> | 2022-01-18 12:43:20 -0800 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2022-02-10 22:37:38 -0500 |
commit | 2467cda1b5c97a58776a8aebfa5d76543e47479d (patch) | |
tree | 99e2136f6c838905c3e5e3569850a2a2c694a4e1 /drivers/fpga/fpga-bridge.c | |
parent | 0279400ad38d858ed68f5d787385f6122d4170b2 (diff) |
user_events: Validate user payloads for size and null termination
Add validation to ensure data is at or greater than the min size for the
fields of the event. If a dynamic array is used and is a type of char,
ensure null termination of the array exists.
Link: https://lkml.kernel.org/r/[email protected]
Acked-by: Masami Hiramatsu <[email protected]>
Signed-off-by: Beau Belgrave <[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