VirtualBox

Changeset 88532 in vbox


Ignore:
Timestamp:
Apr 15, 2021 12:07:52 PM (4 years ago)
Author:
vboxsync
Message:

Devices/Storage/VBoxSCSI: Use correct size indicator, bugref:9920

File:
1 edited

Legend:

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

    r87165 r88532  
    429429        if (cbTransfer > pVBoxSCSI->cbBufLeft)
    430430        {
    431             memset(pbDst + pVBoxSCSI->cbBuf, 0xff, cbTransfer - pVBoxSCSI->cbBufLeft);
     431            memset(pbDst + pVBoxSCSI->cbBufLeft, 0xff, cbTransfer - pVBoxSCSI->cbBufLeft);
    432432            cbTransfer = pVBoxSCSI->cbBufLeft;  /* Ignore excess data (not supposed to happen). */
    433433        }
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