diff options
author | Andrii Nakryiko <andriin@fb.com> | 2020-09-03 21:16:11 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-09-04 14:35:12 +0200 |
commit | 8eb629585d2231e90112148009e2a11b0979ca38 (patch) | |
tree | 94ba49d2e25651fd880da37ce6e3252c3bd294fa /samples | |
parent | 17e54b096e6a8dc92b92c59c2e3437550383b27a (diff) | |
download | linux-8eb629585d2231e90112148009e2a11b0979ca38.tar.bz2 |
libbpf: Fix potential multiplication overflow
Detected by LGTM static analyze in Github repo, fix potential multiplication
overflow before result is casted to size_t.
Fixes: 8505e8709b5e ("libbpf: Implement generalized .BTF.ext func/line info adjustment")
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20200904041611.1695163-2-andriin@fb.com
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions