Re: [PATCH 0/3] Fix bitmap parsing code and add tests

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

 



On Fri, Aug 16, 2013 at 12:32:06PM +0200, Peter Krempa wrote:
> The bitmap parsing code might cause a crash of the application using it.
> Fix it and add tests so that it doesn't happen again.
> 
> Peter Krempa (3):
>   virbitmap: Refactor virBitmapParse to avoid access beyond bounds of
>     array
>   virbitmaptest: Fix function header formatting
>   virbitmaptest: Add test for out of bounds condition
> 
>  src/util/virbitmap.c  | 38 +++++++++++++-------------------
>  tests/virbitmaptest.c | 60 ++++++++++++++++++++++++++++++++++++++++++++-------
>  2 files changed, 67 insertions(+), 31 deletions(-)

ACK to all 3. I was just going to suggest adding tests to Alex,
when I saw your followup.


Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]