https://git.reactos.org/?p=reactos.git;a=commitdiff;h=b857ae808e317fc59f196…
commit b857ae808e317fc59f1966f924ee010550d244d3
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Sun Apr 5 18:29:32 2020 +0200
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Sun Apr 5 18:29:32 2020 +0200
[DEVMGR] CDeviceView::RecurseChildDevices: Skip invalid device nodes
CORE-16780
---
dll/win32/devmgr/devmgmt/DeviceView.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/dll/win32/devmgr/devmgmt/DeviceView.cpp
b/dll/win32/devmgr/devmgmt/DeviceView.cpp
index 917140efd50..214c5f711a3 100644
--- a/dll/win32/devmgr/devmgmt/DeviceView.cpp
+++ b/dll/win32/devmgr/devmgmt/DeviceView.cpp
@@ -652,6 +652,7 @@ CDeviceView::RecurseChildDevices(
if (DeviceNode == nullptr)
{
ATLASSERT(FALSE);
+ continue;
}
// Don't show hidden devices if not requested