diff options
| author | Gustavo A. R. Silva <[email protected]> | 2022-01-25 13:26:34 -0600 |
|---|---|---|
| committer | Chanwoo Choi <[email protected]> | 2022-05-13 17:03:40 +0900 |
| commit | 8ae4471d38c4952d8eb67ce60e3988c4ccb25dc6 (patch) | |
| tree | 97e203094432ffb0279f427b9c61fc7311582c69 /tools/perf/scripts/python/netdev-times.py | |
| parent | 4c018cc87e5592f5bb8160e6fd42059778e1b0dc (diff) | |
extcon: usbc-cros-ec: 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 worst scenario, could lead to heap overflows.
Signed-off-by: Gustavo A. R. Silva <[email protected]>
Signed-off-by: Chanwoo Choi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions