diff options
author | 2021-10-01 18:03:32 -0300 | |
---|---|---|
committer | 2021-10-16 17:19:36 -0300 | |
commit | 8954cb2a1f8cf0d1e1101a2d82b3a98ce16f85c7 (patch) | |
tree | 5493f4862011efca4dca2250f0c33ae1ca2e5ff0 /etc | |
parent | build: allow building with sanitizer (#4594) (diff) | |
download | firejail-8954cb2a1f8cf0d1e1101a2d82b3a98ce16f85c7.tar.gz firejail-8954cb2a1f8cf0d1e1101a2d82b3a98ce16f85c7.tar.zst firejail-8954cb2a1f8cf0d1e1101a2d82b3a98ce16f85c7.zip |
libtrace.c: use realpath instead of readlink to avoid PATH_MAX
PATH_MAX is not guaranteed to be defined and it may be defined to -1.
Avoid depending on it by getting the result directly from realpath. See
commit 579f856c5 ("firejail.h: add missing linux/limits.h include") /
PR #4583 for details.
Note: This replaces the static char array currently used with a dynamic
one returned from realpath.
Misc: This is a continuation of #4583.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions