Skip to content
Commit 04592adb authored by Masahisa Kojima's avatar Masahisa Kojima Committed by Ilias Apalodimas
Browse files

net: wget: prevent overwriting reserved memory



This introduces the valid range check to store the received
blocks using lmb. The same logic is implemented in tftp.

Signed-off-by: default avatarMasahisa Kojima <masahisa.kojima@linaro.org>
Acked-by: default avatarIlias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarRamon Fried <rfried.dev@gmail.com>
Signed-off-by: default avatarIlias Apalodimas <ilias.apalodimas@linaro.org>
parent ae7ec8b0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment