From: Tom Rini Date: Sun, 29 Apr 2018 17:04:34 -0400 Subject: [U-Boot] tools: mkimage: Check for datafile when type is script In-Reply-To: <1524373877-13207-1-git-send-email-alex.kiernan@gmail.com> References: <1524373877-13207-1-git-send-email-alex.kiernan@gmail.com> Message-ID: <20180429210434.GK31362@bill-the-cat.ec.rr.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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: