aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2021-09-27 17:43:44 -0500
committerMartin K. Petersen <[email protected]>2021-10-04 23:29:38 -0400
commitc20bda341946c8ee77baec3bec7c5cd615ddf869 (patch)
tree681d29954125775089b7b2ecff93741db47f975b /tools/perf/scripts/python/flamegraph.py
parent5384ee089d1f79b027bb62b0cfa729890ca71f8b (diff)
scsi: target: tcmu: Use struct_size() helper in kmalloc()
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 worst scenario, could lead to heap overflows. Link: https://github.com/KSPP/linux/issues/160 Link: https://lore.kernel.org/r/20210927224344.GA190701@embeddedor Reviewed-by: Bodo Stroesser <[email protected]> Signed-off-by: Gustavo A. R. Silva <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions