diff options
author | Gustavo A. R. Silva <[email protected]> | 2021-09-29 15:17:18 -0500 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2021-09-30 17:27:03 -0700 |
commit | 129291980f4901ae68ee3ba4344bdc38cf5f800d (patch) | |
tree | d2f1074bfe1592582b38b3757e741067eaf82b4f /tools/perf/scripts/python/libxed.py | |
parent | dd9a887b35b01d7027f974f5e7936f1410ab51ca (diff) |
net: sched: Use struct_size() helper in kvmalloc()
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
Signed-off-by: Gustavo A. R. Silva <[email protected]>
Link: https://lore.kernel.org/r/20210929201718.GA342296@embeddedor
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions