VirtualBox

Changeset 51381 in vbox for trunk/src/VBox/Devices/Storage


Ignore:
Timestamp:
May 23, 2014 7:18:28 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
93891
Message:

Devies/DevATA: 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/DevATA.cpp

    r51342 r51381  
    21712171            case SCSI_SYNCHRONIZE_CACHE:
    21722172            {
    2173                 ATAPIPassthroughTrackListClear(s->pTrackList);
     2173                if (s->pTrackList)
     2174                    ATAPIPassthroughTrackListClear(s->pTrackList);
    21742175                break;
    21752176            }
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