VirtualBox

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


Ignore:
Timestamp:
Aug 25, 2021 1:14:57 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
146516
Message:

IPRT/RTKrnlModLoadedQueryInfoAll: Fixed regression from r146424.

File:
1 edited

Legend:

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

    r90789 r90880  
    229229                                        uint32_t *pcEntries)
    230230{
    231     AssertPtrReturn(pahKrnlModInfo, VERR_INVALID_POINTER);
    232     AssertReturn(cEntriesMax == 0, VERR_INVALID_PARAMETER);
     231    if (cEntriesMax > 0)
     232        AssertPtrReturn(pahKrnlModInfo, VERR_INVALID_POINTER);
    233233
    234234    int rc = VINF_SUCCESS;
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