Re: [PATCH] common: bootm: Add missing check of fit_open_image() return code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 09, 2020 at 12:54:46PM +0200, Albert Schwarzkopf wrote:
> Check the return code of fit_open_image() inside bootm_load_initrd(). 
> Without this check, the code works with undefined values of 
> "initrd_size" and "initrd" should fit_open_image() fail.
> 
> Signed-off-by: Albert Schwarzkopf <a.schwarzkopf@xxxxxxxxx>
> ---
>  common/bootm.c | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)

Applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux