aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio-pci.h
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2011-11-14 11:25:09 -0200
committerLuiz Capitulino <lcapitulino@redhat.com>2011-11-17 15:15:03 -0200
commit54d50be688aba80e0fd5ba53f23a074a0ce2e381 (patch)
tree399651a6203a4c93ecd6eca56d4ca199a109bba1 /hw/virtio-pci.h
parent3f5bd4e1b874590d3d76e031530799a4610da6dc (diff)
qapi: Check for negative enum values
We don't currently check for negative enum values in qmp_output_type_enum(), this will very likely generate a segfault when triggered. However, it _seems_ that no code in tree can trigger this today. Acked-by: Michael Roth <mdroth@linux.vnet.ibm.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'hw/virtio-pci.h')
0 files changed, 0 insertions, 0 deletions