VirtualBox

Changeset 51383 in vbox


Ignore:
Timestamp:
May 23, 2014 7:26:10 PM (11 years ago)
Author:
vboxsync
Message:

Devices/DevAHCI: Fix possible crash if there is no track list for the current medium

File:
1 edited

Legend:

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

    r51342 r51383  
    40964096            case SCSI_SYNCHRONIZE_CACHE:
    40974097            {
    4098                 ATAPIPassthroughTrackListClear(pAhciPort->pTrackList);
     4098                if (pAhciPort->pTrackList)
     4099                    ATAPIPassthroughTrackListClear(pAhciPort->pTrackList);
    40994100                break;
    41004101            }
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