Skip to content
Commit 3012157a authored by Ruslan Mstoi's avatar Ruslan Mstoi Committed by Anas Nashif
Browse files

net: ipv6: Ignore reachable time greater than maximum



This commit fixes the crash of echo server from unsolicited RA with
reachable time set to 2147483648. The crash was in
net_if_ipv6_calc_reachable_time because such large value resulted in
modulus by zero due to integer overflow.

Fixes #6382

Signed-off-by: default avatarRuslan Mstoi <ruslan.mstoi@intel.com>
parent d91e9e54
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment