Error: ARRAY_VS_SINGLETON: /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/dso.c:413: address_of: Taking address with "&desc" yields a singleton pointer. /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/dso.c:413: callee_ptr_arith: Passing "&desc" to function "_dbDumpResult" which uses it as an array. This might corrupt or misinterpret adjacent memory locations. /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/util.c:543: ptr_arith: Performing pointer arithmetic on "desc_list" in expression "desc_list + i". Error: BAD_FREE: /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:696: address_free: "atom_defaults" frees address of "rule->self". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:663: freed_arg: "free" frees parameter "a". Error: BAD_FREE: /builddir/build/BUILD/pcp-3.5.11/src/pmdumplog/pmdumplog.c:94: array_assign: Assigning: "mname" = """". /builddir/build/BUILD/pcp-3.5.11/src/pmdumplog/pmdumplog.c:272: incorrect_free: "free" frees incorrect pointer "mname". Error: BAD_SIZEOF: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_stat.c:80: bad_sizeof: Taking the size of pointer parameter "proc_stat" is suspicious. Error: BAD_SIZEOF: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_meminfo.c:102: bad_sizeof: Taking the size of pointer parameter "proc_meminfo" is suspicious. Error: BAD_SIZEOF: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_net_sockstat.c:28: bad_sizeof: Taking the size of pointer parameter "proc_net_sockstat" is suspicious. Error: BAD_SIZEOF: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_vmstat.c:148: bad_sizeof: Taking the size of pointer parameter "proc_vmstat" is suspicious. Error: BAD_SIZEOF: /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:2165: bad_sizeof: Taking the size of pointer parameter "warning" is suspicious. Error: BAD_SIZEOF: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_net_snmp.c:41: bad_sizeof: Taking the size of pointer parameter "proc_net_snmp" is suspicious. Error: CHECKED_RETURN: /builddir/build/BUILD/pcp-3.5.11/src/cpan/PMDA/local.c:159: example_checked: "fstat(fd, &stats)" has its value checked in "fstat(fd, &stats) < 0". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:2174: example_checked: "fstat(fileno(f), &sbuf)" has its value checked in "fstat(fileno(f), &sbuf) < 0". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_pmda/src/help.c:104: example_checked: "fstat(hp->pag_fd, &sbuf)" has its value checked in "fstat(hp->pag_fd, &sbuf) < 0". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/weblog/weblog.c:1308: example_checked: "fstat(theFile->filePtr, &theFile->fileStat)" has its value checked in "fstat(theFile->filePtr, &theFile->fileStat) < 0". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/weblog/weblog.c:1326: example_checked: "fstat(theFile->filePtr, &theFile->fileStat)" has its value checked in "fstat(theFile->filePtr, &theFile->fileStat) < 0". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:1949: check_return: Calling function "fstat" without checking return value (as is done elsewhere 12 out of 15 times). /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:1949: unchecked_value: No check of the return value of "fstat(fileno(f), &sbuf)". Error: CHECKED_RETURN: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/tv.c:121: example_assign: Assigning: "sts" = return value from "nanosleep(&delay, &left)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/tv.c:122: example_checked: "sts" has its value checked in "sts == 0". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/tv.c:72: example_assign: Assigning: "sts" = return value from "nanosleep(&delay, &left)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/tv.c:73: example_checked: "sts" has its value checked in "sts == 0". /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/dstruct.c:281: example_assign: Assigning: "sts" = return value from "nanosleep(&ts, &tleft)". /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/dstruct.c:282: example_checked: "sts" has its value checked in "sts == 0". /builddir/build/BUILD/pcp-3.5.11/src/pmsleep/pmsleep.c:35: example_checked: "nanosleep(&rqt, NULL)" has its value checked in "0 != nanosleep(&rqt, NULL)". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/roomtemp/mlan/linuxlnk.c:260: check_return: Calling function "nanosleep" without checking return value (as is done elsewhere 4 out of 5 times). /builddir/build/BUILD/pcp-3.5.11/src/pmdas/roomtemp/mlan/linuxlnk.c:260: unchecked_value: No check of the return value of "nanosleep(&s, NULL)". Error: CHECKED_RETURN: /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/pmda.c:445: example_checked: "__pmSendResult(outfd, 0, result)" has its value checked in "(sts = __pmSendResult(outfd, 0, result)) >= 0". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/store.c:30: example_assign: Assigning: "sts" = return value from "__pmSendResult(ctxp->c_pmcd->pc_fd, __pmPtrToHandle(ctxp), result)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/store.c:31: example_checked: "sts" has its value checked in "sts < 0". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/dofetch.c:581: example_assign: Assigning: "sts" = return value from "__pmSendResult(cip->fd, 0, endResult)". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/dofetch.c:583: example_checked: "sts" has its value checked in "sts < 0". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/dostore.c:180: example_assign: Assigning: "s" = return value from "__pmSendResult(ap->inFd, cp - client, dResult[i])". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/dostore.c:181: example_checked: "s" has its value checked in "s >= 0". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/summary/mainloop.c:187: example_assign: Assigning: "st" = return value from "__pmSendResult(outfd, 0, result)". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/summary/mainloop.c:188: example_checked: "st" has its value checked in "st < 0". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_pmda/src/mainloop.c:207: check_return: Calling function "__pmSendResult" without checking return value (as is done elsewhere 7 out of 8 times). /builddir/build/BUILD/pcp-3.5.11/src/libpcp_pmda/src/mainloop.c:207: unchecked_value: No check of the return value of "__pmSendResult(pmda->e_outfd, 0, result)". Error: CHECKED_RETURN: /builddir/build/BUILD/pcp-3.5.11/src/cpan/PMDA/local.c:159: example_checked: "fstat(fd, &stats)" has its value checked in "fstat(fd, &stats) < 0". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:2174: example_checked: "fstat(fileno(f), &sbuf)" has its value checked in "fstat(fileno(f), &sbuf) < 0". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_pmda/src/help.c:104: example_checked: "fstat(hp->pag_fd, &sbuf)" has its value checked in "fstat(hp->pag_fd, &sbuf) < 0". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/weblog/weblog.c:1308: example_checked: "fstat(theFile->filePtr, &theFile->fileStat)" has its value checked in "fstat(theFile->filePtr, &theFile->fileStat) < 0". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/weblog/weblog.c:1326: example_checked: "fstat(theFile->filePtr, &theFile->fileStat)" has its value checked in "fstat(theFile->filePtr, &theFile->fileStat) < 0". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/logger/event.c:52: check_return: Calling function "fstat" without checking return value (as is done elsewhere 12 out of 15 times). /builddir/build/BUILD/pcp-3.5.11/src/pmdas/logger/event.c:52: unchecked_value: No check of the return value of "fstat(fd, &(logfiles + i).pathstat)". Error: CHECKED_RETURN: /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/dopdu.c:416: example_checked: "__pmOptFetchDel(&tp->t_fetch, rqp)" has its value checked in "(sts = __pmOptFetchDel(&tp->t_fetch, rqp)) < 0". /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/dopdu.c:383: example_checked: "__pmOptFetchDel(&tp->t_fetch, rqp)" has its value checked in "(sts = __pmOptFetchDel(&tp->t_fetch, rqp)) < 0". /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/dopdu.c:496: example_checked: "__pmOptFetchDel(&ctp->t_fetch, rqp)" has its value checked in "(sts = __pmOptFetchDel(&ctp->t_fetch, rqp)) < 0". /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/dopdu.c:535: example_checked: "__pmOptFetchDel(&ctp->t_fetch, rqp)" has its value checked in "(sts = __pmOptFetchDel(&ctp->t_fetch, rqp)) < 0". /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/dopdu.c:581: example_checked: "__pmOptFetchDel(&ntp->t_fetch, rqp)" has its value checked in "(sts = __pmOptFetchDel(&ntp->t_fetch, rqp)) < 0". /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/check.c:42: check_return: Calling function "__pmOptFetchDel" without checking return value (as is done elsewhere 6 out of 7 times). /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/check.c:42: unchecked_value: No check of the return value of "__pmOptFetchDel(&tp->t_fetch, rqp)". Error: CHECKED_RETURN: /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/lex.l:244: example_checked: "fgetc(yyin)" has its value checked in "(inch = fgetc(yyin)) != -1". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/checksum.c:29: example_checked: "fgetc(f)" has its value checked in "(c = fgetc(f)) != -1". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:1249: example_checked: "fgetc(fp)" has its value checked in "(c = fgetc(fp)) != -1". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/pmcd.c:86: example_checked: "fgetc(log)" has its value checked in "(c = fgetc(log)) != -1". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/cisco/probe.c:45: example_assign: Assigning: "c" = return value from "fgetc(f)". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/cisco/probe.c:46: example_checked: "c" has its value checked in "c == -1". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/app2.c:153: check_return: Calling function "fgetc" without checking return value (as is done elsewhere 18 out of 20 times). /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/app2.c:153: unchecked_value: No check of the return value of "fgetc(foo)". Error: CHECKED_RETURN: /builddir/build/BUILD/pcp-3.5.11/src/cpan/PMDA/local.c:159: example_checked: "fstat(fd, &stats)" has its value checked in "fstat(fd, &stats) < 0". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:2174: example_checked: "fstat(fileno(f), &sbuf)" has its value checked in "fstat(fileno(f), &sbuf) < 0". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_pmda/src/help.c:104: example_checked: "fstat(hp->pag_fd, &sbuf)" has its value checked in "fstat(hp->pag_fd, &sbuf) < 0". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/weblog/weblog.c:1308: example_checked: "fstat(theFile->filePtr, &theFile->fileStat)" has its value checked in "fstat(theFile->filePtr, &theFile->fileStat) < 0". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/weblog/weblog.c:1326: example_checked: "fstat(theFile->filePtr, &theFile->fileStat)" has its value checked in "fstat(theFile->filePtr, &theFile->fileStat) < 0". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/mmv/mmvdump.c:338: check_return: Calling function "fstat" without checking return value (as is done elsewhere 12 out of 15 times). /builddir/build/BUILD/pcp-3.5.11/src/pmdas/mmv/mmvdump.c:338: unchecked_value: No check of the return value of "fstat(fd, &s)". Error: CHECKED_RETURN: /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/lex.l:244: example_checked: "fgetc(yyin)" has its value checked in "(inch = fgetc(yyin)) != -1". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/checksum.c:29: example_checked: "fgetc(f)" has its value checked in "(c = fgetc(f)) != -1". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:1249: example_checked: "fgetc(fp)" has its value checked in "(c = fgetc(fp)) != -1". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/pmcd.c:86: example_checked: "fgetc(log)" has its value checked in "(c = fgetc(log)) != -1". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/cisco/probe.c:45: example_assign: Assigning: "c" = return value from "fgetc(f)". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/cisco/probe.c:46: example_checked: "c" has its value checked in "c == -1". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/app3.c:153: check_return: Calling function "fgetc" without checking return value (as is done elsewhere 18 out of 20 times). /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/app3.c:153: unchecked_value: No check of the return value of "fgetc(foo)". Error: CHECKED_RETURN: /builddir/build/BUILD/pcp-3.5.11/src/cpan/PMDA/local.c:151: example_assign: Assigning: "fd" = return value from "open(file, 2048)". /builddir/build/BUILD/pcp-3.5.11/src/cpan/PMDA/local.c:155: example_checked: "fd" has its value checked in "fd < 0". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/util.c:947: example_checked: "open(fname, 1218, 384)" has its value checked in "(fd = open(fname, 1218, 384)) < 0". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_mmv/src/mmv_stats.c:42: example_assign: Assigning: "fd" = return value from "open(path, 194, 420)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_mmv/src/mmv_stats.c:43: example_checked: "fd" has its value checked in "fd < 0". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/cgroups.c:150: example_checked: "open(buffer, 0)" has its value checked in "(fd = open(buffer, 0)) < 0". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/getinfo.c:87: example_assign: Assigning: "fd" = return value from "open(rfiles[r], 0)". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/getinfo.c:91: example_checked: "fd" has its value checked in "fd != -1". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/shping/shping.c:250: check_return: Calling function "open" without checking return value (as is done elsewhere 38 out of 45 times). /builddir/build/BUILD/pcp-3.5.11/src/pmdas/shping/shping.c:250: unchecked_value: No check of the return value of "open("/dev/null", 0, 0)". Error: CHECKED_RETURN: /builddir/build/BUILD/pcp-3.5.11/src/cpan/PMDA/local.c:151: example_assign: Assigning: "fd" = return value from "open(file, 2048)". /builddir/build/BUILD/pcp-3.5.11/src/cpan/PMDA/local.c:155: example_checked: "fd" has its value checked in "fd < 0". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/util.c:947: example_checked: "open(fname, 1218, 384)" has its value checked in "(fd = open(fname, 1218, 384)) < 0". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_mmv/src/mmv_stats.c:42: example_assign: Assigning: "fd" = return value from "open(path, 194, 420)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_mmv/src/mmv_stats.c:43: example_checked: "fd" has its value checked in "fd < 0". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/cgroups.c:150: example_checked: "open(buffer, 0)" has its value checked in "(fd = open(buffer, 0)) < 0". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/getinfo.c:87: example_assign: Assigning: "fd" = return value from "open(rfiles[r], 0)". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/getinfo.c:91: example_checked: "fd" has its value checked in "fd != -1". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/shping/shping.c:263: check_return: Calling function "open" without checking return value (as is done elsewhere 38 out of 45 times). /builddir/build/BUILD/pcp-3.5.11/src/pmdas/shping/shping.c:263: unchecked_value: No check of the return value of "open("/dev/null", 1, 0)". Error: CONSTANT_EXPRESSION_RESULT: /builddir/build/BUILD/pcp-3.5.11/src/pmlogreduce/scan.c:219: result_independent_of_operands: (sts == pmSetMode(2, &last_tv, 0)) < 0 is always false regardless of the values of its operands. This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT: /builddir/build/BUILD/pcp-3.5.11/src/pmlogreduce/indom.c:71: result_independent_of_operands: (sts == __pmLogPutInDom(&logctl, mp->idp->indom, ¤t, mp->idp->numinst, mp->idp->inst, mp->idp->name)) < 0 is always false regardless of the values of its operands. This occurs as the logical operand of if. Error: CONSTANT_EXPRESSION_RESULT: /builddir/build/BUILD/pcp-3.5.11/src/pmlogreduce/dometric.c:106: result_independent_of_operands: (sts == __pmLogPutDesc(&logctl, &mp->odesc, 1, namelist + numpmid)) < 0 is always false regardless of the values of its operands. This occurs as the logical operand of if. Error: DEADCODE: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1048: dead_error_condition: On this path, the condition "version == 0" cannot be true. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1043: const: After this line, the value of "version" is equal to 1. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1043: const: After this line, the value of "version" is equal to 2. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1022: assignment: Assigning: "version" = "1". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1024: assignment: Assigning: "version" = "2". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1043: equality_cond: Condition "version == -1" is evaluated as false. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1053: dead_error_line: Execution cannot reach this statement "goto bad;". Error: DEADCODE: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1245: dead_error_condition: On this path, the switch value "state" cannot reach the default case. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1221: const: After this line, the value of "state" is equal to 0. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1326: const: After this line, the value of "state" is equal to 0. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1314: const: After this line, the value of "state" is equal to 1. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1326: const: After this line, the value of "state" is equal to 2. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1314: const: After this line, the value of "state" is equal to 3. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1221: assignment: Assigning: "state" = "0". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1268: assignment: Assigning: "state" = "0". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1291: assignment: Assigning: "state" = "0". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1252: assignment: Assigning: "state" = "1". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1260: assignment: Assigning: "state" = "2". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1282: assignment: Assigning: "state" = "2". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1265: assignment: Assigning: "state" = "3". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1326: equality_cond: Condition "state == 0" is evaluated as false. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1305: equality_cond: Condition "state == 1" is evaluated as false. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1314: equality_cond: Condition "state == 1" is evaluated as false. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1305: equality_cond: Condition "state == 3" is evaluated as false. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1326: new_values: Noticing condition "state == 0". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1305: new_values: Noticing condition "state == 1". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1314: new_values: Noticing condition "state == 1". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1305: new_values: Noticing condition "state == 3". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1299: dead_error_begin: Execution cannot reach this statement "default:". Error: DEADCODE: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_result.c:387: dead_error_condition: On this path, the condition "pr != NULL" cannot be true. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_result.c:182: const: After this line, the value of "pr" is equal to 0. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_result.c:182: new_values: Noticing condition "(pr = (pmResult *)malloc(32UL + (numpmid - 1) * 8UL)) == NULL". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_result.c:389: dead_error_begin: Execution cannot reach this statement "pr->numpmid = i;". Error: DEADCODE: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:2255: dead_error_condition: On this path, the condition "np != NULL" cannot be false. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:2232: cannot_single: After this line (or expression), the value of "np" cannot be 0. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:2281: dead_error_line: Execution cannot reach this statement "i = 0;". Error: DEADCODE: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/profile.c:209: dead_error_condition: On this path, the condition "instlist == NULL" cannot be false. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/profile.c:201: const: After this line, the value of "instlist" is equal to 0. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/profile.c:201: new_values: Noticing condition "instlist != NULL". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/profile.c:209: dead_error_line: Execution cannot reach this expression "instlist_len == 0" inside statement "if (indom == 4294967295U &&...". Error: DEADCODE: /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:968: dead_error_condition: On this path, the condition "c == 10" cannot be true. /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:955: const: After this line, the value of "c" is equal to 34. /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:955: new_values: Noticing condition "c != 34". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:968: dead_error_line: Execution cannot reach this expression "end != 10" inside statement "if (c == 10 && end != 10)li...". Error: DEADCODE: /builddir/build/BUILD/pcp-3.5.11/src/libpcp_trace/src/trace.c:820: dead_error_condition: On this path, the condition "sts == 4" cannot be true. /builddir/build/BUILD/pcp-3.5.11/src/libpcp_trace/src/trace.c:684: const: After this line, the value of "sts" is equal to 0. /builddir/build/BUILD/pcp-3.5.11/src/libpcp_trace/src/trace.c:684: assignment: Assigning: "sts" = "0". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_trace/src/trace.c:821: dead_error_line: Execution cannot reach this statement "sts = -110;". Error: DEADCODE: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:2631: dead_error_condition: On this path, the condition "sts == 0" cannot be true. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:2631: cannot_single: After this line (or expression), the value of "sts" cannot be 0. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:2611: at_least: After this line, the value of "sts" is at least 1. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:2631: at_least: After this line, the value of "sts" is at least 1. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:2631: equality_cond: Condition "sts == 0" is evaluated as false. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:2611: new_values: Noticing condition "sts > 0". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:2632: dead_error_line: Execution cannot reach this statement "sts = n;". Error: DEADCODE: /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1907: dead_error_condition: On this path, the condition "c == 10" cannot be true. /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1891: const: After this line, the value of "c" is equal to 34. /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1891: new_values: Noticing condition "c != 34". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1908: dead_error_begin: Execution cannot reach this statement "linenum++;". Error: DEADCODE: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/profile.c:284: dead_error_condition: On this path, the condition "instlist == NULL" cannot be false. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/profile.c:276: const: After this line, the value of "instlist" is equal to 0. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/profile.c:276: new_values: Noticing condition "instlist != NULL". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/profile.c:284: dead_error_line: Execution cannot reach this expression "instlist_len == 0" inside statement "if (indom == 4294967295U &&...". Error: DEADCODE: /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/pmda.c:679: dead_error_condition: On this path, the condition "sts != -12397" cannot be true. /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/pmda.c:678: const: After this line, the value of "sts" is equal to -12397. /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/pmda.c:675: assignment: Assigning: "sts" = "-12397". /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/pmda.c:678: new_values: Noticing condition "sts < 0". /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/pmda.c:680: dead_error_line: Execution cannot reach this statement "printf("Error: Decoding val...". Error: DEADCODE: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/spec.c:215: dead_error_condition: On this path, the condition "msp" cannot be true. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/spec.c:77: const: After this line, the value of "msp" is equal to 0. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/spec.c:77: assignment: Assigning: "msp" = "NULL". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/spec.c:216: dead_error_line: Execution cannot reach this statement "pmFreeMetricSpec(msp);". Error: DEADCODE: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/pmda.c:6776: dead_error_condition: On this path, the condition "minor <= 4" cannot be true. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/pmda.c:6776: at_least: After this line, the value of "minor" is at least 5. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/pmda.c:6770: new_values: Noticing condition "minor <= 4". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/pmda.c:6776: new_values: Noticing condition "minor >= 0". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/pmda.c:6777: dead_error_begin: Execution cannot reach this statement "_pm_cputime_size = 4;". Error: FORWARD_NULL: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:530: assign_zero: Assigning: "lnp" = 0. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:535: var_deref_op: Dereferencing null variable "lnp". Error: FORWARD_NULL: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_pmns.c:284: assign_zero: Assigning: "status" = 0. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_pmns.c:343: var_deref_op: Dereferencing null variable "status". Error: FORWARD_NULL: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_pmns.c:291: var_compare_op: Comparing "statuslist" to null implies that "statuslist" might be null. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_pmns.c:364: var_deref_op: Dereferencing null variable "statuslist". Error: FORWARD_NULL: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:753: var_compare_op: Comparing "np->left" to null implies that "np->left" might be null. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:763: var_deref_op: Dereferencing null variable "np->left". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:811: var_deref_model: Passing null variable "np->left" to function "map_desc", which dereferences it. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:741: deref_parm_in_call: Function "report_sem_error" dereferences parameter "np->left". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:398: deref_parm: Directly dereferencing parameter "np->left". Error: FORWARD_NULL: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive_fetch.c:475: var_compare_op: Comparing "np->left" to null implies that "np->left" might be null. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive_fetch.c:506: var_deref_op: Dereferencing null variable "np->left". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive_fetch.c:622: var_deref_op: Dereferencing null variable "np->left". Error: FORWARD_NULL: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:1631: assign_zero: Assigning: "*result" = 0. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:1646: var_deref_op: Dereferencing null variable "*result". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:1688: var_deref_op: Dereferencing null variable "*result". Error: FORWARD_NULL: /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:648: assign_zero: Assigning: "a" = 0. /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:652: var_deref_op: Dereferencing null variable "a". Error: FORWARD_NULL: /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/util.c:189: var_compare_op: Comparing "found" to null implies that "found" might be null. /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/util.c:193: var_deref_op: Dereferencing null variable "found". Error: FORWARD_NULL: /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/util.c:271: var_compare_op: Comparing "base" to null implies that "base" might be null. /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/util.c:282: var_deref_model: Passing null variable "base" to function "strlen", which dereferences it. (The dereference is assumed on the basis of the 'nonnull' parameter attribute.) Error: FORWARD_NULL: /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/util.c:261: var_compare_op: Comparing "dname" to null implies that "dname" might be null. /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/util.c:266: var_deref_model: Passing null variable "dname" to function "opendir", which dereferences it. (The dereference is assumed on the basis of the 'nonnull' parameter attribute.) Error: FORWARD_NULL: /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/show.c:419: var_compare_op: Comparing "x->arg1" to null implies that "x->arg1" might be null. /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/show.c:465: var_deref_op: Dereferencing null variable "x->arg1". Error: FORWARD_NULL: /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:686: assign_zero: Assigning: "prev" = 0. /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:690: var_deref_model: Passing null variable "prev" to function "atom_defaults", which dereferences it. /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:661: deref_parm: Directly dereferencing parameter "p". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:699: var_deref_model: Passing null variable "prev" to function "atom_defaults", which dereferences it. /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:661: deref_parm: Directly dereferencing parameter "p". Error: FORWARD_NULL: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/optfetch.c:457: var_compare_op: Comparing "idp" to null implies that "idp" might be null. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/optfetch.c:490: var_deref_op: Dereferencing null variable "idp". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/optfetch.c:494: var_deref_op: Dereferencing null variable "idp". Error: FORWARD_NULL: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/optfetch.c:460: var_compare_op: Comparing "pmp" to null implies that "pmp" might be null. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/optfetch.c:476: var_deref_op: Dereferencing null variable "pmp". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/optfetch.c:490: var_deref_op: Dereferencing null variable "pmp". Error: FORWARD_NULL: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_lcontrol.c:121: var_compare_op: Comparing "req" to null implies that "req" might be null. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_lcontrol.c:123: var_deref_model: Passing null variable "req" to function "pmFreeResult", which dereferences it. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/freeresult.c:105: deref_parm_in_call: Function "__pmFreeResultValues" dereferences parameter "result". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/freeresult.c:31: deref_parm: Directly dereferencing parameter "result". Error: FORWARD_NULL: /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1206: assign_zero: Assigning: "rule" = 0. /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1224: var_deref_model: Passing null variable "rule" to function "read_atom", which dereferences it. /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1067: deref_parm_in_call: Function "alloc_atom" dereferences parameter "r". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:288: deref_parm: Directly dereferencing parameter "r". Error: FORWARD_NULL: /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/dopdu.c:598: var_compare_op: Comparing "hp" to null implies that "hp" might be null. /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/dopdu.c:602: var_deref_op: Dereferencing null variable "hp". Error: FORWARD_NULL: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/process/process.c:171: var_compare_op: Comparing "fp" to null implies that "fp" might be null. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/process/process.c:175: var_deref_model: Passing null variable "fp" to function "fgets", which dereferences it. Error: FORWARD_NULL: /builddir/build/BUILD/pcp-3.5.11/src/pmlogextract/metriclist.c:191: assign_zero: Assigning: "vlistp" = 0. /builddir/build/BUILD/pcp-3.5.11/src/pmlogextract/metriclist.c:285: var_deref_op: Dereferencing null variable "vlistp". Error: FORWARD_NULL: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/mounts/mounts.c:190: var_compare_op: Comparing "fp" to null implies that "fp" might be null. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/mounts/mounts.c:195: var_deref_model: Passing null variable "fp" to function "fgets", which dereferences it. Error: FORWARD_NULL: /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/pmda.c:638: assign_zero: Assigning: "endbuf" = 0. /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/pmda.c:682: var_deref_op: Dereferencing null variable "endbuf". Error: FORWARD_NULL: /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/metric.c:45: var_compare_op: Comparing "mp" to null implies that "mp" might be null. /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/metric.c:60: var_deref_op: Dereferencing null variable "mp". Error: FORWARD_NULL: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/lustrecomm/refresh_file.c:35: var_compare_op: Comparing "f_s->datap" to null implies that "f_s->datap" might be null. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/lustrecomm/refresh_file.c:64: var_deref_model: Passing null variable "f_s->datap" to function "read", which dereferences it. Error: FORWARD_NULL: /builddir/build/BUILD/pcp-3.5.11/src/pmns/pmnsdel.c:35: assign_zero: Assigning: "lastp" = 0. /builddir/build/BUILD/pcp-3.5.11/src/pmns/pmnsdel.c:81: var_deref_op: Dereferencing null variable "lastp". Error: FORWARD_NULL: /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/:1296: assign_zero: Assigning: "b" = 0. /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/:1298: var_deref_op: Dereferencing null variable "b". Error: FORWARD_NULL: /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/:1717: assign_zero: Assigning: "b" = 0. /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/:1719: var_deref_op: Dereferencing null variable "b". Error: FORWARD_NULL: /builddir/build/BUILD/pcp-3.5.11/src/pmlogextract/:1020: assign_zero: Assigning: "b" = 0. /builddir/build/BUILD/pcp-3.5.11/src/pmlogextract/:1022: var_deref_op: Dereferencing null variable "b". Error: FORWARD_NULL: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/loop.c:296: var_compare_op: Comparing "ss" to null implies that "ss" might be null. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/loop.c:299: var_deref_op: Dereferencing null variable "ss". Error: FORWARD_NULL: /builddir/build/BUILD/pcp-3.5.11/src/pmcpp/pmcpp.c:105: assign_zero: Assigning: "value" = 0. /builddir/build/BUILD/pcp-3.5.11/src/pmcpp/pmcpp.c:252: var_deref_model: Passing null variable "value" to function "strncpy", which dereferences it. (The dereference is assumed on the basis of the 'nonnull' parameter attribute.) Error: FORWARD_NULL: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_partitions.c:419: assign_zero: Assigning: "p" = 0. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_partitions.c:434: var_deref_op: Dereferencing null variable "p". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_partitions.c:437: var_deref_op: Dereferencing null variable "p". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_partitions.c:440: var_deref_op: Dereferencing null variable "p". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_partitions.c:443: var_deref_op: Dereferencing null variable "p". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_partitions.c:446: var_deref_op: Dereferencing null variable "p". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_partitions.c:449: var_deref_op: Dereferencing null variable "p". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_partitions.c:452: var_deref_op: Dereferencing null variable "p". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_partitions.c:455: var_deref_op: Dereferencing null variable "p". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_partitions.c:458: var_deref_op: Dereferencing null variable "p". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_partitions.c:461: var_deref_op: Dereferencing null variable "p". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_partitions.c:464: var_deref_op: Dereferencing null variable "p". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_partitions.c:467: var_deref_op: Dereferencing null variable "p". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_partitions.c:470: var_deref_op: Dereferencing null variable "p". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_partitions.c:473: var_deref_op: Dereferencing null variable "p". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_partitions.c:534: var_deref_op: Dereferencing null variable "p". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_partitions.c:537: var_deref_op: Dereferencing null variable "p". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_partitions.c:540: var_deref_op: Dereferencing null variable "p". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_partitions.c:544: var_deref_op: Dereferencing null variable "p". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_partitions.c:547: var_deref_op: Dereferencing null variable "p". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_partitions.c:550: var_deref_op: Dereferencing null variable "p". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_partitions.c:554: var_deref_op: Dereferencing null variable "p". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_partitions.c:557: var_deref_op: Dereferencing null variable "p". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_partitions.c:560: var_deref_op: Dereferencing null variable "p". Error: FORWARD_NULL: /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/:1560: assign_zero: Assigning: "b" = 0. /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/:1562: var_deref_op: Dereferencing null variable "b". Error: FORWARD_NULL: /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/dso.c:303: var_compare_op: Comparing "result" to null implies that "result" might be null. /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/dso.c:310: var_deref_model: Passing null variable "result" to function "_dbDumpResult", which dereferences it. /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/util.c:510: deref_parm: Directly dereferencing parameter "resp". /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/dso.c:314: var_deref_model: Passing null variable "result" to function "__pmDumpResult", which dereferences it. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/util.c:391: deref_parm: Directly dereferencing parameter "resp". Error: FORWARD_NULL: /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/dso.c:404: var_compare_op: Comparing "result" to null implies that "result" might be null. /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/dso.c:413: var_deref_model: Passing null variable "result" to function "_dbDumpResult", which dereferences it. /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/util.c:510: deref_parm: Directly dereferencing parameter "resp". /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/dso.c:416: var_deref_model: Passing null variable "result" to function "fillResult", which dereferences it. /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/pmda.c:689: deref_parm: Directly dereferencing parameter "result". /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/dso.c:419: var_deref_model: Passing null variable "result" to function "pmFreeResult", which dereferences it. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/freeresult.c:105: deref_parm_in_call: Function "__pmFreeResultValues" dereferences parameter "result". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/freeresult.c:31: deref_parm: Directly dereferencing parameter "result". Error: FORWARD_NULL: /builddir/build/BUILD/pcp-3.5.11/src/pmlc/actions.c:590: assign_zero: Assigning: "start" = 0. /builddir/build/BUILD/pcp-3.5.11/src/pmlc/actions.c:625: var_deref_op: Dereferencing null variable "start". Error: FORWARD_NULL: /builddir/build/BUILD/pcp-3.5.11/src/pmlc/actions.c:589: assign_zero: Assigning: "tzlogger" = 0. /builddir/build/BUILD/pcp-3.5.11/src/pmlc/actions.c:615: var_deref_model: Passing null variable "tzlogger" to function "pmNewZone", which dereferences it. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/tz.c:313: deref_parm_in_call: Function "strlen" dereferences parameter "tz". (The dereference is assumed on the basis of the 'nonnull' parameter attribute.) Error: FORWARD_NULL: /builddir/build/BUILD/pcp-3.5.11/src/pmlc/:1352: assign_zero: Assigning: "b" = 0. /builddir/build/BUILD/pcp-3.5.11/src/pmlc/:1354: var_deref_op: Dereferencing null variable "b". Error: FORWARD_NULL: /builddir/build/BUILD/pcp-3.5.11/src/pmstat/pmstat.c:359: assign_zero: Assigning: "namelst" = 0. /builddir/build/BUILD/pcp-3.5.11/src/pmstat/pmstat.c:403: var_deref_op: Dereferencing null variable "namelst". /builddir/build/BUILD/pcp-3.5.11/src/pmstat/pmstat.c:487: var_deref_op: Dereferencing null variable "namelst". Error: FORWARD_NULL: /builddir/build/BUILD/pcp-3.5.11/src/pmlogreduce/dometric.c:131: var_compare_op: Comparing "mp->idp" to null implies that "mp->idp" might be null. /builddir/build/BUILD/pcp-3.5.11/src/pmlogreduce/dometric.c:132: var_deref_op: Dereferencing null variable "mp->idp". Error: FORWARD_NULL: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/pmcd/src/pmcd.c:1060: assign_zero: Assigning: "dp" = 0. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/pmcd/src/pmcd.c:1237: var_deref_op: Dereferencing null variable "dp". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/pmcd/src/pmcd.c:1360: var_deref_op: Dereferencing null variable "dp". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/pmcd/src/pmcd.c:1425: var_deref_op: Dereferencing null variable "dp". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/pmcd/src/pmcd.c:1479: var_deref_op: Dereferencing null variable "dp". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/pmcd/src/pmcd.c:1498: var_deref_op: Dereferencing null variable "dp". Error: MISSING_BREAK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp_pmcd/src/trace.c:80: unterminated_case: This case (value 8) is not terminated by a 'break' statement. /builddir/build/BUILD/pcp-3.5.11/src/libpcp_pmcd/src/trace.c:83: fallthrough: The above case falls through to this one. Error: MISSING_BREAK: /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/eval.c:342: unterminated_case: This case (value 90) is not terminated by a 'break' statement. /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/eval.c:345: fallthrough: The above case falls through to this one. Error: MISSING_BREAK: /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/lexicon.c:769: unterminated_case: This case (value 36) is not terminated by a 'break' statement. /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/lexicon.c:792: fallthrough: The above case falls through to this one. Error: MISSING_BREAK: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/sample/src/sample.c:2618: unterminated_case: This case (value 90) is not terminated by a 'break' statement. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/sample/src/sample.c:2621: fallthrough: The above case falls through to this one. Error: NEGATIVE_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1030: negative_return_fn: Function "ftell(fbin)" returns a negative number. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1030: var_assign: Assigning: signed variable "endsum" = "ftell". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1041: negative_returns: "endsum" is passed to a parameter that cannot be negative. Error: NEGATIVE_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/err.c:166: negative_returns: A negative constant "-1" is passed as an argument to a parameter that cannot be negative. Error: NEGATIVE_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:296: negative_return_fn: Function "mkstemp(tmpname)" returns a negative number. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:296: var_assign: Assigning: signed variable "fd" = "mkstemp". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:303: negative_returns: "fd" is passed to a parameter that cannot be negative. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:252: neg_sink_parm_call: Passing "fd" to "write", which cannot accept a negative. Error: NEGATIVE_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:296: negative_return_fn: Function "mkstemp(tmpname)" returns a negative number. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:296: var_assign: Assigning: signed variable "fd" = "mkstemp". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:310: negative_returns: "fd" is passed to a parameter that cannot be negative. Error: NEGATIVE_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:1344: negative_return_fn: Function "ftell(f)" returns a negative number. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:1344: var_assign: Assigning: signed variable "offset" = "ftell". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:1402: negative_returns: "offset" is passed to a parameter that cannot be negative. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:1473: negative_returns: "offset" is passed to a parameter that cannot be negative. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:1486: negative_returns: "offset" is passed to a parameter that cannot be negative. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:1509: negative_returns: "offset" is passed to a parameter that cannot be negative. Error: NEGATIVE_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:2167: negative_return_fn: Function "ftell(f)" returns a negative number. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:2167: var_assign: Assigning: signed variable "save" = "ftell". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:2284: negative_returns: "save" is passed to a parameter that cannot be negative. Error: NEGATIVE_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:2256: negative_return_fn: Function "ftell(f)" returns a negative number. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:2256: var_assign: Assigning: signed variable "offset" = "ftell". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:2264: negative_returns: "offset" is passed to a parameter that cannot be negative. Error: NEGATIVE_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/interp.c:694: negative_return_fn: Function "ftell(ctxp->c_archctl->ac_log->l_mfp)" returns a negative number. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/interp.c:694: var_assign: Assigning: signed variable "ctxp->c_archctl->ac_offset" = "ftell". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/interp.c:717: negative_returns: "ctxp->c_archctl->ac_offset" is passed to a parameter that cannot be negative. Error: NEGATIVE_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/weblog/weblog.c:1511: var_tested_neg: Assigning: "theFile->filePtr" = a negative value. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/weblog/weblog.c:1523: negative_returns: "theFile->filePtr" is passed to a parameter that cannot be negative. Error: NEGATIVE_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/weblog/weblog.c:1726: var_tested_neg: Assigning: "accessFile->filePtr" = a negative value. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/weblog/weblog.c:1726: negative_returns: "accessFile->filePtr" is passed to a parameter that cannot be negative. Error: NEGATIVE_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/weblog/weblog.c:2195: var_tested_neg: Assigning: "errorFile->filePtr" = a negative value. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/weblog/weblog.c:2195: negative_returns: "errorFile->filePtr" is passed to a parameter that cannot be negative. Error: NEGATIVE_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/util.c:187: negative_return_fn: Function "dup(oldfd)" returns a negative number. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/util.c:187: var_assign: Assigning: signed variable "dupoldfd" = "dup". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/util.c:224: negative_returns: "dupoldfd" is passed to a parameter that cannot be negative. Error: NEGATIVE_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/logger/event.c:350: var_tested_neg: Assigning: "logfile->fd" = a negative value. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/logger/event.c:359: negative_returns: "logfile->fd" is passed to a parameter that cannot be negative. Error: NEGATIVE_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/logger/event.c:360: negative_return_fn: Function "open(logfile->pathname, 2048)" returns a negative number. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/logger/event.c:360: var_assign: Assigning: signed variable "fd" = "open". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/logger/event.c:364: var_assign: Assigning: signed variable "logfile->fd" = "fd". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/logger/event.c:374: negative_returns: "logfile->fd" is passed to a parameter that cannot be negative. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/logger/event.c:290: neg_sink_parm_call: Passing "logfile->fd" to "read", which cannot accept a negative. Error: NEGATIVE_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/pmlogextract/logio.c:39: negative_return_fn: Function "ftell(f)" returns a negative number. /builddir/build/BUILD/pcp-3.5.11/src/pmlogextract/logio.c:39: var_assign: Assigning: signed variable "offset" = "ftell". /builddir/build/BUILD/pcp-3.5.11/src/pmlogextract/logio.c:55: negative_returns: "offset" is passed to a parameter that cannot be negative. /builddir/build/BUILD/pcp-3.5.11/src/pmlogextract/logio.c:93: negative_returns: "offset" is passed to a parameter that cannot be negative. Error: NEGATIVE_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/pmlogrewrite.c:160: negative_return_fn: Function "ftell(outarch.logctl.l_mdfp)" returns a negative number. /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/pmlogrewrite.c:160: var_assign: Assigning: signed variable "old_offset" = "ftell". /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/pmlogrewrite.c:166: negative_returns: "(long)old_offset" is passed to a parameter that cannot be negative. Error: NEGATIVE_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/pmlogrewrite.c:169: negative_return_fn: Function "ftell(outarch.logctl.l_mfp)" returns a negative number. /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/pmlogrewrite.c:169: var_assign: Assigning: signed variable "old_offset" = "ftell". /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/pmlogrewrite.c:175: negative_returns: "(long)old_offset" is passed to a parameter that cannot be negative. Error: NEGATIVE_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/pmlogrewrite.c:151: negative_return_fn: Function "ftell(outarch.logctl.l_tifp)" returns a negative number. /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/pmlogrewrite.c:151: var_assign: Assigning: signed variable "old_offset" = "ftell". /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/pmlogrewrite.c:157: negative_returns: "(long)old_offset" is passed to a parameter that cannot be negative. Error: NEGATIVE_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_pid.c:287: negative_return_fn: Function "open(buf, 0)" returns a negative number. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_pid.c:287: var_assign: Assigning: signed variable "fd" = "open". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_pid.c:306: negative_returns: "fd" is passed to a parameter that cannot be negative. Error: NEGATIVE_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_pid.c:312: negative_return_fn: Function "open(buf, 0)" returns a negative number. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_pid.c:312: var_assign: Assigning: signed variable "fd" = "open". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_pid.c:332: negative_returns: "fd" is passed to a parameter that cannot be negative. Error: NEGATIVE_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_pid.c:449: negative_return_fn: Function "open(buf, 0)" returns a negative number. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_pid.c:449: var_assign: Assigning: signed variable "fd" = "open". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_pid.c:468: negative_returns: "fd" is passed to a parameter that cannot be negative. Error: NEGATIVE_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/libpcp_mmv/src/mmv_stats.c:368: var_tested_neg: Assigning: "sbuf.st_size" = a negative value. /builddir/build/BUILD/pcp-3.5.11/src/libpcp_mmv/src/mmv_stats.c:371: negative_returns: "sbuf.st_size" is passed to a parameter that cannot be negative. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/util.c:1419: neg_sink_parm_call: Passing "sz" to "munmap", which cannot accept a negative. Error: NEGATIVE_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/pmdumplog/pmdumplog.c:424: negative_return_fn: Function "ftell(f)" returns a negative number. /builddir/build/BUILD/pcp-3.5.11/src/pmdumplog/pmdumplog.c:424: var_assign: Assigning: signed variable "old" = "ftell". /builddir/build/BUILD/pcp-3.5.11/src/pmdumplog/pmdumplog.c:456: negative_returns: "old" is passed to a parameter that cannot be negative. Error: NEGATIVE_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/cisco/telnet.c:425: negative_return_fn: Function "dup(fd)" returns a negative number. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/cisco/telnet.c:425: negative_returns: "dup(fd)" is passed to a parameter that cannot be negative. Error: NEGATIVE_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/cisco/probe.c:116: negative_return_fn: Function "dup(fd)" returns a negative number. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/cisco/probe.c:116: negative_returns: "dup(fd)" is passed to a parameter that cannot be negative. Error: NEGATIVE_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/pmlogextract/pmlogextract.c:1534: negative_return_fn: Function "ftell(logctl.l_mdfp)" returns a negative number. /builddir/build/BUILD/pcp-3.5.11/src/pmlogextract/pmlogextract.c:1534: var_assign: Assigning: signed variable "new_meta_offset" = "ftell". /builddir/build/BUILD/pcp-3.5.11/src/pmlogextract/pmlogextract.c:1542: negative_returns: "(long)new_meta_offset" is passed to a parameter that cannot be negative. Error: NEGATIVE_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/pmlogextract/pmlogextract.c:1502: negative_return_fn: Function "ftell(logctl.l_mfp)" returns a negative number. /builddir/build/BUILD/pcp-3.5.11/src/pmlogextract/pmlogextract.c:1502: var_assign: Assigning: signed variable "old_log_offset" = "ftell". /builddir/build/BUILD/pcp-3.5.11/src/pmlogextract/pmlogextract.c:1536: negative_returns: "(long)old_log_offset" is passed to a parameter that cannot be negative. Error: NEGATIVE_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/pmlogextract/pmlogextract.c:1533: negative_return_fn: Function "ftell(logctl.l_mfp)" returns a negative number. /builddir/build/BUILD/pcp-3.5.11/src/pmlogextract/pmlogextract.c:1533: var_assign: Assigning: signed variable "new_log_offset" = "ftell". /builddir/build/BUILD/pcp-3.5.11/src/pmlogextract/pmlogextract.c:1541: negative_returns: "(long)new_log_offset" is passed to a parameter that cannot be negative. Error: NEGATIVE_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/cpan/PMDA/PMDA.xs:1000: negative_return_fn: Function "local_files_get_descriptor(id)" returns a negative number. /builddir/build/BUILD/pcp-3.5.11/src/cpan/PMDA/local.c:216: return_negative_constant: Explicitly returning negative value "-1". /builddir/build/BUILD/pcp-3.5.11/src/cpan/PMDA/PMDA.xs:1000: negative_returns: "local_files_get_descriptor(id)" is passed to a parameter that cannot be negative. Error: NEGATIVE_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/logio.c:39: negative_return_fn: Function "ftell(f)" returns a negative number. /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/logio.c:39: var_assign: Assigning: signed variable "offset" = "ftell". /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/logio.c:55: negative_returns: "offset" is passed to a parameter that cannot be negative. /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/logio.c:93: negative_returns: "offset" is passed to a parameter that cannot be negative. Error: NEGATIVE_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/libpcp_gui/src/record.c:125: negative_return_fn: Function "mkstemp(tbuf)" returns a negative number. /builddir/build/BUILD/pcp-3.5.11/src/libpcp_gui/src/record.c:125: var_assign: Assigning: signed variable "fd" = "mkstemp". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_gui/src/record.c:158: negative_returns: "fd" is passed to a parameter that cannot be negative. Error: NEGATIVE_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/callback.c:515: negative_return_fn: Function "ftell(logctl.l_mdfp)" returns a negative number. /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/callback.c:515: var_assign: Assigning: signed variable "old_meta_offset" = "ftell". /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/callback.c:642: negative_returns: "old_meta_offset" is passed to a parameter that cannot be negative. Error: NEGATIVE_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/callback.c:640: negative_return_fn: Function "ftell(logctl.l_mdfp)" returns a negative number. /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/callback.c:640: var_assign: Assigning: signed variable "new_meta_offset" = "ftell". /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/callback.c:650: negative_returns: "new_meta_offset" is passed to a parameter that cannot be negative. Error: NEGATIVE_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/callback.c:639: negative_return_fn: Function "ftell(logctl.l_mfp)" returns a negative number. /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/callback.c:639: var_assign: Assigning: signed variable "new_offset" = "ftell". /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/callback.c:649: negative_returns: "new_offset" is passed to a parameter that cannot be negative. Error: NEGATIVE_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/pmlogreduce/logio.c:38: negative_return_fn: Function "ftell(f)" returns a negative number. /builddir/build/BUILD/pcp-3.5.11/src/pmlogreduce/logio.c:38: var_assign: Assigning: signed variable "offset" = "ftell". /builddir/build/BUILD/pcp-3.5.11/src/pmlogreduce/logio.c:54: negative_returns: "offset" is passed to a parameter that cannot be negative. /builddir/build/BUILD/pcp-3.5.11/src/pmlogreduce/logio.c:92: negative_returns: "offset" is passed to a parameter that cannot be negative. Error: NO_EFFECT: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/units.c:954: array_null: Comparing an array to null is not useful: "ival->value.pval->vbuf == NULL". Error: NO_EFFECT: /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/dopdus.c:515: unsigned_compare: This less-than-zero comparison of an unsigned value is never true. "idlist[i] < 0U". Error: NO_EFFECT: /builddir/build/BUILD/pcp-3.5.11/src/cpan/MMV/MMV.xs:120: unsigned_compare: This less-than-zero comparison of an unsigned value is never true. "indom->count < 0U". Error: NO_EFFECT: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/logger/logger.c:166: unsigned_compare: This less-than-zero comparison of an unsigned value is never true. "item < 0U". Error: NO_EFFECT: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/lmsensors/lmsensors.c:652: unsigned_compare: This less-than-zero comparison of an unsigned value is never true. "idp->cluster < 0". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/lmsensors/lmsensors.c:652: unsigned_compare: This less-than-zero comparison of an unsigned value is never true. "idp->item < 0". Error: NO_EFFECT: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/pmda.c:6610: unsigned_compare: This greater-than-or-equal-to-zero comparison of an unsigned value is always true. "idp->cluster >= 0". Error: NO_EFFECT: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/lustrecomm/lustrecomm.c:138: unsigned_compare: This greater-than-or-equal-to-zero comparison of an unsigned value is always true. "idp->item >= 0". Error: NO_EFFECT: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/pmda.c:5294: unsigned_compare: This greater-than-or-equal-to-zero comparison of an unsigned value is always true. "idp->item >= 0". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/pmda.c:5540: unsigned_compare: This greater-than-or-equal-to-zero comparison of an unsigned value is always true. "inst >= 0U". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/pmda.c:5549: unsigned_compare: This greater-than-or-equal-to-zero comparison of an unsigned value is always true. "inst >= 0U". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/pmda.c:5574: unsigned_compare: This greater-than-or-equal-to-zero comparison of an unsigned value is always true. "inst >= 0U". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/pmda.c:5583: unsigned_compare: This greater-than-or-equal-to-zero comparison of an unsigned value is always true. "inst >= 0U". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/pmda.c:5608: unsigned_compare: This greater-than-or-equal-to-zero comparison of an unsigned value is always true. "inst >= 0U". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/pmda.c:5617: unsigned_compare: This greater-than-or-equal-to-zero comparison of an unsigned value is always true. "inst >= 0U". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/pmda.c:5764: unsigned_compare: This greater-than-or-equal-to-zero comparison of an unsigned value is always true. "idp->item >= 0". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/pmda.c:5785: unsigned_compare: This greater-than-or-equal-to-zero comparison of an unsigned value is always true. "idp->item >= 0". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/pmda.c:5801: unsigned_compare: This greater-than-or-equal-to-zero comparison of an unsigned value is always true. "idp->item >= 0". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/pmda.c:5876: unsigned_compare: This less-than-zero comparison of an unsigned value is never true. "inst < 0U". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/pmda.c:5970: unsigned_compare: This less-than-zero comparison of an unsigned value is never true. "inst < 0U". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/pmda.c:6322: unsigned_compare: This less-than-zero comparison of an unsigned value is never true. "inst < 0U". Error: NO_EFFECT: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/roomtemp/roomtemp.c:92: unsigned_compare: This less-than-zero comparison of an unsigned value is never true. "inst < 0U". Error: NO_EFFECT: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/mounts/mounts.c:322: unsigned_compare: This less-than-zero comparison of an unsigned value is never true. "idp->item < 0". Error: NULL_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/interp.c:303: example_assign: Assigning: "hp" = return value from "__pmHashSearch((int)logrp->vset[k]->pmid, hcp)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/interp.c:304: example_checked: "hp" has its value checked in "hp == NULL". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:464: example_checked: "__pmHashSearch((unsigned int)pmid, &lcp->l_hashpmid)" has its value checked in "(hp = __pmHashSearch((unsigned int)pmid, &lcp->l_hashpmid)) == NULL". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:556: example_checked: "__pmHashSearch((unsigned int)indom, &lcp->l_hashindom)" has its value checked in "(hp = __pmHashSearch((unsigned int)indom, &lcp->l_hashindom)) == NULL". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:161: example_checked: "__pmHashSearch((unsigned int)indom, &lcp->l_hashindom)" has its value checked in "(hp = __pmHashSearch((unsigned int)indom, &lcp->l_hashindom)) == NULL". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:847: example_checked: "__pmHashSearch((unsigned int)indom, &ctxp->c_archctl->ac_log->l_hashindom)" has its value checked in "(hp = __pmHashSearch((unsigned int)indom, &ctxp->c_archctl->ac_log->l_hashindom)) == NULL". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/interp.c:735: returned_null: Function "__pmHashSearch" returns null (checked 37 out of 37 times). /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:48: return_null: Explicitly returning NULL. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/interp.c:735: var_assigned: Assigning: "hp" = null return value from "__pmHashSearch". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/interp.c:736: dereference: Dereferencing a null pointer "hp". Error: NULL_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/interp.c:303: example_assign: Assigning: "hp" = return value from "__pmHashSearch((int)logrp->vset[k]->pmid, hcp)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/interp.c:304: example_checked: "hp" has its value checked in "hp == NULL". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:464: example_checked: "__pmHashSearch((unsigned int)pmid, &lcp->l_hashpmid)" has its value checked in "(hp = __pmHashSearch((unsigned int)pmid, &lcp->l_hashpmid)) == NULL". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:556: example_checked: "__pmHashSearch((unsigned int)indom, &lcp->l_hashindom)" has its value checked in "(hp = __pmHashSearch((unsigned int)indom, &lcp->l_hashindom)) == NULL". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:161: example_checked: "__pmHashSearch((unsigned int)indom, &lcp->l_hashindom)" has its value checked in "(hp = __pmHashSearch((unsigned int)indom, &lcp->l_hashindom)) == NULL". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:847: example_checked: "__pmHashSearch((unsigned int)indom, &ctxp->c_archctl->ac_log->l_hashindom)" has its value checked in "(hp = __pmHashSearch((unsigned int)indom, &ctxp->c_archctl->ac_log->l_hashindom)) == NULL". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/interp.c:846: returned_null: Function "__pmHashSearch" returns null (checked 37 out of 37 times). /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:48: return_null: Explicitly returning NULL. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/interp.c:846: var_assigned: Assigning: "hp" = null return value from "__pmHashSearch". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/interp.c:847: dereference: Dereferencing a null pointer "hp". Error: NULL_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/interp.c:303: example_assign: Assigning: "hp" = return value from "__pmHashSearch((int)logrp->vset[k]->pmid, hcp)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/interp.c:304: example_checked: "hp" has its value checked in "hp == NULL". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:464: example_checked: "__pmHashSearch((unsigned int)pmid, &lcp->l_hashpmid)" has its value checked in "(hp = __pmHashSearch((unsigned int)pmid, &lcp->l_hashpmid)) == NULL". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:556: example_checked: "__pmHashSearch((unsigned int)indom, &lcp->l_hashindom)" has its value checked in "(hp = __pmHashSearch((unsigned int)indom, &lcp->l_hashindom)) == NULL". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:161: example_checked: "__pmHashSearch((unsigned int)indom, &lcp->l_hashindom)" has its value checked in "(hp = __pmHashSearch((unsigned int)indom, &lcp->l_hashindom)) == NULL". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:847: example_checked: "__pmHashSearch((unsigned int)indom, &ctxp->c_archctl->ac_log->l_hashindom)" has its value checked in "(hp = __pmHashSearch((unsigned int)indom, &ctxp->c_archctl->ac_log->l_hashindom)) == NULL". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/interp.c:956: returned_null: Function "__pmHashSearch" returns null (checked 37 out of 37 times). /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:48: return_null: Explicitly returning NULL. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/interp.c:956: var_assigned: Assigning: "hp" = null return value from "__pmHashSearch". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/interp.c:957: dereference: Dereferencing a null pointer "hp". Error: NULL_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/interp.c:303: example_assign: Assigning: "hp" = return value from "__pmHashSearch((int)logrp->vset[k]->pmid, hcp)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/interp.c:304: example_checked: "hp" has its value checked in "hp == NULL". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:464: example_checked: "__pmHashSearch((unsigned int)pmid, &lcp->l_hashpmid)" has its value checked in "(hp = __pmHashSearch((unsigned int)pmid, &lcp->l_hashpmid)) == NULL". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:556: example_checked: "__pmHashSearch((unsigned int)indom, &lcp->l_hashindom)" has its value checked in "(hp = __pmHashSearch((unsigned int)indom, &lcp->l_hashindom)) == NULL". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:161: example_checked: "__pmHashSearch((unsigned int)indom, &lcp->l_hashindom)" has its value checked in "(hp = __pmHashSearch((unsigned int)indom, &lcp->l_hashindom)) == NULL". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:847: example_checked: "__pmHashSearch((unsigned int)indom, &ctxp->c_archctl->ac_log->l_hashindom)" has its value checked in "(hp = __pmHashSearch((unsigned int)indom, &ctxp->c_archctl->ac_log->l_hashindom)) == NULL". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/interp.c:1001: returned_null: Function "__pmHashSearch" returns null (checked 37 out of 37 times). /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:48: return_null: Explicitly returning NULL. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/interp.c:1001: var_assigned: Assigning: "hp" = null return value from "__pmHashSearch". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/interp.c:1002: dereference: Dereferencing a null pointer "hp". Error: NULL_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/filesys.c:182: returned_null: Function "strdup" returns null. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/filesys.c:182: var_assigned: Assigning: "fs->path" = null return value from "strdup". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/filesys.c:169: dereference: Dereferencing a pointer that might be null "fs->path" when calling "strcmp". (The dereference is assumed on the basis of the 'nonnull' parameter attribute.) Error: NULL_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/dopdus.c:219: example_checked: "FindDomainAgent(((__pmID_int *)&pmid)->domain)" has its value checked in "(ap = FindDomainAgent(((__pmID_int *)&pmid)->domain)) == NULL". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/dopdus.c:314: example_checked: "FindDomainAgent(((__pmInDom_int *)&indom)->domain)" has its value checked in "(ap = FindDomainAgent(((__pmInDom_int *)&indom)->domain)) == NULL". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/dopdus.c:641: example_checked: "FindDomainAgent(domain)" has its value checked in "(ap = FindDomainAgent(domain)) == NULL". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/dopdus.c:419: example_checked: "FindDomainAgent(((__pmID_int *)&idlist[0])->domain)" has its value checked in "(ap = FindDomainAgent(((__pmID_int *)&idlist[0])->domain)) == NULL". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/dopdus.c:525: example_checked: "FindDomainAgent(domain)" has its value checked in "(ap = FindDomainAgent(domain)) == NULL". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/dostore.c:156: returned_null: Function "FindDomainAgent" returns null (checked 7 out of 8 times). /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/agent.c:38: return_null: Explicitly returning NULL. /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/dostore.c:156: var_assigned: Assigning: "ap" = null return value from "FindDomainAgent". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/dostore.c:159: dereference: Dereferencing a null pointer "ap". Error: NULL_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/src/pmda.c:73: returned_null: Function "strdup" returns null. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/src/pmda.c:73: var_assigned: Assigning: "hspec" = null return value from "strdup". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/src/pmda.c:77: dereference: Dereferencing a null pointer "hspec". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/src/pmda.c:80: dereference: Dereferencing a null pointer "hspec". Error: NULL_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/src/trace.c:440: returned_null: Function "strdup" returns null. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/src/trace.c:440: var_assigned: Assigning: "hash.tag" = null return value from "strdup". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/src/trace.c:458: dereference: Dereferencing a pointer that might be null "hash.tag" when calling "__pmhashinsert". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_trace/src/hash.c:133: deref_parm_in_call: Function "hashindex" dereferences parameter "key". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_trace/src/hash.c:25: var_assign_parm: Assigning: "p" = "key". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_trace/src/hash.c:28: deref_var: Dereferencing "p" (which is a copy of "key"). Error: NULL_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/lex.l:279: example_checked: "fopen(".dbpmdarc", "r")" has its value checked in "(yyin = fopen(".dbpmdarc", "r")) != NULL". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/config.c:167: example_checked: "fopen(conf, "r")" has its value checked in "(fp = fopen(conf, "r")) == NULL". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/connectlocal.c:64: example_assign: Assigning: "configFile" = return value from "fopen(configFileName, "r")". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/connectlocal.c:65: example_checked: "configFile" has its value checked in "configFile == NULL". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:1240: example_checked: "fopen(fname, "r")" has its value checked in "(fp = fopen(fname, "r")) == NULL". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logportmap.c:207: example_checked: "fopen(namebuf, "r")" has its value checked in "(pfile = fopen(namebuf, "r")) == NULL". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/interrupts.c:243: returned_null: Function "fopen" returns null (checked 94 out of 97 times). /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/interrupts.c:243: var_assigned: Assigning: "fp" = null return value from "fopen". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/interrupts.c:247: dereference: Dereferencing a pointer that might be null "fp" when calling "fgets". Error: NULL_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/lex.l:279: example_checked: "fopen(".dbpmdarc", "r")" has its value checked in "(yyin = fopen(".dbpmdarc", "r")) != NULL". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/config.c:167: example_checked: "fopen(conf, "r")" has its value checked in "(fp = fopen(conf, "r")) == NULL". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/connectlocal.c:64: example_assign: Assigning: "configFile" = return value from "fopen(configFileName, "r")". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/connectlocal.c:65: example_checked: "configFile" has its value checked in "configFile == NULL". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:1240: example_checked: "fopen(fname, "r")" has its value checked in "(fp = fopen(fname, "r")) == NULL". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logportmap.c:207: example_checked: "fopen(namebuf, "r")" has its value checked in "(pfile = fopen(namebuf, "r")) == NULL". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/mounts/mounts.c:257: returned_null: Function "fopen" returns null (checked 94 out of 97 times). /builddir/build/BUILD/pcp-3.5.11/src/pmdas/mounts/mounts.c:257: var_assigned: Assigning: "fd" = null return value from "fopen". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/mounts/mounts.c:291: dereference: Dereferencing a pointer that might be null "fd" when calling "fclose". Error: NULL_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/cpan/PMDA/PMDA.xs:961: example_checked: "getenv("PCP_PERL_PMNS")" has its value checked in "getenv("PCP_PERL_PMNS")". /builddir/build/BUILD/pcp-3.5.11/src/cpan/PMDA/PMDA.xs:988: example_checked: "getenv("PCP_PERL_PMNS")" has its value checked in "getenv("PCP_PERL_PMNS")". /builddir/build/BUILD/pcp-3.5.11/src/cpan/PMDA/PMDA.xs:974: example_checked: "getenv("PCP_PERL_PMNS")" has its value checked in "getenv("PCP_PERL_PMNS")". /builddir/build/BUILD/pcp-3.5.11/src/cpan/PMDA/PMDA.xs:948: example_checked: "getenv("PCP_PERL_PMNS")" has its value checked in "getenv("PCP_PERL_PMNS")". /builddir/build/BUILD/pcp-3.5.11/src/cpan/PMDA/PMDA.xs:537: example_checked: "getenv("PCP_PERL_DEBUG")" has its value checked in "(p = getenv("PCP_PERL_DEBUG")) != NULL". /builddir/build/BUILD/pcp-3.5.11/src/cpan/PMDA/PMDA.xs:182: returned_null: Function "getenv" returns null (checked 42 out of 46 times). /builddir/build/BUILD/pcp-3.5.11/src/cpan/PMDA/PMDA.xs:182: dereference: Dereferencing a pointer that might be null "getenv("PCP_PERL_PMNS")" when calling "strcmp". (The dereference is assumed on the basis of the 'nonnull' parameter attribute.) Error: NULL_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/cisco/parse.c:174: returned_null: Function "strdup" returns null. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/cisco/parse.c:174: var_assigned: Assigning: "p" = null return value from "strdup". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/cisco/parse.c:180: dereference: Dereferencing a pointer that might be null "p" when calling "strchr". (The dereference is assumed on the basis of the 'nonnull' parameter attribute.) Error: NULL_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/config.c:133: returned_null: Function "strdup" returns null. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/config.c:133: dereference: Dereferencing a pointer that might be null "strdup(envbuf)" when calling "putenv". (The dereference is assumed on the basis of the 'nonnull' parameter attribute.) Error: NULL_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/weblog/pmda.c:939: returned_null: Function "strdup" returns null. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/weblog/pmda.c:939: var_assigned: Assigning: "server->access.fileName" = null return value from "strdup". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/weblog/pmda.c:942: dereference: Dereferencing a pointer that might be null "server->access.fileName" when calling "fopen". Error: NULL_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/weblog/pmda.c:984: returned_null: Function "strdup" returns null. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/weblog/pmda.c:984: var_assigned: Assigning: "server->error.fileName" = null return value from "strdup". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/weblog/pmda.c:987: dereference: Dereferencing a pointer that might be null "server->error.fileName" when calling "fopen". Error: NULL_RETURNS: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/cisco/pmda.c:174: returned_null: Function "strdup" returns null. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/cisco/pmda.c:174: var_assigned: Assigning: "p" = null return value from "strdup". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/cisco/pmda.c:180: dereference: Dereferencing a pointer that might be null "p" when calling "strchr". (The dereference is assumed on the basis of the 'nonnull' parameter attribute.) Error: OVERRUN_DYNAMIC: /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1448: buffer_alloc: Calling allocating function "dollar_expand" which allocated 1 bytes. /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:832: buffer_alloc: "realloc" which allocates 1 bytes based on "1UL". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:832: var_assign: Assigning: "s" = storage allocated by "realloc(s, 1UL)". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:889: return_dbuffer: Returning allocated array "s". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1448: var_assign: Assigning: "str" = "dollar_expand(rule, atom->data, 0)". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1459: alias: Assigning: "p" = "str". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1459: overrun-local: Overrunning dynamic array "p" of size 0 bytes at position 0. /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1460: overrun-local: Overrunning dynamic array "p" of size 1 bytes at position 1 with index variable "1". Error: OVERRUN_DYNAMIC: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/linux_table.c:58: buffer_alloc: Calling allocating function "malloc" which allocated 48 bytes dictated by parameter 1. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/linux_table.c:58: var_assign: Assigning: "ret" = "malloc(len * 48UL)". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/linux_table.c:62: alias: Assigning: "t" = "ret". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/linux_table.c:62: overrun-local: Overrunning dynamic array "t" of size 0 bytes at position 0. Error: OVERRUN_DYNAMIC: /builddir/build/BUILD/pcp-3.5.11/src/libpcp_http/src/http_fetcher.c:497: buffer_alloc: Calling allocating function "malloc" which allocated memory dictated by argument "strlen(newAgent)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_http/src/http_fetcher.c:497: var_assign: Assigning: "tmp" = "malloc(strlen(newAgent))". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_http/src/http_fetcher.c:500: alias: Assigning: "userAgent" = "tmp". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_http/src/http_fetcher.c:501: strcpy_overrun: strcpy, whose first argument "userAgent" has length equal to strlen of its second argument "newAgent", will overrun its first argument because of the terminating null. Error: OVERRUN_DYNAMIC: /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/pmda.c:665: buffer_alloc: Calling allocating function "malloc" which allocated memory dictated by argument "strlen(param.name)". /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/pmda.c:665: var_assign: Assigning: "atom.cp" = "malloc(strlen(param.name))". /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/pmda.c:669: strcpy_overrun: strcpy, whose first argument "atom.cp" has length equal to strlen of its second argument "param.name", will overrun its first argument because of the terminating null. Error: OVERRUN_DYNAMIC: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/pmcd/src/pmcd.c:1671: buffer_alloc: Calling allocating function "realloc" which allocated memory dictated by argument "nwhoamis * 16UL". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/pmcd/src/pmcd.c:1671: var_assign: Assigning: "whoamis" = "realloc(whoamis, nwhoamis * 16UL)". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/pmcd/src/pmcd.c:1645: symbolic_compare: Tracking "j" since "nwhoamis" is tracked with "whoamis". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/pmcd/src/pmcd.c:1680: overrun-local: Overrunning dynamic array "whoamis" at offset corresponding to index variable "j". Error: OVERRUN_DYNAMIC: /builddir/build/BUILD/pcp-3.5.11/src/libpcp_http/src/http_fetcher.c:591: buffer_alloc: Calling allocating function "malloc" which allocated memory dictated by argument "strlen(ptr)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_http/src/http_fetcher.c:591: var_assign: Assigning: "*filename" = "malloc(strlen(ptr))". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_http/src/http_fetcher.c:593: strcpy_overrun: strcpy, whose first argument "*filename" has length equal to strlen of its second argument "ptr", will overrun its first argument because of the terminating null. Error: OVERRUN_DYNAMIC: /builddir/build/BUILD/pcp-3.5.11/src/libpcp_http/src/http_fetcher.c:527: buffer_alloc: Calling allocating function "malloc" which allocated memory dictated by argument "strlen(newReferer)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_http/src/http_fetcher.c:527: var_assign: Assigning: "tmp" = "malloc(strlen(newReferer))". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_http/src/http_fetcher.c:530: alias: Assigning: "referer" = "tmp". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_http/src/http_fetcher.c:531: strcpy_overrun: strcpy, whose first argument "referer" has length equal to strlen of its second argument "newReferer", will overrun its first argument because of the terminating null. Error: OVERRUN_STATIC: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_cpuinfo.c:63: ptr_assign: Pointer "idp" is assigned the address of a static array pointer "&indomtab[19]" of size 16 bytes and offset 304 bytes. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_cpuinfo.c:95: overrun-local: Overrunning static array of size 16 bytes at byte position 304 by accessing with pointer "idp". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_cpuinfo.c:95: overrun-local: Note: These bugs are often difficult to see at first glance. Coverity recommends a close inspection of the events leading to this overrun. Error: OVERRUN_STATIC: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/numa_meminfo.c:80: ptr_assign: Pointer "idp" is assigned the address of a static array pointer "&indomtab[19]" of size 16 bytes and offset 304 bytes. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/numa_meminfo.c:85: overrun-local: Overrunning static array of size 16 bytes at byte position 304 by accessing with pointer "idp". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/numa_meminfo.c:85: overrun-local: Note: These bugs are often difficult to see at first glance. Coverity recommends a close inspection of the events leading to this overrun. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:560: alloc_fn: Calling allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:560: var_assign: Assigning: "path" = storage returned from "malloc(strlen(np->name) + 1UL)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:562: noescape: Variable "path" is not freed or pointed-to in function "strcpy". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:571: noescape: Variable "path" is not freed or pointed-to in function "findseen". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:525:16: noescape: "findseen" does not free or save its pointer parameter "name". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:572: noescape: Variable "path" is not freed or pointed-to in function "snprintf". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:575: leaked_storage: Variable "path" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:565: alloc_fn: Calling allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:565: var_assign: Assigning: "path" = storage returned from "malloc(strlen(base) + strlen(np->name) + 2UL)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:567: noescape: Variable "path" is not freed or pointed-to in function "strcpy". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:568: noescape: Variable "path" is not freed or pointed-to in function "strcat". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:569: noescape: Variable "path" is not freed or pointed-to in function "strcat". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:571: noescape: Variable "path" is not freed or pointed-to in function "findseen". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:525:16: noescape: "findseen" does not free or save its pointer parameter "name". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:572: noescape: Variable "path" is not freed or pointed-to in function "snprintf". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:575: leaked_storage: Variable "path" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:974: overwrite_var: Overwriting "curr" in call "curr = newnode(type)" leaks the storage that "curr" points to. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:974: overwrite_var: Overwriting "expr" in call "expr = curr = newnode(type)" leaks the storage that "expr" points to. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:1015: alloc_fn: Calling allocation function "newnode". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:289: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:289: var_assign: Assigning: "np" = "malloc(64UL)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:300: return_alloc: Returning allocated memory "np". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:1015: var_assign: Assigning: "np" = storage returned from "newnode(type)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:1029: var_assign: Assigning: "curr" = "np". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:1029: var_assign: Assigning: "expr" = "curr". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:1066: overwrite_var: Overwriting "np" in call "np = parse(level + 1)" leaks the storage that "np" points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:1005: overwrite_var: Overwriting "curr" in call "curr = newnode(type)" leaks the storage that "curr" points to. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:1005: overwrite_var: Overwriting "expr" in call "expr = curr = newnode(type)" leaks the storage that "expr" points to. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:1015: alloc_fn: Calling allocation function "newnode". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:289: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:289: var_assign: Assigning: "np" = "malloc(64UL)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:300: return_alloc: Returning allocated memory "np". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:1015: var_assign: Assigning: "np" = storage returned from "newnode(type)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:1029: var_assign: Assigning: "curr" = "np". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:1029: var_assign: Assigning: "expr" = "curr". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:1066: overwrite_var: Overwriting "np" in call "np = parse(level + 1)" leaks the storage that "np" points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:997: overwrite_var: Overwriting "curr" in call "curr = parse(level + 1)" leaks the storage that "curr" points to. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:997: overwrite_var: Overwriting "expr" in call "expr = curr = parse(level + 1)" leaks the storage that "expr" points to. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:1015: alloc_fn: Calling allocation function "newnode". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:289: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:289: var_assign: Assigning: "np" = "malloc(64UL)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:300: return_alloc: Returning allocated memory "np". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:1015: var_assign: Assigning: "np" = storage returned from "newnode(type)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:1029: var_assign: Assigning: "curr" = "np". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:1029: var_assign: Assigning: "expr" = "curr". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:1066: overwrite_var: Overwriting "np" in call "np = parse(level + 1)" leaks the storage that "np" points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:1009: leaked_storage: Variable "curr" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:1009: leaked_storage: Variable "expr" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:1015: alloc_fn: Calling allocation function "newnode". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:289: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:289: var_assign: Assigning: "np" = "malloc(64UL)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:300: return_alloc: Returning allocated memory "np". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:1015: var_assign: Assigning: "np" = storage returned from "newnode(type)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:1029: var_assign: Assigning: "curr" = "np". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:1029: var_assign: Assigning: "expr" = "curr". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:1066: overwrite_var: Overwriting "np" in call "np = parse(level + 1)" leaks the storage that "np" points to. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:1068: leaked_storage: Variable "curr" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:1068: leaked_storage: Variable "expr" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1093: alloc_fn: Calling allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1093: var_assign: Assigning: "root" = storage returned from "malloc(nodecnt * 48UL)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1197: leaked_storage: Variable "root" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1061: alloc_fn: Calling allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1061: var_assign: Assigning: "symbol" = storage returned from "malloc(symbsize)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1066: noescape: Variable "symbol" is not freed or pointed-to in function "fread". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1197: leaked_storage: Variable "symbol" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1092: alloc_fn: Calling allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1092: var_assign: Assigning: "htab" = storage returned from "malloc(htabsize * 8UL)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1104: noescape: Variable "htab" is not freed or pointed-to in function "fread". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1197: leaked_storage: Variable "htab" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1306: alloc_fn: Calling allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1306: var_assign: Assigning: "np" = storage returned from "malloc(48UL)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1310: leaked_storage: Variable "np" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:1240: alloc_fn: Calling allocation function "fopen". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:1240: var_assign: Assigning: "fp" = storage returned from "fopen(fname, "r")". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:1249: noescape: Variable "fp" is not freed or pointed-to in function "fgetc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:1345: leaked_storage: Variable "fp" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:876: alloc_fn: Calling allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:876: var_assign: Assigning: "np" = storage returned from "malloc(48UL)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:881: leaked_storage: Variable "np" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:785: alloc_fn: Calling allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:785: var_assign: Assigning: "t" = storage returned from "malloc(40UL)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:792: leaked_storage: Variable "t" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:798: leaked_storage: Variable "t" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:235: alloc_fn: Calling allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:235: var_assign: Assigning: "dp" = storage returned from "malloc(20UL)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:239: noescape: Variable "dp" is not freed or pointed-to in function "fread". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:452: leaked_storage: Variable "dp" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:367: alloc_fn: Calling allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:367: var_assign: Assigning: "tbuf" = storage returned from "malloc(rlen)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:371: noescape: Variable "tbuf" is not freed or pointed-to in function "fread". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:384: leaked_storage: Variable "tbuf" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:367: alloc_fn: Calling allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:367: var_assign: Assigning: "tbuf" = storage returned from "malloc(rlen)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:371: noescape: Variable "tbuf" is not freed or pointed-to in function "fread". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:388: var_assign: Assigning: "when" = "tbuf". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:395: var_assign: Assigning: "instlist" = "tbuf". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:397: var_assign: Assigning: "stridx" = "tbuf". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:407: leaked_storage: Variable "stridx" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:407: leaked_storage: Variable "instlist" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:407: leaked_storage: Variable "when" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:407: leaked_storage: Variable "tbuf" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:832: alloc_fn: Calling allocation function "realloc". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:832: var_assign: Assigning: "s" = storage returned from "realloc(s, 1UL)". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:867: leaked_storage: Variable "s" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:872: leaked_storage: Variable "s" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/spec.c:353: alloc_fn: Calling allocation function "hostStrndup". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/spec.c:341: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/spec.c:341: var_assign: Assigning: "s" = "malloc(namelen + 1)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/spec.c:342: noescape: Variable "s" is not freed or pointed-to in function "strncpy". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/spec.c:344: return_alloc: Returning allocated memory "s". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/spec.c:353: var_assign: Assigning: "host" = storage returned from "hostStrndup(name, namelen)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/spec.c:356: leaked_storage: Variable "host" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/connectlocal.c:68: alloc_fn: Calling allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/connectlocal.c:68: var_assign: Assigning: "config" = storage returned from "malloc(sbuf.st_size + 1L)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/connectlocal.c:73: noescape: Variable "config" is not freed or pointed-to in function "fread". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/connectlocal.c:75: leaked_storage: Variable "config" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:2239: alloc_arg: Calling allocation function "paranoidLogRead" on "rp". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:1309: alloc_arg: "__pmLogRead" allocates memory that is stored into "*result". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:1540: alloc_arg: "__pmDecodeResult" allocates memory that is stored into "*result". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_result.c:182: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_result.c:182: var_assign: Assigning: "pr" = "malloc(32UL + (numpmid - 1) * 8UL)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_result.c:381: noescape: Variable "pr" is not freed or pointed-to in function "__pmDumpResult". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/util.c:377:41: noescape: "__pmDumpResult" does not free or save its pointer parameter "resp". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_result.c:383: var_assign: Assigning: "*result" = "pr". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:2301: leaked_storage: Variable "rp" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:1425: alloc_fn: Calling allocation function "realloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:1425: var_assign: Assigning: "children" = storage returned from "realloc(children, sts * 8UL)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:1413: leaked_storage: Variable "children" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:1444: alloc_fn: Calling allocation function "realloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:1444: var_assign: Assigning: "status" = storage returned from "realloc(status, sts * 4UL)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:1413: leaked_storage: Variable "status" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/context.c:215: alloc_arg: Calling allocation function "__pmParseHostSpec" on "errmsg". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/spec.c:450: alloc_arg: "hostError" allocates memory that is stored into "*errmsg". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/spec.c:335: alloc_arg: "parseError" allocates memory that is stored into "*rslt". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/spec.c:48: alloc_fn: Storage is returned from allocation function "parseAlloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/spec.c:32: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/spec.c:32: var_assign: Assigning: "tmp" = "malloc(need)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/spec.c:34: return_alloc: Returning allocated memory "tmp". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/spec.c:48: var_assign: Assigning: "q" = "parseAlloc(func, need)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/spec.c:48: var_assign: Assigning: "*rslt" = "q". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/spec.c:54: noescape: Variable "q" is not freed or pointed-to in function "sprintf". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/context.c:217: noescape: Variable "errmsg" is not freed or pointed-to in function "pmprintf". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/context.c:219: leaked_storage: Variable "errmsg" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp_pmda/src/cache.c:602: alloc_fn: Calling allocation function "strdup". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_pmda/src/cache.c:602: var_assign: Assigning: "dup" = storage returned from "strdup(name)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_pmda/src/cache.c:642: leaked_storage: Variable "dup" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/libpcp_pmda/src/cache.c:655: leaked_storage: Variable "dup" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/interp.c:616: alloc_arg: Calling allocation function "pmGetInDomArchive" on "namelist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:870: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:870: var_assign: Assigning: "olist" = "malloc(numinst * 8UL + strsize)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:873: var_assign: Assigning: "p" = "olist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:882: var_assign: Assigning: "*namelist" = "olist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/interp.c:641: leaked_storage: Variable "namelist" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:2241: alloc_fn: Calling allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:2241: var_assign: Assigning: "result" = storage returned from "malloc(need)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:2249: leaked_storage: Variable "result" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1670: alloc_fn: Calling allocation function "dollar_expand". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:832: alloc_fn: Storage is returned from allocation function "realloc". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:832: var_assign: Assigning: "s" = "realloc(s, 1UL)". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:889: return_alloc: Returning allocated memory "s". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1670: var_assign: Assigning: "p" = storage returned from "dollar_expand(rule, (list + i).atom->data, 0)". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1675: leaked_storage: Variable "p" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/config.c:524: alloc_fn: Calling allocation function "realloc". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/config.c:524: var_assign: Assigning: "result" = storage returned from "realloc(result, (nArgs + 2) * 8UL)". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/config.c:536: leaked_storage: Variable "result" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/config.c:648: alloc_fn: Calling allocation function "CopyPathToken". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/config.c:118: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/config.c:118: var_assign: Assigning: "copy" = "malloc(plen + len + 1)". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/config.c:121: noescape: Variable "copy" is not freed or pointed-to in function "strncpy". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/config.c:125: return_alloc: Returning allocated memory "copy". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/config.c:648: var_assign: Assigning: "pathName" = storage returned from "CopyPathToken(getenv("PCP_DIR"))". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/config.c:653: noescape: Variable "pathName" is not freed or pointed-to in function "__pmNativePath". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/config.c:123:28: noescape: "__pmNativePath" does not free or save its pointer parameter "path". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/config.c:659: leaked_storage: Variable "pathName" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/config.c:630: alloc_fn: Calling allocation function "CopyToken". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/config.c:104: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/config.c:104: var_assign: Assigning: "copy" = "malloc(len + 1)". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/config.c:106: noescape: Variable "copy" is not freed or pointed-to in function "strncpy". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/config.c:109: return_alloc: Returning allocated memory "copy". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/config.c:630: var_assign: Assigning: "entryPoint" = storage returned from "CopyToken()". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/config.c:645: leaked_storage: Variable "entryPoint" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/config.c:659: leaked_storage: Variable "entryPoint" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/fetchlocal.c:58: alloc_fn: Calling allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/fetchlocal.c:58: var_assign: Assigning: "ans" = storage returned from "malloc(need)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/fetchlocal.c:70: leaked_storage: Variable "ans" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/fetchlocal.c:75: noescape: Variable "ans" is not freed or pointed-to in function "__pmtimevalNow". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/tv.c:103:32: noescape: "__pmtimevalNow" does not free or save its pointer parameter "tv". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/fetchlocal.c:153: leaked_storage: Variable "ans" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/config.c:1166: alloc_fn: Calling allocation function "CopyToken". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/config.c:104: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/config.c:104: var_assign: Assigning: "copy" = "malloc(len + 1)". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/config.c:106: noescape: Variable "copy" is not freed or pointed-to in function "strncpy". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/config.c:109: return_alloc: Returning allocated memory "copy". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/config.c:1166: var_assign: Assigning: "pmDomainLabel" = storage returned from "CopyToken()". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/config.c:1166: overwrite_var: Overwriting "pmDomainLabel" in call "pmDomainLabel = CopyToken()" leaks the storage that "pmDomainLabel" points to. /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/config.c:1182: noescape: Variable "pmDomainLabel" is not freed or pointed-to in function "fprintf". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/config.c:1194: noescape: Variable "pmDomainLabel" is not freed or pointed-to in function "fprintf". Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/config.c:1166: alloc_fn: Calling allocation function "CopyToken". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/config.c:104: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/config.c:104: var_assign: Assigning: "copy" = "malloc(len + 1)". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/config.c:106: noescape: Variable "copy" is not freed or pointed-to in function "strncpy". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/config.c:109: return_alloc: Returning allocated memory "copy". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/config.c:1166: var_assign: Assigning: "pmDomainLabel" = storage returned from "CopyToken()". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/config.c:1182: noescape: Variable "pmDomainLabel" is not freed or pointed-to in function "fprintf". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/config.c:1194: noescape: Variable "pmDomainLabel" is not freed or pointed-to in function "fprintf". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/config.c:1229: leaked_storage: Variable "pmDomainLabel" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp_pmda/src/cache.c:782: alloc_fn: Calling allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_pmda/src/cache.c:782: var_assign: Assigning: "key" = storage returned from "malloc(keylen)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_pmda/src/cache.c:788: var_assign: Assigning: "q" = "key". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_pmda/src/cache.c:797: leaked_storage: Variable "q" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/libpcp_pmda/src/cache.c:811: leaked_storage: Variable "key" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp_pmda/src/cache.c:728: alloc_fn: Calling allocation function "fopen". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_pmda/src/cache.c:728: var_assign: Assigning: "fp" = storage returned from "fopen(filename, "r")". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_pmda/src/cache.c:730: noescape: Variable "fp" is not freed or pointed-to in function "fgets". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_pmda/src/cache.c:733: leaked_storage: Variable "fp" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/libpcp_pmda/src/cache.c:740: leaked_storage: Variable "fp" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/libpcp_pmda/src/cache.c:744: noescape: Variable "fp" is not freed or pointed-to in function "fgets". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_pmda/src/cache.c:786: leaked_storage: Variable "fp" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/libpcp_pmda/src/cache.c:807: leaked_storage: Variable "fp" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/libpcp_pmda/src/cache.c:811: leaked_storage: Variable "fp" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/util.c:145: alloc_fn: Calling allocation function "opendir". /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/util.c:145: var_assign: Assigning: "dirp" = storage returned from "opendir(dname)". /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/util.c:153: noescape: Variable "dirp" is not freed or pointed-to in function "readdir". /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/util.c:237: leaked_storage: Variable "dirp" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/util.c:260: alloc_fn: Calling allocation function "strdup". /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/util.c:260: var_assign: Assigning: "dname" = storage returned from "strdup(dirname(path))". /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/util.c:266: noescape: Variable "dname" is not freed or pointed-to in function "opendir". /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/util.c:267: leaked_storage: Variable "dname" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/util.c:313: noescape: Variable "dname" is not freed or pointed-to in function "fprintf". /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/util.c:321: leaked_storage: Variable "dname" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/util.c:270: alloc_fn: Calling allocation function "strdup". /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/util.c:270: var_assign: Assigning: "base" = storage returned from "strdup(__xpg_basename(path))". /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/util.c:282: noescape: Variable "base" is not freed or pointed-to in function "strlen". /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/util.c:282: noescape: Variable "base" is not freed or pointed-to in function "strncmp". /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/util.c:287: noescape: Variable "base" is not freed or pointed-to in function "strlen". /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/util.c:321: leaked_storage: Variable "base" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/fetch.c:131: alloc_arg: Calling allocation function "__dmprefetch" on "newlist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive_fetch.c:133: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive_fetch.c:133: var_assign: Assigning: "list" = "malloc((numpmid + xtracnt) * 4UL)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive_fetch.c:144: var_assign: Assigning: "*newlist" = "list". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/fetch.c:138: overwrite_var: Overwriting "newlist" in call "newlist = NULL" leaks the storage that "newlist" points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/pragmatics.c:839: alloc_arg: Calling allocation function "pmGetInDom" on "iids". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:382: alloc_arg: "receive_indom" allocates memory that is stored into "*instlist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:331: alloc_arg: "inresult_to_lists" allocates memory that is stored into "*instlist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:290: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:290: var_assign: Assigning: "ilist" = "malloc(result->numinst * 4UL)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:303: var_assign: Assigning: "*instlist" = "ilist". /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/pragmatics.c:990: leaked_storage: Variable "iids" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/pragmatics.c:839: alloc_arg: Calling allocation function "pmGetInDom" on "inames". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:382: alloc_arg: "receive_indom" allocates memory that is stored into "*namelist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:331: alloc_arg: "inresult_to_lists" allocates memory that is stored into "*namelist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:296: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:296: var_assign: Assigning: "nlist" = "malloc(need)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:304: var_assign: Assigning: "*namelist" = "nlist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:305: var_assign: Assigning: "p" = "nlist". /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/pragmatics.c:990: leaked_storage: Variable "inames" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logportmap.c:329: alloc_fn: Calling allocation function "calloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logportmap.c:329: var_assign: Assigning: "laddrs" = storage returned from "calloc(i, 4UL)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logportmap.c:337: leaked_storage: Variable "laddrs" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:522: alloc_fn: Calling allocation function "fopen". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:522: var_assign: Assigning: "f" = storage returned from "fopen(fname, "w")". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:531: noescape: Variable "f" is not freed or pointed-to in function "fileno". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:535: leaked_storage: Variable "f" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:2305: alloc_fn: Calling allocation function "realloc". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:2305: var_assign: Assigning: "proc_list" = storage returned from "realloc(proc_list, size)". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:2310: leaked_storage: Variable "proc_list" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1180: alloc_arg: Calling allocation function "read_next_attribute" on "value". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1040: alloc_fn: Storage is returned from allocation function "alloc_string". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:262: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:262: var_assign: Assigning: "p" = "malloc(size)". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:264: return_alloc: Returning allocated memory "p". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1040: var_assign: Assigning: "*value" = "alloc_string(strlen(token) + 1UL)". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1044: noescape: Variable "*value" is not freed or pointed-to in function "strcpy". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1190: leaked_storage: Variable "value" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1180: alloc_arg: Calling allocation function "read_next_attribute" on "attr". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1020: alloc_fn: Storage is returned from allocation function "alloc_string". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:262: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:262: var_assign: Assigning: "p" = "malloc(size)". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:264: return_alloc: Returning allocated memory "p". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1020: var_assign: Assigning: "*attr" = "alloc_string(strlen(token) + 1UL)". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1022: noescape: Variable "*attr" is not freed or pointed-to in function "strcpy". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1188: noescape: Variable "attr" is not freed or pointed-to in function "map_symbol". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:342:46: noescape: "map_symbol" does not free or save its pointer parameter "symbol". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1189: noescape: Variable "attr" is not freed or pointed-to in function "parse_error". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:149:35: noescape: "parse_error" does not free or save its pointer parameter "found". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1190: leaked_storage: Variable "attr" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1193: leaked_storage: Variable "attr" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1064: alloc_arg: Calling allocation function "read_next_attribute" on "value". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1040: alloc_fn: Storage is returned from allocation function "alloc_string". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:262: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:262: var_assign: Assigning: "p" = "malloc(size)". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:264: return_alloc: Returning allocated memory "p". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1040: var_assign: Assigning: "*value" = "alloc_string(strlen(token) + 1UL)". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1044: noescape: Variable "*value" is not freed or pointed-to in function "strcpy". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1074: leaked_storage: Variable "value" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1064: alloc_arg: Calling allocation function "read_next_attribute" on "attr". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1020: alloc_fn: Storage is returned from allocation function "alloc_string". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:262: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:262: var_assign: Assigning: "p" = "malloc(size)". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:264: return_alloc: Returning allocated memory "p". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1020: var_assign: Assigning: "*attr" = "alloc_string(strlen(token) + 1UL)". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1022: noescape: Variable "*attr" is not freed or pointed-to in function "strcpy". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1072: noescape: Variable "attr" is not freed or pointed-to in function "map_symbol". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:342:46: noescape: "map_symbol" does not free or save its pointer parameter "symbol". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1073: noescape: Variable "attr" is not freed or pointed-to in function "parse_error". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:149:35: noescape: "parse_error" does not free or save its pointer parameter "found". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1074: leaked_storage: Variable "attr" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1077: leaked_storage: Variable "attr" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/cgroups.c:391: alloc_fn: Calling allocation function "strdup". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/cgroups.c:391: var_assign: Assigning: "n" = storage returned from "strdup(name)". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/cgroups.c:394: noescape: Variable "n" is not freed or pointed-to in function "pmdaCacheStore". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_pmda/src/cache.c:998:54: noescape: "pmdaCacheStore" does not free or save its pointer parameter "name". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/cgroups.c:395: leaked_storage: Variable "n" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/dopdu.c:895: alloc_arg: Calling allocation function "pmGetInDom" on "instlist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:382: alloc_arg: "receive_indom" allocates memory that is stored into "*instlist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:331: alloc_arg: "inresult_to_lists" allocates memory that is stored into "*instlist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:290: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:290: var_assign: Assigning: "ilist" = "malloc(result->numinst * 4UL)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:303: var_assign: Assigning: "*instlist" = "ilist". /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/dopdu.c:961: leaked_storage: Variable "instlist" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/dopdu.c:895: alloc_arg: Calling allocation function "pmGetInDom" on "namelist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:382: alloc_arg: "receive_indom" allocates memory that is stored into "*namelist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:331: alloc_arg: "inresult_to_lists" allocates memory that is stored into "*namelist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:296: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:296: var_assign: Assigning: "nlist" = "malloc(need)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:304: var_assign: Assigning: "*namelist" = "nlist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:305: var_assign: Assigning: "p" = "nlist". /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/dopdu.c:961: leaked_storage: Variable "namelist" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/pmieconf.c:632: alloc_arg: Calling allocation function "lookup_processes" on "processes". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:2305: alloc_fn: Storage is returned from allocation function "realloc". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:2305: var_assign: Assigning: "proc_list" = "realloc(proc_list, size)". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:2316: var_assign: Assigning: "*processes" = "proc_list". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/pmieconf.c:653: leaked_storage: Variable "processes" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp_trace/src/hash.c:130: alloc_arg: Calling allocation function "hashalloc" on "hash". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_trace/src/hash.c:62: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_trace/src/hash.c:62: var_assign: Assigning: "*entry" = "malloc(16UL)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_trace/src/hash.c:131: leaked_storage: Variable "hash" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/ksym.c:412: alloc_fn: Calling allocation function "fopen". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/ksym.c:412: var_assign: Assigning: "fp" = storage returned from "fopen(bestpath, "r")". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/ksym.c:419: noescape: Variable "fp" is not freed or pointed-to in function "fgets". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/ksym.c:526: leaked_storage: Variable "fp" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/ksym.c:377: alloc_fn: Calling allocation function "strdup". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/ksym.c:377: var_assign: Assigning: "bestpath" = storage returned from "strdup(path)". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/ksym.c:392: noescape: Variable "bestpath" is not freed or pointed-to in function "fprintf". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/ksym.c:412: noescape: Variable "bestpath" is not freed or pointed-to in function "fopen". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/ksym.c:413: leaked_storage: Variable "bestpath" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/ksym.c:526: leaked_storage: Variable "bestpath" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/ksym.c:532: leaked_storage: Variable "bestpath" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/pmieconf.c:311: alloc_arg: Calling allocation function "lookup_processes" on "processes". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:2305: alloc_fn: Storage is returned from allocation function "realloc". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:2305: var_assign: Assigning: "proc_list" = "realloc(proc_list, size)". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:2316: var_assign: Assigning: "*processes" = "proc_list". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/pmieconf.c:328: leaked_storage: Variable "processes" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/util.c:203: open_fn: Calling opening function "dup". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/util.c:203: leaked_handle: Failing to save handle opened by "dup(dupoldfd)" leaks it. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/dopdus.c:302: alloc_arg: Calling allocation function "__pmDecodeInstanceReq" on "name". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_instance.c:83: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_instance.c:83: var_assign: Assigning: "*name" = "malloc(pp->namelen + 1)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_instance.c:85: noescape: Variable "*name" is not freed or pointed-to in function "strncpy". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/dopdus.c:344: leaked_storage: Variable "name" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp_http/src/http_fetcher.c:795: open_fn: Calling opening function "socket". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_http/src/http_fetcher.c:795: var_assign: Assigning: "sock" = handle returned from "socket(hp->h_addrtype, 1, 0)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_http/src/http_fetcher.c:798: noescape: Variable "sock" is not closed or saved in function "connect". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_http/src/http_fetcher.c:799: leaked_handle: Handle variable "sock" going out of scope leaks the handle. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/ksym.c:172: alloc_fn: Calling allocation function "fopen". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/ksym.c:172: var_assign: Assigning: "fp" = storage returned from "fopen(ksyms_path, "r")". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/ksym.c:175: noescape: Variable "fp" is not freed or pointed-to in function "fgets". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/ksym.c:203: leaked_storage: Variable "fp" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/ksym.c:264: leaked_storage: Variable "fp" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1215: alloc_arg: Calling allocation function "read_type" on "name". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1105: alloc_fn: Storage is returned from allocation function "alloc_string". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:262: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:262: var_assign: Assigning: "p" = "malloc(size)". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:264: return_alloc: Returning allocated memory "p". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1105: var_assign: Assigning: "*name" = "alloc_string(strlen(token) + 1UL)". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1107: noescape: Variable "*name" is not freed or pointed-to in function "strcpy". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1108: noescape: Variable "*name" is not freed or pointed-to in function "strncmp". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1111: noescape: Variable "*name" is not freed or pointed-to in function "strncmp". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:1229: leaked_storage: Variable "name" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pminfo/pminfo.c:137: alloc_arg: Calling allocation function "pmUnpackEventRecords" on "res". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/events.c:269: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/events.c:269: var_assign: Assigning: "*rap" = "malloc((eap->ea_nrecords + 1) * 8UL)". /builddir/build/BUILD/pcp-3.5.11/src/pminfo/pminfo.c:140: leaked_storage: Variable "res" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/sample/src/sample.c:652: alloc_fn: Calling allocation function "fopen". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/sample/src/sample.c:652: var_assign: Assigning: "fspec" = storage returned from "fopen(mypath, "r")". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/sample/src/sample.c:664: noescape: Variable "fspec" is not freed or pointed-to in function "fscanf". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/sample/src/sample.c:668: leaked_storage: Variable "fspec" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/sample/src/sample.c:673: leaked_storage: Variable "fspec" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/sample/src/sample.c:679: leaked_storage: Variable "fspec" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/pmie.c:398: open_fn: Calling opening function "dup". /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/pmie.c:398: var_assign: Assigning: "j" = handle returned from "dup(fileno(stderr))". /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/pmie.c:399: noescape: Variable "j" is not closed or saved in function "fprintf". /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/pmie.c:399: noescape: Variable "j" is not freed or pointed-to in function "fprintf". /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/pmie.c:402: leaked_handle: Handle variable "j" going out of scope leaks the handle. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_net_tcp.c:35: alloc_fn: Calling allocation function "fopen". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_net_tcp.c:35: var_assign: Assigning: "fp" = storage returned from "fopen("/proc/net/tcp", "r")". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_net_tcp.c:39: noescape: Variable "fp" is not freed or pointed-to in function "fgets". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_net_tcp.c:41: leaked_storage: Variable "fp" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_slabinfo.c:48: alloc_fn: Calling allocation function "fopen". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_slabinfo.c:48: var_assign: Assigning: "fp" = storage returned from "fopen("/proc/slabinfo", "r")". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_slabinfo.c:56: noescape: Variable "fp" is not freed or pointed-to in function "fgets". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_slabinfo.c:58: leaked_storage: Variable "fp" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_slabinfo.c:74: noescape: Variable "fp" is not freed or pointed-to in function "fgets". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_slabinfo.c:101: leaked_storage: Variable "fp" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_slabinfo.c:116: leaked_storage: Variable "fp" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_slabinfo.c:132: leaked_storage: Variable "fp" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_slabinfo.c:138: leaked_storage: Variable "fp" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/sendmail/sendmail.c:278: alloc_fn: Calling allocation function "fopen". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/sendmail/sendmail.c:278: var_assign: Assigning: "fp" = storage returned from "fopen("/etc/sendmail.cf", "r")". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/sendmail/sendmail.c:300: noescape: Variable "fp" is not freed or pointed-to in function "fgets". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/sendmail/sendmail.c:300: noescape: Variable "fp" is not freed or pointed-to in function "fgets". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/sendmail/sendmail.c:300: noescape: Variable "fp" is not freed or pointed-to in function "fgets". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/sendmail/sendmail.c:300: noescape: Variable "fp" is not freed or pointed-to in function "fgets". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/sendmail/sendmail.c:357: leaked_storage: Variable "fp" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmlogextract/logio.c:76: alloc_fn: Calling allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/pmlogextract/logio.c:76: var_assign: Assigning: "lpb" = storage returned from "malloc(ntohl(head))". /builddir/build/BUILD/pcp-3.5.11/src/pmlogextract/logio.c:87: noescape: Variable "lpb" is not freed or pointed-to in function "fread". /builddir/build/BUILD/pcp-3.5.11/src/pmlogextract/logio.c:94: leaked_storage: Variable "lpb" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/pmlogextract/logio.c:97: leaked_storage: Variable "lpb" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/pmlogextract/logio.c:99: leaked_storage: Variable "lpb" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmlogextract/logio.c:76: alloc_fn: Calling allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/pmlogextract/logio.c:76: var_assign: Assigning: "lpb" = storage returned from "malloc(ntohl(head))". /builddir/build/BUILD/pcp-3.5.11/src/pmlogextract/logio.c:87: noescape: Variable "lpb" is not freed or pointed-to in function "fread". /builddir/build/BUILD/pcp-3.5.11/src/pmlogextract/logio.c:103: var_assign: Assigning: "p" = "lpb". /builddir/build/BUILD/pcp-3.5.11/src/pmlogextract/logio.c:104: noescape: Variable "p" is not freed or pointed-to in function "memcpy". /builddir/build/BUILD/pcp-3.5.11/src/pmlogextract/logio.c:111: leaked_storage: Variable "lpb" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/pmlogextract/logio.c:111: leaked_storage: Variable "p" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp_pmda/src/mainloop.c:282: alloc_arg: Calling allocation function "__pmDecodeTraversePMNSReq" on "name". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_pmns.c:486: alloc_arg: "DecodeNameReq" allocates memory that is stored into "*name_p". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_pmns.c:432: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_pmns.c:432: var_assign: Assigning: "name" = "malloc(namelen + 1)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_pmns.c:435: noescape: Variable "name" is not freed or pointed-to in function "memcpy". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_pmns.c:443: var_assign: Assigning: "*name_p" = "name". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_pmda/src/mainloop.c:461: leaked_storage: Variable "name" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/pmie.c:842: alloc_fn: Calling allocation function "zalloc". /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/dstruct.c:370: alloc_fn: Storage is returned from allocation function "calloc". /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/dstruct.c:370: var_assign: Assigning: "p" = "calloc(1UL, size)". /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/dstruct.c:373: return_alloc: Returning allocated memory "p". /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/pmie.c:842: var_assign: Assigning: "line" = storage returned from "zalloc(257UL)". /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/pmie.c:851: noescape: Variable "line" is not freed or pointed-to in function "readLine". /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/pmie.c:120:16: noescape: "readLine" does not free or save its pointer parameter "bfr". /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/pmie.c:942: leaked_storage: Variable "line" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmevent/pmevent.c:234: alloc_arg: Calling allocation function "pmUnpackEventRecords" on "res". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/events.c:269: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/events.c:269: var_assign: Assigning: "*rap" = "malloc((eap->ea_nrecords + 1) * 8UL)". /builddir/build/BUILD/pcp-3.5.11/src/pmevent/pmevent.c:237: leaked_storage: Variable "res" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/loop.c:296: alloc_fn: Calling allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/loop.c:296: var_assign: Assigning: "ss" = storage returned from "malloc(32UL)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/loop.c:297: leaked_storage: Variable "ss" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/src/pmda.c:98: alloc_fn: Calling allocation function "squash". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/src/pmda.c:73: alloc_fn: Storage is returned from allocation function "strdup". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/src/pmda.c:73: var_assign: Assigning: "hspec" = "strdup(str)". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/src/pmda.c:82: return_alloc: Returning allocated memory "hspec". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/src/pmda.c:98: var_assign: Assigning: "p" = storage returned from "squash(spec + 9, &offset)". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/src/pmda.c:101: leaked_storage: Variable "p" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/src/pmda.c:113: alloc_fn: Calling allocation function "squash". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/src/pmda.c:73: alloc_fn: Storage is returned from allocation function "strdup". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/src/pmda.c:73: var_assign: Assigning: "hspec" = "strdup(str)". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/src/pmda.c:82: return_alloc: Returning allocated memory "hspec". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/src/pmda.c:113: var_assign: Assigning: "p" = storage returned from "squash(spec + 6, &offset)". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/src/pmda.c:116: leaked_storage: Variable "p" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmevent/pmevent.c:67: alloc_arg: Calling allocation function "pmFetchArchive" on "rp". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/fetch.c:212: alloc_arg: "__pmLogFetch" allocates memory that is stored into "*result". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:1617: alloc_arg: "__pmLogFetchInterp" allocates memory that is stored into "*result". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/interp.c:557: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/interp.c:557: var_assign: Assigning: "rp" = "malloc(32UL + (numpmid - 1) * 8UL)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/interp.c:1424: var_assign: Assigning: "*result" = "rp". /builddir/build/BUILD/pcp-3.5.11/src/pmevent/pmevent.c:96: leaked_storage: Variable "rp" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmval/pmval.c:278: alloc_arg: Calling allocation function "pmFetchArchive" on "r". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/fetch.c:212: alloc_arg: "__pmLogFetch" allocates memory that is stored into "*result". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:1617: alloc_arg: "__pmLogFetchInterp" allocates memory that is stored into "*result". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/interp.c:557: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/interp.c:557: var_assign: Assigning: "rp" = "malloc(32UL + (numpmid - 1) * 8UL)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/interp.c:1424: var_assign: Assigning: "*result" = "rp". /builddir/build/BUILD/pcp-3.5.11/src/pmval/pmval.c:284: noescape: Variable "r" is not freed or pointed-to in function "__pmPrintStamp". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/util.c:698:47: noescape: "__pmPrintStamp" does not free or save its pointer parameter "tp". /builddir/build/BUILD/pcp-3.5.11/src/pmval/pmval.c:286: leaked_storage: Variable "r" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/pmval/pmval.c:320: leaked_storage: Variable "r" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/pmval/pmval.c:325: noescape: Variable "r" is not freed or pointed-to in function "__pmPrintStamp". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/util.c:698:47: noescape: "__pmPrintStamp" does not free or save its pointer parameter "tp". /builddir/build/BUILD/pcp-3.5.11/src/pmval/pmval.c:329: leaked_storage: Variable "r" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/pmval/pmval.c:336: leaked_storage: Variable "r" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/lustrecomm/file_single.c:47: open_fn: Calling opening function "open". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/lustrecomm/file_single.c:47: var_assign: Assigning: "fd" = handle returned from "open(filename, 0)". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/lustrecomm/file_single.c:64: noescape: Variable "fd" is not closed or saved in function "read". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/lustrecomm/file_single.c:66: leaked_handle: Handle variable "fd" going out of scope leaks the handle. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/lustrecomm/file_single.c:72: leaked_handle: Handle variable "fd" going out of scope leaks the handle. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/pmlogger.c:228: alloc_arg: Calling allocation function "pmParseInterval" on "interval_err". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/rtime.c:250: alloc_arg: "parseError" allocates memory that is stored into "*errmsg". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/rtime.c:213: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/rtime.c:213: var_assign: Assigning: "*rslt" = "malloc(need)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/rtime.c:215: var_assign: Assigning: "q" = "*rslt". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/rtime.c:222: noescape: Variable "q" is not freed or pointed-to in function "sprintf". /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/pmlogger.c:231: leaked_storage: Variable "interval_err" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmlc/actions.c:370: alloc_arg: Calling allocation function "__pmControlLog" on "res". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logcontrol.c:35: alloc_arg: "__pmDecodeResult" allocates memory that is stored into "*status". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_result.c:182: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_result.c:182: var_assign: Assigning: "pr" = "malloc(32UL + (numpmid - 1) * 8UL)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_result.c:381: noescape: Variable "pr" is not freed or pointed-to in function "__pmDumpResult". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/util.c:377:41: noescape: "__pmDumpResult" does not free or save its pointer parameter "resp". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_result.c:383: var_assign: Assigning: "*result" = "pr". /builddir/build/BUILD/pcp-3.5.11/src/pmlc/actions.c:418: leaked_storage: Variable "res" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pminfo/pminfo.c:302: alloc_arg: Calling allocation function "pmGetInDom" on "all_inst". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:382: alloc_arg: "receive_indom" allocates memory that is stored into "*instlist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:331: alloc_arg: "inresult_to_lists" allocates memory that is stored into "*instlist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:290: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:290: var_assign: Assigning: "ilist" = "malloc(result->numinst * 4UL)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:303: var_assign: Assigning: "*instlist" = "ilist". /builddir/build/BUILD/pcp-3.5.11/src/pminfo/pminfo.c:413: leaked_storage: Variable "all_inst" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pminfo/pminfo.c:302: alloc_arg: Calling allocation function "pmGetInDom" on "all_names". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:382: alloc_arg: "receive_indom" allocates memory that is stored into "*namelist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:331: alloc_arg: "inresult_to_lists" allocates memory that is stored into "*namelist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:296: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:296: var_assign: Assigning: "nlist" = "malloc(need)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:304: var_assign: Assigning: "*namelist" = "nlist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:305: var_assign: Assigning: "p" = "nlist". /builddir/build/BUILD/pcp-3.5.11/src/pminfo/pminfo.c:413: leaked_storage: Variable "all_names" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/pmlogrewrite.c:273: alloc_fn: Calling allocation function "opendir". /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/pmlogrewrite.c:273: var_assign: Assigning: "dirp" = storage returned from "opendir(optarg)". /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/pmlogrewrite.c:277: noescape: Variable "dirp" is not freed or pointed-to in function "readdir". /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/pmlogrewrite.c:297: leaked_storage: Variable "dirp" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/fun.c:183: alloc_arg: Calling allocation function "pmGetInDom" on "get_iids". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:382: alloc_arg: "receive_indom" allocates memory that is stored into "*instlist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:331: alloc_arg: "inresult_to_lists" allocates memory that is stored into "*instlist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:290: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:290: var_assign: Assigning: "ilist" = "malloc(result->numinst * 4UL)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:303: var_assign: Assigning: "*instlist" = "ilist". /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/fun.c:232: leaked_storage: Variable "get_iids" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/fun.c:183: alloc_arg: Calling allocation function "pmGetInDom" on "get_inames". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:382: alloc_arg: "receive_indom" allocates memory that is stored into "*namelist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:331: alloc_arg: "inresult_to_lists" allocates memory that is stored into "*namelist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:296: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:296: var_assign: Assigning: "nlist" = "malloc(need)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:304: var_assign: Assigning: "*namelist" = "nlist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:305: var_assign: Assigning: "p" = "nlist". /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/fun.c:232: leaked_storage: Variable "get_inames" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/fetch.c:68: alloc_arg: Calling allocation function "__dmprefetch" on "newlist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive_fetch.c:133: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive_fetch.c:133: var_assign: Assigning: "list" = "malloc((numpmid + xtracnt) * 4UL)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive_fetch.c:144: var_assign: Assigning: "*newlist" = "list". /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/fetch.c:75: overwrite_var: Overwriting "newlist" in call "newlist = NULL" leaks the storage that "newlist" points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/process/process.c:254: alloc_fn: Calling allocation function "fopen". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/process/process.c:254: var_assign: Assigning: "fd" = storage returned from "fopen(proc_path, "r")". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/process/process.c:254: overwrite_var: Overwriting "fd" in call "fd = fopen(proc_path, "r")" leaks the storage that "fd" points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/process/process.c:254: alloc_fn: Calling allocation function "fopen". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/process/process.c:254: var_assign: Assigning: "fd" = storage returned from "fopen(proc_path, "r")". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/process/process.c:280: leaked_storage: Variable "fd" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/pragmatics.c:674: alloc_arg: Calling allocation function "pmGetInDom" on "iids". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:382: alloc_arg: "receive_indom" allocates memory that is stored into "*instlist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:331: alloc_arg: "inresult_to_lists" allocates memory that is stored into "*instlist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:290: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:290: var_assign: Assigning: "ilist" = "malloc(result->numinst * 4UL)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:303: var_assign: Assigning: "*instlist" = "ilist". /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/pragmatics.c:788: leaked_storage: Variable "iids" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/pragmatics.c:674: alloc_arg: Calling allocation function "pmGetInDom" on "inames". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:382: alloc_arg: "receive_indom" allocates memory that is stored into "*namelist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:331: alloc_arg: "inresult_to_lists" allocates memory that is stored into "*namelist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:296: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:296: var_assign: Assigning: "nlist" = "malloc(need)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:304: var_assign: Assigning: "*namelist" = "nlist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:305: var_assign: Assigning: "p" = "nlist". /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/pragmatics.c:788: leaked_storage: Variable "inames" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/pragmatics.c:667: alloc_arg: Calling allocation function "pmGetInDomArchive" on "inames". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:870: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:870: var_assign: Assigning: "olist" = "malloc(numinst * 8UL + strsize)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:873: var_assign: Assigning: "p" = "olist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:882: var_assign: Assigning: "*namelist" = "olist". /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/pragmatics.c:788: leaked_storage: Variable "inames" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/pmda.c:570: alloc_arg: Calling allocation function "__pmDecodeNameList" on "namelist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_pmns.c:302: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_pmns.c:302: var_assign: Assigning: "names" = "malloc(need)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_pmns.c:335: var_assign: Assigning: "dest" = "names". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_pmns.c:356: noescape: Variable "names" is not freed or pointed-to in function "__pmDumpNameList". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_pmns.c:154:47: noescape: "__pmDumpNameList" does not free or save its pointer parameter "namelist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_pmns.c:362: var_assign: Assigning: "*namelist" = "names". /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/pmda.c:629: leaked_storage: Variable "namelist" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/pmda.c:597: alloc_arg: Calling allocation function "__pmDecodeNameList" on "namelist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_pmns.c:302: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_pmns.c:302: var_assign: Assigning: "names" = "malloc(need)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_pmns.c:335: var_assign: Assigning: "dest" = "names". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_pmns.c:356: noescape: Variable "names" is not freed or pointed-to in function "__pmDumpNameList". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_pmns.c:154:47: noescape: "__pmDumpNameList" does not free or save its pointer parameter "namelist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_pmns.c:362: var_assign: Assigning: "*namelist" = "names". /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/pmda.c:629: leaked_storage: Variable "namelist" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/pmda.c:570: alloc_arg: Calling allocation function "__pmDecodeNameList" on "statuslist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_pmns.c:308: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_pmns.c:308: var_assign: Assigning: "status" = "malloc(need)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_pmns.c:358: noescape: Variable "status" is not freed or pointed-to in function "__pmDumpStatusList". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_pmns.c:164:54: noescape: "__pmDumpStatusList" does not free or save its pointer parameter "statuslist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_pmns.c:364: var_assign: Assigning: "*statuslist" = "status". /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/pmda.c:629: leaked_storage: Variable "statuslist" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/pmda.c:597: alloc_arg: Calling allocation function "__pmDecodeNameList" on "statuslist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_pmns.c:308: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_pmns.c:308: var_assign: Assigning: "status" = "malloc(need)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_pmns.c:358: noescape: Variable "status" is not freed or pointed-to in function "__pmDumpStatusList". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_pmns.c:164:54: noescape: "__pmDumpStatusList" does not free or save its pointer parameter "statuslist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_pmns.c:364: var_assign: Assigning: "*statuslist" = "status". /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/pmda.c:629: leaked_storage: Variable "statuslist" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/pmda.c:373: alloc_arg: Calling allocation function "__pmDecodeInstance" on "inresult". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_instance.c:184: alloc_fn: Storage is returned from allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_instance.c:184: var_assign: Assigning: "res" = "malloc(24UL)". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_instance.c:238: noescape: Variable "res" is not freed or pointed-to in function "__pmDumpInResult". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:445:47: noescape: "__pmDumpInResult" does not free or save its pointer parameter "irp". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_instance.c:240: var_assign: Assigning: "*result" = "res". /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/pmda.c:374: noescape: Variable "inresult" is not freed or pointed-to in function "printindom". /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/util.c:181:35: noescape: "printindom" does not free or save its pointer parameter "irp". /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/pmda.c:629: leaked_storage: Variable "inresult" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/pmda.c:320: alloc_fn: Calling allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/pmda.c:320: var_assign: Assigning: "desc_list" = storage returned from "malloc(param.numpmid * 20UL)". /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/pmda.c:326: noescape: Variable "desc_list" is not freed or pointed-to in function "dopmda_desc". /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/pmda.c:247:32: noescape: "dopmda_desc" does not free or save its pointer parameter "desc". /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/pmda.c:345: noescape: Variable "desc_list" is not freed or pointed-to in function "_dbDumpResult". /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/util.c:503:48: noescape: "_dbDumpResult" does not free or save its pointer parameter "desc_list". /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/pmda.c:629: leaked_storage: Variable "desc_list" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/dso.c:251: alloc_fn: Calling allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/dso.c:251: var_assign: Assigning: "desc_list" = storage returned from "malloc(param.numpmid * 20UL)". /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/dso.c:587: leaked_storage: Variable "desc_list" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmns/pmnsmerge.c:61: alloc_fn: Calling allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/pmns/pmnsmerge.c:61: var_assign: Assigning: "tab" = storage returned from "malloc(argc * 16UL)". /builddir/build/BUILD/pcp-3.5.11/src/pmns/pmnsmerge.c:92: noescape: Variable "tab" is not freed or pointed-to in function "qsort". /builddir/build/BUILD/pcp-3.5.11/src/pmns/pmnsmerge.c:98: leaked_storage: Variable "tab" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/preamble.c:153: alloc_fn: Calling allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/preamble.c:153: var_assign: Assigning: "instid" = storage returned from "malloc(4UL)". /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/preamble.c:158: leaked_storage: Variable "instid" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/preamble.c:69: alloc_fn: Calling allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/preamble.c:69: var_assign: Assigning: "res" = storage returned from "malloc(32UL + (n_metric - 1) * 8UL)". /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/preamble.c:81: leaked_storage: Variable "res" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/preamble.c:120: leaked_storage: Variable "res" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/preamble.c:125: noescape: Variable "res" is not freed or pointed-to in function "__pmEncodeResult". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_result.c:38:48: noescape: "__pmEncodeResult" does not free or save its pointer parameter "result". /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/preamble.c:126: leaked_storage: Variable "res" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/preamble.c:131: leaked_storage: Variable "res" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/preamble.c:136: leaked_storage: Variable "res" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/preamble.c:140: leaked_storage: Variable "res" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/preamble.c:154: leaked_storage: Variable "res" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/preamble.c:158: leaked_storage: Variable "res" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/preamble.c:170: leaked_storage: Variable "res" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/app2.c:146: alloc_fn: Calling allocation function "fopen". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/app2.c:146: var_assign: Assigning: "foo" = storage returned from "fopen("/dev/null", "rw")". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/app2.c:153: noescape: Variable "foo" is not freed or pointed-to in function "fgetc". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/app2.c:154: noescape: Variable "foo" is not freed or pointed-to in function "fputc". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/app2.c:160: leaked_storage: Variable "foo" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/app2.c:162: leaked_storage: Variable "foo" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/cpan/PMDA/PMDA.xs:496: alloc_fn: Calling allocation function "calloc". /builddir/build/BUILD/pcp-3.5.11/src/cpan/PMDA/PMDA.xs:496: var_assign: Assigning: "instances" = storage returned from "calloc(len, 16UL)". /builddir/build/BUILD/pcp-3.5.11/src/cpan/PMDA/PMDA.xs:508: leaked_storage: Variable "instances" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/syslog.c:182: alloc_fn: Calling allocation function "sdup". /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/dstruct.c:405: alloc_fn: Storage is returned from allocation function "strdup". /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/dstruct.c:405: var_assign: Assigning: "q" = "strdup(p)". /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/dstruct.c:408: return_alloc: Returning allocated memory "q". /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/syslog.c:182: noescape: Variable "sdup(tag)" is not freed or pointed-to in function "strcpy". /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/syslog.c:182: leaked_storage: Failing to save storage allocated by "sdup(tag)" leaks it. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/cgroups.c:308: alloc_fn: Calling allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/cgroups.c:308: var_assign: Assigning: "atoms" = storage returned from "malloc(8UL)". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/cgroups.c:311: leaked_storage: Variable "atoms" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/logio.c:76: alloc_fn: Calling allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/logio.c:76: var_assign: Assigning: "lpb" = storage returned from "malloc(ntohl(head))". /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/logio.c:87: noescape: Variable "lpb" is not freed or pointed-to in function "fread". /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/logio.c:94: leaked_storage: Variable "lpb" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/logio.c:97: leaked_storage: Variable "lpb" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/logio.c:99: leaked_storage: Variable "lpb" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/logio.c:76: alloc_fn: Calling allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/logio.c:76: var_assign: Assigning: "lpb" = storage returned from "malloc(ntohl(head))". /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/logio.c:87: noescape: Variable "lpb" is not freed or pointed-to in function "fread". /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/logio.c:103: var_assign: Assigning: "p" = "lpb". /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/logio.c:104: noescape: Variable "p" is not freed or pointed-to in function "memcpy". /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/logio.c:111: leaked_storage: Variable "lpb" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/logio.c:111: leaked_storage: Variable "p" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/app3.c:143: leaked_storage: Variable "foo" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/app3.c:146: alloc_fn: Calling allocation function "fopen". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/app3.c:146: var_assign: Assigning: "foo" = storage returned from "fopen("/dev/null", "rw")". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/app3.c:153: noescape: Variable "foo" is not freed or pointed-to in function "fgetc". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/app3.c:154: noescape: Variable "foo" is not freed or pointed-to in function "fputc". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/app3.c:160: leaked_storage: Variable "foo" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmlogsummary/pmlogsummary.c:271: alloc_arg: Calling allocation function "pmNameInDom" on "str". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:227: alloc_arg: "receive_instance_name" allocates memory that is stored into "*name". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:182: alloc_fn: Storage is returned from allocation function "strdup". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:182: var_assign: Assigning: "*name" = "strdup(result->namelist[0])". /builddir/build/BUILD/pcp-3.5.11/src/pmlogsummary/pmlogsummary.c:284: noescape: Variable "str" is not freed or pointed-to in function "strcmp". /builddir/build/BUILD/pcp-3.5.11/src/pmlogsummary/pmlogsummary.c:269: overwrite_var: Overwriting "str" in call "str = NULL" leaks the storage that "str" points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmlogsummary/pmlogsummary.c:271: alloc_arg: Calling allocation function "pmNameInDom" on "str". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:227: alloc_arg: "receive_instance_name" allocates memory that is stored into "*name". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:182: alloc_fn: Storage is returned from allocation function "strdup". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/instance.c:182: var_assign: Assigning: "*name" = "strdup(result->namelist[0])". /builddir/build/BUILD/pcp-3.5.11/src/pmlogsummary/pmlogsummary.c:284: noescape: Variable "str" is not freed or pointed-to in function "strcmp". /builddir/build/BUILD/pcp-3.5.11/src/pmlogsummary/pmlogsummary.c:349: leaked_storage: Variable "str" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmlogreduce/logio.c:75: alloc_fn: Calling allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/pmlogreduce/logio.c:75: var_assign: Assigning: "lpb" = storage returned from "malloc(ntohl(head))". /builddir/build/BUILD/pcp-3.5.11/src/pmlogreduce/logio.c:86: noescape: Variable "lpb" is not freed or pointed-to in function "fread". /builddir/build/BUILD/pcp-3.5.11/src/pmlogreduce/logio.c:93: leaked_storage: Variable "lpb" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/pmlogreduce/logio.c:96: leaked_storage: Variable "lpb" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/pmlogreduce/logio.c:98: leaked_storage: Variable "lpb" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmlogreduce/logio.c:75: alloc_fn: Calling allocation function "malloc". /builddir/build/BUILD/pcp-3.5.11/src/pmlogreduce/logio.c:75: var_assign: Assigning: "lpb" = storage returned from "malloc(ntohl(head))". /builddir/build/BUILD/pcp-3.5.11/src/pmlogreduce/logio.c:86: noescape: Variable "lpb" is not freed or pointed-to in function "fread". /builddir/build/BUILD/pcp-3.5.11/src/pmlogreduce/logio.c:102: var_assign: Assigning: "p" = "lpb". /builddir/build/BUILD/pcp-3.5.11/src/pmlogreduce/logio.c:103: noescape: Variable "p" is not freed or pointed-to in function "memcpy". /builddir/build/BUILD/pcp-3.5.11/src/pmlogreduce/logio.c:110: leaked_storage: Variable "lpb" going out of scope leaks the storage it points to. /builddir/build/BUILD/pcp-3.5.11/src/pmlogreduce/logio.c:110: leaked_storage: Variable "p" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/shping/shping.c:264: open_fn: Calling opening function "dup". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/shping/shping.c:264: leaked_handle: Failing to save handle opened by "dup(1)" leaks it. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/shping/shping.c:250: open_fn: Calling opening function "open". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/shping/shping.c:250: leaked_handle: Failing to save handle opened by "open("/dev/null", 0, 0)" leaks it. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/shping/shping.c:263: open_fn: Calling opening function "open". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/shping/shping.c:263: leaked_handle: Failing to save handle opened by "open("/dev/null", 1, 0)" leaks it. Error: RESOURCE_LEAK: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/shping/shping.c:259: open_fn: Calling opening function "open". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/shping/shping.c:259: var_assign: Assigning: "sts" = handle returned from "open("shping.out", 1089, 420)". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/shping/shping.c:268: overwrite_var: Overwriting handle "sts" in call "sts = execv("/bin/sh", argv)" leaks the handle. Error: RETURN_LOCAL: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/src/trace.c:451: local_ptr_assign_local: Assigning: "hptr" = "&hash" (address of local variable "hash"). /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/src/trace.c:464: out_of_scope: Variable "hash" goes out of scope. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/src/trace.c:487: use_invalid: Using "hptr", which points to an out-of-scope variable "hash". Error: REVERSE_INULL: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_pmns.c:211: deref_ptr: Directly dereferencing pointer "namelist". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_pmns.c:213: check_after_deref: Dereferencing "namelist" before a null check. Error: REVERSE_INULL: /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/symbol.c:242: deref_ptr: Directly dereferencing pointer "lag". /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/symbol.c:249: check_after_deref: Dereferencing "lag" before a null check. Error: REVERSE_INULL: /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/metric.c:115: deref_ptr: Directly dereferencing pointer "names". /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/metric.c:116: check_after_deref: Dereferencing "names" before a null check. Error: REVERSE_INULL: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/loop.c:576: deref_ptr: Directly dereferencing pointer "lm->current_timeout". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/loop.c:580: check_after_deref: Dereferencing "lm->current_timeout" before a null check. Error: REVERSE_INULL: /builddir/build/BUILD/pcp-3.5.11/src/pmlogextract/metriclist.c:122: deref_ptr: Directly dereferencing pointer "elm". /builddir/build/BUILD/pcp-3.5.11/src/pmlogextract/metriclist.c:124: check_after_deref: Dereferencing "elm" before a null check. Error: REVERSE_INULL: /builddir/build/BUILD/pcp-3.5.11/src/pmlogextract/pmlogextract.c:1079: deref_ptr_in_call: Dereferencing pointer "iap->_result". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:1548: deref_parm_field_in_call: Function "printstamp" dereferences field "&(*result)->timestamp". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:67: deref_parm: Directly dereferencing parameter "tp". /builddir/build/BUILD/pcp-3.5.11/src/pmlogextract/pmlogextract.c:1139: check_after_deref: Dereferencing "iap->_result" before a null check. Error: REVERSE_INULL: /builddir/build/BUILD/pcp-3.5.11/src/pmlogextract/pmlogextract.c:1079: deref_ptr_in_call: Dereferencing pointer "iap->_result". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:1548: deref_parm_field_in_call: Function "printstamp" dereferences field "&(*result)->timestamp". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:67: deref_parm: Directly dereferencing parameter "tp". /builddir/build/BUILD/pcp-3.5.11/src/pmlogextract/pmlogextract.c:1105: deref_ptr: Directly dereferencing pointer "iap->_result". /builddir/build/BUILD/pcp-3.5.11/src/pmlogextract/pmlogextract.c:1115: check_after_deref: Dereferencing "iap->_result" before a null check. Error: REVERSE_INULL: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/src/trace.c:261: deref_ptr: Directly dereferencing pointer "k". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/src/trace.c:269: check_after_deref: Dereferencing "k" before a null check. Error: REVERSE_INULL: /builddir/build/BUILD/pcp-3.5.11/src/newhelp/newhelp.c:395: deref_ptr: Directly dereferencing pointer "bp". /builddir/build/BUILD/pcp-3.5.11/src/newhelp/newhelp.c:397: check_after_deref: Dereferencing "bp" before a null check. Error: REVERSE_INULL: /builddir/build/BUILD/pcp-3.5.11/src/libpcp_trace/src/trace.c:85: deref_ptr: Directly dereferencing pointer "data". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_trace/src/trace.c:87: check_after_deref: Dereferencing "data" before a null check. Error: REVERSE_INULL: /builddir/build/BUILD/pcp-3.5.11/src/pmlogsummary/pmlogsummary.c:1203: deref_ptr_in_call: Dereferencing pointer "result". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/fetch.c:214: deref_parm: Directly dereferencing parameter "*result". /builddir/build/BUILD/pcp-3.5.11/src/pmlogsummary/pmlogsummary.c:1208: deref_ptr: Directly dereferencing pointer "result". /builddir/build/BUILD/pcp-3.5.11/src/pmlogsummary/pmlogsummary.c:1211: check_after_deref: Dereferencing "result" before a null check. Error: REVERSE_INULL: /builddir/build/BUILD/pcp-3.5.11/src/pmlogsummary/pmlogsummary.c:1203: deref_ptr_in_call: Dereferencing pointer "result". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/fetch.c:214: deref_parm: Directly dereferencing parameter "*result". /builddir/build/BUILD/pcp-3.5.11/src/pmlogsummary/pmlogsummary.c:1208: deref_ptr: Directly dereferencing pointer "result". /builddir/build/BUILD/pcp-3.5.11/src/pmlogsummary/pmlogsummary.c:1220: check_after_deref: Dereferencing "result" before a null check. Error: REVERSE_INULL: /builddir/build/BUILD/pcp-3.5.11/src/pmlogsummary/pmlogsummary.c:248: deref_ptr: Directly dereferencing pointer "avedata". /builddir/build/BUILD/pcp-3.5.11/src/pmlogsummary/pmlogsummary.c:347: check_after_deref: Dereferencing "avedata" before a null check. Error: REVERSE_INULL: /builddir/build/BUILD/pcp-3.5.11/src/pmlogsummary/pmlogcheck.c:592: deref_ptr_in_call: Dereferencing pointer "result". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/fetch.c:214: deref_parm: Directly dereferencing parameter "*result". /builddir/build/BUILD/pcp-3.5.11/src/pmlogsummary/pmlogcheck.c:642: check_after_deref: Dereferencing "result" before a null check. Error: REVERSE_INULL: /builddir/build/BUILD/pcp-3.5.11/src/pmlogsummary/pmlogcheck.c:592: deref_ptr_in_call: Dereferencing pointer "result". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/fetch.c:214: deref_parm: Directly dereferencing parameter "*result". /builddir/build/BUILD/pcp-3.5.11/src/pmlogsummary/pmlogcheck.c:645: check_after_deref: Dereferencing "result" before a null check. Error: SIZECHECK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/interp.c:997: buffer_alloc: "malloc(16UL)" allocates memory. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/interp.c:997: size_error: Allocating 16 bytes to pointer "rp->vset[j]", which needs at least 32 bytes. Error: SIZECHECK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/interp.c:1010: buffer_alloc: "malloc(16UL)" allocates memory. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/interp.c:1010: size_error: Allocating 16 bytes to pointer "rp->vset[j]", which needs at least 32 bytes. Error: SIZECHECK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp_pmda/src/tree.c:182: buffer_alloc: "malloc(nmatch * 8UL)" allocates memory. /builddir/build/BUILD/pcp-3.5.11/src/libpcp_pmda/src/tree.c:182: incorrect_multiplication: Allocating a multiple of 8 bytes to pointer "leaf", which needs 4 bytes. Error: SIZECHECK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp_http/src/http_fetcher.c:497: size_is_strlen: Calling allocating function "malloc" with function argument "strlen(newAgent)". Did you intend to add 1 to the byte count? Error: SIZECHECK: /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/pmda.c:665: size_is_strlen: Calling allocating function "malloc" with function argument "strlen(param.name)". Did you intend to add 1 to the byte count? Error: SIZECHECK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp_pmda/src/tree.c:267: buffer_alloc: "malloc(nmetrics * 8UL)" allocates memory. /builddir/build/BUILD/pcp-3.5.11/src/libpcp_pmda/src/tree.c:267: incorrect_multiplication: Allocating a multiple of 8 bytes to pointer "leaf", which needs 4 bytes. Error: SIZECHECK: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/sample/src/sample.c:1159: buffer_alloc: "malloc(4UL)" allocates memory. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/sample/src/sample.c:1159: size_error: Allocating 4 bytes to pointer "_aggr33", which needs at least 8 bytes. Error: SIZECHECK: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/sample/src/sample.c:1166: buffer_alloc: "malloc(6UL)" allocates memory. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/sample/src/sample.c:1166: size_error: Allocating 6 bytes to pointer "_aggr35", which needs at least 8 bytes. Error: SIZECHECK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp_pmda/src/callback.c:483: buffer_alloc: "malloc(16UL)" allocates memory. /builddir/build/BUILD/pcp-3.5.11/src/libpcp_pmda/src/callback.c:483: size_error: Allocating 16 bytes to pointer "vset", which needs at least 32 bytes. Error: SIZECHECK: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/sample/src/sample.c:1689: buffer_alloc: "malloc(16UL)" allocates memory. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/sample/src/sample.c:1689: size_error: Allocating 16 bytes to pointer "vset", which needs at least 32 bytes. Error: SIZECHECK: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/shping/shping.c:458: buffer_alloc: "malloc(16UL)" allocates memory. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/shping/shping.c:458: size_error: Allocating 16 bytes to pointer "vset", which needs at least 32 bytes. Error: SIZECHECK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp_http/src/http_fetcher.c:591: size_is_strlen: Calling allocating function "malloc" with function argument "strlen(ptr)". Did you intend to add 1 to the byte count? Error: SIZECHECK: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/weblog/weblog.c:2601: buffer_alloc: "malloc(16UL)" allocates memory. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/weblog/weblog.c:2601: size_error: Allocating 16 bytes to pointer "vset", which needs at least 32 bytes. Error: SIZECHECK: /builddir/build/BUILD/pcp-3.5.11/src/libpcp_http/src/http_fetcher.c:527: size_is_strlen: Calling allocating function "malloc" with function argument "strlen(newReferer)". Did you intend to add 1 to the byte count? Error: SIZECHECK: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/src/trace.c:928: buffer_alloc: "malloc(16UL)" allocates memory. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/trace/src/trace.c:928: size_error: Allocating 16 bytes to pointer "vset", which needs at least 32 bytes. Error: SIZEOF_MISMATCH: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_stat.c:80: suspicious_sizeof: Passing argument "proc_stat" of type "proc_stat_t *" and argument "8UL /* sizeof (proc_stat) */" to function "memset" is suspicious. Did you intend to use "sizeof(*proc_stat)" instead of "sizeof (proc_stat)" ? Error: SIZEOF_MISMATCH: /builddir/build/BUILD/pcp-3.5.11/src/libpcp_pmda/src/tree.c:182: suspicious_sizeof: Passing argument "nmatch * 8UL /* sizeof (int *) */" to function "malloc" and then casting the return value to "int *" is suspicious. Did you intend to use "sizeof(int)" instead of "sizeof (int *)" ? Error: SIZEOF_MISMATCH: /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/metric.c:115: suspicious_sizeof: Passing argument "*numnames * 8UL /* sizeof (names[1]) */" to function "malloc" and then casting the return value to "char **" is suspicious. Did you intend to use "sizeof(*names[1])" instead of "sizeof (names[1])" ? In this particular case sizeof(char **) happens to be equal to sizeof(char *), but this is not a portable assumption. Error: SIZEOF_MISMATCH: /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/metric.c:117: suspicious_sizeof: Passing argument "strerror(*__errno_location())" of type "char **" and argument "*numnames * 8UL /* sizeof (names[1]) */" to function "fprintf" is suspicious. Did you intend to use "sizeof(*names[1])" instead of "sizeof (names[1])" ? In this particular case sizeof(char **) happens to be equal to sizeof(char *), but this is not a portable assumption. Error: SIZEOF_MISMATCH: /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/indom.c:222: suspicious_sizeof: Passing argument "strerror(*__errno_location())" of type "char *" and argument "*numinst * 8UL /* sizeof (char *) */" to function "fprintf" is suspicious. Error: SIZEOF_MISMATCH: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_meminfo.c:102: suspicious_sizeof: Passing argument "proc_meminfo" of type "proc_meminfo_t *" and argument "8UL /* sizeof (proc_meminfo) */" to function "memset" is suspicious. Did you intend to use "sizeof(*proc_meminfo)" instead of "sizeof (proc_meminfo)" ? Error: SIZEOF_MISMATCH: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_net_sockstat.c:28: suspicious_sizeof: Passing argument "proc_net_sockstat" of type "proc_net_sockstat_t *" and argument "8UL /* sizeof (proc_net_sockstat) */" to function "memset" is suspicious. Did you intend to use "sizeof(*proc_net_sockstat)" instead of "sizeof (proc_net_sockstat)" ? Error: SIZEOF_MISMATCH: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_vmstat.c:148: suspicious_sizeof: Passing argument "proc_vmstat" of type "proc_vmstat_t *" and argument "8UL /* sizeof (proc_vmstat) */" to function "memset" is suspicious. Did you intend to use "sizeof(*proc_vmstat)" instead of "sizeof (proc_vmstat)" ? Error: SIZEOF_MISMATCH: /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:2165: suspicious_sizeof: Passing argument "warning" of type "char *" and argument "8UL /* sizeof (warning) */" to function "snprintf" is suspicious. Error: SIZEOF_MISMATCH: /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/indom.c:75: suspicious_sizeof: Passing argument "strerror(*__errno_location())" of type "char *" and argument "numinst * 8 /* (int)sizeof (char *) */" to function "fprintf" is suspicious. Error: SIZEOF_MISMATCH: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_net_snmp.c:41: suspicious_sizeof: Passing argument "proc_net_snmp" of type "proc_net_snmp_t *" and argument "8UL /* sizeof (proc_net_snmp) */" to function "memset" is suspicious. Did you intend to use "sizeof(*proc_net_snmp)" instead of "sizeof (proc_net_snmp)" ? Error: SIZEOF_MISMATCH: /builddir/build/BUILD/pcp-3.5.11/src/libpcp_pmda/src/tree.c:267: suspicious_sizeof: Passing argument "nmetrics * 8UL /* sizeof (int *) */" to function "malloc" and then casting the return value to "int *" is suspicious. Did you intend to use "sizeof(int)" instead of "sizeof (int *)" ? Error: SIZEOF_MISMATCH: /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/pmlogrewrite.c:303: suspicious_sizeof: Passing argument "strerror(*__errno_location())" of type "char *" and argument "nconf * 8UL /* sizeof (conf[0]) */" to function "fprintf" is suspicious. Error: STRAY_SEMICOLON: /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/pmcd.c:1116: stray_semicolon: "if" statement "if (dup(fileno(stderr)) < 0);" with no "then" or "else" is suspicious. Is the ';' after "if (dup(fileno(stderr)) < 0)" extraneous? Error: UNINIT: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:365: var_decl: Declaring variable "allinbuf" without initializer. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:422: uninit_use_in_call: Using uninitialized value "allinbuf" when calling "addindom". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:152: read_parm: Reading a parameter value. Error: UNINIT: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/util.c:1062: var_decl: Declaring variable "pmid" without initializer. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/util.c:1072: uninit_use_in_call: Using uninitialized value "pmid" when calling "pmLookupName". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1862: read_parm: Reading a parameter value. Error: UNINIT: /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/dstruct.c:748: var_decl: Declaring variable "u" without initializer. /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/dstruct.c:777: uninit_use: Using uninitialized value "u": field "u".scaleSpace is uninitialized. Error: UNINIT: /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/dstruct.c:490: var_decl: Declaring variable "pmid" without initializer. /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/dstruct.c:492: uninit_use_in_call: Using uninitialized value "pmid" when calling "pmLookupName". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1862: read_parm: Reading a parameter value. Error: UNINIT: /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/dopdus.c:779: var_decl: Declaring variable "idlist" without initializer. /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/dopdus.c:811: uninit_use_in_call: Using uninitialized element of array "idlist" when calling "pmLookupName". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1862: read_parm: Reading a parameter value. Error: UNINIT: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:2752: var_decl: Declaring variable "numnames" without initializer. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:2796: uninit_use: Using uninitialized value "numnames". Error: UNINIT: /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/dopdus.c:500: var_decl: Declaring variable "idlist". /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/dopdus.c:508: alloc_fn: Assigning: "idlist" = "(pmID *)malloc(4UL * numids)", which is allocated but not initialized. /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/dopdus.c:513: uninit_use_in_call: Using uninitialized value "*idlist" when calling "pmLookupName". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1862: read_parm: Reading a parameter value. Error: UNINIT: /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/dopdus.c:631: var_decl: Declaring variable "idlist" without initializer. /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/dopdus.c:637: uninit_use_in_call: Using uninitialized element of array "idlist" when calling "pmLookupName". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1862: read_parm: Reading a parameter value. Error: UNINIT: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/ksym.c:343: var_decl: Declaring variable "i" without initializer. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/ksym.c:420: uninit_use: Using uninitialized value "i". Error: UNINIT: /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/dopdus.c:213: var_decl: Declaring variable "desc" without initializer. /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/dopdus.c:274: uninit_use_in_call: Using uninitialized value "(int)desc.pmid" when calling "pmcd_trace". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_pmcd/src/trace.c:94: read_parm: Reading a parameter value. /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/dopdus.c:275: uninit_use_in_call: Using uninitialized value "desc.indom" when calling "__pmSendDesc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_desc.c:76: read_parm_fld: Reading a parameter field. /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/dopdus.c:275: uninit_use_in_call: Using uninitialized value "desc.sem" when calling "__pmSendDesc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_desc.c:75: read_parm_fld: Reading a parameter field. /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/dopdus.c:275: uninit_use_in_call: Using uninitialized value "desc.type" when calling "__pmSendDesc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_desc.c:74: read_parm_fld: Reading a parameter field. /builddir/build/BUILD/pcp-3.5.11/src/pmcd/src/dopdus.c:275: uninit_use_in_call: Using uninitialized value "desc.units": field "desc.units".dimSpace is uninitialized when calling "__pmSendDesc". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/p_desc.c:77: read_parm_fld: Reading a parameter field. Error: UNINIT: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/roomtemp/mlan/mlannetu.c:132: var_decl: Declaring variable "TempSerialNum" without initializer. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/roomtemp/mlan/mlannetu.c:235: uninit_use_in_call: Using uninitialized value "TempSerialNum[0]" when calling "bitacc". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/roomtemp/mlan/mlannetu.c:591: read_parm: Reading a parameter value. Error: UNINIT: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logportmap.c:374: var_decl: Declaring variable "pmid" without initializer. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logportmap.c:389: uninit_use_in_call: Using uninitialized value "pmid" when calling "pmLookupName". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1862: read_parm: Reading a parameter value. Error: UNINIT: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_scsi.c:34: var_decl: Declaring variable "x" without initializer. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_scsi.c:86: uninit_use_in_call: Using uninitialized value "x": field "x".dev_name is uninitialized when calling "memcpy". Error: UNINIT: /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/pmie.c:847: var_decl: Declaring variable "tv2" without initializer. /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/pmie.c:900: uninit_use_in_call: Using uninitialized value "tv2": field "tv2".tv_usec is uninitialized when calling "__pmParseTime". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/rtime.c:538: read_parm: Reading a parameter value. Error: UNINIT: /builddir/build/BUILD/pcp-3.5.11/src/pmclient/pmclient.c:47: var_decl: Declaring variable "pmidlist" without initializer. /builddir/build/BUILD/pcp-3.5.11/src/pmclient/pmclient.c:53: uninit_use_in_call: Using uninitialized element of array "pmidlist" when calling "pmLookupName". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1862: read_parm: Reading a parameter value. Error: UNINIT: /builddir/build/BUILD/pcp-3.5.11/src/newhelp/newhelp.c:65: var_decl: Declaring variable "pmid" without initializer. /builddir/build/BUILD/pcp-3.5.11/src/newhelp/newhelp.c:81: uninit_use_in_call: Using uninitialized value "pmid" when calling "pmLookupName". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1862: read_parm: Reading a parameter value. Error: UNINIT: /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/pmda.c:289: var_decl: Declaring variable "result" without initializer. /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/pmda.c:437: uninit_use_in_call: Using uninitialized value "result" when calling "fillResult". /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/pmda.c:689: read_parm: Reading a parameter value. Error: UNINIT: /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/pmda.c:286: var_decl: Declaring variable "sts" without initializer. /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/pmda.c:625: uninit_use: Using uninitialized value "sts". Error: UNINIT: /builddir/build/BUILD/pcp-3.5.11/src/pmlc/util.c:266: var_decl: Declaring variable "pmid" without initializer. /builddir/build/BUILD/pcp-3.5.11/src/pmlc/util.c:276: uninit_use_in_call: Using uninitialized value "pmid" when calling "pmLookupName". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1862: read_parm: Reading a parameter value. Error: UNINIT: /builddir/build/BUILD/pcp-3.5.11/src/pmval/pmval.c:1204: var_decl: Declaring variable "delta" without initializer. /builddir/build/BUILD/pcp-3.5.11/src/pmval/pmval.c:1219: uninit_use_in_call: Using uninitialized value "delta": field "delta".tv_usec is uninitialized when calling "getargs". /builddir/build/BUILD/pcp-3.5.11/src/pmval/pmval.c:1189: read_parm: Reading a parameter value. Error: UNINIT: /builddir/build/BUILD/pcp-3.5.11/src/pmval/pmval.c:1210: var_decl: Declaring variable "rslt2" without initializer. /builddir/build/BUILD/pcp-3.5.11/src/pmval/pmval.c:1322: uninit_use: Using uninitialized value "rslt2". /builddir/build/BUILD/pcp-3.5.11/src/pmval/pmval.c:1329: uninit_use_in_call: Using uninitialized value "rslt2" when calling "pmFreeResult". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/freeresult.c:105: read_parm: Reading a parameter value. Error: UNINIT: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/weblog/check_match.c:55: var_decl: Declaring variable "re" without initializer. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/weblog/check_match.c:218: uninit_use_in_call: Using uninitialized value "re": field "re".newline_anchor is uninitialized when calling "regexec". Error: UNINIT: /builddir/build/BUILD/pcp-3.5.11/src/pmlogsummary/pmlogsummary.c:229: var_decl: Declaring variable "pmid" without initializer. /builddir/build/BUILD/pcp-3.5.11/src/pmlogsummary/pmlogsummary.c:239: uninit_use_in_call: Using uninitialized value "pmid" when calling "pmLookupName". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1862: read_parm: Reading a parameter value. Error: UNINIT: /builddir/build/BUILD/pcp-3.5.11/src/pmlc/actions.c:46: var_decl: Declaring variable "pb" without initializer. /builddir/build/BUILD/pcp-3.5.11/src/pmlc/actions.c:100: uninit_use_in_call: Using uninitialized value "pb" when calling "__pmUnpinPDUBuf". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pdubuf.c:146: read_parm: Reading a parameter value. Error: UNREACHABLE: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:159: unreachable: This code cannot be reached: "eof = 1;". Error: UNREACHABLE: /builddir/build/BUILD/pcp-3.5.11/src/pmlogrewrite/metric.c:176: unreachable: Since the loop increment "i++;" is unreachable, the loop body will never execute more than once. Error: UNUSED_VALUE: /builddir/build/BUILD/pcp-3.5.11/src/libpcp_trace/src/trace.c:725: returned_pointer: Pointer "sptr" returned by "getenv("PCP_TRACE_NOAGENT")" is never used. Error: UNUSED_VALUE: /builddir/build/BUILD/pcp-3.5.11/src/libpcp_trace/src/trace.c:709: returned_pointer: Pointer "sptr" returned by "getenv("PCP_TRACE_PORT")" is never used. Error: UNUSED_VALUE: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/derive.c:108: returned_pointer: Pointer "msg" returned by "pmRegisterDerived(name, buf)" is never used. Error: UNUSED_VALUE: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_net_snmp.c:22: returned_pointer: Pointer "p" returned by "strtok(buf, " ")" is never used. Error: UNUSED_VALUE: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/swapdev.c:45: returned_pointer: Pointer "type" returned by "strtok(NULL, " \t")" is never used. Error: UNUSED_VALUE: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_net_rpc.c:171: returned_pointer: Pointer "p" returned by "strtok(NULL, " ")" is never used. Error: UNUSED_VALUE: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_net_rpc.c:171: returned_pointer: Pointer "p" returned by "strtok(buf, " ")" is never used. Error: UNUSED_VALUE: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/proc_pid.c:672: returned_pointer: Pointer "de" returned by "readdir(dir)" is never used. Error: UNUSED_VALUE: /builddir/build/BUILD/pcp-3.5.11/src/pmlogextract/pmlogextract.c:973: returned_pointer: Pointer "hnp" returned by "__pmHashSearch((int)pmid, &mdesc_hash)" is never used. Error: USE_AFTER_FREE: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/util.c:402: freed_arg: "free" frees "p". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/util.c:401: pass_freed_arg: Passing freed pointer "p" as an argument to function "fprintf". Error: USE_AFTER_FREE: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:2166: alias: Assigning: "f" = "lcp->l_mfp". Now both point to the same storage. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:2190: freed_arg: "fclose" frees "f". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:2166: use_after_free: Using freed pointer "lcp->l_mfp". Error: USE_AFTER_FREE: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:2272: alias: Assigning: "rp" = "nrp". Now both point to the same storage. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:2271: freed_arg: "pmFreeResult" frees "rp". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/freeresult.c:106: freed_arg: "free" frees parameter "result". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:2272: use_after_free: Using freed pointer "nrp". Error: USE_AFTER_FREE: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/interp.c:165: freed_arg: "pmFreeResult" frees "lfup->rp". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/freeresult.c:106: freed_arg: "free" frees parameter "result". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/interp.c:172: use_after_free: Using freed pointer "lfup->rp". Error: USE_AFTER_FREE: /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/pragmatics.c:1091: freed_arg: "pmFreeResult" frees "f->result". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/freeresult.c:106: freed_arg: "free" frees parameter "result". /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/pragmatics.c:1094: deref_arg: Calling "pmFetch" dereferences freed pointer "f->result". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/fetch.c:186: deref_parm_in_call: Function "__pmDumpResult" dereferences parameter "*result". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/util.c:391: deref_parm: Directly dereferencing parameter "resp". Error: USE_AFTER_FREE: /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:690: freed_arg: "atom_defaults" frees "aptr". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:663: freed_arg: "free" frees parameter "a". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:691: use_after_free: Using freed pointer "aptr". Error: USE_AFTER_FREE: /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:689: alias: Assigning: "aptr" = "aptr->next". Now both point to the same storage. /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:690: freed_arg: "atom_defaults" frees "aptr". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:663: freed_arg: "free" frees parameter "a". /builddir/build/BUILD/pcp-3.5.11/src/pmieconf/rules.c:691: use_after_free: Using freed pointer "aptr". Error: USE_AFTER_FREE: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/optfetch.c:460: alias: Assigning: "pmp" = "idp->i_pmp". Now both point to the same storage. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/optfetch.c:491: freed_arg: "free" frees "pmp". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/optfetch.c:476: deref_after_free: Dereferencing freed pointer "pmp". Error: USE_AFTER_FREE: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/optfetch.c:430: alias: Assigning: "fp" = "*root". Now both point to the same storage. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/optfetch.c:440: alias: Assigning: "tfp" = "fp". Now both point to the same storage. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/optfetch.c:456: alias: Assigning: "fp" = "*root". Now both point to the same storage. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/optfetch.c:499: freed_arg: "free" frees "fp". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/optfetch.c:472: deref_arg: Calling "addpmid" dereferences freed pointer "tfp". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/optfetch.c:57: deref_parm: Directly dereferencing parameter "fp". Error: USE_AFTER_FREE: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/optfetch.c:430: alias: Assigning: "fp" = "*root". Now both point to the same storage. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/optfetch.c:440: alias: Assigning: "tfp" = "fp". Now both point to the same storage. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/optfetch.c:456: alias: Assigning: "fp" = "*root". Now both point to the same storage. /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/optfetch.c:499: freed_arg: "free" frees "fp". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/optfetch.c:472: pass_freed_arg: Passing freed pointer "tfp" as an argument to function "addpmid". Error: USE_AFTER_FREE: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:1111: freed_arg: "__pmLogWriteLabel" frees "lcp->l_mfp". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:564: freed_arg: "fclose" frees parameter "f". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:1129: pass_freed_arg: Passing freed pointer "lcp->l_mfp" as an argument to function "fwrite". Error: USE_AFTER_FREE: /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:1111: freed_arg: "__pmLogWriteLabel" frees "lcp->l_mfp". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:564: freed_arg: "fclose" frees parameter "f". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:1117: deref_arg: Calling "ftell" dereferences freed pointer "lcp->l_mfp". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:1129: deref_arg: Calling "fwrite" dereferences freed pointer "lcp->l_mfp". Error: USE_AFTER_FREE: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/cgroups.c:553: alias: Assigning: "tree" = "*pmns". Now both point to the same storage. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/cgroups.c:556: freed_arg: "__pmFreePMNS" frees "tree". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:1602: freed_arg: "free" frees parameter "pmns". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/cgroups.c:566: deref_arg: Calling "cgroup_regulars" dereferences freed pointer "tree". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/linux/cgroups.c:543: deref_parm_in_call: Function "__pmAddPMNSNode" dereferences parameter "pmns". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/pmns.c:933: deref_parm: Directly dereferencing parameter "tree". Error: USE_AFTER_FREE: /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/dopdu.c:561: freed_arg: "free" frees "rqp". /builddir/build/BUILD/pcp-3.5.11/src/pmlogger/dopdu.c:562: pass_freed_arg: Passing freed pointer "rqp" as an argument to function "__pmHashDel". Error: USE_AFTER_FREE: /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/dstruct.c:658: freed_arg: "freeMetric" frees "m". /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/dstruct.c:633: freed_arg: "free" frees parameter "m". /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/dstruct.c:657: use_after_free: Using freed pointer "m". Error: USE_AFTER_FREE: /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/dstruct.c:657: alias: Assigning: "m" = "x->metrics". Now both point to the same storage. /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/dstruct.c:658: freed_arg: "freeMetric" frees "m". /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/dstruct.c:633: freed_arg: "free" frees parameter "m". /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/dstruct.c:657: use_after_free: Using freed pointer "m". Error: USE_AFTER_FREE: /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/util.c:521: freed_arg: "free" frees "p". /builddir/build/BUILD/pcp-3.5.11/src/dbpmda/src/util.c:520: pass_freed_arg: Passing freed pointer "p" as an argument to function "fprintf". Error: USE_AFTER_FREE: /builddir/build/BUILD/pcp-3.5.11/src/libpcp_import/src/archive.c:77: freed_arg: "__pmLogWriteLabel" frees "lcp->l_mfp". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:564: freed_arg: "fclose" frees parameter "f". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_import/src/archive.c:82: deref_arg: Calling "fileno" dereferences freed pointer "lcp->l_mfp". Error: USE_AFTER_FREE: /builddir/build/BUILD/pcp-3.5.11/src/libpcp_import/src/archive.c:75: freed_arg: "__pmLogWriteLabel" frees "lcp->l_mdfp". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logutil.c:564: freed_arg: "fclose" frees parameter "f". /builddir/build/BUILD/pcp-3.5.11/src/libpcp_import/src/archive.c:94: deref_arg: Calling "__pmLogPutDesc" dereferences freed pointer "lcp->l_mdfp". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:480: var_assign_parm: Assigning: "f" = "lcp->l_mdfp". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:506: deref_var_in_call: Function "fwrite" dereferences "f" (which is a copy of "lcp->l_mdfp"). /builddir/build/BUILD/pcp-3.5.11/src/libpcp_import/src/archive.c:103: deref_arg: Calling "__pmLogPutInDom" dereferences freed pointer "lcp->l_mdfp". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/logmeta.c:709: deref_parm_in_call: Function "fwrite" dereferences parameter "lcp->l_mdfp". Error: USE_AFTER_FREE: /builddir/build/BUILD/pcp-3.5.11/src/pmdumplog/pmdumplog.c:294: freed_arg: "free" frees "p". /builddir/build/BUILD/pcp-3.5.11/src/pmdumplog/pmdumplog.c:293: pass_freed_arg: Passing freed pointer "p" as an argument to function "printf". Error: USE_AFTER_FREE: /builddir/build/BUILD/pcp-3.5.11/src/pmdumplog/pmdumplog.c:272: freed_arg: "free" frees "mname". /builddir/build/BUILD/pcp-3.5.11/src/pmdumplog/pmdumplog.c:98: pass_freed_arg: Passing freed pointer "mname" as an argument to function "printf". Error: USE_AFTER_FREE: /builddir/build/BUILD/pcp-3.5.11/src/pmevent/pmevent.c:87: freed_arg: "pmFreeResult" frees "rp". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/freeresult.c:106: freed_arg: "free" frees parameter "result". /builddir/build/BUILD/pcp-3.5.11/src/pmevent/pmevent.c:67: deref_arg: Calling "pmFetchArchive" dereferences freed pointer "rp". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/fetch.c:214: deref_parm: Directly dereferencing parameter "*result". Error: USE_AFTER_FREE: /builddir/build/BUILD/pcp-3.5.11/src/pmval/pmval.c:295: freed_arg: "pmFreeResult" frees "r". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/freeresult.c:106: freed_arg: "free" frees parameter "result". /builddir/build/BUILD/pcp-3.5.11/src/pmval/pmval.c:278: deref_arg: Calling "pmFetchArchive" dereferences freed pointer "r". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/fetch.c:214: deref_parm: Directly dereferencing parameter "*result". Error: USE_AFTER_FREE: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/summary/mainloop.c:244: freed_arg: "pmFreeResult" frees "result". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/freeresult.c:106: freed_arg: "free" frees parameter "result". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/summary/mainloop.c:244: deref_arg: Calling "pmFreeResult" dereferences freed pointer "result". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/freeresult.c:105: deref_parm_in_call: Function "__pmFreeResultValues" dereferences parameter "result". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/freeresult.c:31: deref_parm: Directly dereferencing parameter "result". Error: USE_AFTER_FREE: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/summary/mainloop.c:244: freed_arg: "pmFreeResult" frees "result". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/freeresult.c:106: freed_arg: "free" frees parameter "result". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/summary/mainloop.c:241: pass_freed_arg: Passing freed pointer "result" as an argument to function "*dtp->version.two.store". Error: USE_AFTER_FREE: /builddir/build/BUILD/pcp-3.5.11/src/pmdas/summary/mainloop.c:166: alias: Assigning: "saveprofile" = "profile". Now both point to the same storage. /builddir/build/BUILD/pcp-3.5.11/src/pmdas/summary/mainloop.c:161: freed_arg: "free" frees "saveprofile". /builddir/build/BUILD/pcp-3.5.11/src/pmdas/summary/mainloop.c:166: use_after_free: Using freed pointer "profile". Error: USE_AFTER_FREE: /builddir/build/BUILD/pcp-3.5.11/src/pmlogreduce/scan.c:207: freed_arg: "pmFreeResult" frees "rp". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/freeresult.c:106: freed_arg: "free" frees parameter "result". /builddir/build/BUILD/pcp-3.5.11/src/pmlogreduce/scan.c:74: deref_arg: Calling "pmFetchArchive" dereferences freed pointer "rp". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/fetch.c:214: deref_parm: Directly dereferencing parameter "*result". Error: USE_AFTER_FREE: /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/syslog.c:120: alias: Assigning: "others" = "act->arg1". Now both point to the same storage. /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/syslog.c:124: alias: Assigning: "others" = "act->arg1". Now both point to the same storage. /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/syslog.c:187: alias: Assigning: "tmp" = "act->arg1". Now both point to the same storage. /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/syslog.c:192: freed_arg: "free" frees "tmp". /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/syslog.c:198: use_after_free: Using freed pointer "others". Error: USE_AFTER_FREE: /builddir/build/BUILD/pcp-3.5.11/src/pmval/pmval.c:1310: freed_arg: "free" frees "cntxt.inames". /builddir/build/BUILD/pcp-3.5.11/src/pmval/pmval.c:1312: deref_arg: Calling "initinsts" dereferences freed pointer "cntxt.inames". /builddir/build/BUILD/pcp-3.5.11/src/pmval/pmval.c:170: var_assign_parm: Assigning: "np" = "x->inames". /builddir/build/BUILD/pcp-3.5.11/src/pmval/pmval.c:178: deref_var: Dereferencing "np" (which is a copy of "x->inames"). Error: USE_AFTER_FREE: /builddir/build/BUILD/pcp-3.5.11/src/pmval/pmval.c:1258: deref_arg: Calling "printlabels" dereferences freed pointer "cntxt.ipairs". /builddir/build/BUILD/pcp-3.5.11/src/pmval/pmval.c:451: var_assign_parm: Assigning: "pairs" = "x->ipairs". /builddir/build/BUILD/pcp-3.5.11/src/pmval/pmval.c:459: deref_var: Dereferencing "ip" (which is a copy of "x->ipairs"). /builddir/build/BUILD/pcp-3.5.11/src/pmval/pmval.c:1311: freed_arg: "free" frees "cntxt.ipairs". /builddir/build/BUILD/pcp-3.5.11/src/pmval/pmval.c:1313: deref_arg: Calling "printlabels" dereferences freed pointer "cntxt.ipairs". /builddir/build/BUILD/pcp-3.5.11/src/pmval/pmval.c:451: var_assign_parm: Assigning: "pairs" = "x->ipairs". /builddir/build/BUILD/pcp-3.5.11/src/pmval/pmval.c:459: deref_var: Dereferencing "ip" (which is a copy of "x->ipairs"). Error: USE_AFTER_FREE: /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/symbol.c:117: freed_arg: "remBucket" frees "st->hdr.next". /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/symbol.c:91: freed_arg: "free" frees parameter "bckt". /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/symbol.c:117: deref_arg: Calling "remBucket" dereferences freed pointer "st->hdr.next". /builddir/build/BUILD/pcp-3.5.11/src/pmie/src/symbol.c:75: deref_parm: Directly dereferencing parameter "bckt". Error: USE_AFTER_FREE: /builddir/build/BUILD/pcp-3.5.11/src/pmlogsummary/pmlogsummary.c:1203: deref_arg: Calling "pmFetchArchive" dereferences freed pointer "result". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/fetch.c:214: deref_parm: Directly dereferencing parameter "*result". /builddir/build/BUILD/pcp-3.5.11/src/pmlogsummary/pmlogsummary.c:1220: freed_arg: "pmFreeResult" frees "result". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/freeresult.c:106: freed_arg: "free" frees parameter "result". Error: USE_AFTER_FREE: /builddir/build/BUILD/pcp-3.5.11/src/pmlogsummary/pmlogsummary.c:1203: deref_arg: Calling "pmFetchArchive" dereferences freed pointer "result". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/fetch.c:214: deref_parm: Directly dereferencing parameter "*result". /builddir/build/BUILD/pcp-3.5.11/src/pmlogsummary/pmlogsummary.c:1204: deref_arg: Calling "pmFreeResult" dereferences freed pointer "result". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/freeresult.c:105: deref_parm_in_call: Function "__pmFreeResultValues" dereferences parameter "result". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/freeresult.c:31: deref_parm: Directly dereferencing parameter "result". /builddir/build/BUILD/pcp-3.5.11/src/pmlogsummary/pmlogsummary.c:1216: freed_arg: "pmFreeResult" frees "result". /builddir/build/BUILD/pcp-3.5.11/src/libpcp/src/freeresult.c:106: freed_arg: "free" frees parameter "result".