diff options
author | yujuan.qi <yujuan.qi@mediatek.com> | 2017-07-31 11:23:01 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-05 09:18:33 +0200 |
commit | 8ed0ff83f5fd0ca412a52bd71af332598c01ca46 (patch) | |
tree | b9c19c886856228c0be1f5dd8fd9e0b04fc0d231 /net/ipv6 | |
parent | 21a24b5db1858867ffafb5ca221b352a232e15eb (diff) |
Cipso: cipso_v4_optptr enter infinite loop
commit 40413955ee265a5e42f710940ec78f5450d49149 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>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions