diff options
| author | 薄景仁 <[email protected]> | 2022-10-11 06:24:56 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-10-10 15:24:56 -0700 |
| commit | d475c9bca937ddbd72b8b423783a140356306fb0 (patch) | |
| tree | 2e81711ea4ae13981cd445f167f960baf546de9f | |
| parent | 803a5e44ac3abf4a847d9164c5788296efa80f02 (diff) | |
[usb/usbview] fix infinite loop (#792)
| -rw-r--r-- | usb/usbview/xmlhelper.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |
