haproxy/include/common
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
..
accept4.h
base64.h
buffer.h BUG/MINOR: pools/threads: don't ignore DEBUG_UAF on double-word CAS capable archs 2018-02-22 14:18:45 +01:00
cfgparse.h MINOR: config: Enable tracking of up to MAX_SESS_STKCTR stick counters. 2018-01-29 13:53:56 +01:00
chunk.h
compat.h
compiler.h MINOR: compiler: introduce offsetoff(). 2018-02-05 14:24:50 +01:00
config.h BUG/MINOR: pools/threads: don't ignore DEBUG_UAF on double-word CAS capable archs 2018-02-22 14:18:45 +01:00
debug.h
defaults.h
epoll.h
errors.h
h2.h MINOR: h2: add a function to report pseudo-header names 2017-12-30 17:17:07 +01:00
hash.h
hathreads.h BUG/MINOR: ssl/threads: Make management of the TLS ticket keys files thread-safe 2018-02-19 14:15:38 +01:00
hpack-dec.h
hpack-enc.h
hpack-huff.h
hpack-tbl.h BUG/MAJOR: hpack: don't pretend large headers fit in empty table 2017-12-04 18:06:51 +01:00
http-hdr.h
ist.h
memory.h BUG/MINOR: debug/pools: properly handle out-of-memory when building with DEBUG_UAF 2018-02-22 14:18:45 +01:00
mini-clist.h
namespace.h
net_helper.h
regex.h
splice.h
standard.h CLEANUP: standard: Fix typo in IPv6 mask example 2018-02-21 05:07:35 +01:00
syscall.h
template.h
ticks.h
time.h
tools.h
uri_auth.h
version.h
xref.h