Re: [PATCH python] iothread: fix memory access out of bounds

2021-02-23 Thread Daniel P . Berrangé
On Tue, Feb 23, 2021 at 11:23:18AM +0800, Hogan Wang wrote: > From: suruifeng > > When the 'pcpu' is larger then the last 'iothr->cpumap' bits, > set the list element to False to avoid out of bounds access > 'iothr->cpumap'. > > Signed-off-by: suruifeng > Reviewed-by: Hogan Wang Changes for

[PATCH python] iothread: fix memory access out of bounds

2021-02-23 Thread Hogan Wang
From: suruifeng When the 'pcpu' is larger then the last 'iothr->cpumap' bits, set the list element to False to avoid out of bounds access 'iothr->cpumap'. Signed-off-by: suruifeng Reviewed-by: Hogan Wang --- libvirt-override.c | 12 1 file changed, 8 insertions(+), 4