VirtualBox

Ignore:
Timestamp:
Oct 27, 2010 6:55:44 PM (14 years ago)
Author:
vboxsync
Message:

base64: Fix the assertion, carriage returns are handled like the other space characters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/string/base64.cpp

    r28800 r33529  
    109109                       &&   i  == '=')
    110110                   || (     u8 == BASE64_SPACE
    111                        &&   RT_C_IS_SPACE(i))
     111                       &&   (   RT_C_IS_SPACE(i)
     112                             || (i == '\r'))) /* Carriage return is handled as a space character as well. */
    112113                   || (     u8 < 64
    113114                       &&   (unsigned)g_szValToChar[u8] == i));
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