aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2022-09-26 17:40:11 -0700
committerHans de Goede <[email protected]>2022-09-27 15:14:53 +0200
commita776bf77c98ddea32233e2480f565797900975ba (patch)
treeec377c3566732e889b897f245dc04d89c90d8e9e /tools/perf/scripts/python
parentd443fcad6f644a98f2b2cee6a2bfd7e6620d2fe5 (diff)
platform/surface: Split memcpy() of struct ssam_event flexible array
To work around a misbehavior of the compiler's ability to see into composite flexible array structs (as detailed in the coming memcpy() hardening series[1]), split the memcpy() of the header and the payload so no false positive run-time overflow warning will be generated. [1] https://lore.kernel.org/linux-hardening/[email protected] Cc: Maximilian Luz <[email protected]> Cc: Hans de Goede <[email protected]> Cc: Mark Gross <[email protected]> Cc: [email protected] Signed-off-by: Kees Cook <[email protected]> Reviewed-by: Gustavo A. R. Silva <[email protected]> Reviewed-by: Maximilian Luz <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Hans de Goede <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions