VirtualBox

Changeset 105643 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Aug 9, 2024 9:38:35 PM (9 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
  • trunk/include/iprt/memsafer.h

    r99739 r105643  
    7676 *          suspend-to-disk. */
    7777#define RTMEMSAFER_F_REQUIRE_NOT_PAGABLE    RT_BIT_32(0)
     78/** Do not use the SUPLib allocator.
     79 * The SUPLib allocator may be terminated earlier than IPRT,
     80 * automatically rendering the allocations inaccessible. */
     81#define RTMEMSAFER_F_NO_SUPLIB_ALLOC        RT_BIT_32(1)
    7882/** Mask of valid bits.  */
    79 #define RTMEMSAFER_F_VALID_MASK             UINT32_C(0x00000001)
     83#define RTMEMSAFER_F_VALID_MASK             UINT32_C(0x00000003)
    8084/** @} */
    8185
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