[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH] All items in SYSTEM_PROCESSOR array may not be initialized
On 28/02/2022 11:47, Owen Smith wrote: The SYSTEM_PROCESSOR array is allocated to fit the maximum number of supported CPUs, but elements are only initialized when the SystemProcessorChangeCallback callback is called with KeProcessorAddCompleteNotify. Check if the SYSTEM_PROCESSOR structure is initialized before accessing any other members, and fail SystemProcessorVcpuId with STATUS_NOT_SUPPORTED for any uninitialized CPUs Signed-off-by: Owen Smith <owen.smith@xxxxxxxxxx> Much nicer. Acked-by: Paul Durrant <paul@xxxxxxx>
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |