Re: [PATCH] Cipso: cipso_v4_optptr enter infinite loop

From: David Miller
Date: Tue Aug 01 2017 - 18:32:05 EST


From: Yujuan Qi <yujuan.qi@xxxxxxxxxxxx>
Date: Mon, 31 Jul 2017 11:23:01 +0800

> From: "yujuan.qi" <yujuan.qi@xxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxx>

Applied, thanks.