diff options
author | Bas van Schaik <bas@traiectum.net> | 2015-12-03 14:37:08 +0100 |
---|---|---|
committer | Bas van Schaik <bas@traiectum.net> | 2015-12-03 14:48:53 +0100 |
commit | 1158f25eaeaa840307725588db79e01a96f54144 (patch) | |
tree | a80e7171d18e0022e247d31e4e8320606dd84b06 /mapfile.c | |
parent | avoid confusion with parameter 'devname' with same name, ensure buffer is lar... (diff) | |
download | mdadm-1158f25eaeaa840307725588db79e01a96f54144.tar.xz mdadm-1158f25eaeaa840307725588db79e01a96f54144.zip |
make sure 'path' buffer is large enough to fit 200 characters plus null terminator
Diffstat (limited to 'mapfile.c')
-rw-r--r-- | mapfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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]; |