summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2010-08-26 20:10:33 +0200
committerAlexander Larsson <alexl@redhat.com>2010-08-27 11:19:01 +0200
commitc13f931b5f2df1938547f3d3e7f5d848a7137b5f (patch)
treeddb0244bce9818bd680872982d3ec28705f764c9
parent80bb4d95a028ae1ed5119d3c53af68a0d59bf8cb (diff)
downloadspice-c13f931b5f2df1938547f3d3e7f5d848a7137b5f.tar.gz
spice-c13f931b5f2df1938547f3d3e7f5d848a7137b5f.tar.xz
spice-c13f931b5f2df1938547f3d3e7f5d848a7137b5f.zip
server: red_send_image() initialize bitmap.flags
We're currently sending this to the network based on random memory.
-rw-r--r--server/red_worker.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/red_worker.c b/server/red_worker.c
index 3efaa3e4..c39bdf0f 100644
--- a/server/red_worker.c
+++ b/server/red_worker.c
@@ -7855,6 +7855,7 @@ static void red_send_image(DisplayChannel *display_channel, ImageItem *item)
red_image.descriptor.height = item->height;
bitmap.format = item->image_format;
+ bitmap.flags = 0;
if (item->top_down) {
bitmap.flags |= SPICE_BITMAP_FLAGS_TOP_DOWN;
}