aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorPeng Fan <[email protected]>2024-04-18 09:32:28 +0800
committerSudeep Holla <[email protected]>2024-04-19 15:17:37 +0100
commit4869b5cc9641c0cdc100315f324a73f64576ee66 (patch)
tree593c62d34bd02e08697eace630d793bd06fb80c8 /lib/test_fortify/write_overflow-strncpy-src.c
parentfc110108b98305efa24bb8c355e90b5cc2a01a5f (diff)
firmware: arm_scmi: Introduce get_max_msg_size() helper/accessor
When the agent is sending data to the SCMI platform, the drivers in the agent could check the maximum message size supported to avoid potential protocol buffer overflow. Introduce the helper/accessor function get_max_msg_size() for the same. Reviewed-by: Cristian Marussi <[email protected]> Reviewed-by: Dhruva Gole <[email protected]> Signed-off-by: Peng Fan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sudeep Holla <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions