diff options
author | Stefan Weil | 2011-02-16 20:48:00 +0100 |
---|---|---|
committer | Anthony Liguori | 2011-02-23 23:28:29 +0100 |
commit | 5db8378a7710df7899544004967597eb395418c2 (patch) | |
tree | 9fbc34aa85ff022e691f71b9ebfeacb8bb5f8aa6 /hw/sd.c | |
parent | vnc: add a non-adaptive option (diff) | |
download | qemu-5db8378a7710df7899544004967597eb395418c2.tar.gz qemu-5db8378a7710df7899544004967597eb395418c2.tar.xz qemu-5db8378a7710df7899544004967597eb395418c2.zip |
vnc: Fix fatal crash with vnc reverse mode
Reverse mode is unusable:
qemu -vnc localhost:5500,reverse
crashes in vnc_refresh_server_surface because some pointers are NULL.
Fix this by calling vnc_dpy_resize (which initializes these pointers)
before calling vnc_refresh.
Cc: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/sd.c')
0 files changed, 0 insertions, 0 deletions