Fix crash when multiple event callbacks were registered CVE-2013-2230
authorJán Tomko <jtomko@redhat.com>
Tue, 2 Jul 2013 13:17:09 +0000 (15:17 +0200)
committerJán Tomko <jtomko@redhat.com>
Wed, 10 Jul 2013 11:02:30 +0000 (13:02 +0200)
commitf38c8185f97720ecae7ef2291fbaa5d6b0209e17
treef6e543ba0b36cbcb81607a71a9c1a832e39373fd
parent5744d96f211160d406ec0498c2f814a67d1a3fc8
Fix crash when multiple event callbacks were registered

CVE-2013-2230

Don't overwrite the callback ID returned by
virDomainEventStateRegisterID in ret by 0.

Introduced by abf75aea.
src/qemu/qemu_driver.c