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

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



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(-)

-- 
1.8.3.2


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