Skip to content
Commit a29df56e authored by Ehsan Mohandesi's avatar Ehsan Mohandesi Committed by Tom Rini
Browse files

net: ipv6: router advertisement message length should be within limits



The argument len passed to function process_ra is the length of the IPv6
router advertisement message and needs to be between 0 and MTU because
it is assigned to remaining_option_len and used as a loop variable.

Addresses-Coverity-ID: 450971 ("TAINTED_SCALAR")
Signed-off-by: default avatarEhsan Mohandesi <emohandesi@linux.microsoft.com>
Reviewed-by: default avatarViacheslav Mitrofanov <v.v.mitrofanov@yadro.com>
Reviewed-by: default avatarRamon Fried <rfried.dev@gmail.com>
parent c98c401d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment