[U-Boot] [PATCH] Prevent crash if random/invalid ramdisks are passed to bootm

Wolfgang Denk wd at denx.de
Sun Sep 7 00:19:10 CEST 2008


Dear Kumar Gala,

In message <1220054909-1627-1-git-send-email-galak at kernel.crashing.org> you wrote:
> Adds returning an error from the ramdisk detection code if
> its not a real ramdisk (invalid).  There is no reason we can't
> just return back to the console if we detect an invalid
> ramdisk or CRC error.
> 
> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
> ---
> 
> This is based on Anatolij's patch:
> 
> 'Prevent crash if random DTB address is passed to bootm'
> 
> - k
> 
>  common/cmd_bootm.c |    2 +-
>  common/image.c     |    3 ++-
>  2 files changed, 3 insertions(+), 2 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
All this doesn't alter anything, you know. The world is still full of
stupid people. They don't use their brains. They don't seem  to  want
to think straight.                    - Terry Pratchett, _Soul Music_


More information about the U-Boot mailing list