haproxy/include
Willy Tarreau 5a9cce4653 BUG/MINOR: debug/pools: properly handle out-of-memory when building with DEBUG_UAF
Commit 158fa75 ("MINOR: pools: implement DEBUG_UAF to detect use after free")
implemented pool use-after-free detection, but the mmap() return value isn't
properly checked, preventing the call to pool_alloc_area() from returning
NULL. So on out-of-memory a mangled pointer is returned, causing a crash on
the pool_alloc() site instead of forcing a GC. It doesn't affect regular
operations however, just complicates complex bug investigations.

This fix should be backported to 1.8 and to 1.7.
2018-02-22 14:18:45 +01:00
..
common BUG/MINOR: debug/pools: properly handle out-of-memory when building with DEBUG_UAF 2018-02-22 14:18:45 +01:00
import BUILD: threads/plock: fix a build issue on Clang without optimization 2017-11-20 21:06:35 +01:00
proto BUG/MINOR: ssl/threads: Make management of the TLS ticket keys files thread-safe 2018-02-19 14:15:38 +01:00
types BUG/MINOR: ssl/threads: Make management of the TLS ticket keys files thread-safe 2018-02-19 14:15:38 +01:00