mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[HDAUDBUS]
- Initialize the correct variable in HDA_FDOQueryBusRelations. Should fix random crashes due to uninitialized value use. CORE-12707 #resolve svn path=/trunk/; revision=75015
This commit is contained in:
@@ -662,7 +662,7 @@ HDA_FDOQueryBusRelations(
|
||||
if (!DeviceRelations)
|
||||
return STATUS_INSUFFICIENT_RESOURCES;
|
||||
|
||||
DeviceCount = 0;
|
||||
DeviceRelations->Count = 0;
|
||||
for (CodecIndex = 0; CodecIndex < HDA_MAX_CODECS; CodecIndex++)
|
||||
{
|
||||
if (DeviceExtension->Codecs[CodecIndex] == NULL)
|
||||
|
||||
Reference in New Issue
Block a user