aboutsummaryrefslogtreecommitdiff
path: root/migration.c
diff options
context:
space:
mode:
authorMichael Roth <mdroth@linux.vnet.ibm.com>2014-09-18 15:36:42 -0500
committerLuiz Capitulino <lcapitulino@redhat.com>2014-09-26 13:14:11 -0400
commitcb55111b4e425fa3279302fa7306b9a3d5164ff4 (patch)
tree8d04ecd79aea0153b76e19b8b46bc71c3b556221 /migration.c
parent146db9f91979db89a123ea10d2b825d3670d2b36 (diff)
downloadqemu-cb55111b4e425fa3279302fa7306b9a3d5164ff4.zip
qemu-cb55111b4e425fa3279302fa7306b9a3d5164ff4.tar.gz
qemu-cb55111b4e425fa3279302fa7306b9a3d5164ff4.tar.bz2
tests: add QMP input visitor test for unions with no discriminator
This is more of an exercise of the dealloc visitor, where it may erroneously use an uninitialized discriminator field as indication that union fields corresponding to that discriminator field/type are present, which can lead to attempts to free random chunks of heap memory. Cc: qemu-stable@nongnu.org Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'migration.c')
0 files changed, 0 insertions, 0 deletions