]> xenbits.xensource.com Git - pvdrivers/win/xenbus.git/commit
Fix CodeQL issue
authorOwen Smith <owen.smith@cloud.com>
Thu, 16 Nov 2023 15:05:26 +0000 (15:05 +0000)
committerPaul Durrant <pdurrant@amazon.com>
Mon, 11 Dec 2023 12:36:57 +0000 (12:36 +0000)
commitb7afb31d77d1150cdc5e803cb20626fb41aff8aa
treea01e015ec206fb17083e15d54f56d413bf0e442f
parent10a46ec6003f3c401da62cde53032db9b486c7f5
Fix CodeQL issue

ProcNumber should be initialized before calling KeGetCurrentProcessorNumberEx
incease the call fails and doesnt populate the PROCESSOR_NUMBER. This function
should never fail but the annotations in Windows headers dont state this
correctly.

Signed-off-by: Owen Smith <owen.smith@cloud.com>
src/xenbus/sync.c