VirtualBox

Changeset 70775 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Jan 28, 2018 9:48:16 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
120548
Message:

Devices/Storage/DrvVD.cpp: Fix assertion

File:
1 edited

Legend:

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

    r69500 r70775  
    30783078        {
    30793079            /* Adjust the remaining amount to transfer. */
    3080             Assert(pIoReq->ReadWrite.cbIoBuf > 0);
     3080            Assert(pIoReq->ReadWrite.cbIoBuf > 0 || rcReq == VERR_PDM_MEDIAEX_IOREQ_CANCELED);
    30813081
    30823082            size_t cbReqIo = RT_MIN(pIoReq->ReadWrite.cbReqLeft, pIoReq->ReadWrite.cbIoBuf);
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