Task #91553 - added.err
back to task #91553download
Error: GCC_ANALYZER_WARNING (CWE-401):
makedumpfile-1.7.8/makedumpfile.c:1101:17: warning[-Wanalyzer-malloc-leak]: leak of ‘mfns’
makedumpfile-1.7.8/makedumpfile.c:10848:1: enter_function: entry to ‘create_dumpfile’
makedumpfile-1.7.8/makedumpfile.c:10863:14: call_function: calling ‘initial’ from ‘create_dumpfile’
# 1099| if (NUMBER(sme_mask) != NOT_FOUND_NUMBER)
# 1100| pgaddr = pgaddr & ~(NUMBER(sme_mask));
# 1101|-> pgbuf = cache_search(pgaddr, read_size);
# 1102| if (!pgbuf) {
# 1103| ++cache_miss;
Error: GCC_ANALYZER_WARNING (CWE-401):
makedumpfile-1.7.8/makedumpfile.c:1104:26: warning[-Wanalyzer-malloc-leak]: leak of ‘mfns’
makedumpfile-1.7.8/makedumpfile.c:10848:1: enter_function: entry to ‘create_dumpfile’
makedumpfile-1.7.8/makedumpfile.c:10863:14: call_function: calling ‘initial’ from ‘create_dumpfile’
# 1102| if (!pgbuf) {
# 1103| ++cache_miss;
# 1104|-> cached = cache_alloc(pgaddr);
# 1105| if (!cached)
# 1106| goto error;
Error: GCC_ANALYZER_WARNING (CWE-401):
makedumpfile-1.7.8/makedumpfile.c:2234:16: warning[-Wanalyzer-malloc-leak]: leak of ‘bmp’
makedumpfile-1.7.8/makedumpfile.c:10848:1: enter_function: entry to ‘create_dumpfile’
makedumpfile-1.7.8/makedumpfile.c:10863:14: call_function: calling ‘initial’ from ‘create_dumpfile’
# 2232| PAGE_FLAGS_SIZE_v2_6_27_to_latest_version;
# 2233| }
# 2234|-> return TRUE;
# 2235| }
# 2236|
Error: GCC_ANALYZER_WARNING (CWE-401):
makedumpfile-1.7.8/makedumpfile.c:3047:19: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
makedumpfile-1.7.8/makedumpfile.c:10848:1: enter_function: entry to ‘create_dumpfile’
makedumpfile-1.7.8/makedumpfile.c:10863:14: call_function: calling ‘initial’ from ‘create_dumpfile’
# 3045| }
# 3046|
# 3047|-> if ((fd = mkstemp(info->name_vmcoreinfo)) < 0) {
# 3048| ERRMSG("Can't open the vmcoreinfo file(%s). %s\n",
# 3049| info->name_vmcoreinfo, strerror(errno));
Error: GCC_ANALYZER_WARNING (CWE-401):
makedumpfile-1.7.8/makedumpfile.c:3062:13: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
makedumpfile-1.7.8/makedumpfile.c:10848:1: enter_function: entry to ‘create_dumpfile’
makedumpfile-1.7.8/makedumpfile.c:10863:14: call_function: calling ‘initial’ from ‘create_dumpfile’
# 3060| goto out;
# 3061| }
# 3062|-> if (write(fd, buf, size) != size) {
# 3063| ERRMSG("Can't write the vmcoreinfo file(%s). %s\n",
# 3064| info->name_vmcoreinfo, strerror(errno));
Error: GCC_ANALYZER_WARNING (CWE-401):
makedumpfile-1.7.8/makedumpfile.c:3067:13: warning[-Wanalyzer-malloc-leak]: leak of ‘buf’
makedumpfile-1.7.8/makedumpfile.c:10848:1: enter_function: entry to ‘create_dumpfile’
makedumpfile-1.7.8/makedumpfile.c:10863:14: call_function: calling ‘initial’ from ‘create_dumpfile’
# 3065| goto out;
# 3066| }
# 3067|-> if (close(fd) < 0) {
# 3068| ERRMSG("Can't close the vmcoreinfo file(%s). %s\n",
# 3069| info->name_vmcoreinfo, strerror(errno));