diff options
author | Andrii Nakryiko <[email protected]> | 2020-01-16 22:08:00 -0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2020-01-17 08:33:18 -0800 |
commit | c701917e647c6aaee5e7bbb7a2c1ca99e8552c58 (patch) | |
tree | ed0c7062d3151b9b6cfcb9707830726159069f84 /drivers/usb/cdns3/cdns3-debug.h | |
parent | b7d7f3e185b6e643dcd49d1486b11cade8519008 (diff) |
libbpf: Fix potential multiplication overflow in mmap() size calculation
Prevent potential overflow performed in 32-bit integers, before assigning
result to size_t. Reported by LGTM static analysis.
Fixes: eba9c5f498a1 ("libbpf: Refactor global data map initialization")
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions