coreutils-9.7-1.fc43
List of Findings
Error: SHELLCHECK_WARNING (CWE-758): [#def1]
/etc/profile.d/colorls.sh:1:1: error[SC2148]: Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.
Error: CPPCHECK_WARNING (CWE-476): [#def2]
coreutils-9.7/lib/canonicalize.c:454: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: COMPILER_WARNING (CWE-562): [#def3]
coreutils-9.7/lib/careadlinkat.c: scope_hint: In function 'careadlinkat.constprop'
coreutils-9.7/lib/careadlinkat.c:180:10: warning[-Wreturn-local-addr]: function may return address of local variable
coreutils-9.7/lib/careadlinkat.c:179:8: note: declared here
Error: CPPCHECK_WARNING (CWE-457): [#def4]
coreutils-9.7/lib/file-has-acl.c:436: error[uninitvar]: Uninitialized variable: buf
Error: CPPCHECK_WARNING (CWE-664): [#def5]
coreutils-9.7/lib/long-options.c:76: error[va_end_missing]: va_list 'authors' was opened but not closed by va_end().
Error: CPPCHECK_WARNING (CWE-664): [#def6]
coreutils-9.7/lib/long-options.c:129: error[va_end_missing]: va_list 'authors' was opened but not closed by va_end().
Error: CPPCHECK_WARNING (CWE-457): [#def7]
coreutils-9.7/lib/xdectoint.c:83: warning[uninitvar]: Uninitialized variable: r
Error: GCC_ANALYZER_WARNING (CWE-401): [#def8]
coreutils-9.7/separate/../lib/canon-host.c:75:27: warning[-Wanalyzer-malloc-leak]: leak of 'canon_host_r(host, & last_cherror)'
coreutils-9.7/separate/../lib/canon-host.c:33:1: enter_function: entry to 'canon_host'
coreutils-9.7/separate/../lib/canon-host.c:35:10: acquire_memory: allocated here
coreutils-9.7/separate/../lib/canon-host.c:35:10: call_function: calling 'canon_host_r' from 'canon_host'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def9]
coreutils-9.7/separate/../lib/canon-host.c:83:10: warning[-Wanalyzer-malloc-leak]: leak of 'canon_host_r(host, & last_cherror)'
coreutils-9.7/separate/../lib/canon-host.c:33:1: enter_function: entry to 'canon_host'
coreutils-9.7/separate/../lib/canon-host.c:35:10: acquire_memory: allocated here
coreutils-9.7/separate/../lib/canon-host.c:35:10: call_function: calling 'canon_host_r' from 'canon_host'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def10]
coreutils-9.7/separate/../lib/exclude.c:579:11: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(pattern)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def11]
coreutils-9.7/separate/../lib/exclude.c:604:7: warning[-Wanalyzer-null-dereference]: dereference of NULL 'buf'
coreutils-9.7/separate/../lib/exclude.c:657:1: enter_function: entry to 'add_exclude_file'
coreutils-9.7/separate/../lib/exclude.c:661:6: branch_false: following 'false' branch (when the strings are non-equal)...
coreutils-9.7/separate/../lib/exclude.c:664:14: branch_false: ...to here
coreutils-9.7/separate/../lib/exclude.c:665:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/exclude.c:667:12: branch_false: ...to here
coreutils-9.7/separate/../lib/exclude.c:667:12: call_function: calling 'add_exclude_fp' from 'add_exclude_file'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def12]
coreutils-9.7/separate/../lib/file-set.c:43:8: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(24)'
coreutils-9.7/separate/../lib/file-set.c:33:6: branch_false: following 'false' branch (when 'ht' is non-NULL)...
coreutils-9.7/separate/../lib/file-set.c:36:9: branch_false: ...to here
coreutils-9.7/separate/../lib/file-set.c:43:8: danger: 'xmalloc(24)' leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def13]
coreutils-9.7/separate/../lib/file-set.c:49:8: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(24)'
coreutils-9.7/separate/../lib/file-set.c:33:6: branch_false: following 'false' branch (when 'ht' is non-NULL)...
coreutils-9.7/separate/../lib/file-set.c:36:9: branch_false: ...to here
coreutils-9.7/separate/../lib/file-set.c:43:8: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/file-set.c:49:8: branch_false: ...to here
coreutils-9.7/separate/../lib/file-set.c:49:8: danger: 'xmalloc(24)' leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def14]
coreutils-9.7/separate/../lib/fts.c:714:12: warning[-Wanalyzer-malloc-leak]: leak of 't2'
coreutils-9.7/separate/../lib/fts.c:1267:1: enter_function: entry to 'fts_build'
coreutils-9.7/separate/../lib/fts.c:1307:16: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/fts.c:1319:38: branch_false: ...to here
coreutils-9.7/separate/../lib/fts.c:1379:12: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/fts.c:1389:23: branch_false: ...to here
coreutils-9.7/separate/../lib/fts.c:1389:23: branch_true: following 'true' branch (when 'type != 2')...
coreutils-9.7/separate/../lib/fts.c:1390:30: branch_true: ...to here
coreutils-9.7/separate/../lib/fts.c:1389:23: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/fts.c:1390:30: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/fts.c:1392:33: branch_false: ...to here
coreutils-9.7/separate/../lib/fts.c:1390:30: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/fts.c:1393:34: branch_false: ...to here
coreutils-9.7/separate/../lib/fts.c:1393:34: call_function: calling 'leaf_optimization' from 'fts_build'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def15]
coreutils-9.7/separate/../lib/fts.c:1307:16: warning[-Wanalyzer-malloc-leak]: leak of '**sp.fts_cur.fts_dirp'
coreutils-9.7/separate/../lib/fts.c:1287:12: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/fts.c:1307:34: branch_false: ...to here
coreutils-9.7/separate/../lib/fts.c:1307:34: acquire_memory: allocated here
coreutils-9.7/separate/../lib/fts.c:1307:16: danger: '**sp.fts_cur.fts_dirp' leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def16]
coreutils-9.7/separate/../lib/fts.c:1599:17: warning[-Wanalyzer-null-dereference]: dereference of NULL 'cp'
coreutils-9.7/separate/../lib/fts.c:1110:1: enter_function: entry to 'rpl_fts_children'
coreutils-9.7/separate/../lib/fts.c:1115:12: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/fts.c:1121:9: branch_false: ...to here
coreutils-9.7/separate/../lib/fts.c:1130:12: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/fts.c:1134:13: branch_false: ...to here
coreutils-9.7/separate/../lib/fts.c:1134:12: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/fts.c:1142:12: branch_false: ...to here
coreutils-9.7/separate/../lib/fts.c:1142:12: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/fts.c:1146:13: branch_false: ...to here
coreutils-9.7/separate/../lib/fts.c:1149:12: branch_false: following 'false' branch (when 'instr != 4096')...
coreutils-9.7/separate/../lib/fts.c:1162:13: branch_false: ...to here
coreutils-9.7/separate/../lib/fts.c:1164:41: call_function: calling 'fts_build' from 'rpl_fts_children'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def17]
coreutils-9.7/separate/../lib/ialloc.h:57:10: warning[-Wanalyzer-malloc-leak]: leak of 'ximalloc(s + 1)'
coreutils-9.7/separate/../lib/xmalloc.c:327:1: enter_function: entry to 'ximemdup0'
coreutils-9.7/separate/../lib/xmalloc.c:329:18: call_function: calling 'ximalloc' from 'ximemdup0'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def18]
coreutils-9.7/separate/../lib/ialloc.h:57:10: warning[-Wanalyzer-malloc-leak]: leak of 'ximalloc(s)'
coreutils-9.7/separate/../lib/xmalloc.c:318:1: enter_function: entry to 'ximemdup'
coreutils-9.7/separate/../lib/xmalloc.c:320:10: call_function: calling 'ximalloc' from 'ximemdup'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def19]
coreutils-9.7/separate/../lib/ialloc.h:91:10: warning[-Wanalyzer-malloc-leak]: leak of 'xicalloc(s, 1)'
coreutils-9.7/separate/../lib/xmalloc.c:287:1: enter_function: entry to 'xizalloc'
coreutils-9.7/separate/../lib/xmalloc.c:289:10: call_function: calling 'xicalloc' from 'xizalloc'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def20]
coreutils-9.7/separate/../lib/mbfile.h:93:7: warning[-Wanalyzer-malloc-leak]: leak of 'ximalloc((long int)((long unsigned int)max_column_width * 32))'
coreutils-9.7/separate/../src/unexpand.c:315:1: enter_function: entry to 'main'
coreutils-9.7/separate/../src/unexpand.c:379:3: call_function: calling 'unexpand' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def21]
coreutils-9.7/separate/../lib/randint.c:76:10: warning[-Wanalyzer-malloc-leak]: leak of 'randint_new(randread_new(name, bytes_bound))'
coreutils-9.7/separate/../lib/randint.c:84:1: enter_function: entry to 'randint_all_new'
coreutils-9.7/separate/../lib/randint.c:87:10: branch_true: following 'true' branch...
coreutils-9.7/separate/../lib/randint.c:87:20: branch_true: ...to here
coreutils-9.7/separate/../lib/randint.c:87:20: call_function: calling 'randint_new' from 'randint_all_new'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def22]
coreutils-9.7/separate/../lib/randperm.c:135:1: warning[-Wanalyzer-malloc-leak]: leak of 'v1'
coreutils-9.7/separate/../lib/randperm.c:115:6: branch_true: following 'true' branch...
coreutils-9.7/separate/../lib/randperm.c:117:12: branch_true: ...to here
coreutils-9.7/separate/../lib/randperm.c:120:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/randperm.c:126:10: branch_false: ...to here
coreutils-9.7/separate/../lib/randperm.c:129:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/randperm.c:131:8: branch_false: ...to here
coreutils-9.7/separate/../lib/randperm.c:131:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/randperm.c:134:4: branch_false: ...to here
coreutils-9.7/separate/../lib/randperm.c:135:1: danger: 'v1' leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def23]
coreutils-9.7/separate/../lib/randperm.c:135:1: warning[-Wanalyzer-malloc-leak]: leak of 'v2'
coreutils-9.7/separate/../lib/randperm.c:115:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/randperm.c:120:6: branch_false: ...to here
coreutils-9.7/separate/../lib/randperm.c:120:6: branch_true: following 'true' branch...
coreutils-9.7/separate/../lib/randperm.c:122:12: branch_true: ...to here
coreutils-9.7/separate/../lib/randperm.c:129:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/randperm.c:131:8: branch_false: ...to here
coreutils-9.7/separate/../lib/randperm.c:131:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/randperm.c:134:4: branch_false: ...to here
coreutils-9.7/separate/../lib/randperm.c:135:1: danger: 'v2' leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def24]
coreutils-9.7/separate/../lib/read-file.c:62:46: warning[-Wanalyzer-malloc-leak]: leak of 'fread_file(fopen(filename, mode), flags, length)'
coreutils-9.7/separate/../lib/read-file.c:190:1: enter_function: entry to 'read_file'
coreutils-9.7/separate/../lib/read-file.c:196:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/read-file.c:199:7: branch_false: ...to here
coreutils-9.7/separate/../lib/read-file.c:202:9: acquire_memory: allocated here
coreutils-9.7/separate/../lib/read-file.c:202:9: call_function: calling 'fread_file' from 'read_file'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def25]
coreutils-9.7/separate/../lib/read-file.c:82:6: warning[-Wanalyzer-malloc-leak]: leak of 'fread_file(fopen(filename, mode), flags, length)'
coreutils-9.7/separate/../lib/read-file.c:190:1: enter_function: entry to 'read_file'
coreutils-9.7/separate/../lib/read-file.c:196:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/read-file.c:199:7: branch_false: ...to here
coreutils-9.7/separate/../lib/read-file.c:202:9: acquire_memory: allocated here
coreutils-9.7/separate/../lib/read-file.c:202:9: call_function: calling 'fread_file' from 'read_file'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def26]
coreutils-9.7/separate/../lib/read-file.c:104:24: warning[-Wanalyzer-malloc-leak]: leak of 'fread_file(fopen(filename, mode), flags, length)'
coreutils-9.7/separate/../lib/read-file.c:190:1: enter_function: entry to 'read_file'
coreutils-9.7/separate/../lib/read-file.c:196:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/read-file.c:199:7: branch_false: ...to here
coreutils-9.7/separate/../lib/read-file.c:202:9: acquire_memory: allocated here
coreutils-9.7/separate/../lib/read-file.c:202:9: call_function: calling 'fread_file' from 'read_file'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def27]
coreutils-9.7/separate/../lib/read-file.c:142:37: warning[-Wanalyzer-malloc-leak]: leak of 'fread_file(fopen(filename, mode), flags, length)'
coreutils-9.7/separate/../lib/read-file.c:190:1: enter_function: entry to 'read_file'
coreutils-9.7/separate/../lib/read-file.c:196:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../lib/read-file.c:199:7: branch_false: ...to here
coreutils-9.7/separate/../lib/read-file.c:202:9: acquire_memory: allocated here
coreutils-9.7/separate/../lib/read-file.c:202:9: call_function: calling 'fread_file' from 'read_file'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def28]
coreutils-9.7/separate/../lib/time_rz.c:88:22: warning[-Wanalyzer-malloc-leak]: leak of 'tzalloc(getenv("TZ"))'
coreutils-9.7/separate/./lib/time.h:1116:1: enter_function: entry to 'mktime_z'
coreutils-9.7/separate/../lib/time_rz.c:282:6: branch_false: following 'false' branch (when 'tz' is non-NULL)...
coreutils-9.7/separate/../lib/time_rz.c:286:27: branch_false: ...to here
coreutils-9.7/separate/../lib/time_rz.c:286:27: call_function: calling 'set_tz' from 'mktime_z'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def29]
coreutils-9.7/separate/../lib/time_rz.c:206:10: warning[-Wanalyzer-malloc-leak]: leak of 'set_tz(tz)'
coreutils-9.7/separate/./lib/time.h:1116:1: enter_function: entry to 'mktime_z'
coreutils-9.7/separate/../lib/time_rz.c:282:6: branch_false: following 'false' branch (when 'tz' is non-NULL)...
coreutils-9.7/separate/../lib/time_rz.c:286:27: branch_false: ...to here
coreutils-9.7/separate/../lib/time_rz.c:286:27: call_function: calling 'set_tz' from 'mktime_z'
coreutils-9.7/separate/../lib/time_rz.c:286:27: return_function: returning to 'mktime_z' from 'set_tz'
coreutils-9.7/separate/../lib/time_rz.c:287:10: branch_true: following 'true' branch...
coreutils-9.7/separate/../lib/time_rz.c:290:25: branch_true: ...to here
coreutils-9.7/separate/../lib/time_rz.c:301:15: call_function: calling 'revert_tz' from 'mktime_z'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def30]
coreutils-9.7/separate/../lib/xmalloc.c:45:10: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(n)'
coreutils-9.7/separate/../lib/xmalloc.c:55:1: enter_function: entry to 'xcharalloc'
coreutils-9.7/separate/../lib/xmalloc.c:57:10: call_function: calling 'xmalloc' from 'xcharalloc'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def31]
coreutils-9.7/separate/../lib/xmalloc.c:45:10: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(s)'
coreutils-9.7/separate/../lib/xmalloc.c:312:1: enter_function: entry to 'xmemdup'
coreutils-9.7/separate/../lib/xmalloc.c:314:10: call_function: calling 'xmalloc' from 'xmemdup'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def32]
coreutils-9.7/separate/../lib/xmalloc.c:298:10: warning[-Wanalyzer-malloc-leak]: leak of 'xcalloc(s, 1)'
coreutils-9.7/separate/../lib/xmalloc.c:281:1: enter_function: entry to 'xzalloc'
coreutils-9.7/separate/../lib/xmalloc.c:283:10: call_function: calling 'xcalloc' from 'xzalloc'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def33]
coreutils-9.7/separate/../lib/xmalloc.c:314:10: warning[-Wanalyzer-malloc-leak]: leak of 'xmemdup(string, strlen(string) + 1)'
coreutils-9.7/separate/../lib/xmalloc.c:337:1: enter_function: entry to 'xstrdup'
coreutils-9.7/separate/../lib/xmalloc.c:339:10: call_function: calling 'xmemdup' from 'xstrdup'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def34]
coreutils-9.7/separate/../src/basenc.c:1105:15: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc((long unsigned int)base_length(30720))'
coreutils-9.7/separate/../src/basenc.c:1089:1: enter_function: entry to 'do_encode'
coreutils-9.7/separate/../src/basenc.c:1110:10: branch_false: following 'false' branch (when 'sum <= 0')...
coreutils-9.7/separate/../src/basenc.c:1120:11: call_function: inlined call to 'feof_unlocked' from 'do_encode'
coreutils-9.7/separate/../src/basenc.c:1105:15: danger: 'xmalloc((long unsigned int)base_length(30720))' leaks here; was allocated at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def35]
coreutils-9.7/separate/../src/basenc.c:1105:15: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(40960)'
coreutils-9.7/separate/../src/basenc.c:1215:1: enter_function: entry to 'main'
coreutils-9.7/separate/../src/basenc.c:1365:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/basenc.c:1371:6: branch_false: ...to here
coreutils-9.7/separate/../src/basenc.c:1390:6: branch_false: following 'false' branch (when 'decode == 0')...
coreutils-9.7/separate/../src/basenc.c:1393:5: branch_false: ...to here
coreutils-9.7/separate/../src/basenc.c:1393:5: call_function: calling 'do_encode' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def36]
coreutils-9.7/separate/../src/basenc.c:1105:15: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(49152)'
coreutils-9.7/separate/../src/basenc.c:1215:1: enter_function: entry to 'main'
coreutils-9.7/separate/../src/basenc.c:1365:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/basenc.c:1371:6: branch_false: ...to here
coreutils-9.7/separate/../src/basenc.c:1390:6: branch_false: following 'false' branch (when 'decode == 0')...
coreutils-9.7/separate/../src/basenc.c:1393:5: branch_false: ...to here
coreutils-9.7/separate/../src/basenc.c:1393:5: call_function: calling 'do_encode' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def37]
coreutils-9.7/separate/../src/basenc.c:1155:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(3072)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def38]
coreutils-9.7/separate/../src/basenc.c:1155:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(4200)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def39]
coreutils-9.7/separate/../src/basenc.c:1155:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(5120)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def40]
coreutils-9.7/separate/../src/chown-core.c:83:19: warning[-Wanalyzer-malloc-leak]: leak of 'uid_to_name(*file_stats.st_uid)'
coreutils-9.7/separate/../src/chown-core.c:284:1: enter_function: entry to 'change_file_owner'
coreutils-9.7/separate/../src/chown-core.c:484:6: branch_true: following 'true' branch...
coreutils-9.7/separate/../src/chown-core.c:487:11: branch_true: ...to here
coreutils-9.7/separate/../src/chown-core.c:491:11: branch_true: following 'true' branch...
coreutils-9.7/separate/../src/chown-core.c:494:13: branch_true: ...to here
coreutils-9.7/separate/../src/chown-core.c:498:27: branch_true: following 'true' branch (when 'file_stats' is non-NULL)...
coreutils-9.7/separate/../src/chown-core.c:499:43: branch_true: ...to here
coreutils-9.7/separate/../src/chown-core.c:499:30: call_function: calling 'uid_to_name' from 'change_file_owner'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def41]
coreutils-9.7/separate/../src/chown-core.c:94:19: warning[-Wanalyzer-malloc-leak]: leak of 'gid_to_name(*file_stats.st_gid)'
coreutils-9.7/separate/../src/chown-core.c:284:1: enter_function: entry to 'change_file_owner'
coreutils-9.7/separate/../src/chown-core.c:484:6: branch_true: following 'true' branch...
coreutils-9.7/separate/../src/chown-core.c:487:11: branch_true: ...to here
coreutils-9.7/separate/../src/chown-core.c:491:11: branch_true: following 'true' branch...
coreutils-9.7/separate/../src/chown-core.c:494:13: branch_true: ...to here
coreutils-9.7/separate/../src/chown-core.c:498:27: branch_true: following 'true' branch (when 'file_stats' is non-NULL)...
coreutils-9.7/separate/../src/chown-core.c:499:43: branch_true: ...to here
coreutils-9.7/separate/../src/chown-core.c:499:30: call_function: calling 'uid_to_name' from 'change_file_owner'
coreutils-9.7/separate/../src/chown-core.c:499:30: return_function: returning to 'change_file_owner' from 'uid_to_name'
coreutils-9.7/separate/../src/chown-core.c:501:30: call_function: calling 'gid_to_name' from 'change_file_owner'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def42]
coreutils-9.7/separate/../src/chown-core.c:106:25: warning[-Wanalyzer-malloc-leak]: leak of 'gid_to_name(*file_stats.st_gid)'
coreutils-9.7/separate/../src/chown-core.c:284:1: enter_function: entry to 'change_file_owner'
coreutils-9.7/separate/../src/chown-core.c:484:6: branch_true: following 'true' branch...
coreutils-9.7/separate/../src/chown-core.c:487:11: branch_true: ...to here
coreutils-9.7/separate/../src/chown-core.c:491:11: branch_true: following 'true' branch...
coreutils-9.7/separate/../src/chown-core.c:494:13: branch_true: ...to here
coreutils-9.7/separate/../src/chown-core.c:498:27: branch_true: following 'true' branch (when 'file_stats' is non-NULL)...
coreutils-9.7/separate/../src/chown-core.c:499:43: branch_true: ...to here
coreutils-9.7/separate/../src/chown-core.c:499:30: call_function: calling 'uid_to_name' from 'change_file_owner'
coreutils-9.7/separate/../src/chown-core.c:499:30: return_function: returning to 'change_file_owner' from 'uid_to_name'
coreutils-9.7/separate/../src/chown-core.c:501:30: call_function: calling 'gid_to_name' from 'change_file_owner'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def43]
coreutils-9.7/separate/../src/chown-core.c:117:25: warning[-Wanalyzer-malloc-leak]: leak of 'uid_to_name(*file_stats.st_uid)'
coreutils-9.7/separate/../src/chown-core.c:284:1: enter_function: entry to 'change_file_owner'
coreutils-9.7/separate/../src/chown-core.c:484:6: branch_true: following 'true' branch...
coreutils-9.7/separate/../src/chown-core.c:487:11: branch_true: ...to here
coreutils-9.7/separate/../src/chown-core.c:491:11: branch_true: following 'true' branch...
coreutils-9.7/separate/../src/chown-core.c:494:13: branch_true: ...to here
coreutils-9.7/separate/../src/chown-core.c:498:27: branch_true: following 'true' branch (when 'file_stats' is non-NULL)...
coreutils-9.7/separate/../src/chown-core.c:499:43: branch_true: ...to here
coreutils-9.7/separate/../src/chown-core.c:499:30: call_function: calling 'uid_to_name' from 'change_file_owner'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def44]
coreutils-9.7/separate/../src/chown-core.c:171:3: warning[-Wanalyzer-malloc-leak]: leak of 'user_group_str(<unknown>, <unknown>)'
coreutils-9.7/separate/../src/chown-core.c:536:1: enter_function: entry to 'chown_files'
coreutils-9.7/separate/../src/chown-core.c:557:10: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/chown-core.c:569:13: branch_false: ...to here
coreutils-9.7/separate/../src/chown-core.c:569:13: call_function: calling 'change_file_owner' from 'chown_files'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def45]
coreutils-9.7/separate/../src/chown-core.c:179:10: warning[-Wanalyzer-malloc-leak]: leak of 'user_group_str(<unknown>, <unknown>)'
coreutils-9.7/separate/../src/chown-core.c:536:1: enter_function: entry to 'chown_files'
coreutils-9.7/separate/../src/chown-core.c:557:10: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/chown-core.c:569:13: branch_false: ...to here
coreutils-9.7/separate/../src/chown-core.c:569:13: call_function: calling 'change_file_owner' from 'chown_files'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def46]
coreutils-9.7/separate/../src/chroot.c:147:7: warning[-Wanalyzer-null-dereference]: dereference of NULL 'gids'
coreutils-9.7/separate/../src/chroot.c:219:1: enter_function: entry to 'main'
coreutils-9.7/separate/../src/chroot.c:232:16: release_memory: 'out_gids' is NULL
coreutils-9.7/separate/../src/chroot.c:244:10: branch_true: following 'true' branch (when 'c != -1')...
coreutils-9.7/separate/../src/chroot.c:246:7: branch_true: ...to here
coreutils-9.7/separate/../src/chroot.c:244:10: branch_false: following 'false' branch (when 'c == -1')...
coreutils-9.7/separate/../src/chroot.c:277:7: branch_false: ...to here
coreutils-9.7/separate/../src/chroot.c:277:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/chroot.c:283:29: branch_false: ...to here
coreutils-9.7/separate/../src/chroot.c:286:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/chroot.c:293:6: branch_false: ...to here
coreutils-9.7/separate/../src/chroot.c:293:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/chroot.c:301:10: branch_false: ...to here
coreutils-9.7/separate/../src/chroot.c:301:10: branch_false: following 'false' branch (when 'userspec' is NULL)...
coreutils-9.7/separate/../src/chroot.c:306:11: branch_false: ...to here
coreutils-9.7/separate/../src/chroot.c:306:10: branch_false: following 'false' branch...
branch_false: ...to here
coreutils-9.7/separate/../src/chroot.c:317:10: branch_true: following 'true' branch...
coreutils-9.7/separate/../src/chroot.c:318:9: call_function: calling 'parse_additional_groups' from 'main'
Error: COMPILER_WARNING: [#def47]
coreutils-9.7/separate/../src/cksum_avx2.c:46:3: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
Error: COMPILER_WARNING: [#def48]
coreutils-9.7/separate/../src/cksum_avx2.c:46:26: note[note]: called from here
Error: COMPILER_WARNING: [#def49]
coreutils-9.7/separate/../src/cksum_avx2.c:48:24: note[note]: called from here
Error: COMPILER_WARNING: [#def50]
coreutils-9.7/separate/../src/cksum_avx2.c:52:22: note[note]: called from here
Error: COMPILER_WARNING: [#def51]
coreutils-9.7/separate/../src/cksum_avx2.c:83:18: note[note]: called from here
Error: COMPILER_WARNING: [#def52]
coreutils-9.7/separate/../src/cksum_avx2.c:84:18: note[note]: called from here
Error: COMPILER_WARNING: [#def53]
coreutils-9.7/separate/../src/cksum_avx2.c:87:21: note[note]: called from here
Error: COMPILER_WARNING: [#def54]
coreutils-9.7/separate/../src/cksum_avx2.c:89:18: note[note]: called from here
Error: COMPILER_WARNING: [#def55]
coreutils-9.7/separate/../src/cksum_avx2.c:90:19: note[note]: called from here
Error: COMPILER_WARNING: [#def56]
coreutils-9.7/separate/../src/cksum_avx2.c:91:19: note[note]: called from here
Error: COMPILER_WARNING: [#def57]
coreutils-9.7/separate/../src/cksum_avx2.c:92:19: note[note]: called from here
Error: COMPILER_WARNING: [#def58]
coreutils-9.7/separate/../src/cksum_avx2.c:93:19: note[note]: called from here
Error: COMPILER_WARNING: [#def59]
coreutils-9.7/separate/../src/cksum_avx2.c:94:19: note[note]: called from here
Error: COMPILER_WARNING: [#def60]
coreutils-9.7/separate/../src/cksum_avx2.c:95:19: note[note]: called from here
Error: COMPILER_WARNING: [#def61]
coreutils-9.7/separate/../src/cksum_avx2.c:102:23: note[note]: called from here
Error: COMPILER_WARNING: [#def62]
coreutils-9.7/separate/../src/cksum_avx2.c:104:22: note[note]: called from here
Error: COMPILER_WARNING: [#def63]
coreutils-9.7/separate/../src/cksum_avx2.c:106:23: note[note]: called from here
Error: COMPILER_WARNING: [#def64]
coreutils-9.7/separate/../src/cksum_avx2.c:108:23: note[note]: called from here
Error: COMPILER_WARNING: [#def65]
coreutils-9.7/separate/../src/cksum_avx2.c:110:23: note[note]: called from here
Error: COMPILER_WARNING: [#def66]
coreutils-9.7/separate/../src/cksum_avx2.c:112:23: note[note]: called from here
Error: COMPILER_WARNING: [#def67]
coreutils-9.7/separate/../src/cksum_avx2.c:114:23: note[note]: called from here
Error: COMPILER_WARNING: [#def68]
coreutils-9.7/separate/../src/cksum_avx2.c:116:23: note[note]: called from here
Error: COMPILER_WARNING: [#def69]
coreutils-9.7/separate/../src/cksum_avx2.c:124:22: note[note]: called from here
Error: COMPILER_WARNING: [#def70]
coreutils-9.7/separate/../src/cksum_avx2.c:125:23: note[note]: called from here
Error: COMPILER_WARNING: [#def71]
coreutils-9.7/separate/../src/cksum_avx2.c:126:23: note[note]: called from here
Error: COMPILER_WARNING: [#def72]
coreutils-9.7/separate/../src/cksum_avx2.c:127:22: note[note]: called from here
Error: COMPILER_WARNING: [#def73]
coreutils-9.7/separate/../src/cksum_avx2.c:129:23: note[note]: called from here
Error: COMPILER_WARNING: [#def74]
coreutils-9.7/separate/../src/cksum_avx2.c:130:23: note[note]: called from here
Error: COMPILER_WARNING: [#def75]
coreutils-9.7/separate/../src/cksum_avx2.c:131:23: note[note]: called from here
Error: COMPILER_WARNING: [#def76]
coreutils-9.7/separate/../src/cksum_avx2.c:132:23: note[note]: called from here
Error: COMPILER_WARNING: [#def77]
coreutils-9.7/separate/../src/cksum_avx2.c:134:23: note[note]: called from here
Error: COMPILER_WARNING: [#def78]
coreutils-9.7/separate/../src/cksum_avx2.c:135:23: note[note]: called from here
Error: COMPILER_WARNING: [#def79]
coreutils-9.7/separate/../src/cksum_avx2.c:136:23: note[note]: called from here
Error: COMPILER_WARNING: [#def80]
coreutils-9.7/separate/../src/cksum_avx2.c:137:23: note[note]: called from here
Error: COMPILER_WARNING: [#def81]
coreutils-9.7/separate/../src/cksum_avx2.c:139:23: note[note]: called from here
Error: COMPILER_WARNING: [#def82]
coreutils-9.7/separate/../src/cksum_avx2.c:140:23: note[note]: called from here
Error: COMPILER_WARNING: [#def83]
coreutils-9.7/separate/../src/cksum_avx2.c:141:23: note[note]: called from here
Error: COMPILER_WARNING: [#def84]
coreutils-9.7/separate/../src/cksum_avx2.c:142:23: note[note]: called from here
Error: COMPILER_WARNING: [#def85]
coreutils-9.7/separate/../src/cksum_avx2.c:148:18: note[note]: called from here
Error: COMPILER_WARNING: [#def86]
coreutils-9.7/separate/../src/cksum_avx2.c:149:11: note[note]: called from here
Error: COMPILER_WARNING: [#def87]
coreutils-9.7/separate/../src/cksum_avx2.c:150:19: note[note]: called from here
Error: COMPILER_WARNING: [#def88]
coreutils-9.7/separate/../src/cksum_avx2.c:151:11: note[note]: called from here
Error: COMPILER_WARNING: [#def89]
coreutils-9.7/separate/../src/cksum_avx2.c:152:19: note[note]: called from here
Error: COMPILER_WARNING: [#def90]
coreutils-9.7/separate/../src/cksum_avx2.c:153:11: note[note]: called from here
Error: COMPILER_WARNING: [#def91]
coreutils-9.7/separate/../src/cksum_avx2.c:154:19: note[note]: called from here
Error: COMPILER_WARNING: [#def92]
coreutils-9.7/separate/../src/cksum_avx2.c:155:11: note[note]: called from here
Error: COMPILER_WARNING: [#def93]
coreutils-9.7/separate/../src/cksum_avx2.c:161:18: note[note]: called from here
Error: COMPILER_WARNING: [#def94]
coreutils-9.7/separate/../src/cksum_avx2.c:162:18: note[note]: called from here
Error: COMPILER_WARNING: [#def95]
coreutils-9.7/separate/../src/cksum_avx2.c:163:21: note[note]: called from here
Error: COMPILER_WARNING: [#def96]
coreutils-9.7/separate/../src/cksum_avx2.c:165:18: note[note]: called from here
Error: COMPILER_WARNING: [#def97]
coreutils-9.7/separate/../src/cksum_avx2.c:170:23: note[note]: called from here
Error: COMPILER_WARNING: [#def98]
coreutils-9.7/separate/../src/cksum_avx2.c:172:22: note[note]: called from here
Error: COMPILER_WARNING: [#def99]
coreutils-9.7/separate/../src/cksum_avx2.c:174:27: note[note]: called from here
Error: COMPILER_WARNING: [#def100]
coreutils-9.7/separate/../src/cksum_avx2.c:175:27: note[note]: called from here
Error: COMPILER_WARNING: [#def101]
coreutils-9.7/separate/../src/cksum_avx2.c:176:22: note[note]: called from here
Error: COMPILER_WARNING: [#def102]
coreutils-9.7/separate/../src/cksum_avx2.c:177:22: note[note]: called from here
Error: COMPILER_WARNING: [#def103]
coreutils-9.7/separate/../src/cksum_avx2.c:180:18: note[note]: called from here
Error: COMPILER_WARNING: [#def104]
coreutils-9.7/separate/../src/cksum_avx2.c:181:11: note[note]: called from here
Error: COMPILER_WARNING: [#def105]
coreutils-9.7/separate/../src/cksum_avx512.c:45:3: warning[-Wpsabi]: AVX512F vector return without AVX512F enabled changes the ABI
Error: COMPILER_WARNING: [#def106]
coreutils-9.7/separate/../src/cksum_avx512.c:45:26: note[note]: called from here
Error: COMPILER_WARNING: [#def107]
coreutils-9.7/separate/../src/cksum_avx512.c:49:24: note[note]: called from here
Error: COMPILER_WARNING: [#def108]
coreutils-9.7/separate/../src/cksum_avx512.c:55:22: note[note]: called from here
Error: COMPILER_WARNING: [#def109]
coreutils-9.7/separate/../src/cksum_avx512.c:90:18: note[note]: called from here
Error: COMPILER_WARNING: [#def110]
coreutils-9.7/separate/../src/cksum_avx512.c:91:18: note[note]: called from here
Error: COMPILER_WARNING: [#def111]
coreutils-9.7/separate/../src/cksum_avx512.c:94:21: note[note]: called from here
Error: COMPILER_WARNING: [#def112]
coreutils-9.7/separate/../src/cksum_avx512.c:97:18: note[note]: called from here
Error: COMPILER_WARNING: [#def113]
coreutils-9.7/separate/../src/cksum_avx512.c:98:19: note[note]: called from here
Error: COMPILER_WARNING: [#def114]
coreutils-9.7/separate/../src/cksum_avx512.c:99:19: note[note]: called from here
Error: COMPILER_WARNING: [#def115]
coreutils-9.7/separate/../src/cksum_avx512.c:100:19: note[note]: called from here
Error: COMPILER_WARNING: [#def116]
coreutils-9.7/separate/../src/cksum_avx512.c:101:19: note[note]: called from here
Error: COMPILER_WARNING: [#def117]
coreutils-9.7/separate/../src/cksum_avx512.c:102:19: note[note]: called from here
Error: COMPILER_WARNING: [#def118]
coreutils-9.7/separate/../src/cksum_avx512.c:103:19: note[note]: called from here
Error: COMPILER_WARNING: [#def119]
coreutils-9.7/separate/../src/cksum_avx512.c:110:23: note[note]: called from here
Error: COMPILER_WARNING: [#def120]
coreutils-9.7/separate/../src/cksum_avx512.c:112:22: note[note]: called from here
Error: COMPILER_WARNING: [#def121]
coreutils-9.7/separate/../src/cksum_avx512.c:114:23: note[note]: called from here
Error: COMPILER_WARNING: [#def122]
coreutils-9.7/separate/../src/cksum_avx512.c:116:23: note[note]: called from here
Error: COMPILER_WARNING: [#def123]
coreutils-9.7/separate/../src/cksum_avx512.c:118:23: note[note]: called from here
Error: COMPILER_WARNING: [#def124]
coreutils-9.7/separate/../src/cksum_avx512.c:120:23: note[note]: called from here
Error: COMPILER_WARNING: [#def125]
coreutils-9.7/separate/../src/cksum_avx512.c:122:23: note[note]: called from here
Error: COMPILER_WARNING: [#def126]
coreutils-9.7/separate/../src/cksum_avx512.c:124:23: note[note]: called from here
Error: COMPILER_WARNING: [#def127]
coreutils-9.7/separate/../src/cksum_avx512.c:132:22: note[note]: called from here
Error: COMPILER_WARNING: [#def128]
coreutils-9.7/separate/../src/cksum_avx512.c:133:23: note[note]: called from here
Error: COMPILER_WARNING: [#def129]
coreutils-9.7/separate/../src/cksum_avx512.c:134:23: note[note]: called from here
Error: COMPILER_WARNING: [#def130]
coreutils-9.7/separate/../src/cksum_avx512.c:135:22: note[note]: called from here
Error: COMPILER_WARNING: [#def131]
coreutils-9.7/separate/../src/cksum_avx512.c:137:23: note[note]: called from here
Error: COMPILER_WARNING: [#def132]
coreutils-9.7/separate/../src/cksum_avx512.c:138:23: note[note]: called from here
Error: COMPILER_WARNING: [#def133]
coreutils-9.7/separate/../src/cksum_avx512.c:139:23: note[note]: called from here
Error: COMPILER_WARNING: [#def134]
coreutils-9.7/separate/../src/cksum_avx512.c:140:23: note[note]: called from here
Error: COMPILER_WARNING: [#def135]
coreutils-9.7/separate/../src/cksum_avx512.c:142:23: note[note]: called from here
Error: COMPILER_WARNING: [#def136]
coreutils-9.7/separate/../src/cksum_avx512.c:143:23: note[note]: called from here
Error: COMPILER_WARNING: [#def137]
coreutils-9.7/separate/../src/cksum_avx512.c:144:23: note[note]: called from here
Error: COMPILER_WARNING: [#def138]
coreutils-9.7/separate/../src/cksum_avx512.c:145:23: note[note]: called from here
Error: COMPILER_WARNING: [#def139]
coreutils-9.7/separate/../src/cksum_avx512.c:147:23: note[note]: called from here
Error: COMPILER_WARNING: [#def140]
coreutils-9.7/separate/../src/cksum_avx512.c:148:23: note[note]: called from here
Error: COMPILER_WARNING: [#def141]
coreutils-9.7/separate/../src/cksum_avx512.c:149:23: note[note]: called from here
Error: COMPILER_WARNING: [#def142]
coreutils-9.7/separate/../src/cksum_avx512.c:150:23: note[note]: called from here
Error: COMPILER_WARNING: [#def143]
coreutils-9.7/separate/../src/cksum_avx512.c:156:18: note[note]: called from here
Error: COMPILER_WARNING: [#def144]
coreutils-9.7/separate/../src/cksum_avx512.c:157:11: note[note]: called from here
Error: COMPILER_WARNING: [#def145]
coreutils-9.7/separate/../src/cksum_avx512.c:158:19: note[note]: called from here
Error: COMPILER_WARNING: [#def146]
coreutils-9.7/separate/../src/cksum_avx512.c:159:11: note[note]: called from here
Error: COMPILER_WARNING: [#def147]
coreutils-9.7/separate/../src/cksum_avx512.c:160:19: note[note]: called from here
Error: COMPILER_WARNING: [#def148]
coreutils-9.7/separate/../src/cksum_avx512.c:161:11: note[note]: called from here
Error: COMPILER_WARNING: [#def149]
coreutils-9.7/separate/../src/cksum_avx512.c:162:19: note[note]: called from here
Error: COMPILER_WARNING: [#def150]
coreutils-9.7/separate/../src/cksum_avx512.c:163:11: note[note]: called from here
Error: COMPILER_WARNING: [#def151]
coreutils-9.7/separate/../src/cksum_avx512.c:169:18: note[note]: called from here
Error: COMPILER_WARNING: [#def152]
coreutils-9.7/separate/../src/cksum_avx512.c:170:18: note[note]: called from here
Error: COMPILER_WARNING: [#def153]
coreutils-9.7/separate/../src/cksum_avx512.c:171:21: note[note]: called from here
Error: COMPILER_WARNING: [#def154]
coreutils-9.7/separate/../src/cksum_avx512.c:174:18: note[note]: called from here
Error: COMPILER_WARNING: [#def155]
coreutils-9.7/separate/../src/cksum_avx512.c:179:23: note[note]: called from here
Error: COMPILER_WARNING: [#def156]
coreutils-9.7/separate/../src/cksum_avx512.c:181:22: note[note]: called from here
Error: COMPILER_WARNING: [#def157]
coreutils-9.7/separate/../src/cksum_avx512.c:183:27: note[note]: called from here
Error: COMPILER_WARNING: [#def158]
coreutils-9.7/separate/../src/cksum_avx512.c:184:27: note[note]: called from here
Error: COMPILER_WARNING: [#def159]
coreutils-9.7/separate/../src/cksum_avx512.c:185:22: note[note]: called from here
Error: COMPILER_WARNING: [#def160]
coreutils-9.7/separate/../src/cksum_avx512.c:186:22: note[note]: called from here
Error: COMPILER_WARNING: [#def161]
coreutils-9.7/separate/../src/cksum_avx512.c:189:18: note[note]: called from here
Error: COMPILER_WARNING: [#def162]
coreutils-9.7/separate/../src/cksum_avx512.c:190:11: note[note]: called from here
Error: COMPILER_WARNING: [#def163]
coreutils-9.7/separate/../src/cksum_pclmul.c:82:18: note[note]: called from here
Error: COMPILER_WARNING: [#def164]
coreutils-9.7/separate/../src/cksum_pclmul.c:89:19: note[note]: called from here
Error: COMPILER_WARNING: [#def165]
coreutils-9.7/separate/../src/cksum_pclmul.c:91:19: note[note]: called from here
Error: COMPILER_WARNING: [#def166]
coreutils-9.7/separate/../src/cksum_pclmul.c:93:19: note[note]: called from here
Error: COMPILER_WARNING: [#def167]
coreutils-9.7/separate/../src/cksum_pclmul.c:101:23: note[note]: called from here
Error: COMPILER_WARNING: [#def168]
coreutils-9.7/separate/../src/cksum_pclmul.c:102:22: note[note]: called from here
Error: COMPILER_WARNING: [#def169]
coreutils-9.7/separate/../src/cksum_pclmul.c:103:23: note[note]: called from here
Error: COMPILER_WARNING: [#def170]
coreutils-9.7/separate/../src/cksum_pclmul.c:104:23: note[note]: called from here
Error: COMPILER_WARNING: [#def171]
coreutils-9.7/separate/../src/cksum_pclmul.c:105:23: note[note]: called from here
Error: COMPILER_WARNING: [#def172]
coreutils-9.7/separate/../src/cksum_pclmul.c:106:23: note[note]: called from here
Error: COMPILER_WARNING: [#def173]
coreutils-9.7/separate/../src/cksum_pclmul.c:107:23: note[note]: called from here
Error: COMPILER_WARNING: [#def174]
coreutils-9.7/separate/../src/cksum_pclmul.c:108:23: note[note]: called from here
Error: COMPILER_WARNING: [#def175]
coreutils-9.7/separate/../src/cksum_pclmul.c:117:23: note[note]: called from here
Error: COMPILER_WARNING: [#def176]
coreutils-9.7/separate/../src/cksum_pclmul.c:122:23: note[note]: called from here
Error: COMPILER_WARNING: [#def177]
coreutils-9.7/separate/../src/cksum_pclmul.c:127:23: note[note]: called from here
Error: COMPILER_WARNING: [#def178]
coreutils-9.7/separate/../src/cksum_pclmul.c:132:23: note[note]: called from here
Error: COMPILER_WARNING: [#def179]
coreutils-9.7/separate/../src/cksum_pclmul.c:139:18: note[note]: called from here
Error: COMPILER_WARNING: [#def180]
coreutils-9.7/separate/../src/cksum_pclmul.c:141:19: note[note]: called from here
Error: COMPILER_WARNING: [#def181]
coreutils-9.7/separate/../src/cksum_pclmul.c:143:19: note[note]: called from here
Error: COMPILER_WARNING: [#def182]
coreutils-9.7/separate/../src/cksum_pclmul.c:145:19: note[note]: called from here
Error: COMPILER_WARNING: [#def183]
coreutils-9.7/separate/../src/cksum_pclmul.c:153:18: note[note]: called from here
Error: COMPILER_WARNING: [#def184]
coreutils-9.7/separate/../src/cksum_pclmul.c:161:23: note[note]: called from here
Error: COMPILER_WARNING: [#def185]
coreutils-9.7/separate/../src/cksum_pclmul.c:162:22: note[note]: called from here
Error: COMPILER_WARNING: [#def186]
coreutils-9.7/separate/../src/cksum_pclmul.c:164:27: note[note]: called from here
Error: COMPILER_WARNING: [#def187]
coreutils-9.7/separate/../src/cksum_pclmul.c:169:18: note[note]: called from here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def188]
coreutils-9.7/separate/../src/cp-hash.c:126:6: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(24)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def189]
coreutils-9.7/separate/../src/cp-hash.c:135:6: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(24)'
coreutils-9.7/separate/../src/cp-hash.c:126:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/cp-hash.c:135:6: branch_false: ...to here
coreutils-9.7/separate/../src/cp-hash.c:135:6: danger: 'xmalloc(24)' leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def190]
coreutils-9.7/separate/../src/cp.c:825:10: warning[-Wanalyzer-malloc-leak]: leak of 'dest'
coreutils-9.7/separate/../src/cp.c:621:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/cp.c:631:3: branch_false: ...to here
coreutils-9.7/separate/../src/cp.c:635:10: branch_false: following 'false' branch (when 'target_directory' is NULL)...
coreutils-9.7/separate/../src/cp.c:639:10: branch_false: ...to here
coreutils-9.7/separate/../src/cp.c:639:10: branch_false: following 'false' branch (when 'n_files <= 2')...
coreutils-9.7/separate/../src/cp.c:685:6: branch_false: ...to here
coreutils-9.7/separate/../src/cp.c:685:6: branch_false: following 'false' branch (when 'target_directory' is NULL)...
coreutils-9.7/separate/../src/cp.c:786:19: branch_false: ...to here
coreutils-9.7/separate/../src/cp.c:790:10: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/cp.c:803:11: branch_false: ...to here
coreutils-9.7/separate/../src/cp.c:803:10: branch_true: following 'true' branch...
coreutils-9.7/separate/../src/cp.c:804:14: branch_true: ...to here
coreutils-9.7/separate/../src/cp.c:803:11: branch_true: following 'true' branch...
coreutils-9.7/separate/../src/cp.c:805:14: branch_true: ...to here
coreutils-9.7/separate/../src/cp.c:803:11: branch_true: following 'true' branch (when the strings are equal)...
coreutils-9.7/separate/../src/cp.c:806:14: branch_true: ...to here
coreutils-9.7/separate/../src/cp.c:803:11: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/cp.c:807:15: branch_false: ...to here
coreutils-9.7/separate/../src/cp.c:807:14: branch_true: following 'true' branch...
coreutils-9.7/separate/../src/cp.c:825:10: danger: 'dest' leaks here; was allocated at [(21)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/20)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def191]
coreutils-9.7/separate/../src/cp.c:922:13: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(arg)'
coreutils-9.7/separate/../src/cp.c:918:10: branch_true: following 'true' branch (when 'comma' is non-NULL)...
coreutils-9.7/separate/../src/cp.c:919:10: branch_true: ...to here
coreutils-9.7/separate/../src/cp.c:969:10: branch_true: following 'true' branch (when 'comma' is non-NULL)...
branch_true: ...to here
coreutils-9.7/separate/../src/cp.c:918:10: branch_false: following 'false' branch (when 'comma' is NULL)...
coreutils-9.7/separate/../src/cp.c:922:13: branch_false: ...to here
coreutils-9.7/separate/../src/cp.c:922:13: branch_true: following 'true' branch (when 'on_off != 0')...
coreutils-9.7/separate/../src/cp.c:922:13: branch_true: ...to here
coreutils-9.7/separate/../src/cp.c:922:13: danger: 'xstrdup(arg)' leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def192]
coreutils-9.7/separate/../src/csplit.c:417:10: warning[-Wanalyzer-malloc-leak]: leak of 'get_new_buffer(bytes_wanted)'
coreutils-9.7/separate/../src/csplit.c:1288:1: enter_function: entry to 'main'
coreutils-9.7/separate/../src/csplit.c:1350:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/csplit.c:1359:22: branch_false: ...to here
coreutils-9.7/separate/../src/csplit.c:1365:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/csplit.c:1367:20: branch_false: ...to here
coreutils-9.7/separate/../src/csplit.c:1400:17: branch_true: following 'true' branch (when 'i != 11')...
coreutils-9.7/separate/../src/csplit.c:1402:20: branch_true: ...to here
coreutils-9.7/separate/../src/csplit.c:1411:17: branch_true: following 'true' branch (when 'i != 11')...
coreutils-9.7/separate/../src/csplit.c:1412:41: branch_true: ...to here
coreutils-9.7/separate/../src/csplit.c:1411:17: branch_true: following 'true' branch (when 'i != 11')...
coreutils-9.7/separate/../src/csplit.c:1412:41: branch_true: ...to here
coreutils-9.7/separate/../src/csplit.c:1416:3: call_function: calling 'split_file' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def193]
coreutils-9.7/separate/../src/csplit.c:1369:24: warning[-Wanalyzer-malloc-leak]: leak of 'ximalloc(__real__ <unknown>)'
coreutils-9.7/separate/../src/csplit.c:1350:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/csplit.c:1359:22: branch_false: ...to here
coreutils-9.7/separate/../src/csplit.c:1365:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/csplit.c:1367:20: branch_false: ...to here
coreutils-9.7/separate/../src/csplit.c:1369:24: danger: 'ximalloc(__real__ <unknown>)' leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def194]
coreutils-9.7/separate/../src/date.c:316:32: warning[-Wanalyzer-malloc-leak]: leak of 'adjust_resolution(format)'
coreutils-9.7/separate/../src/date.c:397:1: enter_function: entry to 'main'
coreutils-9.7/separate/../src/date.c:510:6: branch_false: following 'false' branch (when 'option_specified_date <= 1')...
coreutils-9.7/separate/../src/date.c:517:16: branch_false: ...to here
coreutils-9.7/separate/../src/date.c:517:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/date.c:524:6: branch_false: ...to here
coreutils-9.7/separate/../src/date.c:524:6: branch_false: following 'false' branch (when 'discarded_datestr == 0')...
coreutils-9.7/separate/../src/date.c:527:6: branch_false: ...to here
coreutils-9.7/separate/../src/date.c:527:6: branch_false: following 'false' branch (when 'discarded_set_datestr == 0')...
coreutils-9.7/separate/../src/date.c:530:7: branch_false: ...to here
coreutils-9.7/separate/../src/date.c:555:6: branch_true: following 'true' branch (when 'format' is NULL)...
coreutils-9.7/separate/../src/date.c:557:10: branch_true: ...to here
coreutils-9.7/separate/../src/date.c:575:23: call_function: calling 'adjust_resolution' from 'main'
coreutils-9.7/separate/../src/date.c:575:23: return_function: returning to 'main' from 'adjust_resolution'
coreutils-9.7/separate/../src/date.c:316:32: danger: 'adjust_resolution(format)' leaks here; was allocated at [(18)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def195]
coreutils-9.7/separate/../src/df.c:452:15: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(arg)'
coreutils-9.7/separate/../src/df.c:1592:1: enter_function: entry to 'main'
coreutils-9.7/separate/../src/df.c:1625:10: branch_false: following 'false' branch (when 'c != -1')...
coreutils-9.7/separate/../src/df.c:1628:7: branch_false: ...to here
coreutils-9.7/separate/../src/df.c:1708:14: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/df.c:1713:14: branch_false: ...to here
coreutils-9.7/separate/../src/df.c:1713:14: branch_false: following 'false' branch (when 'posix_format == 0')...
coreutils-9.7/separate/../src/df.c:1718:15: branch_false: ...to here
coreutils-9.7/separate/../src/df.c:1718:14: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/df.c:1723:11: branch_false: ...to here
coreutils-9.7/separate/../src/df.c:1725:13: call_function: calling 'decode_output_arg' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def196]
coreutils-9.7/separate/../src/env.c:567:10: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(arg)'
coreutils-9.7/separate/../src/env.c:561:10: branch_true: following 'true' branch (when 'opt_sig' is non-NULL)...
coreutils-9.7/separate/../src/env.c:563:20: branch_true: ...to here
coreutils-9.7/separate/../src/env.c:567:10: danger: 'xstrdup(arg)' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def197]
coreutils-9.7/separate/../src/env.c:570:14: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(arg)'
coreutils-9.7/separate/../src/env.c:561:10: branch_true: following 'true' branch (when 'opt_sig' is non-NULL)...
coreutils-9.7/separate/../src/env.c:563:20: branch_true: ...to here
coreutils-9.7/separate/../src/env.c:567:10: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/env.c:570:25: branch_false: ...to here
coreutils-9.7/separate/../src/env.c:561:10: branch_true: following 'true' branch (when 'opt_sig' is non-NULL)...
coreutils-9.7/separate/../src/env.c:563:20: branch_true: ...to here
coreutils-9.7/separate/../src/env.c:570:14: danger: 'xstrdup(arg)' leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def198]
coreutils-9.7/separate/../src/env.c:656:10: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(arg)'
coreutils-9.7/separate/../src/env.c:650:10: branch_true: following 'true' branch (when 'opt_sig' is non-NULL)...
coreutils-9.7/separate/../src/env.c:652:20: branch_true: ...to here
coreutils-9.7/separate/../src/env.c:656:10: danger: 'xstrdup(arg)' leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def199]
coreutils-9.7/separate/../src/env.c:661:14: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(arg)'
coreutils-9.7/separate/../src/env.c:650:10: branch_true: following 'true' branch (when 'opt_sig' is non-NULL)...
coreutils-9.7/separate/../src/env.c:652:20: branch_true: ...to here
coreutils-9.7/separate/../src/env.c:656:10: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/env.c:659:11: branch_false: ...to here
coreutils-9.7/separate/../src/env.c:661:14: danger: 'xstrdup(arg)' leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def200]
coreutils-9.7/separate/../src/libstdbuf.c:128:6: warning[-Wanalyzer-malloc-leak]: leak of 'buf'
coreutils-9.7/separate/../src/libstdbuf.c:98:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/libstdbuf.c:100:11: branch_false: ...to here
coreutils-9.7/separate/../src/libstdbuf.c:100:11: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/libstdbuf.c:106:14: branch_false: ...to here
coreutils-9.7/separate/../src/libstdbuf.c:107:10: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/libstdbuf.c:114:13: acquire_memory: allocated here
coreutils-9.7/separate/../src/libstdbuf.c:115:10: branch_false: following 'false' branch (when 'buf' is non-NULL)...
branch_false: ...to here
coreutils-9.7/separate/../src/libstdbuf.c:128:6: branch_false: following 'false' branch...
branch_false: ...to here
coreutils-9.7/separate/../src/libstdbuf.c:128:6: danger: 'buf' leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def201]
coreutils-9.7/separate/../src/ls.c:5334:45: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
coreutils-9.7/separate/../src/ls.c:5316:6: branch_true: following 'true' branch...
coreutils-9.7/separate/../src/ls.c:5319:21: branch_true: ...to here
coreutils-9.7/separate/../src/ls.c:5328:10: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/ls.c:5329:14: branch_false: ...to here
coreutils-9.7/separate/../src/ls.c:5328:11: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/ls.c:5331:19: branch_false: ...to here
coreutils-9.7/separate/../src/ls.c:5334:45: branch_true: following 'true' branch...
coreutils-9.7/separate/../src/ls.c:5336:22: branch_true: ...to here
coreutils-9.7/separate/../src/ls.c:5334:45: branch_false: following 'false' branch...
branch_false: ...to here
coreutils-9.7/separate/../src/ls.c:5334:45: danger: '<unknown>' leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def202]
coreutils-9.7/separate/../src/ls.c:5348:1: warning[-Wanalyzer-malloc-leak]: leak of 'p'
coreutils-9.7/separate/../src/ls.c:5316:6: branch_true: following 'true' branch...
coreutils-9.7/separate/../src/ls.c:5319:21: branch_true: ...to here
coreutils-9.7/separate/../src/ls.c:5328:10: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/ls.c:5329:14: branch_false: ...to here
coreutils-9.7/separate/../src/ls.c:5328:11: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/ls.c:5331:19: branch_false: ...to here
coreutils-9.7/separate/../src/ls.c:5334:45: branch_false: following 'false' branch...
branch_false: ...to here
coreutils-9.7/separate/../src/ls.c:5348:1: danger: 'p' leaks here; was allocated at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def203]
coreutils-9.7/separate/../src/paste.c:180:20: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(nfiles + 2)'
coreutils-9.7/separate/../src/paste.c:192:24: branch_true: following 'true' branch (when 'files_open < nfiles')...
coreutils-9.7/separate/../src/paste.c:194:11: branch_true: ...to here
coreutils-9.7/separate/../src/paste.c:194:10: branch_false: following 'false' branch (when the strings are non-equal)...
coreutils-9.7/separate/../src/paste.c:201:18: branch_false: ...to here
coreutils-9.7/separate/../src/paste.c:180:20: danger: 'xmalloc(nfiles + 2)' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def204]
coreutils-9.7/separate/../src/paste.c:194:11: warning[-Wanalyzer-malloc-leak]: leak of 'xnmalloc(nfiles + 1, 8)'
coreutils-9.7/separate/../src/paste.c:192:24: branch_true: following 'true' branch (when 'files_open < nfiles')...
coreutils-9.7/separate/../src/paste.c:194:11: branch_true: ...to here
coreutils-9.7/separate/../src/paste.c:194:10: branch_false: following 'false' branch (when the strings are non-equal)...
coreutils-9.7/separate/../src/paste.c:201:18: branch_false: ...to here
coreutils-9.7/separate/../src/paste.c:194:11: danger: 'xnmalloc(nfiles + 1, 8)' leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def205]
coreutils-9.7/separate/../src/printf.c:526:23: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(strlen(format) + 1)'
coreutils-9.7/separate/../src/printf.c:690:1: enter_function: entry to 'main'
coreutils-9.7/separate/../src/printf.c:724:6: branch_true: following 'true' branch (when 'argc > 1')...
coreutils-9.7/separate/../src/printf.c:724:19: branch_true: ...to here
coreutils-9.7/separate/../src/printf.c:730:6: branch_false: following 'false' branch (when 'argc != 1')...
coreutils-9.7/separate/../src/printf.c:736:3: branch_false: ...to here
coreutils-9.7/separate/../src/printf.c:742:19: call_function: calling 'print_formatted' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-124): [#def206]
coreutils-9.7/separate/../src/seq.c:529:7: warning[-Wanalyzer-out-of-bounds]: stack-based buffer underwrite
coreutils-9.7/separate/../src/seq.c:547:1: enter_function: entry to 'main'
coreutils-9.7/separate/../src/seq.c:609:6: branch_false: following 'false' branch (when 'n_args > 0')...
coreutils-9.7/separate/../src/seq.c:615:6: branch_false: ...to here
coreutils-9.7/separate/../src/seq.c:615:6: branch_false: following 'false' branch (when 'n_args <= 3')...
coreutils-9.7/separate/../src/seq.c:621:6: branch_false: ...to here
coreutils-9.7/separate/../src/seq.c:621:6: branch_false: following 'false' branch (when 'format_str' is NULL)...
coreutils-9.7/separate/../src/seq.c:639:6: branch_false: ...to here
coreutils-9.7/separate/../src/seq.c:645:6: branch_true: following 'true' branch...
coreutils-9.7/separate/../src/seq.c:645:7: branch_true: ...to here
coreutils-9.7/separate/../src/seq.c:645:7: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/seq.c:645:7: branch_false: ...to here
coreutils-9.7/separate/../src/seq.c:645:7: branch_true: following 'true' branch...
coreutils-9.7/separate/../src/seq.c:653:7: call_function: calling 'seq_fast' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def207]
coreutils-9.7/separate/../src/tee.c:256:3: warning[-Wanalyzer-malloc-leak]: leak of 'xnmalloc((long unsigned int)(nfiles + 1), 8)'
coreutils-9.7/separate/../src/tee.c:226:1: enter_function: entry to 'tee_files'
coreutils-9.7/separate/../src/tee.c:249:6: branch_false: following 'false' branch (when 'pipe_check == 0')...
coreutils-9.7/separate/../src/tee.c:251:3: branch_false: ...to here
coreutils-9.7/separate/../src/tee.c:253:6: branch_false: following 'false' branch (when 'pipe_check == 0')...
coreutils-9.7/separate/../src/tee.c:255:24: branch_false: ...to here
coreutils-9.7/separate/../src/tee.c:259:15: branch_true: following 'true' branch (when 'i <= nfiles')...
coreutils-9.7/separate/../src/tee.c:262:37: branch_true: ...to here
coreutils-9.7/separate/../src/tee.c:263:10: branch_true: following 'true' branch...
coreutils-9.7/separate/../src/tee.c:265:14: branch_true: ...to here
coreutils-9.7/separate/../src/tee.c:265:14: branch_false: following 'false' branch (when 'pipe_check == 0')...
coreutils-9.7/separate/../src/tee.c:267:11: branch_false: ...to here
coreutils-9.7/separate/../src/tee.c:267:11: branch_true: following 'true' branch...
coreutils-9.7/separate/../src/tee.c:267:11: branch_true: ...to here
coreutils-9.7/separate/../src/tee.c:267:11: call_function: inlined call to 'error' from 'tee_files'
coreutils-9.7/separate/../src/tee.c:256:3: danger: 'xnmalloc((long unsigned int)(nfiles + 1), 8)' leaks here; was allocated at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def208]
coreutils-9.7/separate/../src/tee.c:262:37: warning[-Wanalyzer-malloc-leak]: leak of 'xnmalloc((long unsigned int)(nfiles + 1), 8)'
coreutils-9.7/separate/../src/tee.c:119:1: enter_function: entry to 'main'
coreutils-9.7/separate/../src/tee.c:177:13: call_function: calling 'tee_files' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def209]
coreutils-9.7/separate/../src/tsort.c:422:6: warning[-Wanalyzer-malloc-leak]: leak of 'xzalloc(56)'
coreutils-9.7/separate/../src/tsort.c:531:1: enter_function: entry to 'main'
coreutils-9.7/separate/../src/tsort.c:545:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/tsort.c:551:3: branch_false: ...to here
coreutils-9.7/separate/../src/tsort.c:551:3: call_function: calling 'tsort' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def210]
coreutils-9.7/separate/../src/tsort.c:440:22: warning[-Wanalyzer-malloc-leak]: leak of 'xzalloc(56)'
coreutils-9.7/separate/../src/tsort.c:531:1: enter_function: entry to 'main'
coreutils-9.7/separate/../src/tsort.c:545:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/tsort.c:551:3: branch_false: ...to here
coreutils-9.7/separate/../src/tsort.c:551:3: call_function: calling 'tsort' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def211]
coreutils-9.7/separate/../src/tsort.c:443:3: warning[-Wanalyzer-malloc-leak]: leak of 'xzalloc(56)'
coreutils-9.7/separate/../src/tsort.c:531:1: enter_function: entry to 'main'
coreutils-9.7/separate/../src/tsort.c:545:6: branch_false: following 'false' branch...
coreutils-9.7/separate/../src/tsort.c:551:3: branch_false: ...to here
coreutils-9.7/separate/../src/tsort.c:551:3: call_function: calling 'tsort' from 'main'
Error: COMPILER_WARNING: [#def212]
coreutils-9.7/separate/../src/wc_avx2.c:32:11: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
Error: COMPILER_WARNING: [#def213]
coreutils-9.7/separate/../src/wc_avx2.c:32:22: note[note]: called from here
Error: COMPILER_WARNING: [#def214]
coreutils-9.7/separate/../src/wc_avx2.c:46:31: note[note]: called from here
Error: COMPILER_WARNING: [#def215]
coreutils-9.7/separate/../src/wc_avx2.c:47:30: note[note]: called from here
Error: COMPILER_WARNING: [#def216]
coreutils-9.7/separate/../src/wc_avx2.c:48:23: note[note]: called from here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def217]
coreutils-9.7/separate/parse-datetime.c:1831:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*<unknown>'
coreutils-9.7/separate/parse-datetime.y:2404:1: enter_function: entry to 'parse_datetime'
coreutils-9.7/separate/parse-datetime.y:2409:6: branch_false: following 'false' branch...
coreutils-9.7/separate/parse-datetime.y:2411:13: branch_false: ...to here
coreutils-9.7/separate/parse-datetime.y:2411:13: call_function: calling 'parse_datetime_body' from 'parse_datetime'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def218]
coreutils-9.7/single/../lib/canon-host.c:75:27: warning[-Wanalyzer-malloc-leak]: leak of 'canon_host_r(host, & last_cherror)'
coreutils-9.7/single/../lib/canon-host.c:33:1: enter_function: entry to 'canon_host'
coreutils-9.7/single/../lib/canon-host.c:35:10: acquire_memory: allocated here
coreutils-9.7/single/../lib/canon-host.c:35:10: call_function: calling 'canon_host_r' from 'canon_host'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def219]
coreutils-9.7/single/../lib/canon-host.c:83:10: warning[-Wanalyzer-malloc-leak]: leak of 'canon_host_r(host, & last_cherror)'
coreutils-9.7/single/../lib/canon-host.c:33:1: enter_function: entry to 'canon_host'
coreutils-9.7/single/../lib/canon-host.c:35:10: acquire_memory: allocated here
coreutils-9.7/single/../lib/canon-host.c:35:10: call_function: calling 'canon_host_r' from 'canon_host'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def220]
coreutils-9.7/single/../lib/exclude.c:579:11: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(pattern)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def221]
coreutils-9.7/single/../lib/exclude.c:604:7: warning[-Wanalyzer-null-dereference]: dereference of NULL 'buf'
coreutils-9.7/single/../lib/exclude.c:657:1: enter_function: entry to 'add_exclude_file'
coreutils-9.7/single/../lib/exclude.c:661:6: branch_false: following 'false' branch (when the strings are non-equal)...
coreutils-9.7/single/../lib/exclude.c:664:14: branch_false: ...to here
coreutils-9.7/single/../lib/exclude.c:665:6: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/exclude.c:667:12: branch_false: ...to here
coreutils-9.7/single/../lib/exclude.c:667:12: call_function: calling 'add_exclude_fp' from 'add_exclude_file'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def222]
coreutils-9.7/single/../lib/file-set.c:43:8: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(24)'
coreutils-9.7/single/../lib/file-set.c:33:6: branch_false: following 'false' branch (when 'ht' is non-NULL)...
coreutils-9.7/single/../lib/file-set.c:36:9: branch_false: ...to here
coreutils-9.7/single/../lib/file-set.c:43:8: danger: 'xmalloc(24)' leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def223]
coreutils-9.7/single/../lib/file-set.c:49:8: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(24)'
coreutils-9.7/single/../lib/file-set.c:33:6: branch_false: following 'false' branch (when 'ht' is non-NULL)...
coreutils-9.7/single/../lib/file-set.c:36:9: branch_false: ...to here
coreutils-9.7/single/../lib/file-set.c:43:8: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/file-set.c:49:8: branch_false: ...to here
coreutils-9.7/single/../lib/file-set.c:49:8: danger: 'xmalloc(24)' leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def224]
coreutils-9.7/single/../lib/fts.c:714:12: warning[-Wanalyzer-malloc-leak]: leak of 't2'
coreutils-9.7/single/../lib/fts.c:1267:1: enter_function: entry to 'fts_build'
coreutils-9.7/single/../lib/fts.c:1307:16: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/fts.c:1319:38: branch_false: ...to here
coreutils-9.7/single/../lib/fts.c:1379:12: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/fts.c:1389:23: branch_false: ...to here
coreutils-9.7/single/../lib/fts.c:1389:23: branch_true: following 'true' branch (when 'type != 2')...
coreutils-9.7/single/../lib/fts.c:1390:30: branch_true: ...to here
coreutils-9.7/single/../lib/fts.c:1389:23: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/fts.c:1390:30: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/fts.c:1392:33: branch_false: ...to here
coreutils-9.7/single/../lib/fts.c:1390:30: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/fts.c:1393:34: branch_false: ...to here
coreutils-9.7/single/../lib/fts.c:1393:34: call_function: calling 'leaf_optimization' from 'fts_build'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def225]
coreutils-9.7/single/../lib/fts.c:1307:16: warning[-Wanalyzer-malloc-leak]: leak of '**sp.fts_cur.fts_dirp'
coreutils-9.7/single/../lib/fts.c:1287:12: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/fts.c:1307:34: branch_false: ...to here
coreutils-9.7/single/../lib/fts.c:1307:34: acquire_memory: allocated here
coreutils-9.7/single/../lib/fts.c:1307:16: danger: '**sp.fts_cur.fts_dirp' leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def226]
coreutils-9.7/single/../lib/fts.c:1599:17: warning[-Wanalyzer-null-dereference]: dereference of NULL 'cp'
coreutils-9.7/single/../lib/fts.c:1110:1: enter_function: entry to 'rpl_fts_children'
coreutils-9.7/single/../lib/fts.c:1115:12: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/fts.c:1121:9: branch_false: ...to here
coreutils-9.7/single/../lib/fts.c:1130:12: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/fts.c:1134:13: branch_false: ...to here
coreutils-9.7/single/../lib/fts.c:1134:12: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/fts.c:1142:12: branch_false: ...to here
coreutils-9.7/single/../lib/fts.c:1142:12: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/fts.c:1146:13: branch_false: ...to here
coreutils-9.7/single/../lib/fts.c:1149:12: branch_false: following 'false' branch (when 'instr != 4096')...
coreutils-9.7/single/../lib/fts.c:1162:13: branch_false: ...to here
coreutils-9.7/single/../lib/fts.c:1164:41: call_function: calling 'fts_build' from 'rpl_fts_children'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def227]
coreutils-9.7/single/../lib/ialloc.h:57:10: warning[-Wanalyzer-malloc-leak]: leak of 'ximalloc(s + 1)'
coreutils-9.7/single/../lib/xmalloc.c:327:1: enter_function: entry to 'ximemdup0'
coreutils-9.7/single/../lib/xmalloc.c:329:18: call_function: calling 'ximalloc' from 'ximemdup0'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def228]
coreutils-9.7/single/../lib/ialloc.h:57:10: warning[-Wanalyzer-malloc-leak]: leak of 'ximalloc(s)'
coreutils-9.7/single/../lib/xmalloc.c:318:1: enter_function: entry to 'ximemdup'
coreutils-9.7/single/../lib/xmalloc.c:320:10: call_function: calling 'ximalloc' from 'ximemdup'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def229]
coreutils-9.7/single/../lib/ialloc.h:91:10: warning[-Wanalyzer-malloc-leak]: leak of 'xicalloc(s, 1)'
coreutils-9.7/single/../lib/xmalloc.c:287:1: enter_function: entry to 'xizalloc'
coreutils-9.7/single/../lib/xmalloc.c:289:10: call_function: calling 'xicalloc' from 'xizalloc'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def230]
coreutils-9.7/single/../lib/mbfile.h:93:7: warning[-Wanalyzer-malloc-leak]: leak of 'ximalloc((long int)((long unsigned int)max_column_width * 32))'
coreutils-9.7/single/../src/unexpand.c:315:1: enter_function: entry to 'single_binary_main_unexpand'
coreutils-9.7/single/../src/unexpand.c:379:3: call_function: calling 'unexpand' from 'single_binary_main_unexpand'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def231]
coreutils-9.7/single/../lib/randint.c:76:10: warning[-Wanalyzer-malloc-leak]: leak of 'randint_new(randread_new(name, bytes_bound))'
coreutils-9.7/single/../lib/randint.c:84:1: enter_function: entry to 'randint_all_new'
coreutils-9.7/single/../lib/randint.c:87:10: branch_true: following 'true' branch...
coreutils-9.7/single/../lib/randint.c:87:20: branch_true: ...to here
coreutils-9.7/single/../lib/randint.c:87:20: call_function: calling 'randint_new' from 'randint_all_new'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def232]
coreutils-9.7/single/../lib/randperm.c:135:1: warning[-Wanalyzer-malloc-leak]: leak of 'v1'
coreutils-9.7/single/../lib/randperm.c:115:6: branch_true: following 'true' branch...
coreutils-9.7/single/../lib/randperm.c:117:12: branch_true: ...to here
coreutils-9.7/single/../lib/randperm.c:120:6: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/randperm.c:126:10: branch_false: ...to here
coreutils-9.7/single/../lib/randperm.c:129:6: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/randperm.c:131:8: branch_false: ...to here
coreutils-9.7/single/../lib/randperm.c:131:6: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/randperm.c:134:4: branch_false: ...to here
coreutils-9.7/single/../lib/randperm.c:135:1: danger: 'v1' leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def233]
coreutils-9.7/single/../lib/randperm.c:135:1: warning[-Wanalyzer-malloc-leak]: leak of 'v2'
coreutils-9.7/single/../lib/randperm.c:115:6: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/randperm.c:120:6: branch_false: ...to here
coreutils-9.7/single/../lib/randperm.c:120:6: branch_true: following 'true' branch...
coreutils-9.7/single/../lib/randperm.c:122:12: branch_true: ...to here
coreutils-9.7/single/../lib/randperm.c:129:6: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/randperm.c:131:8: branch_false: ...to here
coreutils-9.7/single/../lib/randperm.c:131:6: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/randperm.c:134:4: branch_false: ...to here
coreutils-9.7/single/../lib/randperm.c:135:1: danger: 'v2' leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def234]
coreutils-9.7/single/../lib/read-file.c:62:46: warning[-Wanalyzer-malloc-leak]: leak of 'fread_file(fopen(filename, mode), flags, length)'
coreutils-9.7/single/../lib/read-file.c:190:1: enter_function: entry to 'read_file'
coreutils-9.7/single/../lib/read-file.c:196:6: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/read-file.c:199:7: branch_false: ...to here
coreutils-9.7/single/../lib/read-file.c:202:9: acquire_memory: allocated here
coreutils-9.7/single/../lib/read-file.c:202:9: call_function: calling 'fread_file' from 'read_file'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def235]
coreutils-9.7/single/../lib/read-file.c:82:6: warning[-Wanalyzer-malloc-leak]: leak of 'fread_file(fopen(filename, mode), flags, length)'
coreutils-9.7/single/../lib/read-file.c:190:1: enter_function: entry to 'read_file'
coreutils-9.7/single/../lib/read-file.c:196:6: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/read-file.c:199:7: branch_false: ...to here
coreutils-9.7/single/../lib/read-file.c:202:9: acquire_memory: allocated here
coreutils-9.7/single/../lib/read-file.c:202:9: call_function: calling 'fread_file' from 'read_file'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def236]
coreutils-9.7/single/../lib/read-file.c:104:24: warning[-Wanalyzer-malloc-leak]: leak of 'fread_file(fopen(filename, mode), flags, length)'
coreutils-9.7/single/../lib/read-file.c:190:1: enter_function: entry to 'read_file'
coreutils-9.7/single/../lib/read-file.c:196:6: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/read-file.c:199:7: branch_false: ...to here
coreutils-9.7/single/../lib/read-file.c:202:9: acquire_memory: allocated here
coreutils-9.7/single/../lib/read-file.c:202:9: call_function: calling 'fread_file' from 'read_file'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def237]
coreutils-9.7/single/../lib/read-file.c:142:37: warning[-Wanalyzer-malloc-leak]: leak of 'fread_file(fopen(filename, mode), flags, length)'
coreutils-9.7/single/../lib/read-file.c:190:1: enter_function: entry to 'read_file'
coreutils-9.7/single/../lib/read-file.c:196:6: branch_false: following 'false' branch...
coreutils-9.7/single/../lib/read-file.c:199:7: branch_false: ...to here
coreutils-9.7/single/../lib/read-file.c:202:9: acquire_memory: allocated here
coreutils-9.7/single/../lib/read-file.c:202:9: call_function: calling 'fread_file' from 'read_file'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def238]
coreutils-9.7/single/../lib/time_rz.c:88:22: warning[-Wanalyzer-malloc-leak]: leak of 'tzalloc(getenv("TZ"))'
coreutils-9.7/single/./lib/time.h:1116:1: enter_function: entry to 'mktime_z'
coreutils-9.7/single/../lib/time_rz.c:282:6: branch_false: following 'false' branch (when 'tz' is non-NULL)...
coreutils-9.7/single/../lib/time_rz.c:286:27: branch_false: ...to here
coreutils-9.7/single/../lib/time_rz.c:286:27: call_function: calling 'set_tz' from 'mktime_z'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def239]
coreutils-9.7/single/../lib/time_rz.c:206:10: warning[-Wanalyzer-malloc-leak]: leak of 'set_tz(tz)'
coreutils-9.7/single/./lib/time.h:1116:1: enter_function: entry to 'mktime_z'
coreutils-9.7/single/../lib/time_rz.c:282:6: branch_false: following 'false' branch (when 'tz' is non-NULL)...
coreutils-9.7/single/../lib/time_rz.c:286:27: branch_false: ...to here
coreutils-9.7/single/../lib/time_rz.c:286:27: call_function: calling 'set_tz' from 'mktime_z'
coreutils-9.7/single/../lib/time_rz.c:286:27: return_function: returning to 'mktime_z' from 'set_tz'
coreutils-9.7/single/../lib/time_rz.c:287:10: branch_true: following 'true' branch...
coreutils-9.7/single/../lib/time_rz.c:290:25: branch_true: ...to here
coreutils-9.7/single/../lib/time_rz.c:301:15: call_function: calling 'revert_tz' from 'mktime_z'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def240]
coreutils-9.7/single/../lib/xmalloc.c:45:10: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(n)'
coreutils-9.7/single/../lib/xmalloc.c:55:1: enter_function: entry to 'xcharalloc'
coreutils-9.7/single/../lib/xmalloc.c:57:10: call_function: calling 'xmalloc' from 'xcharalloc'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def241]
coreutils-9.7/single/../lib/xmalloc.c:45:10: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(s)'
coreutils-9.7/single/../lib/xmalloc.c:312:1: enter_function: entry to 'xmemdup'
coreutils-9.7/single/../lib/xmalloc.c:314:10: call_function: calling 'xmalloc' from 'xmemdup'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def242]
coreutils-9.7/single/../lib/xmalloc.c:298:10: warning[-Wanalyzer-malloc-leak]: leak of 'xcalloc(s, 1)'
coreutils-9.7/single/../lib/xmalloc.c:281:1: enter_function: entry to 'xzalloc'
coreutils-9.7/single/../lib/xmalloc.c:283:10: call_function: calling 'xcalloc' from 'xzalloc'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def243]
coreutils-9.7/single/../lib/xmalloc.c:314:10: warning[-Wanalyzer-malloc-leak]: leak of 'xmemdup(string, strlen(string) + 1)'
coreutils-9.7/single/../lib/xmalloc.c:337:1: enter_function: entry to 'xstrdup'
coreutils-9.7/single/../lib/xmalloc.c:339:10: call_function: calling 'xmemdup' from 'xstrdup'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def244]
coreutils-9.7/single/../src/basenc.c:1105:15: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc((long unsigned int)base_length(30720))'
coreutils-9.7/single/../src/basenc.c:1089:1: enter_function: entry to 'do_encode'
coreutils-9.7/single/../src/basenc.c:1110:10: branch_false: following 'false' branch (when 'sum <= 0')...
coreutils-9.7/single/../src/basenc.c:1120:11: call_function: inlined call to 'feof_unlocked' from 'do_encode'
coreutils-9.7/single/../src/basenc.c:1105:15: danger: 'xmalloc((long unsigned int)base_length(30720))' leaks here; was allocated at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def245]
coreutils-9.7/single/../src/basenc.c:1105:15: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(40960)'
coreutils-9.7/single/../src/basenc.c:1215:1: enter_function: entry to 'single_binary_main_base64'
coreutils-9.7/single/../src/basenc.c:1365:6: branch_false: following 'false' branch...
coreutils-9.7/single/../src/basenc.c:1371:6: branch_false: ...to here
coreutils-9.7/single/../src/basenc.c:1390:6: branch_false: following 'false' branch (when 'decode == 0')...
coreutils-9.7/single/../src/basenc.c:1393:5: branch_false: ...to here
coreutils-9.7/single/../src/basenc.c:1393:5: call_function: calling 'do_encode' from 'single_binary_main_base64'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def246]
coreutils-9.7/single/../src/basenc.c:1105:15: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(49152)'
coreutils-9.7/single/../src/basenc.c:1215:1: enter_function: entry to 'single_binary_main_base32'
coreutils-9.7/single/../src/basenc.c:1365:6: branch_false: following 'false' branch...
coreutils-9.7/single/../src/basenc.c:1371:6: branch_false: ...to here
coreutils-9.7/single/../src/basenc.c:1390:6: branch_false: following 'false' branch (when 'decode == 0')...
coreutils-9.7/single/../src/basenc.c:1393:5: branch_false: ...to here
coreutils-9.7/single/../src/basenc.c:1393:5: call_function: calling 'do_encode' from 'single_binary_main_base32'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def247]
coreutils-9.7/single/../src/basenc.c:1155:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(3072)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def248]
coreutils-9.7/single/../src/basenc.c:1155:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(4200)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def249]
coreutils-9.7/single/../src/basenc.c:1155:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(5120)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def250]
coreutils-9.7/single/../src/chown-core.c:83:19: warning[-Wanalyzer-malloc-leak]: leak of 'uid_to_name(*file_stats.st_uid)'
coreutils-9.7/single/../src/chown-core.c:284:1: enter_function: entry to 'change_file_owner'
coreutils-9.7/single/../src/chown-core.c:484:6: branch_true: following 'true' branch...
coreutils-9.7/single/../src/chown-core.c:487:11: branch_true: ...to here
coreutils-9.7/single/../src/chown-core.c:491:11: branch_true: following 'true' branch...
coreutils-9.7/single/../src/chown-core.c:494:13: branch_true: ...to here
coreutils-9.7/single/../src/chown-core.c:498:27: branch_true: following 'true' branch (when 'file_stats' is non-NULL)...
coreutils-9.7/single/../src/chown-core.c:499:43: branch_true: ...to here
coreutils-9.7/single/../src/chown-core.c:499:30: call_function: calling 'uid_to_name' from 'change_file_owner'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def251]
coreutils-9.7/single/../src/chown-core.c:94:19: warning[-Wanalyzer-malloc-leak]: leak of 'gid_to_name(*file_stats.st_gid)'
coreutils-9.7/single/../src/chown-core.c:284:1: enter_function: entry to 'change_file_owner'
coreutils-9.7/single/../src/chown-core.c:484:6: branch_true: following 'true' branch...
coreutils-9.7/single/../src/chown-core.c:487:11: branch_true: ...to here
coreutils-9.7/single/../src/chown-core.c:491:11: branch_true: following 'true' branch...
coreutils-9.7/single/../src/chown-core.c:494:13: branch_true: ...to here
coreutils-9.7/single/../src/chown-core.c:498:27: branch_true: following 'true' branch (when 'file_stats' is non-NULL)...
coreutils-9.7/single/../src/chown-core.c:499:43: branch_true: ...to here
coreutils-9.7/single/../src/chown-core.c:499:30: call_function: calling 'uid_to_name' from 'change_file_owner'
coreutils-9.7/single/../src/chown-core.c:499:30: return_function: returning to 'change_file_owner' from 'uid_to_name'
coreutils-9.7/single/../src/chown-core.c:501:30: call_function: calling 'gid_to_name' from 'change_file_owner'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def252]
coreutils-9.7/single/../src/chown-core.c:106:25: warning[-Wanalyzer-malloc-leak]: leak of 'gid_to_name(*file_stats.st_gid)'
coreutils-9.7/single/../src/chown-core.c:284:1: enter_function: entry to 'change_file_owner'
coreutils-9.7/single/../src/chown-core.c:484:6: branch_true: following 'true' branch...
coreutils-9.7/single/../src/chown-core.c:487:11: branch_true: ...to here
coreutils-9.7/single/../src/chown-core.c:491:11: branch_true: following 'true' branch...
coreutils-9.7/single/../src/chown-core.c:494:13: branch_true: ...to here
coreutils-9.7/single/../src/chown-core.c:498:27: branch_true: following 'true' branch (when 'file_stats' is non-NULL)...
coreutils-9.7/single/../src/chown-core.c:499:43: branch_true: ...to here
coreutils-9.7/single/../src/chown-core.c:499:30: call_function: calling 'uid_to_name' from 'change_file_owner'
coreutils-9.7/single/../src/chown-core.c:499:30: return_function: returning to 'change_file_owner' from 'uid_to_name'
coreutils-9.7/single/../src/chown-core.c:501:30: call_function: calling 'gid_to_name' from 'change_file_owner'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def253]
coreutils-9.7/single/../src/chown-core.c:117:25: warning[-Wanalyzer-malloc-leak]: leak of 'uid_to_name(*file_stats.st_uid)'
coreutils-9.7/single/../src/chown-core.c:284:1: enter_function: entry to 'change_file_owner'
coreutils-9.7/single/../src/chown-core.c:484:6: branch_true: following 'true' branch...
coreutils-9.7/single/../src/chown-core.c:487:11: branch_true: ...to here
coreutils-9.7/single/../src/chown-core.c:491:11: branch_true: following 'true' branch...
coreutils-9.7/single/../src/chown-core.c:494:13: branch_true: ...to here
coreutils-9.7/single/../src/chown-core.c:498:27: branch_true: following 'true' branch (when 'file_stats' is non-NULL)...
coreutils-9.7/single/../src/chown-core.c:499:43: branch_true: ...to here
coreutils-9.7/single/../src/chown-core.c:499:30: call_function: calling 'uid_to_name' from 'change_file_owner'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def254]
coreutils-9.7/single/../src/chown-core.c:171:3: warning[-Wanalyzer-malloc-leak]: leak of 'user_group_str(<unknown>, <unknown>)'
coreutils-9.7/single/../src/chown-core.c:536:1: enter_function: entry to 'chown_files'
coreutils-9.7/single/../src/chown-core.c:557:10: branch_false: following 'false' branch...
coreutils-9.7/single/../src/chown-core.c:569:13: branch_false: ...to here
coreutils-9.7/single/../src/chown-core.c:569:13: call_function: calling 'change_file_owner' from 'chown_files'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def255]
coreutils-9.7/single/../src/chown-core.c:179:10: warning[-Wanalyzer-malloc-leak]: leak of 'user_group_str(<unknown>, <unknown>)'
coreutils-9.7/single/../src/chown-core.c:536:1: enter_function: entry to 'chown_files'
coreutils-9.7/single/../src/chown-core.c:557:10: branch_false: following 'false' branch...
coreutils-9.7/single/../src/chown-core.c:569:13: branch_false: ...to here
coreutils-9.7/single/../src/chown-core.c:569:13: call_function: calling 'change_file_owner' from 'chown_files'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def256]
coreutils-9.7/single/../src/chroot.c:147:7: warning[-Wanalyzer-null-dereference]: dereference of NULL 'gids'
coreutils-9.7/single/../src/chroot.c:219:1: enter_function: entry to 'single_binary_main_chroot'
coreutils-9.7/single/../src/chroot.c:232:16: release_memory: 'out_gids' is NULL
coreutils-9.7/single/../src/chroot.c:244:10: branch_true: following 'true' branch (when 'c != -1')...
coreutils-9.7/single/../src/chroot.c:246:7: branch_true: ...to here
coreutils-9.7/single/../src/chroot.c:244:10: branch_false: following 'false' branch (when 'c == -1')...
coreutils-9.7/single/../src/chroot.c:277:7: branch_false: ...to here
coreutils-9.7/single/../src/chroot.c:277:6: branch_false: following 'false' branch...
coreutils-9.7/single/../src/chroot.c:283:29: branch_false: ...to here
coreutils-9.7/single/../src/chroot.c:286:6: branch_false: following 'false' branch...
coreutils-9.7/single/../src/chroot.c:293:6: branch_false: ...to here
coreutils-9.7/single/../src/chroot.c:293:6: branch_false: following 'false' branch...
coreutils-9.7/single/../src/chroot.c:301:10: branch_false: ...to here
coreutils-9.7/single/../src/chroot.c:301:10: branch_false: following 'false' branch (when 'userspec' is NULL)...
coreutils-9.7/single/../src/chroot.c:306:11: branch_false: ...to here
coreutils-9.7/single/../src/chroot.c:306:10: branch_false: following 'false' branch...
branch_false: ...to here
coreutils-9.7/single/../src/chroot.c:317:10: branch_true: following 'true' branch...
coreutils-9.7/single/../src/chroot.c:318:9: call_function: calling 'parse_additional_groups' from 'single_binary_main_chroot'
Error: COMPILER_WARNING: [#def257]
coreutils-9.7/single/../src/cksum_avx2.c:46:3: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
Error: COMPILER_WARNING: [#def258]
coreutils-9.7/single/../src/cksum_avx2.c:46:26: note[note]: called from here
Error: COMPILER_WARNING: [#def259]
coreutils-9.7/single/../src/cksum_avx2.c:48:24: note[note]: called from here
Error: COMPILER_WARNING: [#def260]
coreutils-9.7/single/../src/cksum_avx2.c:52:22: note[note]: called from here
Error: COMPILER_WARNING: [#def261]
coreutils-9.7/single/../src/cksum_avx2.c:83:18: note[note]: called from here
Error: COMPILER_WARNING: [#def262]
coreutils-9.7/single/../src/cksum_avx2.c:84:18: note[note]: called from here
Error: COMPILER_WARNING: [#def263]
coreutils-9.7/single/../src/cksum_avx2.c:87:21: note[note]: called from here
Error: COMPILER_WARNING: [#def264]
coreutils-9.7/single/../src/cksum_avx2.c:89:18: note[note]: called from here
Error: COMPILER_WARNING: [#def265]
coreutils-9.7/single/../src/cksum_avx2.c:90:19: note[note]: called from here
Error: COMPILER_WARNING: [#def266]
coreutils-9.7/single/../src/cksum_avx2.c:91:19: note[note]: called from here
Error: COMPILER_WARNING: [#def267]
coreutils-9.7/single/../src/cksum_avx2.c:92:19: note[note]: called from here
Error: COMPILER_WARNING: [#def268]
coreutils-9.7/single/../src/cksum_avx2.c:93:19: note[note]: called from here
Error: COMPILER_WARNING: [#def269]
coreutils-9.7/single/../src/cksum_avx2.c:94:19: note[note]: called from here
Error: COMPILER_WARNING: [#def270]
coreutils-9.7/single/../src/cksum_avx2.c:95:19: note[note]: called from here
Error: COMPILER_WARNING: [#def271]
coreutils-9.7/single/../src/cksum_avx2.c:102:23: note[note]: called from here
Error: COMPILER_WARNING: [#def272]
coreutils-9.7/single/../src/cksum_avx2.c:104:22: note[note]: called from here
Error: COMPILER_WARNING: [#def273]
coreutils-9.7/single/../src/cksum_avx2.c:106:23: note[note]: called from here
Error: COMPILER_WARNING: [#def274]
coreutils-9.7/single/../src/cksum_avx2.c:108:23: note[note]: called from here
Error: COMPILER_WARNING: [#def275]
coreutils-9.7/single/../src/cksum_avx2.c:110:23: note[note]: called from here
Error: COMPILER_WARNING: [#def276]
coreutils-9.7/single/../src/cksum_avx2.c:112:23: note[note]: called from here
Error: COMPILER_WARNING: [#def277]
coreutils-9.7/single/../src/cksum_avx2.c:114:23: note[note]: called from here
Error: COMPILER_WARNING: [#def278]
coreutils-9.7/single/../src/cksum_avx2.c:116:23: note[note]: called from here
Error: COMPILER_WARNING: [#def279]
coreutils-9.7/single/../src/cksum_avx2.c:124:22: note[note]: called from here
Error: COMPILER_WARNING: [#def280]
coreutils-9.7/single/../src/cksum_avx2.c:125:23: note[note]: called from here
Error: COMPILER_WARNING: [#def281]
coreutils-9.7/single/../src/cksum_avx2.c:126:23: note[note]: called from here
Error: COMPILER_WARNING: [#def282]
coreutils-9.7/single/../src/cksum_avx2.c:127:22: note[note]: called from here
Error: COMPILER_WARNING: [#def283]
coreutils-9.7/single/../src/cksum_avx2.c:129:23: note[note]: called from here
Error: COMPILER_WARNING: [#def284]
coreutils-9.7/single/../src/cksum_avx2.c:130:23: note[note]: called from here
Error: COMPILER_WARNING: [#def285]
coreutils-9.7/single/../src/cksum_avx2.c:131:23: note[note]: called from here
Error: COMPILER_WARNING: [#def286]
coreutils-9.7/single/../src/cksum_avx2.c:132:23: note[note]: called from here
Error: COMPILER_WARNING: [#def287]
coreutils-9.7/single/../src/cksum_avx2.c:134:23: note[note]: called from here
Error: COMPILER_WARNING: [#def288]
coreutils-9.7/single/../src/cksum_avx2.c:135:23: note[note]: called from here
Error: COMPILER_WARNING: [#def289]
coreutils-9.7/single/../src/cksum_avx2.c:136:23: note[note]: called from here
Error: COMPILER_WARNING: [#def290]
coreutils-9.7/single/../src/cksum_avx2.c:137:23: note[note]: called from here
Error: COMPILER_WARNING: [#def291]
coreutils-9.7/single/../src/cksum_avx2.c:139:23: note[note]: called from here
Error: COMPILER_WARNING: [#def292]
coreutils-9.7/single/../src/cksum_avx2.c:140:23: note[note]: called from here
Error: COMPILER_WARNING: [#def293]
coreutils-9.7/single/../src/cksum_avx2.c:141:23: note[note]: called from here
Error: COMPILER_WARNING: [#def294]
coreutils-9.7/single/../src/cksum_avx2.c:142:23: note[note]: called from here
Error: COMPILER_WARNING: [#def295]
coreutils-9.7/single/../src/cksum_avx2.c:148:18: note[note]: called from here
Error: COMPILER_WARNING: [#def296]
coreutils-9.7/single/../src/cksum_avx2.c:149:11: note[note]: called from here
Error: COMPILER_WARNING: [#def297]
coreutils-9.7/single/../src/cksum_avx2.c:150:19: note[note]: called from here
Error: COMPILER_WARNING: [#def298]
coreutils-9.7/single/../src/cksum_avx2.c:151:11: note[note]: called from here
Error: COMPILER_WARNING: [#def299]
coreutils-9.7/single/../src/cksum_avx2.c:152:19: note[note]: called from here
Error: COMPILER_WARNING: [#def300]
coreutils-9.7/single/../src/cksum_avx2.c:153:11: note[note]: called from here
Error: COMPILER_WARNING: [#def301]
coreutils-9.7/single/../src/cksum_avx2.c:154:19: note[note]: called from here
Error: COMPILER_WARNING: [#def302]
coreutils-9.7/single/../src/cksum_avx2.c:155:11: note[note]: called from here
Error: COMPILER_WARNING: [#def303]
coreutils-9.7/single/../src/cksum_avx2.c:161:18: note[note]: called from here
Error: COMPILER_WARNING: [#def304]
coreutils-9.7/single/../src/cksum_avx2.c:162:18: note[note]: called from here
Error: COMPILER_WARNING: [#def305]
coreutils-9.7/single/../src/cksum_avx2.c:163:21: note[note]: called from here
Error: COMPILER_WARNING: [#def306]
coreutils-9.7/single/../src/cksum_avx2.c:165:18: note[note]: called from here
Error: COMPILER_WARNING: [#def307]
coreutils-9.7/single/../src/cksum_avx2.c:170:23: note[note]: called from here
Error: COMPILER_WARNING: [#def308]
coreutils-9.7/single/../src/cksum_avx2.c:172:22: note[note]: called from here
Error: COMPILER_WARNING: [#def309]
coreutils-9.7/single/../src/cksum_avx2.c:174:27: note[note]: called from here
Error: COMPILER_WARNING: [#def310]
coreutils-9.7/single/../src/cksum_avx2.c:175:27: note[note]: called from here
Error: COMPILER_WARNING: [#def311]
coreutils-9.7/single/../src/cksum_avx2.c:176:22: note[note]: called from here
Error: COMPILER_WARNING: [#def312]
coreutils-9.7/single/../src/cksum_avx2.c:177:22: note[note]: called from here
Error: COMPILER_WARNING: [#def313]
coreutils-9.7/single/../src/cksum_avx2.c:180:18: note[note]: called from here
Error: COMPILER_WARNING: [#def314]
coreutils-9.7/single/../src/cksum_avx2.c:181:11: note[note]: called from here
Error: COMPILER_WARNING: [#def315]
coreutils-9.7/single/../src/cksum_avx512.c:45:3: warning[-Wpsabi]: AVX512F vector return without AVX512F enabled changes the ABI
Error: COMPILER_WARNING: [#def316]
coreutils-9.7/single/../src/cksum_avx512.c:45:26: note[note]: called from here
Error: COMPILER_WARNING: [#def317]
coreutils-9.7/single/../src/cksum_avx512.c:49:24: note[note]: called from here
Error: COMPILER_WARNING: [#def318]
coreutils-9.7/single/../src/cksum_avx512.c:55:22: note[note]: called from here
Error: COMPILER_WARNING: [#def319]
coreutils-9.7/single/../src/cksum_avx512.c:90:18: note[note]: called from here
Error: COMPILER_WARNING: [#def320]
coreutils-9.7/single/../src/cksum_avx512.c:91:18: note[note]: called from here
Error: COMPILER_WARNING: [#def321]
coreutils-9.7/single/../src/cksum_avx512.c:94:21: note[note]: called from here
Error: COMPILER_WARNING: [#def322]
coreutils-9.7/single/../src/cksum_avx512.c:97:18: note[note]: called from here
Error: COMPILER_WARNING: [#def323]
coreutils-9.7/single/../src/cksum_avx512.c:98:19: note[note]: called from here
Error: COMPILER_WARNING: [#def324]
coreutils-9.7/single/../src/cksum_avx512.c:99:19: note[note]: called from here
Error: COMPILER_WARNING: [#def325]
coreutils-9.7/single/../src/cksum_avx512.c:100:19: note[note]: called from here
Error: COMPILER_WARNING: [#def326]
coreutils-9.7/single/../src/cksum_avx512.c:101:19: note[note]: called from here
Error: COMPILER_WARNING: [#def327]
coreutils-9.7/single/../src/cksum_avx512.c:102:19: note[note]: called from here
Error: COMPILER_WARNING: [#def328]
coreutils-9.7/single/../src/cksum_avx512.c:103:19: note[note]: called from here
Error: COMPILER_WARNING: [#def329]
coreutils-9.7/single/../src/cksum_avx512.c:110:23: note[note]: called from here
Error: COMPILER_WARNING: [#def330]
coreutils-9.7/single/../src/cksum_avx512.c:112:22: note[note]: called from here
Error: COMPILER_WARNING: [#def331]
coreutils-9.7/single/../src/cksum_avx512.c:114:23: note[note]: called from here
Error: COMPILER_WARNING: [#def332]
coreutils-9.7/single/../src/cksum_avx512.c:116:23: note[note]: called from here
Error: COMPILER_WARNING: [#def333]
coreutils-9.7/single/../src/cksum_avx512.c:118:23: note[note]: called from here
Error: COMPILER_WARNING: [#def334]
coreutils-9.7/single/../src/cksum_avx512.c:120:23: note[note]: called from here
Error: COMPILER_WARNING: [#def335]
coreutils-9.7/single/../src/cksum_avx512.c:122:23: note[note]: called from here
Error: COMPILER_WARNING: [#def336]
coreutils-9.7/single/../src/cksum_avx512.c:124:23: note[note]: called from here
Error: COMPILER_WARNING: [#def337]
coreutils-9.7/single/../src/cksum_avx512.c:132:22: note[note]: called from here
Error: COMPILER_WARNING: [#def338]
coreutils-9.7/single/../src/cksum_avx512.c:133:23: note[note]: called from here
Error: COMPILER_WARNING: [#def339]
coreutils-9.7/single/../src/cksum_avx512.c:134:23: note[note]: called from here
Error: COMPILER_WARNING: [#def340]
coreutils-9.7/single/../src/cksum_avx512.c:135:22: note[note]: called from here
Error: COMPILER_WARNING: [#def341]
coreutils-9.7/single/../src/cksum_avx512.c:137:23: note[note]: called from here
Error: COMPILER_WARNING: [#def342]
coreutils-9.7/single/../src/cksum_avx512.c:138:23: note[note]: called from here
Error: COMPILER_WARNING: [#def343]
coreutils-9.7/single/../src/cksum_avx512.c:139:23: note[note]: called from here
Error: COMPILER_WARNING: [#def344]
coreutils-9.7/single/../src/cksum_avx512.c:140:23: note[note]: called from here
Error: COMPILER_WARNING: [#def345]
coreutils-9.7/single/../src/cksum_avx512.c:142:23: note[note]: called from here
Error: COMPILER_WARNING: [#def346]
coreutils-9.7/single/../src/cksum_avx512.c:143:23: note[note]: called from here
Error: COMPILER_WARNING: [#def347]
coreutils-9.7/single/../src/cksum_avx512.c:144:23: note[note]: called from here
Error: COMPILER_WARNING: [#def348]
coreutils-9.7/single/../src/cksum_avx512.c:145:23: note[note]: called from here
Error: COMPILER_WARNING: [#def349]
coreutils-9.7/single/../src/cksum_avx512.c:147:23: note[note]: called from here
Error: COMPILER_WARNING: [#def350]
coreutils-9.7/single/../src/cksum_avx512.c:148:23: note[note]: called from here
Error: COMPILER_WARNING: [#def351]
coreutils-9.7/single/../src/cksum_avx512.c:149:23: note[note]: called from here
Error: COMPILER_WARNING: [#def352]
coreutils-9.7/single/../src/cksum_avx512.c:150:23: note[note]: called from here
Error: COMPILER_WARNING: [#def353]
coreutils-9.7/single/../src/cksum_avx512.c:156:18: note[note]: called from here
Error: COMPILER_WARNING: [#def354]
coreutils-9.7/single/../src/cksum_avx512.c:157:11: note[note]: called from here
Error: COMPILER_WARNING: [#def355]
coreutils-9.7/single/../src/cksum_avx512.c:158:19: note[note]: called from here
Error: COMPILER_WARNING: [#def356]
coreutils-9.7/single/../src/cksum_avx512.c:159:11: note[note]: called from here
Error: COMPILER_WARNING: [#def357]
coreutils-9.7/single/../src/cksum_avx512.c:160:19: note[note]: called from here
Error: COMPILER_WARNING: [#def358]
coreutils-9.7/single/../src/cksum_avx512.c:161:11: note[note]: called from here
Error: COMPILER_WARNING: [#def359]
coreutils-9.7/single/../src/cksum_avx512.c:162:19: note[note]: called from here
Error: COMPILER_WARNING: [#def360]
coreutils-9.7/single/../src/cksum_avx512.c:163:11: note[note]: called from here
Error: COMPILER_WARNING: [#def361]
coreutils-9.7/single/../src/cksum_avx512.c:169:18: note[note]: called from here
Error: COMPILER_WARNING: [#def362]
coreutils-9.7/single/../src/cksum_avx512.c:170:18: note[note]: called from here
Error: COMPILER_WARNING: [#def363]
coreutils-9.7/single/../src/cksum_avx512.c:171:21: note[note]: called from here
Error: COMPILER_WARNING: [#def364]
coreutils-9.7/single/../src/cksum_avx512.c:174:18: note[note]: called from here
Error: COMPILER_WARNING: [#def365]
coreutils-9.7/single/../src/cksum_avx512.c:179:23: note[note]: called from here
Error: COMPILER_WARNING: [#def366]
coreutils-9.7/single/../src/cksum_avx512.c:181:22: note[note]: called from here
Error: COMPILER_WARNING: [#def367]
coreutils-9.7/single/../src/cksum_avx512.c:183:27: note[note]: called from here
Error: COMPILER_WARNING: [#def368]
coreutils-9.7/single/../src/cksum_avx512.c:184:27: note[note]: called from here
Error: COMPILER_WARNING: [#def369]
coreutils-9.7/single/../src/cksum_avx512.c:185:22: note[note]: called from here
Error: COMPILER_WARNING: [#def370]
coreutils-9.7/single/../src/cksum_avx512.c:186:22: note[note]: called from here
Error: COMPILER_WARNING: [#def371]
coreutils-9.7/single/../src/cksum_avx512.c:189:18: note[note]: called from here
Error: COMPILER_WARNING: [#def372]
coreutils-9.7/single/../src/cksum_avx512.c:190:11: note[note]: called from here
Error: COMPILER_WARNING: [#def373]
coreutils-9.7/single/../src/cksum_pclmul.c:82:18: note[note]: called from here
Error: COMPILER_WARNING: [#def374]
coreutils-9.7/single/../src/cksum_pclmul.c:89:19: note[note]: called from here
Error: COMPILER_WARNING: [#def375]
coreutils-9.7/single/../src/cksum_pclmul.c:91:19: note[note]: called from here
Error: COMPILER_WARNING: [#def376]
coreutils-9.7/single/../src/cksum_pclmul.c:93:19: note[note]: called from here
Error: COMPILER_WARNING: [#def377]
coreutils-9.7/single/../src/cksum_pclmul.c:101:23: note[note]: called from here
Error: COMPILER_WARNING: [#def378]
coreutils-9.7/single/../src/cksum_pclmul.c:102:22: note[note]: called from here
Error: COMPILER_WARNING: [#def379]
coreutils-9.7/single/../src/cksum_pclmul.c:103:23: note[note]: called from here
Error: COMPILER_WARNING: [#def380]
coreutils-9.7/single/../src/cksum_pclmul.c:104:23: note[note]: called from here
Error: COMPILER_WARNING: [#def381]
coreutils-9.7/single/../src/cksum_pclmul.c:105:23: note[note]: called from here
Error: COMPILER_WARNING: [#def382]
coreutils-9.7/single/../src/cksum_pclmul.c:106:23: note[note]: called from here
Error: COMPILER_WARNING: [#def383]
coreutils-9.7/single/../src/cksum_pclmul.c:107:23: note[note]: called from here
Error: COMPILER_WARNING: [#def384]
coreutils-9.7/single/../src/cksum_pclmul.c:108:23: note[note]: called from here
Error: COMPILER_WARNING: [#def385]
coreutils-9.7/single/../src/cksum_pclmul.c:117:23: note[note]: called from here
Error: COMPILER_WARNING: [#def386]
coreutils-9.7/single/../src/cksum_pclmul.c:122:23: note[note]: called from here
Error: COMPILER_WARNING: [#def387]
coreutils-9.7/single/../src/cksum_pclmul.c:127:23: note[note]: called from here
Error: COMPILER_WARNING: [#def388]
coreutils-9.7/single/../src/cksum_pclmul.c:132:23: note[note]: called from here
Error: COMPILER_WARNING: [#def389]
coreutils-9.7/single/../src/cksum_pclmul.c:139:18: note[note]: called from here
Error: COMPILER_WARNING: [#def390]
coreutils-9.7/single/../src/cksum_pclmul.c:141:19: note[note]: called from here
Error: COMPILER_WARNING: [#def391]
coreutils-9.7/single/../src/cksum_pclmul.c:143:19: note[note]: called from here
Error: COMPILER_WARNING: [#def392]
coreutils-9.7/single/../src/cksum_pclmul.c:145:19: note[note]: called from here
Error: COMPILER_WARNING: [#def393]
coreutils-9.7/single/../src/cksum_pclmul.c:153:18: note[note]: called from here
Error: COMPILER_WARNING: [#def394]
coreutils-9.7/single/../src/cksum_pclmul.c:161:23: note[note]: called from here
Error: COMPILER_WARNING: [#def395]
coreutils-9.7/single/../src/cksum_pclmul.c:162:22: note[note]: called from here
Error: COMPILER_WARNING: [#def396]
coreutils-9.7/single/../src/cksum_pclmul.c:164:27: note[note]: called from here
Error: COMPILER_WARNING: [#def397]
coreutils-9.7/single/../src/cksum_pclmul.c:169:18: note[note]: called from here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def398]
coreutils-9.7/single/../src/cp-hash.c:126:6: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(24)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def399]
coreutils-9.7/single/../src/cp-hash.c:135:6: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(24)'
coreutils-9.7/single/../src/cp-hash.c:126:6: branch_false: following 'false' branch...
coreutils-9.7/single/../src/cp-hash.c:135:6: branch_false: ...to here
coreutils-9.7/single/../src/cp-hash.c:135:6: danger: 'xmalloc(24)' leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def400]
coreutils-9.7/single/../src/cp.c:922:13: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(arg)'
coreutils-9.7/single/../src/cp.c:918:10: branch_true: following 'true' branch (when 'comma' is non-NULL)...
coreutils-9.7/single/../src/cp.c:919:10: branch_true: ...to here
coreutils-9.7/single/../src/cp.c:969:10: branch_true: following 'true' branch (when 'comma' is non-NULL)...
branch_true: ...to here
coreutils-9.7/single/../src/cp.c:918:10: branch_false: following 'false' branch (when 'comma' is NULL)...
coreutils-9.7/single/../src/cp.c:922:13: branch_false: ...to here
coreutils-9.7/single/../src/cp.c:922:13: branch_true: following 'true' branch (when 'on_off != 0')...
coreutils-9.7/single/../src/cp.c:922:13: branch_true: ...to here
coreutils-9.7/single/../src/cp.c:922:13: danger: 'xstrdup(arg)' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def401]
coreutils-9.7/single/../src/csplit.c:417:10: warning[-Wanalyzer-malloc-leak]: leak of 'get_new_buffer(bytes_wanted)'
coreutils-9.7/single/../src/csplit.c:1288:1: enter_function: entry to 'single_binary_main_csplit'
coreutils-9.7/single/../src/csplit.c:1350:6: branch_false: following 'false' branch...
coreutils-9.7/single/../src/csplit.c:1359:22: branch_false: ...to here
coreutils-9.7/single/../src/csplit.c:1365:6: branch_false: following 'false' branch...
coreutils-9.7/single/../src/csplit.c:1367:20: branch_false: ...to here
coreutils-9.7/single/../src/csplit.c:1400:17: branch_true: following 'true' branch (when 'i != 11')...
coreutils-9.7/single/../src/csplit.c:1402:20: branch_true: ...to here
coreutils-9.7/single/../src/csplit.c:1411:17: branch_true: following 'true' branch (when 'i != 11')...
coreutils-9.7/single/../src/csplit.c:1412:41: branch_true: ...to here
coreutils-9.7/single/../src/csplit.c:1411:17: branch_true: following 'true' branch (when 'i != 11')...
coreutils-9.7/single/../src/csplit.c:1412:41: branch_true: ...to here
coreutils-9.7/single/../src/csplit.c:1416:3: call_function: calling 'split_file' from 'single_binary_main_csplit'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def402]
coreutils-9.7/single/../src/csplit.c:1369:24: warning[-Wanalyzer-malloc-leak]: leak of 'ximalloc(__real__ <unknown>)'
coreutils-9.7/single/../src/csplit.c:1350:6: branch_false: following 'false' branch...
coreutils-9.7/single/../src/csplit.c:1359:22: branch_false: ...to here
coreutils-9.7/single/../src/csplit.c:1365:6: branch_false: following 'false' branch...
coreutils-9.7/single/../src/csplit.c:1367:20: branch_false: ...to here
coreutils-9.7/single/../src/csplit.c:1369:24: danger: 'ximalloc(__real__ <unknown>)' leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def403]
coreutils-9.7/single/../src/date.c:316:32: warning[-Wanalyzer-malloc-leak]: leak of 'adjust_resolution(format)'
coreutils-9.7/single/../src/date.c:397:1: enter_function: entry to 'single_binary_main_date'
coreutils-9.7/single/../src/date.c:510:6: branch_false: following 'false' branch (when 'option_specified_date <= 1')...
coreutils-9.7/single/../src/date.c:517:16: branch_false: ...to here
coreutils-9.7/single/../src/date.c:517:6: branch_false: following 'false' branch...
coreutils-9.7/single/../src/date.c:524:6: branch_false: ...to here
coreutils-9.7/single/../src/date.c:524:6: branch_false: following 'false' branch (when 'discarded_datestr == 0')...
coreutils-9.7/single/../src/date.c:527:6: branch_false: ...to here
coreutils-9.7/single/../src/date.c:527:6: branch_false: following 'false' branch (when 'discarded_set_datestr == 0')...
coreutils-9.7/single/../src/date.c:530:7: branch_false: ...to here
coreutils-9.7/single/../src/date.c:555:6: branch_true: following 'true' branch (when 'format' is NULL)...
coreutils-9.7/single/../src/date.c:557:10: branch_true: ...to here
coreutils-9.7/single/../src/date.c:575:23: call_function: calling 'adjust_resolution' from 'single_binary_main_date'
coreutils-9.7/single/../src/date.c:575:23: return_function: returning to 'single_binary_main_date' from 'adjust_resolution'
coreutils-9.7/single/../src/date.c:316:32: danger: 'adjust_resolution(format)' leaks here; was allocated at [(18)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def404]
coreutils-9.7/single/../src/df.c:452:15: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(arg)'
coreutils-9.7/single/../src/df.c:1592:1: enter_function: entry to 'single_binary_main_df'
coreutils-9.7/single/../src/df.c:1625:10: branch_false: following 'false' branch (when 'c != -1')...
coreutils-9.7/single/../src/df.c:1628:7: branch_false: ...to here
coreutils-9.7/single/../src/df.c:1708:14: branch_false: following 'false' branch...
coreutils-9.7/single/../src/df.c:1713:14: branch_false: ...to here
coreutils-9.7/single/../src/df.c:1713:14: branch_false: following 'false' branch (when 'posix_format == 0')...
coreutils-9.7/single/../src/df.c:1718:15: branch_false: ...to here
coreutils-9.7/single/../src/df.c:1718:14: branch_false: following 'false' branch...
coreutils-9.7/single/../src/df.c:1723:11: branch_false: ...to here
coreutils-9.7/single/../src/df.c:1725:13: call_function: calling 'decode_output_arg' from 'single_binary_main_df'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def405]
coreutils-9.7/single/../src/env.c:567:10: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(arg)'
coreutils-9.7/single/../src/env.c:561:10: branch_true: following 'true' branch (when 'opt_sig' is non-NULL)...
coreutils-9.7/single/../src/env.c:563:20: branch_true: ...to here
coreutils-9.7/single/../src/env.c:567:10: danger: 'xstrdup(arg)' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def406]
coreutils-9.7/single/../src/env.c:570:14: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(arg)'
coreutils-9.7/single/../src/env.c:561:10: branch_true: following 'true' branch (when 'opt_sig' is non-NULL)...
coreutils-9.7/single/../src/env.c:563:20: branch_true: ...to here
coreutils-9.7/single/../src/env.c:567:10: branch_false: following 'false' branch...
coreutils-9.7/single/../src/env.c:570:25: branch_false: ...to here
coreutils-9.7/single/../src/env.c:561:10: branch_true: following 'true' branch (when 'opt_sig' is non-NULL)...
coreutils-9.7/single/../src/env.c:563:20: branch_true: ...to here
coreutils-9.7/single/../src/env.c:570:14: danger: 'xstrdup(arg)' leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def407]
coreutils-9.7/single/../src/env.c:656:10: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(arg)'
coreutils-9.7/single/../src/env.c:650:10: branch_true: following 'true' branch (when 'opt_sig' is non-NULL)...
coreutils-9.7/single/../src/env.c:652:20: branch_true: ...to here
coreutils-9.7/single/../src/env.c:656:10: danger: 'xstrdup(arg)' leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def408]
coreutils-9.7/single/../src/env.c:661:14: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(arg)'
coreutils-9.7/single/../src/env.c:650:10: branch_true: following 'true' branch (when 'opt_sig' is non-NULL)...
coreutils-9.7/single/../src/env.c:652:20: branch_true: ...to here
coreutils-9.7/single/../src/env.c:656:10: branch_false: following 'false' branch...
coreutils-9.7/single/../src/env.c:659:11: branch_false: ...to here
coreutils-9.7/single/../src/env.c:661:14: danger: 'xstrdup(arg)' leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-686): [#def409]
coreutils-9.7/single/../src/factor.c:571:10: warning[-Wanalyzer-va-arg-type-mismatch]: 'va_arg' expected '__mpz_struct (*)[1]' but received 'typeof (nullptr)' for variadic argument 3 of 'ap'
coreutils-9.7/single/../src/factor.c:1359:1: enter_function: entry to 'mp_prime_p'
coreutils-9.7/single/../src/factor.c:1372:3: call_function: calling 'mpz_va_init' from 'mp_prime_p'
coreutils-9.7/single/../src/factor.c:1372:3: return_function: returning to 'mp_prime_p' from 'mpz_va_init'
coreutils-9.7/single/../src/factor.c:1384:6: branch_true: following 'true' branch...
coreutils-9.7/single/../src/factor.c:1390:7: branch_true: ...to here
coreutils-9.7/single/../src/factor.c:1390:6: branch_true: following 'true' branch...
coreutils-9.7/single/../src/factor.c:1393:7: branch_true: ...to here
coreutils-9.7/single/../src/factor.c:1394:7: call_function: calling 'mp_factor' from 'mp_prime_p'
Error: GCC_ANALYZER_WARNING (CWE-686): [#def410]
coreutils-9.7/single/../src/factor.c:571:10: warning[-Wanalyzer-va-arg-type-mismatch]: 'va_arg' expected '__mpz_struct (*)[1]' but received 'typeof (nullptr)' for variadic argument 5 of 'ap'
coreutils-9.7/single/../src/factor.c:1359:1: enter_function: entry to 'mp_prime_p'
coreutils-9.7/single/../src/factor.c:1372:3: call_function: calling 'mpz_va_init' from 'mp_prime_p' with 5 variadic arguments
Error: GCC_ANALYZER_WARNING (CWE-401): [#def411]
coreutils-9.7/single/../src/hostname.c:108:7: warning[-Wanalyzer-malloc-leak]: leak of 'xgethostname()'
coreutils-9.7/single/../src/hostname.c:89:6: branch_false: following 'false' branch...
coreutils-9.7/single/../src/hostname.c:95:6: branch_false: ...to here
coreutils-9.7/single/../src/hostname.c:95:6: branch_false: following 'false' branch...
coreutils-9.7/single/../src/hostname.c:105:18: branch_false: ...to here
coreutils-9.7/single/../src/hostname.c:105:18: acquire_memory: allocated here
coreutils-9.7/single/../src/hostname.c:106:10: branch_false: following 'false' branch...
coreutils-9.7/single/../src/hostname.c:108:7: branch_false: ...to here
coreutils-9.7/single/../src/hostname.c:108:7: danger: 'xgethostname()' leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def412]
coreutils-9.7/single/../src/libstdbuf.c:128:6: warning[-Wanalyzer-malloc-leak]: leak of 'buf'
coreutils-9.7/single/../src/libstdbuf.c:98:6: branch_false: following 'false' branch...
coreutils-9.7/single/../src/libstdbuf.c:100:11: branch_false: ...to here
coreutils-9.7/single/../src/libstdbuf.c:100:11: branch_false: following 'false' branch...
coreutils-9.7/single/../src/libstdbuf.c:106:14: branch_false: ...to here
coreutils-9.7/single/../src/libstdbuf.c:107:10: branch_false: following 'false' branch...
coreutils-9.7/single/../src/libstdbuf.c:114:13: acquire_memory: allocated here
coreutils-9.7/single/../src/libstdbuf.c:115:10: branch_false: following 'false' branch (when 'buf' is non-NULL)...
branch_false: ...to here
coreutils-9.7/single/../src/libstdbuf.c:128:6: branch_false: following 'false' branch...
branch_false: ...to here
coreutils-9.7/single/../src/libstdbuf.c:128:6: danger: 'buf' leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def413]
coreutils-9.7/single/../src/ls.c:5334:45: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
coreutils-9.7/single/../src/ls.c:5316:6: branch_true: following 'true' branch...
coreutils-9.7/single/../src/ls.c:5319:21: branch_true: ...to here
coreutils-9.7/single/../src/ls.c:5328:10: branch_false: following 'false' branch...
coreutils-9.7/single/../src/ls.c:5329:14: branch_false: ...to here
coreutils-9.7/single/../src/ls.c:5328:11: branch_false: following 'false' branch...
coreutils-9.7/single/../src/ls.c:5331:19: branch_false: ...to here
coreutils-9.7/single/../src/ls.c:5334:45: branch_true: following 'true' branch...
coreutils-9.7/single/../src/ls.c:5336:22: branch_true: ...to here
coreutils-9.7/single/../src/ls.c:5334:45: branch_false: following 'false' branch...
branch_false: ...to here
coreutils-9.7/single/../src/ls.c:5334:45: danger: '<unknown>' leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def414]
coreutils-9.7/single/../src/ls.c:5348:1: warning[-Wanalyzer-malloc-leak]: leak of 'p'
coreutils-9.7/single/../src/ls.c:5316:6: branch_true: following 'true' branch...
coreutils-9.7/single/../src/ls.c:5319:21: branch_true: ...to here
coreutils-9.7/single/../src/ls.c:5328:10: branch_false: following 'false' branch...
coreutils-9.7/single/../src/ls.c:5329:14: branch_false: ...to here
coreutils-9.7/single/../src/ls.c:5328:11: branch_false: following 'false' branch...
coreutils-9.7/single/../src/ls.c:5331:19: branch_false: ...to here
coreutils-9.7/single/../src/ls.c:5334:45: branch_false: following 'false' branch...
branch_false: ...to here
coreutils-9.7/single/../src/ls.c:5348:1: danger: 'p' leaks here; was allocated at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def415]
coreutils-9.7/single/../src/nohup.c:164:18: warning[-Wanalyzer-malloc-leak]: leak of 'in_home'
coreutils-9.7/single/../src/nohup.c:111:6: branch_false: following 'false' branch...
coreutils-9.7/single/../src/nohup.c:117:20: branch_false: ...to here
coreutils-9.7/single/../src/nohup.c:119:22: branch_false: following 'false' branch...
branch_false: ...to here
coreutils-9.7/single/../src/nohup.c:125:6: branch_false: following 'false' branch...
coreutils-9.7/single/../src/nohup.c:138:6: branch_false: ...to here
coreutils-9.7/single/../src/nohup.c:138:6: branch_true: following 'true' branch...
coreutils-9.7/single/../src/nohup.c:144:28: branch_true: ...to here
coreutils-9.7/single/../src/nohup.c:145:16: branch_true: following 'true' branch...
coreutils-9.7/single/../src/nohup.c:146:19: branch_true: ...to here
coreutils-9.7/single/../src/nohup.c:149:10: branch_true: following 'true' branch (when 'out_fd < 0')...
coreutils-9.7/single/../src/nohup.c:151:29: branch_true: ...to here
coreutils-9.7/single/../src/nohup.c:153:14: branch_true: following 'true' branch (when 'home' is non-NULL)...
coreutils-9.7/single/../src/nohup.c:155:25: branch_true: ...to here
coreutils-9.7/single/../src/nohup.c:156:24: branch_true: following 'true' branch...
coreutils-9.7/single/../src/nohup.c:157:27: branch_true: ...to here
coreutils-9.7/single/../src/nohup.c:160:14: branch_true: following 'true' branch (when 'out_fd < 0')...
coreutils-9.7/single/../src/nohup.c:162:19: branch_true: ...to here
coreutils-9.7/single/../src/nohup.c:164:18: danger: 'in_home' leaks here; was allocated at [(18)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def416]
coreutils-9.7/single/../src/paste.c:180:20: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(nfiles + 2)'
coreutils-9.7/single/../src/paste.c:192:24: branch_true: following 'true' branch (when 'files_open < nfiles')...
coreutils-9.7/single/../src/paste.c:194:11: branch_true: ...to here
coreutils-9.7/single/../src/paste.c:194:10: branch_false: following 'false' branch (when the strings are non-equal)...
coreutils-9.7/single/../src/paste.c:201:18: branch_false: ...to here
coreutils-9.7/single/../src/paste.c:180:20: danger: 'xmalloc(nfiles + 2)' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def417]
coreutils-9.7/single/../src/paste.c:194:11: warning[-Wanalyzer-malloc-leak]: leak of 'xnmalloc(nfiles + 1, 8)'
coreutils-9.7/single/../src/paste.c:192:24: branch_true: following 'true' branch (when 'files_open < nfiles')...
coreutils-9.7/single/../src/paste.c:194:11: branch_true: ...to here
coreutils-9.7/single/../src/paste.c:194:10: branch_false: following 'false' branch (when the strings are non-equal)...
coreutils-9.7/single/../src/paste.c:201:18: branch_false: ...to here
coreutils-9.7/single/../src/paste.c:194:11: danger: 'xnmalloc(nfiles + 1, 8)' leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def418]
coreutils-9.7/single/../src/pinky.c:312:1: warning[-Wanalyzer-malloc-leak]: leak of 'host'
coreutils-9.7/single/../src/pinky.c:529:1: enter_function: entry to 'single_binary_main_pinky'
coreutils-9.7/single/../src/pinky.c:612:6: branch_true: following 'true' branch...
coreutils-9.7/single/../src/pinky.c:613:43: branch_true: ...to here
coreutils-9.7/single/../src/pinky.c:613:5: call_function: calling 'short_pinky' from 'single_binary_main_pinky'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def419]
coreutils-9.7/single/../src/printf.c:526:23: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(strlen(format) + 1)'
coreutils-9.7/single/../src/printf.c:690:1: enter_function: entry to 'single_binary_main_printf'
coreutils-9.7/single/../src/printf.c:724:6: branch_true: following 'true' branch (when 'argc > 1')...
coreutils-9.7/single/../src/printf.c:724:19: branch_true: ...to here
coreutils-9.7/single/../src/printf.c:730:6: branch_false: following 'false' branch (when 'argc != 1')...
coreutils-9.7/single/../src/printf.c:736:3: branch_false: ...to here
coreutils-9.7/single/../src/printf.c:742:19: call_function: calling 'print_formatted' from 'single_binary_main_printf'
Error: GCC_ANALYZER_WARNING (CWE-688): [#def420]
coreutils-9.7/single/../src/ptx.c:716:3: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
coreutils-9.7/single/../src/ptx.c:1769:1: enter_function: entry to 'single_binary_main_ptx'
coreutils-9.7/single/../src/ptx.c:1967:3: call_function: calling 'initialize_regex' from 'single_binary_main_ptx'
coreutils-9.7/single/../src/ptx.c:1967:3: return_function: returning to 'single_binary_main_ptx' from 'initialize_regex'
coreutils-9.7/single/../src/ptx.c:1971:6: branch_false: following 'false' branch...
coreutils-9.7/single/../src/ptx.c:1978:7: branch_false: ...to here
coreutils-9.7/single/../src/ptx.c:1978:6: branch_true: following 'true' branch...
coreutils-9.7/single/../src/ptx.c:1980:7: branch_true: ...to here
coreutils-9.7/single/../src/ptx.c:1980:7: call_function: calling 'digest_word_file' from 'single_binary_main_ptx'
Error: GCC_ANALYZER_WARNING (CWE-124): [#def421]
coreutils-9.7/single/../src/seq.c:529:7: warning[-Wanalyzer-out-of-bounds]: stack-based buffer underwrite
coreutils-9.7/single/../src/seq.c:547:1: enter_function: entry to 'single_binary_main_seq'
coreutils-9.7/single/../src/seq.c:609:6: branch_false: following 'false' branch (when 'n_args > 0')...
coreutils-9.7/single/../src/seq.c:615:6: branch_false: ...to here
coreutils-9.7/single/../src/seq.c:615:6: branch_false: following 'false' branch (when 'n_args <= 3')...
coreutils-9.7/single/../src/seq.c:621:6: branch_false: ...to here
coreutils-9.7/single/../src/seq.c:621:6: branch_false: following 'false' branch (when 'format_str' is NULL)...
coreutils-9.7/single/../src/seq.c:639:6: branch_false: ...to here
coreutils-9.7/single/../src/seq.c:645:6: branch_true: following 'true' branch...
coreutils-9.7/single/../src/seq.c:645:7: branch_true: ...to here
coreutils-9.7/single/../src/seq.c:645:7: branch_false: following 'false' branch...
coreutils-9.7/single/../src/seq.c:645:7: branch_false: ...to here
coreutils-9.7/single/../src/seq.c:645:7: branch_true: following 'true' branch...
coreutils-9.7/single/../src/seq.c:653:7: call_function: calling 'seq_fast' from 'single_binary_main_seq'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def422]
coreutils-9.7/single/../src/tee.c:256:3: warning[-Wanalyzer-malloc-leak]: leak of 'xnmalloc((long unsigned int)(nfiles + 1), 8)'
coreutils-9.7/single/../src/tee.c:226:1: enter_function: entry to 'tee_files'
coreutils-9.7/single/../src/tee.c:249:6: branch_false: following 'false' branch (when 'pipe_check == 0')...
coreutils-9.7/single/../src/tee.c:251:3: branch_false: ...to here
coreutils-9.7/single/../src/tee.c:253:6: branch_false: following 'false' branch (when 'pipe_check == 0')...
coreutils-9.7/single/../src/tee.c:255:24: branch_false: ...to here
coreutils-9.7/single/../src/tee.c:259:15: branch_true: following 'true' branch (when 'i <= nfiles')...
coreutils-9.7/single/../src/tee.c:262:37: branch_true: ...to here
coreutils-9.7/single/../src/tee.c:263:10: branch_true: following 'true' branch...
coreutils-9.7/single/../src/tee.c:265:14: branch_true: ...to here
coreutils-9.7/single/../src/tee.c:265:14: branch_false: following 'false' branch (when 'pipe_check == 0')...
coreutils-9.7/single/../src/tee.c:267:11: branch_false: ...to here
coreutils-9.7/single/../src/tee.c:267:11: branch_true: following 'true' branch...
coreutils-9.7/single/../src/tee.c:267:11: branch_true: ...to here
coreutils-9.7/single/../src/tee.c:267:11: call_function: inlined call to 'error' from 'tee_files'
coreutils-9.7/single/../src/tee.c:256:3: danger: 'xnmalloc((long unsigned int)(nfiles + 1), 8)' leaks here; was allocated at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def423]
coreutils-9.7/single/../src/tee.c:262:37: warning[-Wanalyzer-malloc-leak]: leak of 'xnmalloc((long unsigned int)(nfiles + 1), 8)'
coreutils-9.7/single/../src/tee.c:119:1: enter_function: entry to 'single_binary_main_tee'
coreutils-9.7/single/../src/tee.c:177:13: call_function: calling 'tee_files' from 'single_binary_main_tee'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def424]
coreutils-9.7/single/../src/tsort.c:422:6: warning[-Wanalyzer-malloc-leak]: leak of 'xzalloc(56)'
coreutils-9.7/single/../src/tsort.c:531:1: enter_function: entry to 'single_binary_main_tsort'
coreutils-9.7/single/../src/tsort.c:545:6: branch_false: following 'false' branch...
coreutils-9.7/single/../src/tsort.c:551:3: branch_false: ...to here
coreutils-9.7/single/../src/tsort.c:551:3: call_function: calling 'tsort' from 'single_binary_main_tsort'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def425]
coreutils-9.7/single/../src/tsort.c:440:22: warning[-Wanalyzer-malloc-leak]: leak of 'xzalloc(56)'
coreutils-9.7/single/../src/tsort.c:531:1: enter_function: entry to 'single_binary_main_tsort'
coreutils-9.7/single/../src/tsort.c:545:6: branch_false: following 'false' branch...
coreutils-9.7/single/../src/tsort.c:551:3: branch_false: ...to here
coreutils-9.7/single/../src/tsort.c:551:3: call_function: calling 'tsort' from 'single_binary_main_tsort'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def426]
coreutils-9.7/single/../src/tsort.c:443:3: warning[-Wanalyzer-malloc-leak]: leak of 'xzalloc(56)'
coreutils-9.7/single/../src/tsort.c:531:1: enter_function: entry to 'single_binary_main_tsort'
coreutils-9.7/single/../src/tsort.c:545:6: branch_false: following 'false' branch...
coreutils-9.7/single/../src/tsort.c:551:3: branch_false: ...to here
coreutils-9.7/single/../src/tsort.c:551:3: call_function: calling 'tsort' from 'single_binary_main_tsort'
Error: COMPILER_WARNING: [#def427]
coreutils-9.7/single/../src/wc_avx2.c:32:11: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
Error: COMPILER_WARNING: [#def428]
coreutils-9.7/single/../src/wc_avx2.c:32:22: note[note]: called from here
Error: COMPILER_WARNING: [#def429]
coreutils-9.7/single/../src/wc_avx2.c:46:31: note[note]: called from here
Error: COMPILER_WARNING: [#def430]
coreutils-9.7/single/../src/wc_avx2.c:47:30: note[note]: called from here
Error: COMPILER_WARNING: [#def431]
coreutils-9.7/single/../src/wc_avx2.c:48:23: note[note]: called from here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def432]
coreutils-9.7/single/../src/who.c:426:1: warning[-Wanalyzer-malloc-leak]: leak of 'host'
coreutils-9.7/single/../src/who.c:679:1: enter_function: entry to 'single_binary_main_who'
coreutils-9.7/single/../src/who.c:814:7: call_function: calling 'who' from 'single_binary_main_who'
Error: GCC_ANALYZER_WARNING (CWE-457): [#def433]
coreutils-9.7/single/parse-datetime.c:1831:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*<unknown>'
coreutils-9.7/single/parse-datetime.y:2404:1: enter_function: entry to 'parse_datetime'
coreutils-9.7/single/parse-datetime.y:2409:6: branch_false: following 'false' branch...
coreutils-9.7/single/parse-datetime.y:2411:13: branch_false: ...to here
coreutils-9.7/single/parse-datetime.y:2411:13: call_function: calling 'parse_datetime_body' from 'parse_datetime'
Error: CPPCHECK_WARNING (CWE-404): [#def434]
coreutils-9.7/src/cut.c:831: error[resourceLeak]: Resource leak: stream
Error: CPPCHECK_WARNING (CWE-457): [#def435]
coreutils-9.7/src/digest.c:1152: error[uninitvar]: Uninitialized variable: bin_buffer_unaligned
Error: CPPCHECK_WARNING (CWE-457): [#def436]
coreutils-9.7/src/digest.c:1352: error[uninitvar]: Uninitialized variable: bin_buffer_unaligned
Error: CPPCHECK_WARNING (CWE-404): [#def437]
coreutils-9.7/src/nl.c:451: error[resourceLeak]: Resource leak: stream
Error: CPPCHECK_WARNING (CWE-415): [#def438]
coreutils-9.7/src/numfmt.c:862: error[doubleFree]: Memory pointed to by 't_string' is freed twice.
Error: CPPCHECK_WARNING (CWE-457): [#def439]
coreutils-9.7/src/sort.c:1162: warning[uninitvar]: Uninitialized variable: pid
Error: CPPCHECK_WARNING (CWE-457): [#def440]
coreutils-9.7/src/sort.c:4787: warning[uninitvar]: Uninitialized variable: buf.buf
Error: CPPCHECK_WARNING (CWE-758): [#def441]
coreutils-9.7/src/tail.c:2424: warning[objectIndex]: The address of variable 'dummy_stdin' might be accessed at non-zero index.
Scan Properties
analyzer-version-clippy | 1.86.0 |
analyzer-version-cppcheck | 2.17.1 |
analyzer-version-gcc | 15.0.1 |
analyzer-version-gcc-analyzer | 15.0.1 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-141.us-west-2.compute.internal |
known-false-positives | /usr/share/csmock/known-false-positives.js |
known-false-positives-rpm | known-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch |
mock-config | fedora-rawhide-x86_64 |
project-name | coreutils-9.7-1.fc43 |
store-results-to | /tmp/tmpggioyhay/coreutils-9.7-1.fc43.tar.xz |
time-created | 2025-04-25 12:16:32 |
time-finished | 2025-04-25 12:22:51 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpggioyhay/coreutils-9.7-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpggioyhay/coreutils-9.7-1.fc43.src.rpm' |
tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |