All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patz, Heiko <heiko.patz@siemens-healthineers.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] Corrected checksum failure handling of FDT within FIT image
Date: Wed, 1 Aug 2018 08:24:35 +0000	[thread overview]
Message-ID: <85E9D1E5A03F4F44844BDE42D2F541A00BD8DBE7@DENBGAT9EK1MSX.ww902.siemens.net> (raw)

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>

                 reply	other threads:[~2018-08-01  8:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=85E9D1E5A03F4F44844BDE42D2F541A00BD8DBE7@DENBGAT9EK1MSX.ww902.siemens.net \
    --to=heiko.patz@siemens-healthineers.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.