summaryrefslogtreecommitdiffstats
path: root/server/red_memslots.c
diff options
context:
space:
mode:
authorIzik Eidus <ieidus@redhat.com>2010-04-12 13:43:38 +0300
committerIzik Eidus <ieidus@redhat.com>2010-04-12 13:43:38 +0300
commitad1a4849eeacc7cf974fc2c7206c3fcf80a85777 (patch)
tree89c77bce9c25dc7c764deee61518ac516b7575a1 /server/red_memslots.c
parent85d4355d79f8469a6297b7137202b311c3f03139 (diff)
downloadspice-ad1a4849eeacc7cf974fc2c7206c3fcf80a85777.tar.gz
spice-ad1a4849eeacc7cf974fc2c7206c3fcf80a85777.tar.xz
spice-ad1a4849eeacc7cf974fc2c7206c3fcf80a85777.zip
spice server: fix validate_chunk
Signed-off-by: Izik Eidus <ieidus@redhat.com>
Diffstat (limited to 'server/red_memslots.c')
-rw-r--r--server/red_memslots.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/red_memslots.c b/server/red_memslots.c
index 71759303..e5c9d7af 100644
--- a/server/red_memslots.c
+++ b/server/red_memslots.c
@@ -145,6 +145,7 @@ void *validate_chunk (RedMemSlotInfo *info, QXLPHYSICAL data, uint32_t group_id,
validate_virt(info, (unsigned long)chunk->data, get_memslot_id(info, data),
data_size, group_id);
*next_out = chunk->next_chunk;
+ *data_size_out = data_size;
return chunk->data;
}