VirtualBox

Ignore:
Timestamp:
Sep 3, 2014 7:36:27 AM (10 years ago)
Author:
vboxsync
Message:

SUPDrv: Several fixes, thanks to Mathias Krause.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/freebsd/SUPDrv-freebsd.c

    r52192 r52575  
    411411            return rc;
    412412        }
     413        if (Hdr.cbIn < cbReq)
     414            RT_BZERO((uint8_t *)pHdr + Hdr.cbIn, cbReq - Hdr.cbIn)
    413415    }
    414416    else
     
    421423     * Process the IOCtl.
    422424     */
    423     int rc = supdrvIOCtl(ulCmd, &g_VBoxDrvFreeBSDDevExt, pSession, pHdr);
     425    int rc = supdrvIOCtl(ulCmd, &g_VBoxDrvFreeBSDDevExt, pSession, pHdr, cbReq);
    424426    if (RT_LIKELY(!rc))
    425427    {
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