https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201594
Bug ID: 201594 Summary: usr/src/usr.sbin/pmcstudy/pmcstudy.c:2047: pointless memset ? Product: Base System Version: 10.2-BETA1 Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: freebsd-bugs@FreeBSD.org Reporter: dcb...@hotmail.com usr/src/usr.sbin/pmcstudy/pmcstudy.c:2047]: (warning) memset() called to fill 0 bytes of 'more'. more = malloc(sz); if (more == NULL) { printf("No memory3 allocation fails at startup?\n"); exit(-1); } memset(more, sz, 0); Suggest use calloc ? -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"