VirtualBox

Changeset 41871 in vbox for trunk/src


Ignore:
Timestamp:
Jun 21, 2012 11:38:35 PM (13 years ago)
Author:
vboxsync
Message:

Disasm.cpp: Off by one (mostly harmless).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Disassembler/Disasm.cpp

    r41790 r41871  
    102102                                     | DIS_FMT_FLAGS_RELATIVE_BRANCH | DIS_FMT_FLAGS_ADDR_LEFT,
    103103                                     NULL /*pfnGetSymbol*/, NULL /*pvUser*/);
    104         if (cch < cbOutput)
     104        if (cch + 2 <= cbOutput)
    105105        {
    106106            pszOutput[cch++] = '\n';
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