VirtualBox

Changeset 107167 in vbox


Ignore:
Timestamp:
Nov 27, 2024 2:42:30 PM (7 weeks ago)
Author:
vboxsync
Message:

USB/VUSB: Wrong field was compared to 0 when returning LangIds. bugref:10779

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/USB/VUSBDevice.cpp

    r106061 r107167  
    928928            case VUSB_DT_STRING:
    929929            {
    930                 if (pSetup->wIndex == 0)
     930                if ((pSetup->wValue & 0xff) == 0)
    931931                {
    932932                    ReadCachedLangIdDesc(pDev->pDescCache->paLanguages, pDev->pDescCache->cLanguages, pbBuf, pcbBuf);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette