Tobias,
2015-07-12 11:21 GMT+02:00 Tobias Stoeckmann tob...@stoeckmann.org:
The function readlink does not nul terminate its result string.
safe_readlink is a wrapper for readlinkat, which has the same
behaviour. Therefore, explicitly set '\0' and reserve one byte for it.
looking good. I've
The function readlink does not nul terminate its result string.
safe_readlink is a wrapper for readlinkat, which has the same
behaviour. Therefore, explicitly set '\0' and reserve one byte for it.
---
src/util.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/util.c