From d475c9bca937ddbd72b8b423783a140356306fb0 Mon Sep 17 00:00:00 2001 From: 薄景仁 Date: Tue, 11 Oct 2022 06:24:56 +0800 Subject: [usb/usbview] fix infinite loop (#792) --- usb/usbview/xmlhelper.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'usb/usbview/xmlhelper.cpp') diff --git a/usb/usbview/xmlhelper.cpp b/usb/usbview/xmlhelper.cpp index f67c9587..6ed0f61b 100644 --- a/usb/usbview/xmlhelper.cpp +++ b/usb/usbview/xmlhelper.cpp @@ -2071,6 +2071,7 @@ String ^ XmlGetStringDescriptor(UCHAR index, PSTRING_DESCRIPTOR_NODE stringDesc, { // If we are required to return only english descriptor, continue foundNonEnglishDescriptor = true; + stringDesc = stringDesc->Next; continue; } -- cgit v1.3.1