On Fri, Oct 14, 2022 at 07:43:37PM +0200, Rasmus Villemoes wrote:
> There's no reason we should accept an IP packet with a malformed IHL
> field. So ensure that it is exactly 5, not just <= 5.
>
> Signed-off-by: Rasmus Villemoes
> Reviewed-by: Ramon Fried
Applied to u-boot/master, thanks!
--
On Fri, Oct 14, 2022 at 8:43 PM Rasmus Villemoes
wrote:
>
> There's no reason we should accept an IP packet with a malformed IHL
> field. So ensure that it is exactly 5, not just <= 5.
>
> Signed-off-by: Rasmus Villemoes
> ---
> net/net.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
There's no reason we should accept an IP packet with a malformed IHL
field. So ensure that it is exactly 5, not just <= 5.
Signed-off-by: Rasmus Villemoes
---
net/net.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/net.c b/net/net.c
index 81905f6315..536731245b 100644
-
3 matches
Mail list logo