VirtualBox

Ignore:
Timestamp:
May 2, 2016 8:07:36 PM (9 years ago)
Author:
vboxsync
Message:

dbgmodcodeview.cpp: fixed assertion in rtDbgModCvAddSanitizedStringToCache,

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/dbg/dbgmodcodeview.cpp

    r60269 r60798  
    490490
    491491        /* Force valid UTF-8 encoding. */
    492         size_t cchTmp = RTStrPurgeEncoding(pszCopy);
    493         NOREF(cchTmp); Assert(cchTmp == cch);
     492        RTStrPurgeEncoding(pszCopy);
     493        Assert(strlen(pszCopy) == cch);
    494494
    495495        /* Enter it into the cache and free the temp copy. */
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