VirtualBox

Changeset 5905 in vbox


Ignore:
Timestamp:
Dec 2, 2007 7:39:02 PM (17 years ago)
Author:
vboxsync
Message:

gcc-4.3 found this bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/DevPcBios.cpp

    r5605 r5905  
    608608        else
    609609        {
    610             if (pData->iMsg >= sizeof(pData->szMsg))
     610            if (pData->iMsg >= sizeof(pData->szMsg)-1)
    611611            {
    612612                pData->szMsg[pData->iMsg] = '\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