VirtualBox

Changeset 90880 in vbox for trunk/src/VBox/Runtime/r3/win


Ignore:
Timestamp:
Aug 25, 2021 1:14:57 PM (3 years ago)
Author:
vboxsync
Message:

IPRT/RTKrnlModLoadedQueryInfoAll: Fixed regression from r146424.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/win/krnlmod-win.cpp

    r90789 r90880  
    186186                                        uint32_t *pcEntries)
    187187{
    188     AssertPtrReturn(pahKrnlModInfo, VERR_INVALID_POINTER);
    189     AssertReturn(cEntriesMax == 0, VERR_INVALID_PARAMETER);
     188    if (cEntriesMax > 0)
     189        AssertPtrReturn(pahKrnlModInfo, VERR_INVALID_POINTER);
    190190
    191191    PRTL_PROCESS_MODULES pKrnlMods = NULL;
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