VirtualBox

Changeset 105643 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Aug 9, 2024 9:38:35 PM (8 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
164333
Message:

IPRT,libs/openssl-3.1.5: Added RTMEMSAFER_F_NO_SUPLIB_ALLOC and made OpenSSL use it. OpenSSL can't use the SUPLIB secure memory allocator, as SUPR3Term may be invoked while the memory is still being used. bugref:10638

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/VBox/Runtime/r3/memsafer-r3.cpp

    r100442 r105643  
    422422             * falling back on the less safe one.
    423423             */
    424             rc = rtMemSaferSupR3AllocPages(pThis);
     424            if (!(fFlags & RTMEMSAFER_F_NO_SUPLIB_ALLOC))
     425                rc = rtMemSaferSupR3AllocPages(pThis);
     426            else
     427                rc = VERR_NO_PAGE_MEMORY;
    425428            if (RT_SUCCESS(rc))
    426429                pThis->enmAllocator = RTMEMSAFERALLOCATOR_SUPR3;
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