summaryrefslogtreecommitdiff
path: root/ui/vnc-auth-sasl.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2014-07-17 11:41:53 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2014-07-18 13:12:15 +0100
commit12ac6d3db721a288c8953c5c253230aa0949a0e1 (patch)
treeab3f09b92659e40af1809e7f65030a56c3f29c68 /ui/vnc-auth-sasl.c
parent5a7348045091a2bc15d85bb177e5956aa6114e5a (diff)
downloadqemu-12ac6d3db721a288c8953c5c253230aa0949a0e1.tar.gz
qcow2: Fix error path for unknown incompatible features
qcow2's report_unsupported_feature() had two bugs: A 32 bit truncation would prevent feature table entries for bits 32-63 from being used, and it could assign errp multiple times if there was more than one unknown feature, resulting in an error_set() assertion failure. Fix the truncation, make sure to set the error exactly once and add a qemu-iotests case for it. This fixes https://bugs.launchpad.net/qemu/+bug/1342704/ Reported-by: Maria Kustova <maria.k@catit.be> Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'ui/vnc-auth-sasl.c')
0 files changed, 0 insertions, 0 deletions