]> git.ipfire.org Git - thirdparty/qemu.git/commit
qga: Fix memory allocation pasto
authorMarkus Armbruster <armbru@redhat.com>
Fri, 21 Feb 2014 12:36:49 +0000 (13:36 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 25 Feb 2014 19:34:15 +0000 (13:34 -0600)
commit4736fb34f7d6ca2962c0a943ca4835fd25ca6140
treef32cec6db984831bf9c5ab15637c1a33f74c3721
parent6d0a48acd8442e1a74443c190b58c60547788fdc
qga: Fix memory allocation pasto

qmp_guest_file_seek() allocates memory for a GuestFileRead object
instead of the GuestFileSeek object it actually uses.  Harmless,
because the GuestFileRead is slightly larger.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
(cherry picked from commit 10b7c5dd0da1a92182e87f5fc1887d779ad1a9e8)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
qga/commands-posix.c