File 0129-make-sure-path-buffer-is-large-enough-to-fit-200-cha.patch of Package mdadm.5365
From: Bas van Schaik <bas@traiectum.net>
Date: Thu, 3 Dec 2015 13:37:08 +0000
Subject: [PATCH 184/359] make sure 'path' buffer is large enough to fit 200 characters plus null terminator
Git-commit: 1158f25eaeaa840307725588db79e01a96f54144
References: bsc#1081910
Signed-off-by: Coly Li <colyli@suse.de>
---
mapfile.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mapfile.c b/mapfile.c
index 41599df..243ded1 100644
--- a/mapfile.c
+++ b/mapfile.c
@@ -176,7 +176,7 @@ void map_read(struct map_ent **melp)
{
FILE *f;
char buf[8192];
- char path[200];
+ char path[201];
int uuid[4];
char devnm[32];
char metadata[30];
--
2.16.1