VirtualBox

Ignore:
Timestamp:
Sep 10, 2018 9:40:58 AM (6 years ago)
Author:
vboxsync
Message:

IPRT/json: Implemented handling of \uXXXX sequences. Reduced heap calls during string decoding. bugref:9167 [build fix]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/misc/json.cpp

    r74173 r74175  
    753753                    RTStrFree(pszDecoded);
    754754                    if (rc == VERR_JSON_INVALID_UTF16_ESCAPE_SEQUENCE)
    755                         rc = RTErrInfoSetF(pTokenizer->pErrInfo, rc, "Invalid \u escape sequence (line %zu col %zu)",
     755                        rc = RTErrInfoSetF(pTokenizer->pErrInfo, rc, "Invalid \\u escape sequence (line %zu col %zu)",
    756756                                           pTokenizer->Pos.iLine, pTokenizer->Pos.iChStart);
    757757                    else if (rc == VERR_JSON_MISSING_SURROGATE_PAIR)
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