[libvirt] [PATCH] hostdev: add virObject field to virHostdevManager struct
Jim Fehlig
jfehlig at suse.com
Thu Mar 13 14:44:21 UTC 2014
Eric Blake wrote:
> On 03/12/2014 05:26 PM, Jim Fehlig wrote:
>
>> Commit 6b306d66 converted virHostdevManager to a virObject, but
>> missed adding a virObject field to the virHostdevManager struct.
>> Result is memory corruption when taking a reference on an instance
>> of the object, where atomic inc is done on the stateDir field.
>> Later use of stateDir crashes libvirtd.
>>
>> Signed-off-by: Jim Fehlig <jfehlig at suse.com>
>> ---
>> src/util/virhostdev.h | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>
> ACK.
>
Thanks, pushed.
Regards,
Jim
More information about the libvir-list
mailing list