VirtualBox

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


Ignore:
Timestamp:
May 31, 2013 11:27:02 AM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
86130
Message:

DevFDC: Do not read sector 0.

File:
1 edited

Legend:

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

    r45302 r46339  
    227227        return 2;
    228228    }
    229     if (sect > drv->last_sect) {
     229    if (sect > drv->last_sect || sect < 1) {
    230230        FLOPPY_DPRINTF("try to read %d %02x %02x (max=%d %d %02x %02x)\n",
    231231                       head, track, sect, 1,
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