VirtualBox

Changeset 85134 in vbox


Ignore:
Timestamp:
Jul 9, 2020 6:46:30 AM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
139077
Message:

Devices/Storage/LsiLogic: Fix regression introduced in r139017, bugref:9767

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DevLsiLogicSCSI.cpp

    r85121 r85134  
    14021402                /*
    14031403                 * We are already performing a doorbell function.
    1404                  * Get the remaining parameters.
     1404                 * Get the remaining parameters, ignore any excess writes.
    14051405                 */
    1406                 AssertMsg(pThis->iMessage < RT_ELEMENTS(pThis->aMessage), ("Message is too big to fit into the buffer\n"));
     1406                AssertMsgReturn(pThis->iMessage < pThis->cMessage,
     1407                                ("Guest is trying to write more than was indicated in the handshake\n"),
     1408                                VINF_SUCCESS);
     1409
    14071410                /*
    14081411                 * If the last byte of the message is written, force a switch to R3 because some requests might force
     
    14201423                                                             (PMptMessageHdr)pThis->aMessage, &pThis->ReplyBuffer);
    14211424                    AssertRC(rc);
    1422 
    1423                     pThis->iMessage = 0;
    14241425                }
    14251426#endif
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