Files
twx-linux/net/ipv4
yujuan.qi 8ed0ff83f5 Cipso: cipso_v4_optptr enter infinite loop
commit 40413955ee upstream.

in for(),if((optlen > 0) && (optptr[1] == 0)), enter infinite loop.

Test: receive a packet which the ip length > 20 and the first byte of ip option is 0, produce this issue

Signed-off-by: yujuan.qi <yujuan.qi@mediatek.com>
Acked-by: Paul Moore <paul@paul-moore.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-05 09:18:33 +02:00
..
2017-06-14 13:16:19 +02:00
2018-04-13 19:50:24 +02:00
2016-11-15 07:46:38 +01:00
2016-11-15 07:46:38 +01:00
…
…
2018-07-28 07:45:02 +02:00
…
…
…
2017-11-18 11:11:06 +01:00
…
…
2017-05-14 13:32:58 +02:00
…
…