mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-27 11:53:32 +00:00
[UMPNPMGR]
- Fix a possible null pointer dereference. CID 515158 svn path=/trunk/; revision=73770
This commit is contained in:
@@ -993,7 +993,9 @@ PNP_GetDeviceRegProp(
|
||||
}
|
||||
|
||||
done:
|
||||
*pulTransferLen = (ret == CR_SUCCESS) ? *pulLength : 0;
|
||||
|
||||
if(pulTransferLen)
|
||||
*pulTransferLen = (ret == CR_SUCCESS) ? *pulLength : 0;
|
||||
|
||||
if (hKey != NULL)
|
||||
RegCloseKey(hKey);
|
||||
|
||||
Reference in New Issue
Block a user