All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] Corrected checksum failure handling of FDT within FIT image
@ 2018-08-01  8:24 Patz, Heiko
  0 siblings, 0 replies; only message in thread
From: Patz, Heiko @ 2018-08-01  8:24 UTC (permalink / raw)
  To: u-boot

Hello,

I have observed, that if you have a corrupted FDT within a FIT image, then the error handling is not correct and you will fail to  'hang()'.
To allow an error handling within scripts, the return value of the calling function 'fit_image_load()' has to be checked for negative values.
On error (return value < 0), we have to exit the function. This error seems to also exists in the newest u-boot release.

Please check and fix, if not already done in current versions of u-boot.

With best regards,
Heiko Patz

Siemens Healthcare GmbH
Diagnostic Imaging
Computed Tomography
Electronics
SHS DI CT R&D SC EL
Siemensstr. 1
91301 Forchheim, Germany
Tel.: +49 9191 18-6444
Fax: +49 9191 18-6513
Mobile: +49 152 06340249
mailto:heiko.patz at siemens-healthineers.com
[cid:image001.gif@01D42981.A98AE880]
Siemens Healthcare GmbH: Management: Bernhard Montag, Chairman; Jochen Schmitz, Michael Reitermann; Chairman of the Supervisory Board: Michael Sen; Registered office: Munich, Germany; Commercial Registry: Munich, HRB 213821 WEEE-Reg.-No. DE 64872105

Important notice: This e-mail and any attachment thereof contain corporate proprietary information. If you have received it by mistake, please notify us immediately by reply e-mail and delete this e-mail and its attachments from your system. Thank you.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 3714 bytes
Desc: image001.gif
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180801/88c38adc/attachment.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: u-boot-2015.04.patch
Type: application/octet-stream
Size: 678 bytes
Desc: u-boot-2015.04.patch
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180801/88c38adc/attachment.obj>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-08-01  8:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-01  8:24 [U-Boot] [PATCH] Corrected checksum failure handling of FDT within FIT image Patz, Heiko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.