Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 1b808993 authored by Jakub Kicinski's avatar Jakub Kicinski Committed by David S. Miller
Browse files

flow_dissector: fix false-positive __read_overflow2_field() warning


Bounds checking is unhappy that we try to copy both Ethernet
addresses but pass pointer to the first one. Luckily destination
address is the first field so pass the pointer to the entire header,
whatever.

Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Reviewed-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 726e2c59
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment