[U-Boot] tools: mkimage: Check for datafile when type is script

Tom Rini trini at konsulko.com
Sun Apr 29 21:04:34 UTC 2018


On Sun, Apr 22, 2018 at 05:11:17AM +0000, Alex Kiernan wrote:

> If generating a script image and no datafile has been passed in, mkimage
> dies with SIGSEGV:
> 
>   #0  __strchr_sse2 () at ../sysdeps/x86_64/multiarch/../strchr.S:32
>   #1  0x0000000000403818 in main
>       at tools/mkimage.c:503
> 
> Add explicit test for datafile to fix this.
> 
> Signed-off-by: Alex Kiernan <alex.kiernan at gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180429/723f07f2/attachment.sig>


More information about the U-Boot mailing list