qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PULL 0/1] gtk: fix uninitialized temporary VirtualConsole
@ 2016-02-22  8:32 Gerd Hoffmann
  2016-02-22  8:32 ` [Qemu-devel] [PULL 1/1] " Gerd Hoffmann
  2016-02-22 11:44 ` [Qemu-devel] [PULL 0/1] " Peter Maydell
  0 siblings, 2 replies; 3+ messages in thread
From: Gerd Hoffmann @ 2016-02-22  8:32 UTC (permalink / raw)
  To: qemu-devel; +Cc: Gerd Hoffmann

  Hi,

UI patch queue with a single bugfix.

please pull,
  Gerd

The following changes since commit c3bce9d5f986bc22b0692a8fa9d26ce6d304375c:

  etraxfs_dma: Dont forward zero-length payload to clients (2016-02-20 00:17:48 +0100)

are available in the git repository at:

  git://git.kraxel.org/qemu tags/pull-ui-20160222-1

for you to fetch changes up to 327d83ba717c879f5640b41c15af3ce56a7922eb:

  gtk: fix uninitialized temporary VirtualConsole (2016-02-22 08:38:42 +0100)

----------------------------------------------------------------
gtk: fix uninitialized temporary VirtualConsole

----------------------------------------------------------------
Paolo Bonzini (1):
      gtk: fix uninitialized temporary VirtualConsole

 ui/gtk.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Qemu-devel] [PULL 1/1] gtk: fix uninitialized temporary VirtualConsole
  2016-02-22  8:32 [Qemu-devel] [PULL 0/1] gtk: fix uninitialized temporary VirtualConsole Gerd Hoffmann
@ 2016-02-22  8:32 ` Gerd Hoffmann
  2016-02-22 11:44 ` [Qemu-devel] [PULL 0/1] " Peter Maydell
  1 sibling, 0 replies; 3+ messages in thread
From: Gerd Hoffmann @ 2016-02-22  8:32 UTC (permalink / raw)
  To: qemu-devel; +Cc: Paolo Bonzini, Gerd Hoffmann

From: Paolo Bonzini <pbonzini@redhat.com>

Only the echo field is used in the temporary VirtualConsole, so the
damage was limited.  But still, if echo was incorrectly set to true,
the result would be some puzzling output in VTE monitor and serial
consoles.

Fixes: fba958c692e47a373d15c1fd3d72b255bf76adbd
Cc: Gerd Hoffmann <kraxel@redhat.com>
Tested-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1455015557-15106-2-git-send-email-pbonzini@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 ui/gtk.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/gtk.c b/ui/gtk.c
index 2b46965..3773826 100644
--- a/ui/gtk.c
+++ b/ui/gtk.c
@@ -1613,7 +1613,7 @@ static CharDriverState *gd_vc_handler(ChardevVC *vc, Error **errp)
     chr->chr_set_echo = gd_vc_chr_set_echo;
 
     /* Temporary, until gd_vc_vte_init runs.  */
-    chr->opaque = g_new(VirtualConsole, 1);
+    chr->opaque = g_new0(VirtualConsole, 1);
 
     /* defer OPENED events until our vc is fully initialized */
     chr->explicit_be_open = true;
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PULL 0/1] gtk: fix uninitialized temporary VirtualConsole
  2016-02-22  8:32 [Qemu-devel] [PULL 0/1] gtk: fix uninitialized temporary VirtualConsole Gerd Hoffmann
  2016-02-22  8:32 ` [Qemu-devel] [PULL 1/1] " Gerd Hoffmann
@ 2016-02-22 11:44 ` Peter Maydell
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Maydell @ 2016-02-22 11:44 UTC (permalink / raw)
  To: Gerd Hoffmann; +Cc: QEMU Developers

On 22 February 2016 at 08:32, Gerd Hoffmann <kraxel@redhat.com> wrote:
>   Hi,
>
> UI patch queue with a single bugfix.
>
> please pull,
>   Gerd
>
> The following changes since commit c3bce9d5f986bc22b0692a8fa9d26ce6d304375c:
>
>   etraxfs_dma: Dont forward zero-length payload to clients (2016-02-20 00:17:48 +0100)
>
> are available in the git repository at:
>
>   git://git.kraxel.org/qemu tags/pull-ui-20160222-1
>
> for you to fetch changes up to 327d83ba717c879f5640b41c15af3ce56a7922eb:
>
>   gtk: fix uninitialized temporary VirtualConsole (2016-02-22 08:38:42 +0100)
>
> ----------------------------------------------------------------
> gtk: fix uninitialized temporary VirtualConsole
>
> ----------------------------------------------------------------
> Paolo Bonzini (1):
>       gtk: fix uninitialized temporary VirtualConsole

Applied, thanks.

-- PMM

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-02-22 11:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-22  8:32 [Qemu-devel] [PULL 0/1] gtk: fix uninitialized temporary VirtualConsole Gerd Hoffmann
2016-02-22  8:32 ` [Qemu-devel] [PULL 1/1] " Gerd Hoffmann
2016-02-22 11:44 ` [Qemu-devel] [PULL 0/1] " Peter Maydell

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).