From: Bas van Schaik Date: Thu, 3 Dec 2015 13:37:08 +0000 (+0000) Subject: make sure 'path' buffer is large enough to fit 200 characters plus null terminator X-Git-Tag: mdadm-3.4~23^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1158f25eaeaa840307725588db79e01a96f54144;p=thirdparty%2Fmdadm.git make sure 'path' buffer is large enough to fit 200 characters plus null terminator --- diff --git a/mapfile.c b/mapfile.c index 41599df0..243ded18 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];