diff options
| author | Yu Zhe <[email protected]> | 2022-09-27 07:02:47 +0000 |
|---|---|---|
| committer | Dan Williams <[email protected]> | 2022-11-03 18:20:46 +0000 |
| commit | 4f1aa35f1fb7d51b125487c835982af792697ecb (patch) | |
| tree | 2c15f9ba2523e709f8bdfc6325bfb7aa81abf5be /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | cxl/region: Fix decoder allocation crash (diff) | |
| download | kernel-4f1aa35f1fb7d51b125487c835982af792697ecb.tar.gz kernel-4f1aa35f1fb7d51b125487c835982af792697ecb.zip | |
cxl/pmem: Use size_add() against integer overflow
"struct_size() + n" may cause a integer overflow,
use size_add() to handle it.
Signed-off-by: Yu Zhe <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions
