commit | 04592adbdb997081acccdd7191a9bd661a791d91 | [log] [tgz] |
---|---|---|
author | Masahisa Kojima <masahisa.kojima@linaro.org> | Fri Nov 10 13:25:34 2023 +0900 |
committer | Ilias Apalodimas <ilias.apalodimas@linaro.org> | Sat Nov 18 10:08:08 2023 +0200 |
tree | 505d756185d22ab87f6306cd39a4b1ada3987a5a | |
parent | ae7ec8b0be41b59ef323f7531c0fe6745e8fef45 [diff] |
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: Masahisa Kojima <masahisa.kojima@linaro.org> Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Ramon Fried <rfried.dev@gmail.com> Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>