VirtualBox

Ignore:
Timestamp:
Oct 10, 2018 3:28:17 PM (6 years ago)
Author:
vboxsync
Message:

IPRT/ldr: More Mach-O signing hacking. bugref:9232

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/ldr/ldrMachO.cpp

    r74747 r74748  
    44194419#define SKIP_SPACE_BETWEEN_ELEMENTS_OR_RETURN() \
    44204420    do { /* currently only permitting spaces, tabs and newline, following char must be '<'. */ \
    4421         char ch; \
    4422         while ((ch = *pszPlist) == ' ' || ch == '\n' || ch == '\t') \
     4421        char chMacro; \
     4422        while ((chMacro = *pszPlist) == ' ' || chMacro == '\n' || chMacro == '\t') \
    44234423            pszPlist++; \
    4424         if (ch == '<') { /* likely */ } \
     4424        if (chMacro == '<') { /* likely */ } \
    44254425        else return RTErrInfoSetF(pErrInfo, VERR_LDRVI_BAD_CERT_FORMAT, \
    44264426                                  "Expected '<' found '%.16s...' at %#zu in plist", pszPlist, pszPlist - pszStart); \
     
    44284428#define SKIP_SPACE_BEFORE_VALUE() \
    44294429    do { /* currently only permitting spaces, tabs and newline. */ \
    4430         char ch; \
    4431         while ((ch = *pszPlist) == ' ' || ch == '\n' || ch == '\t') \
     4430        char chMacro; \
     4431        while ((chMacro = *pszPlist) == ' ' || chMacro == '\n' || chMacro == '\t') \
    44324432            pszPlist++; \
    44334433    } while (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