aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorGustavo A. R. Silva <[email protected]>2021-05-13 15:37:30 -0500
committerJens Axboe <[email protected]>2021-05-24 06:47:30 -0600
commit8184035805dc87dd826101b930d3dce97758f7b1 (patch)
tree21d91cdd62035c1fb6b81a1d2154c55681691cbc /scripts/patch-kernel
parentd97e594c51660bea510a387731637b894651e4b5 (diff)
rsxx: Use struct_size() in vmalloc()
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]> Link: https://lore.kernel.org/r/20210513203730.GA212128@embeddedor Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions