All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] core: ofnode: Fix ASAN-reported stack-buffer-overflow in of_get_address
Date: Sun, 14 Apr 2019 19:39:19 -0400	[thread overview]
Message-ID: <20190414233919.GR4664@bill-the-cat> (raw)
In-Reply-To: <20190414200901.GA7521@x230>

On Sun, Apr 14, 2019 at 10:13:15PM +0200, Eugeniu Rosca wrote:
> Hi Simon,
>  CC: Tom, Yamada-san, Jiri, Stephen,
> 
> On Sat, Mar 30, 2019 at 03:19:23PM -0600, Simon Glass wrote:
> > Hi Eugeniu,
> > 
> > On Mon, 25 Mar 2019 at 04:44, Eugeniu Rosca <erosca@de.adit-jv.com> wrote:
> > >
> > > Hello Simon,
> > >
> > > On Sun, Mar 10, 2019 at 03:51:47PM -0600, Simon Glass wrote:
> > > [..]
> > > > Reviewed-by: Simon Glass <sjg@chromium.org>
> > >
> > > Can this fix go to u-boot-dm or is more review required?
> > >
> > 
> > Yes it looks like it is in my queue.
> > 
> > Regards,
> > Simon
> 
> First, many thanks for pushing the fix to u-boot-dm.
> 
> Second, I would like to (repeatedly [0]) point out a pretty rare
> corruption of patch metadata, which places the 'Reviewed-by:'
> (and actually any other "*-by: ") signature on top of the '====='
> line if the latter is present in commit description (see [1]).
> 
> As Yamada-san pointed out in [0], this is presumably caused by a
> patchwork bug and after some grepping through the patchwork git
> history, it looks like the issue is already fixed in patchwork master
> thanks to Jiri and Stephen via commit [2].
> 
> My guess is that the U-Boot patchwork version might not be containing
> this recent fix, hence still showcasing the wrong behavior?
> 
> FWIW, at least below U-Boot commits exhibit the same inconsistency:
> 
> u-boot $> for c in $(git log --format=%h --grep "^======="); \
>           do \
>               git log --format=%B -1 $c | grep -B 2 "^=======" | \
>               grep -q "by:.*@" && git --no-pager log --oneline -1 $c; \
>           done
> 
> 0506620f4f49 sata: sata_mv: Add DM support to enable CONFIG_BLK usage
> 9bfacf249b10 core: ofnode: Fix ASAN-reported stack-buffer-overflow in of_get_address
> e1904f4530a3 common: avb_verify: Fix division by zero in mmc_byte_io()
> e91610da7c8a kconfig: re-sync with Linux 4.17-rc4
> e810565e23cd i.MX6DL: mamoj: Add PFUZE100 support
> dda9892171c3 i.MX6DL: mamoj: Add I2C support
> a0b0ff0ae643 arm: dra7xx: Fix Linux boot from eMMC
> f6d245b8c56c arm: am57xx: Fix Linux boot from eMMC
> 67ff9e11f397 wandboard: move environment partition farther from u-boot.img
> 
> [0] https://marc.info/?l=u-boot&m=152643616902958&w=2
> [1] http://git.denx.de/?p=u-boot.git;a=commitdiff;h=9bfacf249b10
> [2] https://github.com/getpatchwork/patchwork/commit/67faf96ab96d932
>     ("parser: fix parsing of patches with headings")

Adding in Jeremy since we just use the ozlabs patchwork, 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/20190414/0e8f7f0a/attachment.sig>

  reply	other threads:[~2019-04-14 23:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-09 16:27 [U-Boot] [PATCH] core: ofnode: Fix ASAN-reported stack-buffer-overflow in of_get_address Eugeniu Rosca
2019-03-10 21:51 ` Simon Glass
2019-03-25 10:44   ` Eugeniu Rosca
2019-03-30 21:19     ` Simon Glass
2019-04-14 20:13       ` Eugeniu Rosca
2019-04-14 23:39         ` Tom Rini [this message]
2019-04-30 12:28           ` Eugeniu Rosca
2019-04-30 17:59             ` Stephen Finucane
2019-05-02  7:21               ` Eugeniu Rosca

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=20190414233919.GR4664@bill-the-cat \
    --to=trini@konsulko.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.