VirtualBox

Changeset 26250 in vbox for trunk


Ignore:
Timestamp:
Feb 5, 2010 12:03:40 AM (15 years ago)
Author:
vboxsync
Message:

PDMR3LdrGetInterfaceSymbols: Fixed inverted assertion (gcc found it).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PDMLdr.cpp

    r26220 r26250  
    13291329                 * advance the interface cursor.
    13301330                 */
    1331                 AssertReturn(cchSymPrefix + cchSym >= sizeof(szSymbol), VERR_SYMBOL_NOT_FOUND);
     1331                AssertReturn(cchSymPrefix + cchSym < sizeof(szSymbol), VERR_SYMBOL_NOT_FOUND);
    13321332                memcmp(&szSymbol[cchSymPrefix], pszCur, cchSym);
    13331333                szSymbol[cchSymPrefix + cchSym] = '\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