Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure existing path is NUL-terminated
readlink() doesn't NUL-terminate a string, so leave room for a NUL, and manually insert it before calling strcmp(). Signed-off-by: Jakob Kaivo <jkk@ung.org>
- Loading branch information