VirtualBox

Changeset 41897 in vbox for trunk/src/VBox/VMM/include


Ignore:
Timestamp:
Jun 23, 2012 6:40:19 PM (12 years ago)
Author:
vboxsync
Message:

PATM: Don't use memcpy to repack array after removal in patmRemovePatchFromPage, must use memmove. Saw stale reference. Changed the array name from aPatch to papPatch (PATMPATCHPAGE member).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/PATMInternal.h

    r41801 r41897  
    374374    uint32_t                    cMaxPatches;
    375375    /** Array of patch pointers for this page. */
    376     R3PTRTYPE(PPATCHINFO *)     aPatch;
     376    R3PTRTYPE(PPATCHINFO *)     papPatch;
    377377} PATMPATCHPAGE, *PPATMPATCHPAGE;
    378378
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