diff options
author | Wang Yufen <[email protected]> | 2022-06-07 20:00:28 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-06-08 10:56:43 -0700 |
commit | f638a84afef3dfe10554c51820c16e39a278c915 (patch) | |
tree | 45041ede5c3dc94a1f0765a8dc8417d34fe98f0e /scripts/gdb/linux/tasks.py | |
parent | f93431c86b631bbca5614c66f966bf3ddb3c2803 (diff) |
ipv6: Fix signed integer overflow in l2tp_ip6_sendmsg
When len >= INT_MAX - transhdrlen, ulen = len + transhdrlen will be
overflow. To fix, we can follow what udpv6 does and subtract the
transhdrlen from the max.
Signed-off-by: Wang Yufen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions