VirtualBox

Ignore:
Timestamp:
Dec 18, 2009 2:04:56 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
56153
Message:

SUPDrv: Fixed recent regression that may cause the SUPDRVSESSION allocation to be too small on some platforms, and thereby corrupting heap or/and triggering system panic.

File:
1 edited

Legend:

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

    r25465 r25484  
    609609             */
    610610            if (RT_SUCCESS(rc))
    611                 rc = supdrvInitDevExt(&g_DevExt);
     611                rc = supdrvInitDevExt(&g_DevExt, sizeof(SUPDRVSESSION));
    612612            if (RT_SUCCESS(rc))
    613613            {
     
    732732     * Call common code for the rest.
    733733     */
    734     rc = supdrvCreateSession(&g_DevExt, true /* fUser */, (PSUPDRVSESSION *)&pSession);
     734    rc = supdrvCreateSession(&g_DevExt, true /* fUser */, &pSession);
    735735    if (!rc)
    736736    {
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