diff options
author | Lennart Poettering <lennart@poettering.net> | 2019-01-26 15:42:35 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2019-01-26 16:17:04 +0100 |
commit | 4aee28c67b48f53b521e5512fc648f4ba2afabfb (patch) | |
tree | 4f26b049798b4485fdb91a9645fc5a8aff348030 /src/basic/path-util.h | |
parent | 7c45deb20d4b28a928e0af089b1b18c2118db1e0 (diff) | |
download | systemd-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