Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
libcgroup1.import4148
libcgroup-CVE-2011-1006.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libcgroup-CVE-2011-1006.patch of Package libcgroup1.import4148
From 5ae8aea1ecd60c439121d3329d8eaabf13d292c1 Mon Sep 17 00:00:00 2001 From: Jan Safranek <jsafrane@redhat.com> Date: Tue, 1 Mar 2011 13:11:35 +0100 Subject: Fix buffer overflow when processing list of controllers from command line (CVE-2011-1006). Git-commit: 5ae8aea1ecd60c439121d3329d8eaabf13d292c1 Patch-mainline: yes References: bnc#675506, CVE-2011-1006 Thanks to Nelson Elhage for reporting this issue. Signed-off-by: Jan Safranek <jsafrane@redhat.com> Signed-off-by: Jiri Slaby <jslaby@suse.cz> --- src/tools/tools-common.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/tools/tools-common.c b/src/tools/tools-common.c index 4beffcd..7d633be 100644 --- a/src/tools/tools-common.c +++ b/src/tools/tools-common.c @@ -79,7 +79,7 @@ int parse_cgroup_spec(struct cgroup_group_spec **cdptr, char *optarg, } } j++; - } while (temp); + } while (temp && j<CG_CONTROLLER_MAX-1); /* Store path to the cgroup */ strncpy(cdptr[i]->path, pathptr, FILENAME_MAX); -- 1.7.4.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