diff options
author | Colin Ian King <[email protected]> | 2020-07-27 18:54:11 +0100 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2020-07-28 12:40:10 +0200 |
commit | f6dfbe31e8fa5cbd5bc89df9d7f0fa0af7e69981 (patch) | |
tree | 1172b5424e4e6ff8e0b8a447a0718762641b3ba3 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 363885d7c62e293fb093c7c355bf5f05fa0a25a9 (diff) |
bpf: Fix swapped arguments in calls to check_buffer_access
There are a couple of arguments of the boolean flag zero_size_allowed and
the char pointer buf_info when calling to function check_buffer_access that
are swapped by mistake. Fix these by swapping them to correct the argument
ordering.
Fixes: afbf21dce668 ("bpf: Support readonly/readwrite buffers in verifier")
Addresses-Coverity: ("Array compared to 0")
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Yonghong Song <[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