mirror of
https://github.com/reactos/reactos.git
synced 2025-05-17 16:27:00 +00:00
[USBCCGP]
- Fix bug in the debugging code CORE-6574 svn path=/trunk/; revision=57860
This commit is contained in:
parent
a330365f49
commit
61fdf0a380
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ DumpFullConfigurationDescriptor(
|
|||
|
||||
do
|
||||
{
|
||||
if (((ULONG_PTR)Descriptor + Descriptor->bLength) <= ((ULONG_PTR)ConfigurationDescriptor + ConfigurationDescriptor->wTotalLength))
|
||||
if (((ULONG_PTR)Descriptor) >= ((ULONG_PTR)ConfigurationDescriptor + ConfigurationDescriptor->wTotalLength))
|
||||
break;
|
||||
|
||||
DbgPrint("Descriptor Type %x Length %lu Offset %lu\n", Descriptor->bDescriptorType, Descriptor->bLength, ((ULONG_PTR)Descriptor - (ULONG_PTR)ConfigurationDescriptor));
|
||||
|
|
Loading…
Reference in a new issue