diff --git a/doc/container.qbk b/doc/container.qbk index 5060c4c..9e66954 100644 --- a/doc/container.qbk +++ b/doc/container.qbk @@ -1252,6 +1252,7 @@ use [*Boost.Container]? There are several reasons for that: * Fixed serious bug in heterogeneous lookup functions (is_transparent was broken). * Fixed bugs: + * [@https://github.com/boostorg/container/issues/77 GitHub #77: ['"warning: 'sbrk' is deprecated"]]. * [@https://github.com/boostorg/container/issues/79 GitHub #79: ['"Mark small_vector move operations noexcept"]]. * [@https://github.com/boostorg/container/issues/82 GitHub #82: ['"Function definition in header file"]]. * [@https://github.com/boostorg/container/issues/83 GitHub #83: ['"Iterator zero incrementing leads to assert on empty vector"]]. diff --git a/src/dlmalloc_ext_2_8_6.c b/src/dlmalloc_ext_2_8_6.c index d0e01f8..918ce02 100644 --- a/src/dlmalloc_ext_2_8_6.c +++ b/src/dlmalloc_ext_2_8_6.c @@ -19,6 +19,8 @@ #define MSPACES 1 #define NO_MALLINFO 1 #define NO_MALLOC_STATS 1 +//disable sbrk as it's deprecated in some systems and weakens ASLR +#define HAVE_MORECORE 0 #if !defined(NDEBUG)