Re: [libvirt] [PATCH 3/3] virbitmaptest: Add test for out of bounds condition

2013-08-19 Thread Peter Krempa
On 08/19/13 13:00, John Ferlan wrote: > On 08/16/2013 06:32 AM, Peter Krempa wrote: >> Previous patch fixed an issue where when parsing a bitmap from the a >> string the bounds of the bitmap weren't checked. That flaw resulted into >> crashes. This test tests that case to avoid it in the future. >>

Re: [libvirt] [PATCH 3/3] virbitmaptest: Add test for out of bounds condition

2013-08-19 Thread John Ferlan
On 08/16/2013 06:32 AM, Peter Krempa wrote: > Previous patch fixed an issue where when parsing a bitmap from the a > string the bounds of the bitmap weren't checked. That flaw resulted into > crashes. This test tests that case to avoid it in the future. > --- > tests/virbitmaptest.c | 34 +

Re: [libvirt] [PATCH 3/3] virbitmaptest: Add test for out of bounds condition

2013-08-16 Thread Eric Blake
On 08/16/2013 04:32 AM, Peter Krempa wrote: > Previous patch fixed an issue where when parsing a bitmap from the a s/where/where,/ s/the a/a/ > string the bounds of the bitmap weren't checked. That flaw resulted into s/string/string,/ > crashes. This test tests that case to avoid it in the futu

[libvirt] [PATCH 3/3] virbitmaptest: Add test for out of bounds condition

2013-08-16 Thread Peter Krempa
Previous patch fixed an issue where when parsing a bitmap from the a string the bounds of the bitmap weren't checked. That flaw resulted into crashes. This test tests that case to avoid it in the future. --- tests/virbitmaptest.c | 34 ++ 1 file changed, 34 insertio