VirtualBox

Changeset 65782 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Feb 13, 2017 5:55:00 PM (8 years ago)
Author:
vboxsync
Message:

SUPHardNt: Fixed harmless typo. Will be relevant if with patch more functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/win/SUPR3HardenedMain-win.cpp

    r64532 r65782  
    25722572    offExecPage = RT_ALIGN_32(offExecPage + 4, 8);
    25732573    *(uint64_t *)&g_abSupHardReadWriteExecPage[offExecPage] = (uintptr_t)&pbLdrLoadDll[offJmpBack];
    2574     offExecPage = RT_ALIGN_32(offJmpBack + 8, 16);
     2574    offExecPage = RT_ALIGN_32(offExecPage + 8, 16);
    25752575
    25762576    /* Assemble the LdrLoadDll patch. */
     
    26062606    *(uint32_t *)&g_abSupHardReadWriteExecPage[offExecPage] = (uintptr_t)&pbLdrLoadDll[offJmpBack]
    26072607                                                            - (uintptr_t)&g_abSupHardReadWriteExecPage[offExecPage + 4];
    2608     offExecPage = RT_ALIGN_32(offJmpBack + 4, 16);
     2608    offExecPage = RT_ALIGN_32(offExecPage + 4, 16);
    26092609
    26102610    /* Assemble the LdrLoadDll patch. */
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