aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/c++/clang-test.cpp
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2021-09-29 22:05:26 +0000
committerJohn Johansen <[email protected]>2021-11-03 22:57:19 +0000
commitf4a2d282cca57607a0d6718fafa1ab2d62703254 (patch)
tree16fb63da1fc76313944707c9be9061f218f81c3c /tools/perf/util/c++/clang-test.cpp
parentapparmor: fix zero-length compiler warning in AA_BUG() (diff)
downloadkernel-f4a2d282cca57607a0d6718fafa1ab2d62703254.tar.gz
kernel-f4a2d282cca57607a0d6718fafa1ab2d62703254.zip
apparmor: Use struct_size() helper in kzalloc()
Make use of the struct_size() helper instead of an open-coded version, in order to avoid any potential type mistakes or integer overflows that, in the worse scenario, could lead to heap overflows. Link: https://github.com/KSPP/linux/issues/160 Signed-off-by: Gustavo A. R. Silva <[email protected]> Signed-off-by: John Johansen <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang-test.cpp')
0 files changed, 0 insertions, 0 deletions