VirtualBox

Ignore:
Timestamp:
Mar 5, 2018 10:59:17 AM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
121103
Message:

SUPDrv,VMMR0: Prepped for extending the fast I/O control interface a bit for NEM; SUPDRV version increment. bugref:9044

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/os2/SUPDrv-os2.cpp

    r62490 r71198  
    259259     * Dispatch the fast IOCtl.
    260260     */
    261     supdrvIOCtlFast(iFunction, 0, &g_DevExt, pSession);
     261    int rc;
     262    if ((unsigned)(iFunction - SUP_IOCTL_FAST_DO_FIRST) < (unsigned)32)
     263        rc = supdrvIOCtlFast(iFunction, 0, &g_DevExt, pSession);
     264    else
     265        rc = VERR_INVALID_FUNCTION;
    262266    supdrvSessionRelease(pSession);
    263     return 0;
     267    return rc;
    264268}
    265269
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