]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - super-intel.c
Fix for buffer overflow defect.
[thirdparty/mdadm.git] / super-intel.c
index 49e938dd490fdde04eda234ed576206e116b0e9a..5cc78f5627bea9346dac65338492d2b0e14f422f 100644 (file)
@@ -2493,7 +2493,7 @@ static int load_super_imsm_all(struct supertype *st, int fd, void **sbp,
        /* load all mpbs */
        for (sd = sra->devs, i = 0; sd; sd = sd->next, i++) {
                struct intel_super *s = alloc_super(0);
-               char nm[20];
+               char nm[32];
                int dfd;
 
                err = 1;