diff mbox

multipathd segfault

Message ID 878262772.1795731238194384113.JavaMail.root@zimbra16-e3.priv.proxad.net (mailing list archive)
State Accepted, archived
Delegated to: christophe varoqui
Headers show

Commit Message

christophe varoqui March 27, 2009, 10:53 p.m. UTC
Applied.



--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
diff mbox

Patch

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