Hi, Another replacement of malloc & memset with calloc. This time in bioctl.c.
Index: bioctl.c =================================================================== RCS file: /cvs/src/sbin/bioctl/bioctl.c,v retrieving revision 1.119 diff -u -p -u -r1.119 bioctl.c --- bioctl.c 18 Jan 2014 09:11:12 -0000 1.119 +++ bioctl.c 22 Apr 2014 20:02:39 -0000 @@ -836,10 +836,9 @@ bio_createraid(u_int16_t level, char *de } else #endif /* AOE */ { - dt = (dev_t *)malloc(BIOC_CRMAXLEN); + dt = calloc(1, BIOC_CRMAXLEN); if (!dt) err(1, "not enough memory for dev_t list"); - memset(dt, 0, BIOC_CRMAXLEN); no_dev = bio_parse_devlist(dev_list, dt); }