VirtualBox

Changeset 79680 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jul 10, 2019 8:16:11 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
132005
Message:

Debugger/DBGPlugInLinux: Fix index into the buffer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Debugger/DBGPlugInLinux.cpp

    r78019 r79680  
    13271327                    && uBuf.au64[i] >= LNX_MIN_KALLSYMS_SYMBOLS)
    13281328                {
    1329                     uint8_t *pb = (uint8_t *)&uBuf.au64[i + 1];
     1329                    uint8_t *pb = (uint8_t *)&uBuf.au64[i];
    13301330                    if (   pb[0] <= LNX_MAX_KALLSYMS_ENC_LENGTH
    13311331                        && pb[0] >= LNX_MIN_KALLSYMS_ENC_LENGTH)
     
    13751375                    && uBuf.au32[i] >= LNX_MIN_KALLSYMS_SYMBOLS)
    13761376                {
    1377                     uint8_t *pb = (uint8_t *)&uBuf.au32[i + 1];
     1377                    uint8_t *pb = (uint8_t *)&uBuf.au32[i];
    13781378                    if (   pb[0] <= LNX_MAX_KALLSYMS_ENC_LENGTH
    13791379                        && pb[0] >= LNX_MIN_KALLSYMS_ENC_LENGTH)
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette