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 ?
Missing MFC it seems
A commit references this bug: Author: emaste Date: Fri Jul 24 19:09:12 UTC 2015 New revision: 285849 URL: https://svnweb.freebsd.org/changeset/base/285849 Log: MFC r277485 by rrs: Fix minor errors found by coverity. PR: 201594 Sponsored by: The FreeBSD Foundation Changes: _U stable/10/ stable/10/usr.sbin/pmcstudy/pmcstudy.c
A commit references this bug: Author: emaste Date: Fri Jul 24 19:37:31 UTC 2015 New revision: 285853 URL: https://svnweb.freebsd.org/changeset/base/285853 Log: MFS r285849: Fix minor errors found by coverity. PR: 201594 Approved by: re (gjb) Sponsored by: The FreeBSD Foundation Changes: _U releng/10.2/ releng/10.2/usr.sbin/pmcstudy/pmcstudy.c