[libvirt] [PATCH] qemu: fix a segfault in qemuProcessWaitForMonitor

Ján Tomko jtomko at redhat.com
Fri Jan 4 10:11:20 UTC 2013


On 01/03/13 21:13, Eric Blake wrote:
> On 01/03/2013 11:15 AM, Ján Tomko wrote:
>> Commit b3f2b4ca5cfe98b08ffdb96f0455e3e333e5ace6 left buf unallocated in
>> the case of QMP capability probing being used, leading to a segfault in
>> strlen in the cleanup path.
>>
>> This patch opens the log and allocates the buffer if QMP probing was
>> used, so we can display the helpful error message.
>> ---
>>  src/qemu/qemu_process.c |    9 +++++++++
>>  1 files changed, 9 insertions(+), 0 deletions(-)
> 
> ACK.
> 

Thanks, pushed.




More information about the libvir-list mailing list