Re: [U-Boot] Prevent null pointer dereference originating in cmd_pxe.c

2013-10-07 Thread Steven Falco
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 stevenfa...@gmail.com --- This doesn't apply cleanly, nor with --ignore-whitespace for me. Can you please re-check and re-send the

Re: [U-Boot] [PATCH] Prevent a U-Boot crash on Wandboard

2013-09-23 Thread Steven Falco
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

[U-Boot] [PATCH] Prevent a U-Boot crash on Wandboard

2013-09-22 Thread Steven Falco
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 stevenfa...@gmail.com --- In file cmd_pxe.c around line 687 is a call: do_bootm(NULL, 0, bootm_argc,