VirtualBox

Changeset 90866 in vbox for trunk/src/VBox/Runtime/common


Ignore:
Timestamp:
Aug 25, 2021 8:06:46 AM (3 years ago)
Author:
vboxsync
Message:

IPRT/log: Corrected pacEntriesPerGroup address calculation. bugref:10086

File:
1 edited

Legend:

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

    r90864 r90866  
    11051105        pLoggerInt->papszGroups                 = papszGroups;
    11061106        if (fFlags & RTLOGFLAGS_RESTRICT_GROUPS)
    1107             pLoggerInt->pacEntriesPerGroup      = (uint32_t *)(pLoggerInt + 1);
     1107            pLoggerInt->pacEntriesPerGroup      = &pLoggerInt->afGroups[cGroups];
    11081108        else
    11091109            pLoggerInt->pacEntriesPerGroup      = NULL;
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