Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Alexander_Naumov:SLE12
libcpuset
initialize_buffer.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
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)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor