From: Eduardo Habkost <ehabkost@redhat.com>
To: Marcel Apfelbaum <marcel@redhat.com>
Cc: qemu-devel@nongnu.org, mst@redhat.com, qemu-stable@nongnu.org,
kraxel@redhat.com, lersek@redhat.com
Subject: Re: [Qemu-devel] [PATCH] fw_cfg: fix memory corruption when all fw_cfg slots are used
Date: Fri, 12 Jan 2018 17:47:30 -0200 [thread overview]
Message-ID: <20180112194730.GQ18022@localhost.localdomain> (raw)
In-Reply-To: <20180108215007.46471-1-marcel@redhat.com>
On Mon, Jan 08, 2018 at 11:50:07PM +0200, Marcel Apfelbaum wrote:
> When all the fw_cfg slots are used, a write is made outside the
> bounds of the fw_cfg files array as part of the sort algorithm.
>
> Fix it by avoiding an unnecessary array element move.
> Fix also an assert while at it.
>
> Signed-off-by: Marcel Apfelbaum <marcel@redhat.com>
Queued on machine-next, thanks!
--
Eduardo
prev parent reply other threads:[~2018-01-12 19:47 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-08 21:50 [Qemu-devel] [PATCH] fw_cfg: fix memory corruption when all fw_cfg slots are used Marcel Apfelbaum
2018-01-09 11:15 ` Marc-André Lureau
2018-01-09 12:36 ` Marcel Apfelbaum
2018-01-09 12:54 ` Laszlo Ersek
2018-01-09 12:51 ` Laszlo Ersek
2018-01-09 13:48 ` Marcel Apfelbaum
2018-01-09 13:09 ` Laszlo Ersek
2018-01-09 13:18 ` Marcel Apfelbaum
2018-01-09 13:33 ` Laszlo Ersek
2018-01-09 13:35 ` Laszlo Ersek
2018-01-09 13:36 ` Laszlo Ersek
2018-01-09 13:41 ` Marcel Apfelbaum
2018-01-12 19:47 ` Eduardo Habkost [this message]
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=20180112194730.GQ18022@localhost.localdomain \
--to=ehabkost@redhat.com \
--cc=kraxel@redhat.com \
--cc=lersek@redhat.com \
--cc=marcel@redhat.com \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-stable@nongnu.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).