|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH 0/2] tools/xl: fix parsing of llc_colors ranges
This series fixes two bugs in the parsing of the llc_colors option in xl. The first was reported by gcc -fanalyzer, and the second was found while reading the same code and reproduced with "xl -N create". Patch 1 replaces an unchecked realloc() with xrealloc(). Patch 2 fixes an integer overflow on ranges ending at UINT32_MAX, which makes xl write past the end of the array or through a NULL pointer. Bala Andegue François Lionnel (2): tools/xl: use xrealloc() when parsing llc_colors tools/xl: fix overflow when parsing llc_colors ranges tools/xl/xl_parse.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) base-commit: 091d3c200281ea44846ccdf1e5d39985321c643e -- 2.39.2
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |