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 increased the buffer size by a byte.

Thanks,
Andreas

Reply via email to