From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
To: Eric Blake <eblake@redhat.com>
Cc: "Marc-André Lureau" <marcandre.lureau@redhat.com>,
qemu-devel@nongnu.org, pbonzini@redhat.com,
brijesh.singh@amd.com
Subject: Re: [Qemu-devel] [PATCH for-2.12] hmp: free sev info
Date: Mon, 19 Mar 2018 19:33:04 +0000 [thread overview]
Message-ID: <20180319193304.GH3206@work-vm> (raw)
In-Reply-To: <272a2e2b-5a1f-d73c-8a74-6721ce9f63fc@redhat.com>
* Eric Blake (eblake@redhat.com) wrote:
> On 03/19/2018 12:58 PM, Marc-André Lureau wrote:
> > Found thanks to ASAN:
> >
> > Direct leak of 16 byte(s) in 1 object(s) allocated from:
> > #0 0x7efe20417a38 in __interceptor_calloc (/lib64/libasan.so.4+0xdea38)
> > #1 0x7efe1f7b2f75 in g_malloc0 ../glib/gmem.c:124
> > #2 0x7efe1f7b3249 in g_malloc0_n ../glib/gmem.c:355
> > #3 0x558272879162 in sev_get_info /home/elmarco/src/qemu/target/i386/sev.c:414
> > #4 0x55827285113b in hmp_info_sev /home/elmarco/src/qemu/target/i386/monitor.c:684
> > #5 0x5582724043b8 in handle_hmp_command /home/elmarco/src/qemu/monitor.c:3333
> >
> > Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
> > ---
> > target/i386/monitor.c | 2 ++
> > 1 file changed, 2 insertions(+)
>
> Reviewed-by: Eric Blake <eblake@redhat.com>
>
> Worth mentioning in the commit message that this was introduced in commit
> 63036314.
>
> And safe for freeze, as it's fixing a memory usage bug in material new to
> the 2.12 release.
Thanks, I'll pick that up for HMP.
Dave
> --
> Eric Blake, Principal Software Engineer
> Red Hat, Inc. +1-919-301-3266
> Virtualization: qemu.org | libvirt.org
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
next prev parent reply other threads:[~2018-03-19 19:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-19 17:58 [Qemu-devel] [PATCH] hmp: free sev info Marc-André Lureau
2018-03-19 18:39 ` [Qemu-devel] [PATCH for-2.12] " Eric Blake
2018-03-19 19:33 ` Dr. David Alan Gilbert [this message]
2018-03-20 11:08 ` Dr. David Alan Gilbert
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=20180319193304.GH3206@work-vm \
--to=dgilbert@redhat.com \
--cc=brijesh.singh@amd.com \
--cc=eblake@redhat.com \
--cc=marcandre.lureau@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@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 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.