VirtualBox

Changeset 102853 in vbox for trunk


Ignore:
Timestamp:
Jan 12, 2024 10:04:27 AM (13 months ago)
Author:
vboxsync
Message:

VMM/STAM: Fixed bug in the binary tail search in stamR3LookupFindByPrefixRange where we would go in the wrong direction when hitting a full prefix match. bugref:10371

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/STAM.cpp

    r102842 r102853  
    18861886                        iDiff = memcmp(pCur->szName, pchPrefix, pCur->cch);
    18871887                        if (!iDiff)
    1888                             iDiff = 1;
     1888                            iDiff = -1;
    18891889                    }
    18901890                    if (iDiff > 0)
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