summaryrefslogtreecommitdiff
path: root/gdbstub.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2014-03-26 13:05:43 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2014-04-01 14:19:09 +0200
commit5dab2faddc8eaa1fb1abdbe2f502001fc13a1b21 (patch)
tree675dd5f26040c117c2f2fb040b5ea9dfb623ecf6 /gdbstub.c
parenta1b3955c9415b1e767c130a2f59fee6aa28e575b (diff)
downloadqemu-5dab2faddc8eaa1fb1abdbe2f502001fc13a1b21.tar.gz
qcow2: Check refcount table size (CVE-2014-0144)
Limit the in-memory reference count table size to 8 MB, it's enough in practice. This fixes an unbounded allocation as well as a buffer overflow in qcow2_refcount_init(). Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'gdbstub.c')
0 files changed, 0 insertions, 0 deletions