Pass a valid cmdtp into do_tftpb(), do_ext2load(), and do_get_fat(), to avoid
possible crashes due to null pointer dereferencing.
Signed-off-by: Steven A. Falco
---
> This doesn't apply cleanly, nor with --ignore-whitespace for me. Can
> you please re-check and re-send the patch? Thanks.
Sor
On 09/23/2013 04:44 PM, Wolfgang Denk wrote:
Dear Tom,
In message <20130923194554.GA5273@bill-the-cat> you wrote:
So, I went off an modified cmd_pxe.c to pass around cmdtp so that we get
an error message out, and it's not too bad looking, but it highlights
another problem, which is that we cou
Prevent a crash when PXE boot calls do_bootm with a vmlinuz formatted image.
In this case, there will be a null cmdtp pointer, and we must not dereference
it.
Signed-off-by: Steven A. Falco
---
In file cmd_pxe.c around line 687 is a call:
do_bootm(NULL, 0, bootm_argc, bootm_argv);
Notice tha
3 matches
Mail list logo