VirtualBox

Ignore:
Timestamp:
Feb 10, 2012 10:08:19 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
76207
Message:

Runtime/strings: add Utf-8 and Utf-16 sanitising to a white list of characters. Fix a burn.

Location:
trunk/src/VBox/Runtime/common/string
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/string/utf-16.cpp

    r40071 r40073  
    250250
    251251
    252 ssize_t RTUtf16PurgeComplementSet(PRTUTF16 pwsz, PCRTUNICP puszValidSet, char chReplacement)
     252RTDECL(ssize_t) RTUtf16PurgeComplementSet(PRTUTF16 pwsz, PCRTUNICP puszValidSet, char chReplacement)
    253253{
    254254    size_t cReplacements = 0;
  • trunk/src/VBox/Runtime/common/string/utf-8.cpp

    r40071 r40073  
    352352
    353353
    354 ssize_t RTStrPurgeComplementSet(char *psz, PCRTUNICP puszValidSet, char chReplacement)
     354RTDECL(ssize_t) RTStrPurgeComplementSet(char *psz, PCRTUNICP puszValidSet, char chReplacement)
    355355{
    356356    size_t cReplacements = 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