Created attachment 517455 [details]
patch to fix realloc bug leading to segmentation fault
Description of problem:
when using the -acpitable option to qemu-kvm, memory corruption occurs and quite often a segmentation fault. this is due to mis-use of "realloc". this has been fixed upstream.
a least impact patch is attached.
Version-Release number of selected component (if applicable):
seems to depend a bit on the machine, because sometimes realloc will return the original pointer. on two machines here, it always happens on one, never on the other.
Steps to Reproduce:
1. /usr/libexec/qemu-kvm -acpitable x /dev/null
pops up "console" window
i have attached the "least impact" fix for the bug.
see also the upstream commit:
Not closed for RHEL5.8 only since it looks like an easy fix. If any complications arise we might decide to skip it.
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release. Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products. This request is not yet committed for inclusion in
Thank you for taking the time to enter a bug report with us. We do appreciate the feedback and look to use reports such as this to guide our efforts at improving our products.
We decided to close this bug, since in order to keep RHEL5.9 stable we avoid fixing non-urgent bugs.
If this issue is critical or in any way time sensitive, please raise a ticket through your regular Red Hat support channels to make certain that it gets the proper attention and prioritization to assure a timely resolution.
For information on how to contact the Red Hat production support team, please see: