aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/clang-tools/gen_compile_commands.py
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2021-05-13 21:27:29 +0000
committerThomas Gleixner <[email protected]>2021-08-10 13:35:20 +0000
commit5a6c76b5de59ed508d7cb133327a7c54e77fed97 (patch)
treea1d29bb94091f9c0f3ef751003169e913b6afb5f /scripts/clang-tools/gen_compile_commands.py
parentgenirq: Clarify documentation for request_threaded_irq() (diff)
downloadkernel-5a6c76b5de59ed508d7cb133327a7c54e77fed97.tar.gz
kernel-5a6c76b5de59ed508d7cb133327a7c54e77fed97.zip
genirq/generic_chip: Use struct_size() 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 worst scenario, could lead to heap overflows. This code was detected with the help of Coccinelle and, audited and fixed manually. Signed-off-by: Gustavo A. R. Silva <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/r/20210513212729.GA214145@embeddedor
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions