- 14 May, 2020 1 commit
-
-
Quanah Gibson-Mount authored
-
- 09 Jan, 2020 1 commit
-
-
Quanah Gibson-Mount authored
-
- 15 Feb, 2019 1 commit
-
-
Ondřej Kuzník authored
-
- 14 Jan, 2019 1 commit
-
-
Quanah Gibson-Mount authored
-
- 22 Mar, 2018 1 commit
-
-
Quanah Gibson-Mount authored
-
- 08 Sep, 2017 1 commit
-
-
Howard Chu authored
For fast cleanup after constructing disposable entries
-
- 03 Jan, 2017 1 commit
-
-
Quanah Gibson-Mount authored
-
- 29 Jan, 2016 1 commit
-
-
Quanah Gibson-Mount authored
-
- 01 Oct, 2015 1 commit
-
-
Howard Chu authored
-
- 11 Feb, 2015 1 commit
-
-
Quanah Gibson-Mount authored
-
- 25 Jan, 2014 1 commit
-
-
Kurt Zeilenga authored
-
- 02 Jan, 2013 1 commit
-
-
Kurt Zeilenga authored
-
- 24 Jan, 2012 1 commit
-
-
Hallvard Furuseth authored
-
- 01 Jan, 2012 1 commit
-
-
Kurt Zeilenga authored
-
- 09 Sep, 2011 1 commit
-
-
Howard Chu authored
Compile with -DUSE_VALGRIND. It will attempt to keep Valgrind informed of our memory allocations. Frees are trickier since they may be deferred indefinitely.
-
- 23 Jun, 2011 1 commit
-
-
Howard Chu authored
-
- 05 Jan, 2011 1 commit
-
-
Kurt Zeilenga authored
-
- 19 Apr, 2010 1 commit
-
-
Quanah Gibson-Mount authored
-
- 15 Jan, 2010 1 commit
-
-
Hallvard Furuseth authored
-
- 05 Jan, 2010 5 commits
-
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
Store a tail only in freed blocks. (Alignment ensures there will be room.) Put the freed mark in next block's head.
-
Hallvard Furuseth authored
ctx==NULL code. Add enum No_sl_malloc to avoid #ifdef SLAP_NO_SL_MALLOC.
-
Hallvard Furuseth authored
Ensure Align >= sizeof(ber_len_t), to clarify the code's requirements. Rearrange a slap_sl_malloc() branch to factor out ch_malloc fallbacks. Fix range check (ptr+size >= endptr) -> (size >= endptr-ptr). Fix debug msg.
-
- 02 Jan, 2010 9 commits
-
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
Check count*size overflow. Omit slap_sl_malloc failure check, it cannot fail.
-
Hallvard Furuseth authored
slap_sl_malloc could return failure. Exit instead, like the rest of sl_malloc. Since we increase size, reduce it before Debug() and/or fallback to ch_malloc. Debug() before exit() on failure. Tweak debug formats and a comment.
-
Hallvard Furuseth authored
Move thread/nothread code to macros SET_MEMCTX()/GET_MEMCTX(). Rename some thread/memory contexts 'ctx' to thrctx/memctx to avoid confusion.
-
Hallvard Furuseth authored
Preserve 2*int alignment on hosts where sizeof(int) == sizeof(ber_len_t). If realloc of last block falls back to ch_malloc, free last block properly. Fix range check (ptr + size < endptr) --> (size < endptr - ptr).
-
Hallvard Furuseth authored
Also use -Align instead of ~pad: Valid also for non-twos complement.
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
-
Hallvard Furuseth authored
Bugfix: Switching implementation stack<->pool on an old context could crash or leak, it ran the wrong implementation's cleanup code. Cleanup: Factor out identical stack/pool code. Call slap_sl_mem_destroy(NULL,) instead of copying its pool code. API change: slap_sl_mem_destroy(key=NULL,) gets a new meaning. Does not affect current OpenLDAP code, it never passed NULL.
-
- 15 Nov, 2009 2 commits
-
-
Howard Chu authored
-
Howard Chu authored
-
- 14 Nov, 2009 2 commits
-
-
Howard Chu authored
-
Howard Chu authored
-
- 11 Apr, 2009 1 commit
-
-
Howard Chu authored
-
- 09 Mar, 2009 1 commit
-
-
Howard Chu authored
-
- 22 Jan, 2009 1 commit
-
-
Kurt Zeilenga authored
-