File initialize_buffer.patch of Package libcpuset
--- libcpuset.c | 1 + 1 file changed, 1 insertion(+) --- a/libcpuset.c +++ b/libcpuset.c @@ -3250,6 +3250,7 @@ int cpuset_latestcpu(pid_t pid) else snprintf(buf, sizeof(buf), "/proc/%d/stat", pid); + memset(buf, '\0', sizeof(buf)); if ((fd = open(buf, O_RDONLY)) < 0) goto err; if (read(fd, buf, sizeof(buf)) < 1)