[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] qemu: detect truncated file as invalid save image



On 12/15/2011 08:37 PM, Osier Yang wrote:
> On 2011年12月16日 08:42, Eric Blake wrote:
>> If managed save fails at the right point in time, then the save
>> image can end up with 0 bytes in length (no valid header), and
>> our attempts in commit 55d88def to detect and skip invalid save
>> files missed this case.
>>
>> * src/qemu/qemu_driver.c (qemuDomainSaveImageOpen): Also unlink
>> empty file as corrupt.  Reported by Dennis Householder.
> 
> ACK

Thanks; pushed.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]