[libvirt] [PATCH] bitmap: reject zero-size bitmap
Eric Blake
eblake at redhat.com
Wed Jun 2 20:18:27 UTC 2010
On 06/02/2010 01:26 PM, Jim Fehlig wrote:
> Eric Blake wrote:
>> * src/util/bitmap.c (virBitmapAlloc): Tighten sanity check.
>> ---
>>> Yes, you are right - especially since there is no grow operation
>>> :-). I should have returned NULL for size 0 request in the original
>>> version.
>>>
>>
>> Any objections to this?
>>
> ACK.
Thanks; pushed now.
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100602/ded038a7/attachment-0001.sig>
More information about the libvir-list
mailing list