[PATCH v2] net: Check for the minimum IP fragmented datagram size

Fabio Estevam festevam at denx.de
Thu May 26 18:10:34 CEST 2022


On 26/05/2022 11:14, Fabio Estevam wrote:

> Add a check for ip_len lesser than 28 and stop processing the packet
> in this case.
> 
> Such a check covers the two reported bugs.

Ops, it is (ip->ip_len < 21) the condition that satisfies both cases.

I will send a v3.


More information about the U-Boot mailing list