VirtualBox

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


Ignore:
Timestamp:
Jan 6, 2025 6:48:08 PM (2 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
166496
Message:

Devices/Storage/DrvHostDVD.cpp: Propagate status code (should be always VINF_SUCCESS, asserted), bugref:3409

File:
1 edited

Legend:

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

    r106061 r107443  
    273273                    *pu8ScsiSts = drvHostDvdCmdErrorSimple(pThis, SCSI_SENSE_ILLEGAL_REQUEST, SCSI_ASC_ILLEGAL_OPCODE);
    274274                    rc = drvHostBaseBufferRelease(&pThis->Core, pReq, cbBuf, enmXferDir == PDMMEDIATXDIR_TO_DEVICE, pvBuf);
     275                    AssertRC(rc);
    275276                    RTCritSectLeave(&pThis->Core.CritSect);
    276                     return VINF_SUCCESS;
     277                    return rc;
    277278            }
    278279            memcpy(aATAPICmd, pbCdb, RT_MIN(cbCdb, ATAPI_PACKET_SIZE));
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