mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
Don't fill twice the output buffer. Bug spotted by Filip
svn path=/trunk/; revision=17606
This commit is contained in:
@@ -3873,12 +3873,6 @@ SetupDiOpenDeviceInfoW(
|
||||
if (deviceInfo)
|
||||
{
|
||||
/* good one found */
|
||||
if (DeviceInfoData)
|
||||
{
|
||||
memcpy(&DeviceInfoData->ClassGuid, &deviceInfo->ClassGuid, sizeof(GUID));
|
||||
DeviceInfoData->DevInst = 0; /* FIXME */
|
||||
DeviceInfoData->Reserved = (ULONG_PTR)deviceInfo;
|
||||
}
|
||||
ret = TRUE;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user