Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:kernel-2.6.32
multipath-tools
multipath-tools-stack-overflow-in-uev_trigger
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File multipath-tools-stack-overflow-in-uev_trigger of Package multipath-tools
From 223885b66311bbb47e439557eced066b3324ad8e Mon Sep 17 00:00:00 2001 From: Hannes Reinecke <hare@suse.de> Date: Tue, 10 Mar 2009 08:57:18 +0100 Subject: [PATCH] Stack overflow in uev_trigger() uev_discard uses sscanf to write a 10 byte string into an array, but I forgot to take the trailing NULL byte into account. References: bnc#476540 Signed-off-by: Hannes Reinecke <hare@suse.de> --- multipathd/main.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/multipathd/main.c b/multipathd/main.c index 7c995b6..1d8ff5a 100644 --- a/multipathd/main.c +++ b/multipathd/main.c @@ -652,7 +652,7 @@ uxsock_trigger (char * str, char ** reply, int * len, void * trigger_data) static int uev_discard(char * devpath) { - char a[10], b[10], *c; + char a[11], b[11], *c; /* * keep only block devices, discard partitions -- 1.6.0.2
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