https://git.reactos.org/?p=reactos.git;a=commitdiff;h=b857ae808e317fc59f1966f924ee010550d244d3

commit b857ae808e317fc59f1966f924ee010550d244d3
Author:     Eric Kohl <[email protected]>
AuthorDate: Sun Apr 5 18:29:32 2020 +0200
Commit:     Eric Kohl <[email protected]>
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

Reply via email to