]> git.proxmox.com Git - qemu.git/commit - ui/vnc.c
vnc: Limit r/w access to size of allocated memory
authorStefan Weil <weil@mail.berlios.de>
Wed, 14 Mar 2012 06:58:48 +0000 (07:58 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 14 Mar 2012 21:22:46 +0000 (16:22 -0500)
commit9e4dd565b46749d5e6d5cf87bfd84f1917c68319
treec3214b148f1e1f2b6d3da992dfa1d609b5cae113
parent175b2a6e4be06422da59d3a82c28d9a0e738e282
vnc: Limit r/w access to size of allocated memory

This fixes memory reads and writes which exceeded the upper limit
of allocated memory vd->guest.ds->data and vd->server->data.

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>
ui/vnc.c