Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 579f856 ("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.
- Loading branch information