]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: wget: Avoid packet queue overflow
authorRichard Weinberger <richard@nod.at>
Thu, 20 Jul 2023 12:51:56 +0000 (14:51 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 22 Sep 2023 17:58:51 +0000 (13:58 -0400)
commita8bd5ec00022cc6cf790b766abaa9c4f6c850add
tree66a8784dabef2c4a18313ea3f61d784bd4bc4888
parentd01a8541d62d78ad76706617e9f8690c8cb01fb8
net: wget: Avoid packet queue overflow

Make sure to stay within bounds, as a misbehaving HTTP server
can trigger a buffer overflow if not properly handled.

Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Ramon Fried <rfried.dev@gmail.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
net/wget.c