From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/binutils: fix crash caused by buggy xtensa overlay
Date: Wed, 2 Aug 2017 21:42:39 +0200 [thread overview]
Message-ID: <20170802214239.7ed1d94d@windsurf.home> (raw)
In-Reply-To: <1501699220-3055-1-git-send-email-jcmvbkbc@gmail.com>
Hello,
On Wed, 2 Aug 2017 11:40:20 -0700, Max Filippov wrote:
> In some xtensa configurations there may be system/user registers in
> xtensa-modules with negative index. ISA initialization for such config
> may clobber heap and result in program termination.
> Don't update lookup table entries for register with negative indices.
>
> Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
> ---
> ...a-fix-memory-corruption-by-broken-sysregs.patch | 42 ++++++++++++++++++++++
> ...a-fix-memory-corruption-by-broken-sysregs.patch | 42 ++++++++++++++++++++++
> ...a-fix-memory-corruption-by-broken-sysregs.patch | 42 ++++++++++++++++++++++
> 3 files changed, 126 insertions(+)
> create mode 100644 package/binutils/2.27/0131-xtensa-fix-memory-corruption-by-broken-sysregs.patch
> create mode 100644 package/binutils/2.28.1/0131-xtensa-fix-memory-corruption-by-broken-sysregs.patch
> create mode 100644 package/binutils/2.29/0008-xtensa-fix-memory-corruption-by-broken-sysregs.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2017-08-02 19:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-02 18:40 [Buildroot] [PATCH] package/binutils: fix crash caused by buggy xtensa overlay Max Filippov
2017-08-02 19:42 ` Thomas Petazzoni [this message]
2017-09-05 21:04 ` Peter Korsgaard
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=20170802214239.7ed1d94d@windsurf.home \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/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.