Sorry, this patch is wrong. It has to be terminated at the correct
> position. Please see this updated version:
>
Thanks for the update, there is a pick I'm afraid:
>
> From a1840916dd370d5c84ebf23df91f1c13d564d212 Mon Sep 17 00:00:00 2001
> From: Tobias Stoeckmann
> Date: S
dated version:
>From a1840916dd370d5c84ebf23df91f1c13d564d212 Mon Sep 17 00:00:00 2001
From: Tobias Stoeckmann
Date: Sun, 12 Jul 2015 12:10:59 +0200
Subject: [PATCH] nul-terminate readlink result
readlink by itself does not terminate its result. The caller has
to terminate the stri
readlink by itself does not guarantee that its result is properly
nul-terminated. Setting the last byte of the buffer to '\0' fixes
this issue.
---
libkms/linux.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libkms/linux.c b/libkms/linux.c
index 4d47148..667d37c 100644
--- a/libkms/linux.c