summaryrefslogtreecommitdiff
path: root/src/basic/path-util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2019-01-26 15:42:35 +0100
committerLennart Poettering <lennart@poettering.net>2019-01-26 16:17:04 +0100
commit4aee28c67b48f53b521e5512fc648f4ba2afabfb (patch)
tree4f26b049798b4485fdb91a9645fc5a8aff348030 /src/basic/path-util.h
parent7c45deb20d4b28a928e0af089b1b18c2118db1e0 (diff)
downloadsystemd-4aee28c67b48f53b521e5512fc648f4ba2afabfb.tar.gz
alloc-util: whenever any of our alloca() wrappers is used to allocate overly large memory blocks, hit an assert()
Of course, this should never happen, but let's better be safe than sorry, and abort rather than continue when a too large memory block is allocated, simply asa safety precaution. An early abort is better than continuing with a likely memory corruption later.
Diffstat (limited to 'src/basic/path-util.h')
0 files changed, 0 insertions, 0 deletions