https://git.reactos.org/?p=reactos.git;a=commitdiff;h=32fb2e7b5f94e23fda11e…
commit 32fb2e7b5f94e23fda11efc27a988eaec11bf190
Author: Stanislav Motylkov <x86corez(a)gmail.com>
AuthorDate: Fri Aug 30 23:18:06 2019 +0300
Commit: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito(a)reactos.org>
CommitDate: Sat Aug 31 00:19:03 2019 +0200
[VIDEOPRT] Fix uninitialized Reserved bit field in PciSlotNumber
CORE-16317
---
win32ss/drivers/videoprt/resource.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/win32ss/drivers/videoprt/resource.c b/win32ss/drivers/videoprt/resource.c
index 9cad3299ca1..4a44392a0f3 100644
--- a/win32ss/drivers/videoprt/resource.c
+++ b/win32ss/drivers/videoprt/resource.c
@@ -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;