Skip to contentSkip to conversation

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

Qemu-devel Thomas Huth 1 participant 1 message Sep 7, 2017 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

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

Signature · 21 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1006702

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

Status in QEMU:
  Fix Released

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1006702/+subscriptions