mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-27 03:43:36 +00:00
[VIDEOPRT] Fix uninitialized Reserved bit field in PciSlotNumber
CORE-16317
This commit is contained in:
committed by
Hermès BÉLUSCA - MAÏTO
parent
8c36145087
commit
32fb2e7b5f
@@ -629,6 +629,7 @@ VideoPortGetAccessRanges(
|
||||
/*
|
||||
* Search for the device id and vendor id on this bus.
|
||||
*/
|
||||
PciSlotNumber.u.bits.Reserved = 0;
|
||||
for (DeviceNumber = 0; DeviceNumber < PCI_MAX_DEVICES; DeviceNumber++)
|
||||
{
|
||||
PciSlotNumber.u.bits.DeviceNumber = DeviceNumber;
|
||||
|
||||
Reference in New Issue
Block a user