reactos/drivers/battery/battc
Hervé Poussineau 8612d6c0aa [BATTC] Copy BATTERY_WAIT_STATUS structure to prevent memory overwrite.
At first QueryStatus call, output is written to Irp->AssociatedIrp.SystemBuffer.
Unfortunately, this is also the BattWait buffer.

At return of QueryStatus call, BattWait buffer has been modified, so
following code can't use it anymore.

Fix memory overwrite by copying BattWait buffer on the stack.
2024-08-12 11:56:18 +02:00
..
battc.c [BATTC] Copy BATTERY_WAIT_STATUS structure to prevent memory overwrite. 2024-08-12 11:56:18 +02:00
battc.h [BATTC] Fix indentation. No code changes! 2019-01-01 13:20:39 +01:00
battc.rc
battc.spec
CMakeLists.txt [CMAKE] Use modules instead of shared libraries 2019-04-06 17:43:38 +02:00