something wrong in function type_initialize() in object.c in the source code of qemu-1.1.0

Bug #1006702 reported by zdguo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QEMU
Fix Released
Undecided
Unassigned

Bug Description

In the function type_initialize() in file object.c, about line 237, the sentence :
    memset((void *)ti->class + class_size, 0, ti->class_size - class_size);
after the
   if (type_has_parent(ti)){}
will clean the information copied from the parent in the if block.
I'm wondering whether this will lead to a bug. Thanks.

Revision history for this message
Thomas Huth (th-huth) wrote :

That code has been remove with this commit:
https://git.qemu.org/?p=qemu.git;a=commitdiff;h=745549c8d0273d3a3d9c3701
... so I think we can close this ticket nowadays.

Changed in qemu:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.