coreutils-9.9-1.fc44
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: GCC_ANALYZER_WARNING (CWE-401): [#def2]
coreutils-9.9/gnulib-tests/bench-digest.h:56:7: warning[-Wanalyzer-malloc-leak]: leak of 'memblock'
coreutils-9.9/gnulib-tests/bench-digest.h:25:6: branch_false: following 'false' branch (when 'argc == 3')...
coreutils-9.9/gnulib-tests/bench-digest.h:31:17: branch_false: ...to here
coreutils-9.9/gnulib-tests/bench-digest.h:34:29: acquire_memory: allocated here
coreutils-9.9/gnulib-tests/bench-digest.h:35:6: branch_false: following 'false' branch (when 'memblock' is non-NULL)...
coreutils-9.9/gnulib-tests/bench-digest.h:35:6: branch_false: ...to here
coreutils-9.9/gnulib-tests/bench-digest.h:53:19: branch_true: following 'true' branch...
coreutils-9.9/gnulib-tests/bench-digest.h:56:7: branch_true: ...to here
coreutils-9.9/gnulib-tests/bench-digest.h:56:7: throw: if 'sha3_224_buffer' throws an exception...
coreutils-9.9/gnulib-tests/bench-digest.h:56:7: danger: 'memblock' leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def3]
coreutils-9.9/lib/asnprintf.c:31:12: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
coreutils-9.9/lib/asnprintf.c:30:3: acquire_resource: 'va_start' called here
coreutils-9.9/lib/asnprintf.c:31:12: throw: if 'vasnprintf' throws an exception...
coreutils-9.9/lib/asnprintf.c:31:12: danger: missing call to 'va_end' to match 'va_start' at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def4]
coreutils-9.9/lib/aszprintf.c:31:12: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
coreutils-9.9/lib/aszprintf.c:30:3: acquire_resource: 'va_start' called here
coreutils-9.9/lib/aszprintf.c:31:12: throw: if 'vaszprintf' throws an exception...
coreutils-9.9/lib/aszprintf.c:31:12: danger: missing call to 'va_end' to match 'va_start' at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def5]
coreutils-9.9/lib/backupfile.c:237:33: warning[-Wanalyzer-malloc-leak]: leak of 'dirp'
coreutils-9.9/lib/backupfile.c:311:1: enter_function: entry to 'backupfile_internal'
coreutils-9.9/lib/backupfile.c:330:6: branch_false: following 'false' branch...
coreutils-9.9/lib/backupfile.c:333:8: branch_false: ...to here
coreutils-9.9/lib/backupfile.c:341:10: branch_false: following 'false' branch (when 'backup_type != 1')...
coreutils-9.9/lib/backupfile.c:344:17: branch_false: ...to here
coreutils-9.9/lib/backupfile.c:344:17: call_function: calling 'numbered_backup' from 'backupfile_internal'
Error: CPPCHECK_WARNING (CWE-476): [#def6]
coreutils-9.9/lib/canonicalize.c:454: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: result
Error: COMPILER_WARNING (CWE-562): [#def7]
coreutils-9.9/lib/careadlinkat.c: scope_hint: In function 'careadlinkat.constprop'
coreutils-9.9/lib/careadlinkat.c:180:10: warning[-Wreturn-local-addr]: function may return address of local variable
coreutils-9.9/lib/careadlinkat.c:179:8: note: declared here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def8]
coreutils-9.9/lib/creat-safer.c:30:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'creat(file, mode)'
coreutils-9.9/lib/creat-safer.c:30:10: acquire_resource: opened here
coreutils-9.9/lib/creat-safer.c:30:10: danger: 'creat(file, mode)' leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def9]
coreutils-9.9/lib/di-set.c:120:22: warning[-Wanalyzer-malloc-leak]: leak of 'dis'
coreutils-9.9/lib/di-set.c:116:24: acquire_memory: allocated here
coreutils-9.9/lib/di-set.c:117:6: branch_true: following 'true' branch (when 'dis' is non-NULL)...
coreutils-9.9/lib/di-set.c:120:22: branch_true: ...to here
coreutils-9.9/lib/di-set.c:120:22: throw: if 'hash_initialize' throws an exception...
coreutils-9.9/lib/di-set.c:120:22: danger: 'dis' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def10]
coreutils-9.9/lib/error.c:157:15: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
/usr/include/bits/error.h:37:1: enter_function: entry to 'error'
coreutils-9.9/lib/error.c:288:3: acquire_resource: 'va_start' called here
coreutils-9.9/lib/error.c:289:3: call_function: calling 'verror' from 'error'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def11]
coreutils-9.9/lib/error.c:184:5: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
/usr/include/bits/error.h:37:1: enter_function: entry to 'error'
coreutils-9.9/lib/error.c:288:3: acquire_resource: 'va_start' called here
coreutils-9.9/lib/error.c:289:3: call_function: calling 'verror' from 'error'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def12]
coreutils-9.9/lib/error.c:266:5: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
/usr/include/bits/error.h:37:1: enter_function: entry to 'error'
coreutils-9.9/lib/error.c:288:3: acquire_resource: 'va_start' called here
coreutils-9.9/lib/error.c:289:3: call_function: calling 'verror' from 'error'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def13]
coreutils-9.9/lib/error.c:332:5: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
/usr/include/bits/error.h:64:1: enter_function: entry to 'error_at_line'
coreutils-9.9/lib/error.c:363:3: acquire_resource: 'va_start' called here
coreutils-9.9/lib/error.c:364:3: call_function: calling 'verror_at_line' from 'error_at_line'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def14]
coreutils-9.9/lib/exclude.c:136:33: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(pattern)'
coreutils-9.9/lib/exclude.c:508:1: enter_function: entry to 'add_exclude'
coreutils-9.9/lib/exclude.c:510:6: branch_true: following 'true' branch...
coreutils-9.9/lib/exclude.c:511:10: branch_true: ...to here
coreutils-9.9/lib/exclude.c:510:7: branch_true: following 'true' branch...
coreutils-9.9/lib/exclude.c:513:14: branch_true: ...to here
coreutils-9.9/lib/exclude.c:525:10: branch_false: following 'false' branch...
coreutils-9.9/lib/exclude.c:561:15: branch_false: ...to here
coreutils-9.9/lib/exclude.c:561:14: branch_true: following 'true' branch...
coreutils-9.9/lib/exclude.c:563:27: branch_true: ...to here
coreutils-9.9/lib/exclude.c:565:15: call_function: calling 'exclude_add_pattern_buffer' from 'add_exclude'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def15]
coreutils-9.9/lib/exclude.c:272:39: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(40)'
coreutils-9.9/lib/exclude.c:508:1: enter_function: entry to 'add_exclude'
coreutils-9.9/lib/exclude.c:577:9: call_function: calling 'new_exclude_segment' from 'add_exclude'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def16]
coreutils-9.9/lib/exclude.c:429:15: warning[-Wanalyzer-malloc-leak]: leak of 'filename'
coreutils-9.9/lib/exclude.c:460:1: enter_function: entry to 'excluded_file_name'
coreutils-9.9/lib/exclude.c:463:6: branch_false: following 'false' branch...
coreutils-9.9/lib/exclude.c:463:6: branch_false: ...to here
coreutils-9.9/lib/exclude.c:475:10: branch_true: following 'true' branch...
coreutils-9.9/lib/exclude.c:477:14: branch_true: ...to here
coreutils-9.9/lib/exclude.c:477:14: branch_true: following 'true' branch (when 'filename' is NULL)...
coreutils-9.9/lib/exclude.c:478:33: branch_true: ...to here
coreutils-9.9/lib/exclude.c:479:15: call_function: calling 'file_name_matches' from 'excluded_file_name'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def17]
coreutils-9.9/lib/exclude.c:580:11: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(pattern)'
coreutils-9.9/lib/exclude.c:582:11: throw: if 'hash_insert' throws an exception...
coreutils-9.9/lib/exclude.c:580:11: danger: 'xstrdup(pattern)' leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def18]
coreutils-9.9/lib/exclude.c:605:7: warning[-Wanalyzer-null-dereference]: dereference of NULL 'buf'
coreutils-9.9/lib/exclude.c:658:1: enter_function: entry to 'add_exclude_file'
coreutils-9.9/lib/exclude.c:662:6: branch_false: following 'false' branch (when the strings are non-equal)...
coreutils-9.9/lib/exclude.c:665:14: branch_false: ...to here
coreutils-9.9/lib/exclude.c:666:6: branch_false: following 'false' branch...
coreutils-9.9/lib/exclude.c:668:12: branch_false: ...to here
coreutils-9.9/lib/exclude.c:668:12: call_function: calling 'add_exclude_fp' from 'add_exclude_file'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def19]
coreutils-9.9/lib/fcntl.c:328:22: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
coreutils-9.9/lib/fcntl.c:210:3: acquire_resource: 'va_start' called here
coreutils-9.9/lib/fcntl.c:328:22: throw: if 'fcntl' throws an exception...
coreutils-9.9/lib/fcntl.c:328:22: danger: missing call to 'va_end' to match 'va_start' at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def20]
coreutils-9.9/lib/fcntl.c:418:24: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
coreutils-9.9/lib/fcntl.c:210:3: acquire_resource: 'va_start' called here
coreutils-9.9/lib/fcntl.c:418:24: throw: if 'fcntl' throws an exception...
coreutils-9.9/lib/fcntl.c:418:24: danger: missing call to 'va_end' to match 'va_start' at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def21]
coreutils-9.9/lib/fcntl.c:426:24: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
coreutils-9.9/lib/fcntl.c:210:3: acquire_resource: 'va_start' called here
coreutils-9.9/lib/fcntl.c:426:24: throw: if 'fcntl' throws an exception...
coreutils-9.9/lib/fcntl.c:426:24: danger: missing call to 'va_end' to match 'va_start' at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def22]
coreutils-9.9/lib/fcntl.c:476:12: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
coreutils-9.9/lib/fcntl.c:202:1: enter_function: entry to 'rpl_fcntl'
coreutils-9.9/lib/fcntl.c:210:3: acquire_resource: 'va_start' called here
coreutils-9.9/lib/fcntl.c:216:18: call_function: inlined call to 'rpl_fcntl_DUPFD' from 'rpl_fcntl'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def23]
coreutils-9.9/lib/fcntl.c:506:16: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
coreutils-9.9/lib/fcntl.c:202:1: enter_function: entry to 'rpl_fcntl'
coreutils-9.9/lib/fcntl.c:210:3: acquire_resource: 'va_start' called here
coreutils-9.9/lib/fcntl.c:223:18: call_function: calling 'rpl_fcntl_DUPFD_CLOEXEC' from 'rpl_fcntl'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def24]
coreutils-9.9/lib/fcntl.c:527:19: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
coreutils-9.9/lib/fcntl.c:202:1: enter_function: entry to 'rpl_fcntl'
coreutils-9.9/lib/fcntl.c:210:3: acquire_resource: 'va_start' called here
coreutils-9.9/lib/fcntl.c:223:18: call_function: calling 'rpl_fcntl_DUPFD_CLOEXEC' from 'rpl_fcntl'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def25]
coreutils-9.9/lib/fcntl.c:528:24: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
coreutils-9.9/lib/fcntl.c:202:1: enter_function: entry to 'rpl_fcntl'
coreutils-9.9/lib/fcntl.c:210:3: acquire_resource: 'va_start' called here
coreutils-9.9/lib/fcntl.c:223:18: call_function: calling 'rpl_fcntl_DUPFD_CLOEXEC' from 'rpl_fcntl'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def26]
coreutils-9.9/lib/fcntl.c:531:11: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
coreutils-9.9/lib/fcntl.c:202:1: enter_function: entry to 'rpl_fcntl'
coreutils-9.9/lib/fcntl.c:210:3: acquire_resource: 'va_start' called here
coreutils-9.9/lib/fcntl.c:223:18: call_function: calling 'rpl_fcntl_DUPFD_CLOEXEC' from 'rpl_fcntl'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def27]
coreutils-9.9/lib/fd-reopen.c:42:7: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'fd2'
coreutils-9.9/lib/fd-reopen.c:36:6: branch_false: following 'false' branch...
coreutils-9.9/lib/fd-reopen.c:40:17: branch_false: ...to here
coreutils-9.9/lib/fd-reopen.c:40:17: acquire_resource: opened here
coreutils-9.9/lib/fd-reopen.c:42:7: throw: if 'close' throws an exception...
coreutils-9.9/lib/fd-reopen.c:42:7: danger: 'fd2' leaks here; was opened at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def28]
coreutils-9.9/lib/file-has-acl.c:177:25: warning[-Wanalyzer-malloc-leak]: leak of 'ai.buf'
coreutils-9.9/lib/file-has-acl.c:982:1: enter_function: entry to 'file_has_acl'
coreutils-9.9/lib/file-has-acl.c:988:11: call_function: calling 'file_has_aclinfo' from 'file_has_acl'
Error: CPPCHECK_WARNING (CWE-457): [#def29]
coreutils-9.9/lib/file-has-acl.c:497: error[uninitvar]: Uninitialized variable: buf
Error: GCC_ANALYZER_WARNING (CWE-401): [#def30]
coreutils-9.9/lib/file-set.c:37:15: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(24)'
coreutils-9.9/lib/file-set.c:33:6: branch_false: following 'false' branch (when 'ht' is non-NULL)...
coreutils-9.9/lib/file-set.c:36:9: branch_false: ...to here
coreutils-9.9/lib/file-set.c:37:15: throw: if 'xstrdup' throws an exception...
coreutils-9.9/lib/file-set.c:37:15: 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): [#def31]
coreutils-9.9/lib/file-set.c:38:17: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(24)'
coreutils-9.9/lib/file-set.c:33:6: branch_false: following 'false' branch (when 'ht' is non-NULL)...
coreutils-9.9/lib/file-set.c:36:9: branch_false: ...to here
coreutils-9.9/lib/file-set.c:42:39: throw: if 'hash_insert' throws an exception...
coreutils-9.9/lib/file-set.c:38:17: 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): [#def32]
coreutils-9.9/lib/file-set.c:42:39: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
coreutils-9.9/lib/file-set.c:33:6: branch_false: following 'false' branch (when 'ht' is non-NULL)...
coreutils-9.9/lib/file-set.c:36:9: branch_false: ...to here
coreutils-9.9/lib/file-set.c:42:39: throw: if 'hash_insert' throws an exception...
coreutils-9.9/lib/file-set.c:42:39: danger: '<unknown>' leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def33]
coreutils-9.9/lib/findprog-in.c:258:15: warning[-Wanalyzer-malloc-leak]: leak of 'path_rest'
coreutils-9.9/lib/findprog-in.c:89:8: branch_false: following 'false' branch (when 'has_slash == 0')...
coreutils-9.9/lib/findprog-in.c:215:6: branch_false: ...to here
coreutils-9.9/lib/findprog-in.c:222:23: acquire_memory: allocated here
coreutils-9.9/lib/findprog-in.c:223:8: branch_false: following 'false' branch (when 'path_copy' is non-NULL)...
coreutils-9.9/lib/findprog-in.c:223:8: branch_false: ...to here
coreutils-9.9/lib/findprog-in.c:245:30: branch_false: following 'false' branch...
coreutils-9.9/lib/findprog-in.c:248:9: branch_false: ...to here
coreutils-9.9/lib/findprog-in.c:251:12: branch_true: following 'true' branch (when 'path_rest == cp')...
coreutils-9.9/lib/findprog-in.c:251:12: branch_true: ...to here
coreutils-9.9/lib/findprog-in.c:255:12: branch_true: following 'true' branch...
coreutils-9.9/lib/findprog-in.c:258:15: throw: if 'concatenated_filename' throws an exception...
coreutils-9.9/lib/findprog-in.c:258:15: danger: 'path_rest' leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def34]
coreutils-9.9/lib/findprog-in.c:286:19: warning[-Wanalyzer-malloc-leak]: leak of 'path_rest'
coreutils-9.9/lib/findprog-in.c:89:8: branch_false: following 'false' branch (when 'has_slash == 0')...
coreutils-9.9/lib/findprog-in.c:215:6: branch_false: ...to here
coreutils-9.9/lib/findprog-in.c:222:23: acquire_memory: allocated here
coreutils-9.9/lib/findprog-in.c:223:8: branch_false: following 'false' branch (when 'path_copy' is non-NULL)...
coreutils-9.9/lib/findprog-in.c:223:8: branch_false: ...to here
coreutils-9.9/lib/findprog-in.c:245:30: branch_false: following 'false' branch...
coreutils-9.9/lib/findprog-in.c:248:9: branch_false: ...to here
coreutils-9.9/lib/findprog-in.c:251:12: branch_true: following 'true' branch (when 'path_rest == cp')...
coreutils-9.9/lib/findprog-in.c:251:12: branch_true: ...to here
coreutils-9.9/lib/findprog-in.c:255:12: branch_false: following 'false' branch (when 'directory' is NULL)...
coreutils-9.9/lib/findprog-in.c:274:9: branch_false: ...to here
coreutils-9.9/lib/findprog-in.c:274:21: branch_true: following 'true' branch (when 'i == 0')...
coreutils-9.9/lib/findprog-in.c:286:19: branch_true: ...to here
coreutils-9.9/lib/findprog-in.c:286:19: throw: if 'concatenated_filename' throws an exception...
coreutils-9.9/lib/findprog-in.c:286:19: danger: 'path_rest' leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def35]
coreutils-9.9/lib/fopen-safer.c:39:11: warning[-Wanalyzer-file-leak]: leak of FILE 'fopen(file, mode)'
coreutils-9.9/lib/fopen-safer.c:33:14: acquire_resource: opened here
coreutils-9.9/lib/fopen-safer.c:35:6: branch_true: following 'true' branch...
coreutils-9.9/lib/fopen-safer.c:37:16: branch_true: ...to here
coreutils-9.9/lib/fopen-safer.c:39:10: branch_true: following 'true' branch...
coreutils-9.9/lib/fopen-safer.c:41:19: branch_true: ...to here
coreutils-9.9/lib/fopen-safer.c:41:19: throw: if 'dup_safer' throws an exception...
coreutils-9.9/lib/fopen-safer.c:39:11: danger: 'fopen(file, mode)' leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def36]
coreutils-9.9/lib/fopen-safer.c:39:11: warning[-Wanalyzer-malloc-leak]: leak of 'fopen(file, mode)'
coreutils-9.9/lib/fopen-safer.c:33:14: acquire_memory: allocated here
coreutils-9.9/lib/fopen-safer.c:35:6: branch_true: following 'true' branch...
coreutils-9.9/lib/fopen-safer.c:37:16: branch_true: ...to here
coreutils-9.9/lib/fopen-safer.c:39:10: branch_true: following 'true' branch...
coreutils-9.9/lib/fopen-safer.c:41:19: branch_true: ...to here
coreutils-9.9/lib/fopen-safer.c:41:19: throw: if 'dup_safer' throws an exception...
coreutils-9.9/lib/fopen-safer.c:39:11: danger: 'fopen(file, mode)' leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def37]
coreutils-9.9/lib/fts-cycle.c:92:23: warning[-Wanalyzer-malloc-leak]: leak of 'ad'
coreutils-9.9/lib/fts-cycle.c:79:31: acquire_memory: allocated here
coreutils-9.9/lib/fts-cycle.c:82:10: branch_false: following 'false' branch (when 'ad' is non-NULL)...
coreutils-9.9/lib/fts-cycle.c:85:17: branch_false: ...to here
coreutils-9.9/lib/fts-cycle.c:92:23: throw: if 'hash_insert' throws an exception...
coreutils-9.9/lib/fts-cycle.c:92:23: danger: 'ad' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def38]
coreutils-9.9/lib/fts-cycle.c:120:1: warning[-Wanalyzer-malloc-leak]: leak of 'ad'
coreutils-9.9/lib/fts-cycle.c:79:31: acquire_memory: allocated here
coreutils-9.9/lib/fts-cycle.c:82:10: branch_false: following 'false' branch (when 'ad' is non-NULL)...
coreutils-9.9/lib/fts-cycle.c:85:17: branch_false: ...to here
coreutils-9.9/lib/fts-cycle.c:94:10: branch_false: following 'false' branch...
coreutils-9.9/lib/fts-cycle.c:94:10: branch_false: ...to here
coreutils-9.9/lib/fts-cycle.c:120:1: danger: 'ad' leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def39]
coreutils-9.9/lib/fts.c:740:17: warning[-Wanalyzer-malloc-leak]: leak of 't2'
coreutils-9.9/lib/fts.c:1273:1: enter_function: entry to 'fts_build'
coreutils-9.9/lib/fts.c:1313:16: branch_false: following 'false' branch...
coreutils-9.9/lib/fts.c:1325:38: branch_false: ...to here
coreutils-9.9/lib/fts.c:1385:12: branch_false: following 'false' branch...
coreutils-9.9/lib/fts.c:1395:23: branch_false: ...to here
coreutils-9.9/lib/fts.c:1395:23: branch_true: following 'true' branch (when 'type != 2')...
coreutils-9.9/lib/fts.c:1396:30: branch_true: ...to here
coreutils-9.9/lib/fts.c:1395:23: branch_false: following 'false' branch...
coreutils-9.9/lib/fts.c:1396:30: branch_false: following 'false' branch...
coreutils-9.9/lib/fts.c:1398:33: branch_false: ...to here
coreutils-9.9/lib/fts.c:1396:30: branch_false: following 'false' branch...
coreutils-9.9/lib/fts.c:1399:34: branch_false: ...to here
coreutils-9.9/lib/fts.c:1399:34: call_function: calling 'leaf_optimization' from 'fts_build'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def40]
coreutils-9.9/lib/fts.c:748:10: warning[-Wanalyzer-malloc-leak]: leak of 't2'
coreutils-9.9/lib/fts.c:1273:1: enter_function: entry to 'fts_build'
coreutils-9.9/lib/fts.c:1313:16: branch_false: following 'false' branch...
coreutils-9.9/lib/fts.c:1325:38: branch_false: ...to here
coreutils-9.9/lib/fts.c:1385:12: branch_false: following 'false' branch...
coreutils-9.9/lib/fts.c:1395:23: branch_false: ...to here
coreutils-9.9/lib/fts.c:1395:23: branch_true: following 'true' branch (when 'type != 2')...
coreutils-9.9/lib/fts.c:1396:30: branch_true: ...to here
coreutils-9.9/lib/fts.c:1395:23: branch_false: following 'false' branch...
coreutils-9.9/lib/fts.c:1396:30: branch_false: following 'false' branch...
coreutils-9.9/lib/fts.c:1398:33: branch_false: ...to here
coreutils-9.9/lib/fts.c:1396:30: branch_false: following 'false' branch...
coreutils-9.9/lib/fts.c:1399:34: branch_false: ...to here
coreutils-9.9/lib/fts.c:1399:34: call_function: calling 'leaf_optimization' from 'fts_build'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def41]
coreutils-9.9/lib/fts.c:1313:16: warning[-Wanalyzer-malloc-leak]: leak of '**sp.fts_cur.fts_dirp'
coreutils-9.9/lib/fts.c:1293:12: branch_false: following 'false' branch...
coreutils-9.9/lib/fts.c:1313:34: branch_false: ...to here
coreutils-9.9/lib/fts.c:1313:34: acquire_memory: allocated here
coreutils-9.9/lib/fts.c:1313:16: danger: '**sp.fts_cur.fts_dirp' leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def42]
coreutils-9.9/lib/getndelim2.c:111:16: warning[-Wanalyzer-malloc-leak]: leak of 'ptr'
coreutils-9.9/lib/getndelim2.c:76:6: branch_true: following 'true' branch (when 'ptr' is NULL)...
coreutils-9.9/lib/getndelim2.c:78:7: branch_true: ...to here
coreutils-9.9/lib/getndelim2.c:79:13: acquire_memory: allocated here
coreutils-9.9/lib/getndelim2.c:80:10: branch_false: following 'false' branch (when 'ptr' is non-NULL)...
coreutils-9.9/lib/getndelim2.c:84:6: branch_false: ...to here
coreutils-9.9/lib/getndelim2.c:84:6: branch_false: following 'false' branch (when 'size >= offset')...
coreutils-9.9/lib/getndelim2.c:87:3: branch_false: ...to here
coreutils-9.9/lib/getndelim2.c:90:6: branch_false: following 'false' branch...
coreutils-9.9/lib/getndelim2.c:94:6: branch_false: ...to here
coreutils-9.9/lib/getndelim2.c:111:16: throw: if 'freadptr' throws an exception...
coreutils-9.9/lib/getndelim2.c:111:16: danger: 'ptr' leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def43]
coreutils-9.9/lib/gl_openssl.h:81:10: warning[-Wanalyzer-malloc-leak]: leak of 'buffer'
coreutils-9.9/lib/md5-stream.c:58:1: enter_function: entry to 'md5_stream'
coreutils-9.9/lib/md5-stream.c:66:18: acquire_memory: allocated here
coreutils-9.9/lib/md5-stream.c:67:6: branch_false: following 'false' branch (when 'buffer' is non-NULL)...
coreutils-9.9/lib/md5-stream.c:71:3: call_function: inlined call to 'md5_init_ctx' from 'md5_stream'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def44]
coreutils-9.9/lib/gl_openssl.h:96:3: warning[-Wanalyzer-malloc-leak]: leak of 'buffer'
coreutils-9.9/lib/sha256-stream.c:131:1: enter_function: entry to 'sha224_stream'
coreutils-9.9/lib/sha256-stream.c:133:10: call_function: calling 'shaxxx_stream' from 'sha224_stream'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def45]
coreutils-9.9/lib/gl_openssl.h:100:10: warning[-Wanalyzer-malloc-leak]: leak of 'memblock'
coreutils-9.9/gnulib-tests/bench-digest.h:23:1: enter_function: entry to 'main'
coreutils-9.9/gnulib-tests/bench-digest.h:25:6: branch_false: following 'false' branch (when 'argc == 3')...
coreutils-9.9/gnulib-tests/bench-digest.h:31:17: branch_false: ...to here
coreutils-9.9/gnulib-tests/bench-digest.h:34:29: acquire_memory: allocated here
coreutils-9.9/gnulib-tests/bench-digest.h:35:6: branch_false: following 'false' branch (when 'memblock' is non-NULL)...
coreutils-9.9/gnulib-tests/bench-digest.h:35:6: branch_false: ...to here
coreutils-9.9/gnulib-tests/bench-digest.h:53:19: branch_true: following 'true' branch...
coreutils-9.9/gnulib-tests/bench-digest.h:56:7: call_function: inlined call to 'md5_buffer' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def46]
coreutils-9.9/lib/hash.c:236:14: warning[-Wanalyzer-malloc-leak]: leak of 'storage.bucket'
coreutils-9.9/lib/hash.c:854:1: enter_function: entry to 'hash_insert_if_absent'
coreutils-9.9/lib/hash.c:863:6: branch_false: following 'false' branch (when 'entry' is non-NULL)...
coreutils-9.9/lib/hash.c:867:15: branch_false: ...to here
coreutils-9.9/lib/hash.c:867:15: call_function: calling 'find_entry' from 'hash_insert_if_absent'
coreutils-9.9/lib/hash.c:867:15: return_function: returning to 'hash_insert_if_absent' from 'find_entry'
coreutils-9.9/lib/hash.c:867:6: branch_false: following 'false' branch...
coreutils-9.9/lib/hash.c:879:7: branch_false: ...to here
coreutils-9.9/lib/hash.c:879:6: branch_true: following 'true' branch...
coreutils-9.9/lib/hash.c:884:7: branch_true: ...to here
coreutils-9.9/lib/hash.c:885:10: branch_true: following 'true' branch...
coreutils-9.9/lib/hash.c:890:14: branch_true: ...to here
coreutils-9.9/lib/hash.c:895:14: branch_false: following 'false' branch (when 'candidate < 1.84467441e+19f')...
coreutils-9.9/lib/hash.c:902:16: branch_false: ...to here
coreutils-9.9/lib/hash.c:902:16: call_function: calling 'hash_rehash' from 'hash_insert_if_absent'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def47]
coreutils-9.9/lib/heap.c:51:17: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(32)'
coreutils-9.9/lib/heap.c:51:17: throw: if 'xnmalloc' throws an exception...
coreutils-9.9/lib/heap.c:51:17: danger: 'xmalloc(32)' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def48]
coreutils-9.9/lib/ino-map.c:89:17: warning[-Wanalyzer-malloc-leak]: leak of 'im'
coreutils-9.9/lib/ino-map.c:84:24: acquire_memory: allocated here
coreutils-9.9/lib/ino-map.c:86:6: branch_true: following 'true' branch (when 'im' is non-NULL)...
coreutils-9.9/lib/ino-map.c:89:17: branch_true: ...to here
coreutils-9.9/lib/ino-map.c:89:17: throw: if 'hash_initialize' throws an exception...
coreutils-9.9/lib/ino-map.c:89:17: danger: 'im' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def49]
coreutils-9.9/lib/long-options.c:74:13: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
coreutils-9.9/lib/long-options.c:61:6: branch_true: following 'true' branch (when 'argc == 2')...
coreutils-9.9/lib/long-options.c:62:15: branch_true: ...to here
coreutils-9.9/lib/long-options.c:61:7: branch_true: following 'true' branch (when 'c != -1')...
coreutils-9.9/lib/long-options.c:64:7: branch_true: ...to here
coreutils-9.9/lib/long-options.c:73:13: acquire_resource: 'va_start' called here
coreutils-9.9/lib/long-options.c:74:13: throw: if 'version_etc_va' throws an exception...
coreutils-9.9/lib/long-options.c:74:13: danger: missing call to 'va_end' to match 'va_start' at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: CPPCHECK_WARNING (CWE-664): [#def50]
coreutils-9.9/lib/long-options.c:76: error[va_end_missing]: va_list 'authors' was opened but not closed by va_end().
Error: GCC_ANALYZER_WARNING (CWE-404): [#def51]
coreutils-9.9/lib/long-options.c:127:13: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
coreutils-9.9/lib/long-options.c:115:6: branch_true: following 'true' branch (when 'c != -1')...
coreutils-9.9/lib/long-options.c:117:7: branch_true: ...to here
coreutils-9.9/lib/long-options.c:126:13: acquire_resource: 'va_start' called here
coreutils-9.9/lib/long-options.c:127:13: throw: if 'version_etc_va' throws an exception...
coreutils-9.9/lib/long-options.c:127:13: danger: missing call to 'va_end' to match 'va_start' at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-664): [#def52]
coreutils-9.9/lib/long-options.c:129: error[va_end_missing]: va_list 'authors' was opened but not closed by va_end().
Error: GCC_ANALYZER_WARNING (CWE-401): [#def53]
coreutils-9.9/lib/mbfile.h:93:7: warning[-Wanalyzer-malloc-leak]: leak of 'ximalloc((long int)((long unsigned int)max_column_width * 32))'
coreutils-9.9/src/unexpand.c:107:1: enter_function: entry to 'unexpand'
coreutils-9.9/src/unexpand.c:124:6: branch_false: following 'false' branch...
coreutils-9.9/src/unexpand.c:127:3: branch_false: ...to here
coreutils-9.9/src/unexpand.c:185:13: call_function: calling 'mbfile_multi_getc' from 'unexpand'
coreutils-9.9/src/unexpand.c:185:13: return_function: returning to 'unexpand' from 'mbfile_multi_getc'
coreutils-9.9/src/unexpand.c:186:16: branch_true: following 'true' branch...
coreutils-9.9/src/unexpand.c:186:41: branch_true: ...to here
coreutils-9.9/src/unexpand.c:186:41: throw: if 'next_file' throws an exception...
coreutils-9.9/lib/mbfile.h:93:7: danger: 'ximalloc((long int)((long unsigned int)max_column_width * 32))' leaks here; was allocated at [(4)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def54]
coreutils-9.9/lib/mgetgroups.c:96:16: warning[-Wanalyzer-malloc-leak]: leak of 'g'
coreutils-9.9/lib/mgetgroups.c:66:1: enter_function: entry to 'mgetgroups'
coreutils-9.9/lib/mgetgroups.c:81:6: branch_true: following 'true' branch (when 'username' is non-NULL)...
coreutils-9.9/lib/mgetgroups.c:84:7: branch_true: ...to here
coreutils-9.9/lib/mgetgroups.c:86:11: call_function: calling 'realloc_groupbuf' from 'mgetgroups'
coreutils-9.9/lib/mgetgroups.c:86:11: return_function: returning to 'mgetgroups' from 'realloc_groupbuf'
coreutils-9.9/lib/mgetgroups.c:87:10: branch_false: following 'false' branch...
coreutils-9.9/lib/mgetgroups.c:87:10: branch_false: ...to here
coreutils-9.9/lib/mgetgroups.c:96:16: throw: if 'getgrouplist' throws an exception...
coreutils-9.9/lib/mgetgroups.c:96:16: danger: 'g' leaks here; was allocated at [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def55]
coreutils-9.9/lib/mountlist.c:537:30: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(56)'
coreutils-9.9/lib/mountlist.c:462:1: enter_function: entry to 'read_file_system_list'
coreutils-9.9/lib/mountlist.c:481:8: branch_true: following 'true' branch...
coreutils-9.9/lib/mountlist.c:483:15: branch_true: ...to here
coreutils-9.9/lib/mountlist.c:486:16: branch_true: following 'true' branch...
coreutils-9.9/lib/mountlist.c:491:18: branch_true: ...to here
coreutils-9.9/lib/mountlist.c:503:27: call_function: calling 'terminate_at_blank' from 'read_file_system_list'
coreutils-9.9/lib/mountlist.c:503:27: return_function: returning to 'read_file_system_list' from 'terminate_at_blank'
coreutils-9.9/lib/mountlist.c:504:16: branch_false: following 'false' branch...
coreutils-9.9/lib/mountlist.c:508:19: branch_false: ...to here
coreutils-9.9/lib/mountlist.c:509:21: call_function: calling 'terminate_at_blank' from 'read_file_system_list'
coreutils-9.9/lib/mountlist.c:509:21: return_function: returning to 'read_file_system_list' from 'terminate_at_blank'
coreutils-9.9/lib/mountlist.c:510:16: branch_false: following 'false' branch...
coreutils-9.9/lib/mountlist.c:514:26: branch_false: ...to here
coreutils-9.9/lib/mountlist.c:520:21: call_function: calling 'terminate_at_blank' from 'read_file_system_list'
coreutils-9.9/lib/mountlist.c:520:21: return_function: returning to 'read_file_system_list' from 'terminate_at_blank'
coreutils-9.9/lib/mountlist.c:526:19: call_function: calling 'terminate_at_blank' from 'read_file_system_list'
coreutils-9.9/lib/mountlist.c:526:19: return_function: returning to 'read_file_system_list' from 'terminate_at_blank'
coreutils-9.9/lib/mountlist.c:537:30: throw: if 'xstrdup' throws an exception...
coreutils-9.9/lib/mountlist.c:537:30: danger: 'xmalloc(56)' leaks here; was allocated at [(31)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/30)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def56]
coreutils-9.9/lib/mountlist.c:538:31: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
coreutils-9.9/lib/mountlist.c:462:1: enter_function: entry to 'read_file_system_list'
coreutils-9.9/lib/mountlist.c:481:8: branch_true: following 'true' branch...
coreutils-9.9/lib/mountlist.c:483:15: branch_true: ...to here
coreutils-9.9/lib/mountlist.c:486:16: branch_true: following 'true' branch...
coreutils-9.9/lib/mountlist.c:491:18: branch_true: ...to here
coreutils-9.9/lib/mountlist.c:503:27: call_function: calling 'terminate_at_blank' from 'read_file_system_list'
coreutils-9.9/lib/mountlist.c:503:27: return_function: returning to 'read_file_system_list' from 'terminate_at_blank'
coreutils-9.9/lib/mountlist.c:504:16: branch_false: following 'false' branch...
coreutils-9.9/lib/mountlist.c:508:19: branch_false: ...to here
coreutils-9.9/lib/mountlist.c:509:21: call_function: calling 'terminate_at_blank' from 'read_file_system_list'
coreutils-9.9/lib/mountlist.c:509:21: return_function: returning to 'read_file_system_list' from 'terminate_at_blank'
coreutils-9.9/lib/mountlist.c:510:16: branch_false: following 'false' branch...
coreutils-9.9/lib/mountlist.c:514:26: branch_false: ...to here
coreutils-9.9/lib/mountlist.c:520:21: call_function: calling 'terminate_at_blank' from 'read_file_system_list'
coreutils-9.9/lib/mountlist.c:520:21: return_function: returning to 'read_file_system_list' from 'terminate_at_blank'
coreutils-9.9/lib/mountlist.c:526:19: call_function: calling 'terminate_at_blank' from 'read_file_system_list'
coreutils-9.9/lib/mountlist.c:526:19: return_function: returning to 'read_file_system_list' from 'terminate_at_blank'
coreutils-9.9/lib/mountlist.c:538:31: danger: '<unknown>' leaks here; was allocated at [(31)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/30)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def57]
coreutils-9.9/lib/mountlist.c:538:31: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(56)'
coreutils-9.9/lib/mountlist.c:462:1: enter_function: entry to 'read_file_system_list'
coreutils-9.9/lib/mountlist.c:481:8: branch_true: following 'true' branch...
coreutils-9.9/lib/mountlist.c:483:15: branch_true: ...to here
coreutils-9.9/lib/mountlist.c:486:16: branch_true: following 'true' branch...
coreutils-9.9/lib/mountlist.c:491:18: branch_true: ...to here
coreutils-9.9/lib/mountlist.c:503:27: call_function: calling 'terminate_at_blank' from 'read_file_system_list'
coreutils-9.9/lib/mountlist.c:503:27: return_function: returning to 'read_file_system_list' from 'terminate_at_blank'
coreutils-9.9/lib/mountlist.c:504:16: branch_false: following 'false' branch...
coreutils-9.9/lib/mountlist.c:508:19: branch_false: ...to here
coreutils-9.9/lib/mountlist.c:509:21: call_function: calling 'terminate_at_blank' from 'read_file_system_list'
coreutils-9.9/lib/mountlist.c:509:21: return_function: returning to 'read_file_system_list' from 'terminate_at_blank'
coreutils-9.9/lib/mountlist.c:510:16: branch_false: following 'false' branch...
coreutils-9.9/lib/mountlist.c:514:26: branch_false: ...to here
coreutils-9.9/lib/mountlist.c:520:21: call_function: calling 'terminate_at_blank' from 'read_file_system_list'
coreutils-9.9/lib/mountlist.c:520:21: return_function: returning to 'read_file_system_list' from 'terminate_at_blank'
coreutils-9.9/lib/mountlist.c:526:19: call_function: calling 'terminate_at_blank' from 'read_file_system_list'
coreutils-9.9/lib/mountlist.c:526:19: return_function: returning to 'read_file_system_list' from 'terminate_at_blank'
coreutils-9.9/lib/mountlist.c:538:31: throw: if 'xstrdup' throws an exception...
coreutils-9.9/lib/mountlist.c:538:31: danger: 'xmalloc(56)' leaks here; was allocated at [(31)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/30)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def58]
coreutils-9.9/lib/mountlist.c:539:30: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
coreutils-9.9/lib/mountlist.c:462:1: enter_function: entry to 'read_file_system_list'
coreutils-9.9/lib/mountlist.c:481:8: branch_true: following 'true' branch...
coreutils-9.9/lib/mountlist.c:483:15: branch_true: ...to here
coreutils-9.9/lib/mountlist.c:486:16: branch_true: following 'true' branch...
coreutils-9.9/lib/mountlist.c:491:18: branch_true: ...to here
coreutils-9.9/lib/mountlist.c:503:27: call_function: calling 'terminate_at_blank' from 'read_file_system_list'
coreutils-9.9/lib/mountlist.c:503:27: return_function: returning to 'read_file_system_list' from 'terminate_at_blank'
coreutils-9.9/lib/mountlist.c:504:16: branch_false: following 'false' branch...
coreutils-9.9/lib/mountlist.c:508:19: branch_false: ...to here
coreutils-9.9/lib/mountlist.c:509:21: call_function: calling 'terminate_at_blank' from 'read_file_system_list'
coreutils-9.9/lib/mountlist.c:509:21: return_function: returning to 'read_file_system_list' from 'terminate_at_blank'
coreutils-9.9/lib/mountlist.c:510:16: branch_false: following 'false' branch...
coreutils-9.9/lib/mountlist.c:514:26: branch_false: ...to here
coreutils-9.9/lib/mountlist.c:520:21: call_function: calling 'terminate_at_blank' from 'read_file_system_list'
coreutils-9.9/lib/mountlist.c:520:21: return_function: returning to 'read_file_system_list' from 'terminate_at_blank'
coreutils-9.9/lib/mountlist.c:526:19: call_function: calling 'terminate_at_blank' from 'read_file_system_list'
coreutils-9.9/lib/mountlist.c:526:19: return_function: returning to 'read_file_system_list' from 'terminate_at_blank'
coreutils-9.9/lib/mountlist.c:539:30: danger: '<unknown>' leaks here; was allocated at [(31)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/30)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def59]
coreutils-9.9/lib/mountlist.c:539:30: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(56)'
coreutils-9.9/lib/mountlist.c:462:1: enter_function: entry to 'read_file_system_list'
coreutils-9.9/lib/mountlist.c:481:8: branch_true: following 'true' branch...
coreutils-9.9/lib/mountlist.c:483:15: branch_true: ...to here
coreutils-9.9/lib/mountlist.c:486:16: branch_true: following 'true' branch...
coreutils-9.9/lib/mountlist.c:491:18: branch_true: ...to here
coreutils-9.9/lib/mountlist.c:503:27: call_function: calling 'terminate_at_blank' from 'read_file_system_list'
coreutils-9.9/lib/mountlist.c:503:27: return_function: returning to 'read_file_system_list' from 'terminate_at_blank'
coreutils-9.9/lib/mountlist.c:504:16: branch_false: following 'false' branch...
coreutils-9.9/lib/mountlist.c:508:19: branch_false: ...to here
coreutils-9.9/lib/mountlist.c:509:21: call_function: calling 'terminate_at_blank' from 'read_file_system_list'
coreutils-9.9/lib/mountlist.c:509:21: return_function: returning to 'read_file_system_list' from 'terminate_at_blank'
coreutils-9.9/lib/mountlist.c:510:16: branch_false: following 'false' branch...
coreutils-9.9/lib/mountlist.c:514:26: branch_false: ...to here
coreutils-9.9/lib/mountlist.c:520:21: call_function: calling 'terminate_at_blank' from 'read_file_system_list'
coreutils-9.9/lib/mountlist.c:520:21: return_function: returning to 'read_file_system_list' from 'terminate_at_blank'
coreutils-9.9/lib/mountlist.c:526:19: call_function: calling 'terminate_at_blank' from 'read_file_system_list'
coreutils-9.9/lib/mountlist.c:526:19: return_function: returning to 'read_file_system_list' from 'terminate_at_blank'
coreutils-9.9/lib/mountlist.c:539:30: throw: if 'xstrdup' throws an exception...
coreutils-9.9/lib/mountlist.c:539:30: danger: 'xmalloc(56)' leaks here; was allocated at [(31)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/30)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def60]
coreutils-9.9/lib/mountlist.c:540:27: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
coreutils-9.9/lib/mountlist.c:462:1: enter_function: entry to 'read_file_system_list'
coreutils-9.9/lib/mountlist.c:481:8: branch_true: following 'true' branch...
coreutils-9.9/lib/mountlist.c:483:15: branch_true: ...to here
coreutils-9.9/lib/mountlist.c:486:16: branch_true: following 'true' branch...
coreutils-9.9/lib/mountlist.c:491:18: branch_true: ...to here
coreutils-9.9/lib/mountlist.c:503:27: call_function: calling 'terminate_at_blank' from 'read_file_system_list'
coreutils-9.9/lib/mountlist.c:503:27: return_function: returning to 'read_file_system_list' from 'terminate_at_blank'
coreutils-9.9/lib/mountlist.c:504:16: branch_false: following 'false' branch...
coreutils-9.9/lib/mountlist.c:508:19: branch_false: ...to here
coreutils-9.9/lib/mountlist.c:509:21: call_function: calling 'terminate_at_blank' from 'read_file_system_list'
coreutils-9.9/lib/mountlist.c:509:21: return_function: returning to 'read_file_system_list' from 'terminate_at_blank'
coreutils-9.9/lib/mountlist.c:510:16: branch_false: following 'false' branch...
coreutils-9.9/lib/mountlist.c:514:26: branch_false: ...to here
coreutils-9.9/lib/mountlist.c:520:21: call_function: calling 'terminate_at_blank' from 'read_file_system_list'
coreutils-9.9/lib/mountlist.c:520:21: return_function: returning to 'read_file_system_list' from 'terminate_at_blank'
coreutils-9.9/lib/mountlist.c:526:19: call_function: calling 'terminate_at_blank' from 'read_file_system_list'
coreutils-9.9/lib/mountlist.c:526:19: return_function: returning to 'read_file_system_list' from 'terminate_at_blank'
coreutils-9.9/lib/mountlist.c:540:27: danger: '<unknown>' leaks here; was allocated at [(31)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/30)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def61]
coreutils-9.9/lib/mountlist.c:540:27: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(56)'
coreutils-9.9/lib/mountlist.c:462:1: enter_function: entry to 'read_file_system_list'
coreutils-9.9/lib/mountlist.c:481:8: branch_true: following 'true' branch...
coreutils-9.9/lib/mountlist.c:483:15: branch_true: ...to here
coreutils-9.9/lib/mountlist.c:486:16: branch_true: following 'true' branch...
coreutils-9.9/lib/mountlist.c:491:18: branch_true: ...to here
coreutils-9.9/lib/mountlist.c:503:27: call_function: calling 'terminate_at_blank' from 'read_file_system_list'
coreutils-9.9/lib/mountlist.c:503:27: return_function: returning to 'read_file_system_list' from 'terminate_at_blank'
coreutils-9.9/lib/mountlist.c:504:16: branch_false: following 'false' branch...
coreutils-9.9/lib/mountlist.c:508:19: branch_false: ...to here
coreutils-9.9/lib/mountlist.c:509:21: call_function: calling 'terminate_at_blank' from 'read_file_system_list'
coreutils-9.9/lib/mountlist.c:509:21: return_function: returning to 'read_file_system_list' from 'terminate_at_blank'
coreutils-9.9/lib/mountlist.c:510:16: branch_false: following 'false' branch...
coreutils-9.9/lib/mountlist.c:514:26: branch_false: ...to here
coreutils-9.9/lib/mountlist.c:520:21: call_function: calling 'terminate_at_blank' from 'read_file_system_list'
coreutils-9.9/lib/mountlist.c:520:21: return_function: returning to 'read_file_system_list' from 'terminate_at_blank'
coreutils-9.9/lib/mountlist.c:526:19: call_function: calling 'terminate_at_blank' from 'read_file_system_list'
coreutils-9.9/lib/mountlist.c:526:19: return_function: returning to 'read_file_system_list' from 'terminate_at_blank'
coreutils-9.9/lib/mountlist.c:540:27: throw: if 'xstrdup' throws an exception...
coreutils-9.9/lib/mountlist.c:540:27: danger: 'xmalloc(56)' leaks here; was allocated at [(31)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/30)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def62]
coreutils-9.9/lib/mountlist.c:583:39: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(56)'
coreutils-9.9/lib/mountlist.c:481:8: branch_false: following 'false' branch...
coreutils-9.9/lib/mountlist.c:574:14: branch_false: ...to here
coreutils-9.9/lib/mountlist.c:575:12: branch_false: following 'false' branch (when 'fp' is non-NULL)...
coreutils-9.9/lib/mountlist.c:575:12: branch_false: ...to here
coreutils-9.9/lib/mountlist.c:578:16: branch_true: following 'true' branch (when 'mnt' is non-NULL)...
coreutils-9.9/lib/mountlist.c:580:25: branch_true: ...to here
coreutils-9.9/lib/mountlist.c:583:30: throw: if 'xstrdup' throws an exception...
coreutils-9.9/lib/mountlist.c:583:39: danger: 'xmalloc(56)' leaks here; was allocated at [(7)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def63]
coreutils-9.9/lib/mountlist.c:584:31: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
coreutils-9.9/lib/mountlist.c:481:8: branch_false: following 'false' branch...
coreutils-9.9/lib/mountlist.c:574:14: branch_false: ...to here
coreutils-9.9/lib/mountlist.c:575:12: branch_false: following 'false' branch (when 'fp' is non-NULL)...
coreutils-9.9/lib/mountlist.c:575:12: branch_false: ...to here
coreutils-9.9/lib/mountlist.c:578:16: branch_true: following 'true' branch (when 'mnt' is non-NULL)...
coreutils-9.9/lib/mountlist.c:580:25: branch_true: ...to here
coreutils-9.9/lib/mountlist.c:584:31: danger: '<unknown>' leaks here; was allocated at [(7)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def64]
coreutils-9.9/lib/mountlist.c:586:27: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
coreutils-9.9/lib/mountlist.c:481:8: branch_false: following 'false' branch...
coreutils-9.9/lib/mountlist.c:574:14: branch_false: ...to here
coreutils-9.9/lib/mountlist.c:575:12: branch_false: following 'false' branch (when 'fp' is non-NULL)...
coreutils-9.9/lib/mountlist.c:575:12: branch_false: ...to here
coreutils-9.9/lib/mountlist.c:578:16: branch_true: following 'true' branch (when 'mnt' is non-NULL)...
coreutils-9.9/lib/mountlist.c:580:25: branch_true: ...to here
coreutils-9.9/lib/mountlist.c:586:27: danger: '<unknown>' leaks here; was allocated at [(7)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def65]
coreutils-9.9/lib/posixtm.c:55:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*digit_pair'
coreutils-9.9/lib/posixtm.c:92:1: enter_function: entry to 'posix_time_parse'
coreutils-9.9/lib/posixtm.c:111:6: branch_false: following 'false' branch...
coreutils-9.9/lib/posixtm.c:119:21: branch_false: following 'false' branch (when 'i >= len')...
coreutils-9.9/lib/posixtm.c:123:9: branch_false: ...to here
coreutils-9.9/lib/posixtm.c:123:6: branch_true: following 'true' branch...
coreutils-9.9/lib/posixtm.c:125:13: branch_true: ...to here
coreutils-9.9/lib/posixtm.c:125:13: call_function: calling 'year' from 'posix_time_parse'
Error: GCC_ANALYZER_WARNING (CWE-457): [#def66]
coreutils-9.9/lib/posixtm.c:70:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*digit_pair'
coreutils-9.9/lib/posixtm.c:92:1: enter_function: entry to 'posix_time_parse'
coreutils-9.9/lib/posixtm.c:111:6: branch_false: following 'false' branch...
coreutils-9.9/lib/posixtm.c:119:21: branch_false: following 'false' branch (when 'i >= len')...
coreutils-9.9/lib/posixtm.c:123:9: branch_false: ...to here
coreutils-9.9/lib/posixtm.c:123:6: branch_true: following 'true' branch...
coreutils-9.9/lib/posixtm.c:125:13: branch_true: ...to here
coreutils-9.9/lib/posixtm.c:125:13: call_function: calling 'year' from 'posix_time_parse'
Error: GCC_ANALYZER_WARNING (CWE-457): [#def67]
coreutils-9.9/lib/posixtm.c:70:43: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'digit_pair[1]'
coreutils-9.9/lib/posixtm.c:92:1: enter_function: entry to 'posix_time_parse'
coreutils-9.9/lib/posixtm.c:111:6: branch_false: following 'false' branch...
coreutils-9.9/lib/posixtm.c:119:21: branch_true: following 'true' branch (when 'i < len')...
coreutils-9.9/lib/posixtm.c:120:23: branch_true: ...to here
coreutils-9.9/lib/posixtm.c:119:21: branch_false: following 'false' branch (when 'i >= len')...
coreutils-9.9/lib/posixtm.c:123:9: branch_false: ...to here
coreutils-9.9/lib/posixtm.c:123:6: branch_true: following 'true' branch...
coreutils-9.9/lib/posixtm.c:125:13: branch_true: ...to here
coreutils-9.9/lib/posixtm.c:125:13: call_function: calling 'year' from 'posix_time_parse'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def68]
coreutils-9.9/lib/randint.c:74:3: warning[-Wanalyzer-malloc-leak]: leak of 'randread_new(name, bytes_bound)'
coreutils-9.9/lib/randint.c:84:1: enter_function: entry to 'randint_all_new'
coreutils-9.9/lib/randint.c:86:36: acquire_memory: allocated here
coreutils-9.9/lib/randint.c:87:10: branch_true: following 'true' branch...
coreutils-9.9/lib/randint.c:87:20: branch_true: ...to here
coreutils-9.9/lib/randint.c:87:20: call_function: calling 'randint_new' from 'randint_all_new'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def69]
coreutils-9.9/lib/randint.h:52:10: warning[-Wanalyzer-malloc-leak]: leak of 'sv'
coreutils-9.9/lib/randperm.c:149:1: enter_function: entry to 'randperm_new'
coreutils-9.9/lib/randperm.c:193:23: branch_true: following 'true' branch...
coreutils-9.9/lib/randperm.c:200:18: call_function: calling 'sparse_new' from 'randperm_new'
coreutils-9.9/lib/randperm.c:200:18: return_function: returning to 'randperm_new' from 'sparse_new'
coreutils-9.9/lib/randperm.c:201:16: branch_false: following 'false' branch...
coreutils-9.9/lib/randperm.c:203:17: branch_false: ...to here
coreutils-9.9/lib/randperm.c:213:21: branch_true: following 'true' branch (when 'i < h')...
coreutils-9.9/lib/randperm.c:215:47: branch_true: ...to here
coreutils-9.9/lib/randperm.c:215:28: call_function: inlined call to 'randint_choose' from 'randperm_new'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def70]
coreutils-9.9/lib/randint.h:52:10: warning[-Wanalyzer-malloc-leak]: leak of 'v'
coreutils-9.9/lib/randperm.c:149:1: enter_function: entry to 'randperm_new'
coreutils-9.9/lib/randperm.c:213:21: branch_true: following 'true' branch (when 'i < h')...
coreutils-9.9/lib/randperm.c:215:47: branch_true: ...to here
coreutils-9.9/lib/randperm.c:215:28: call_function: inlined call to 'randint_choose' from 'randperm_new'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def71]
coreutils-9.9/lib/randint.h:52:10: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(8)'
coreutils-9.9/lib/randperm.c:149:1: enter_function: entry to 'randperm_new'
coreutils-9.9/lib/randperm.c:161:14: call_function: inlined call to 'randint_choose' from 'randperm_new'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def72]
coreutils-9.9/lib/randperm.c:111:28: warning[-Wanalyzer-malloc-leak]: leak of 'sv'
coreutils-9.9/lib/randperm.c:149:1: enter_function: entry to 'randperm_new'
coreutils-9.9/lib/randperm.c:193:23: branch_true: following 'true' branch...
coreutils-9.9/lib/randperm.c:200:18: call_function: calling 'sparse_new' from 'randperm_new'
coreutils-9.9/lib/randperm.c:200:18: return_function: returning to 'randperm_new' from 'sparse_new'
coreutils-9.9/lib/randperm.c:201:16: branch_false: following 'false' branch...
coreutils-9.9/lib/randperm.c:203:17: branch_false: ...to here
coreutils-9.9/lib/randperm.c:213:21: branch_true: following 'true' branch (when 'i < h')...
coreutils-9.9/lib/randperm.c:215:47: branch_true: ...to here
coreutils-9.9/lib/randperm.c:216:16: branch_true: following 'true' branch (when 'sparse != 0')...
coreutils-9.9/lib/randperm.c:217:15: branch_true: ...to here
coreutils-9.9/lib/randperm.c:217:15: call_function: calling 'sparse_swap' from 'randperm_new'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def73]
coreutils-9.9/lib/randperm.c:111:28: warning[-Wanalyzer-malloc-leak]: leak of 'v'
coreutils-9.9/lib/randperm.c:149:1: enter_function: entry to 'randperm_new'
coreutils-9.9/lib/randperm.c:193:23: branch_true: following 'true' branch...
coreutils-9.9/lib/randperm.c:201:16: branch_false: following 'false' branch...
coreutils-9.9/lib/randperm.c:203:17: branch_false: ...to here
coreutils-9.9/lib/randperm.c:213:21: branch_true: following 'true' branch (when 'i < h')...
coreutils-9.9/lib/randperm.c:215:47: branch_true: ...to here
coreutils-9.9/lib/randperm.c:216:16: branch_true: following 'true' branch (when 'sparse != 0')...
coreutils-9.9/lib/randperm.c:217:15: branch_true: ...to here
coreutils-9.9/lib/randperm.c:217:15: call_function: calling 'sparse_swap' from 'randperm_new'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def74]
coreutils-9.9/lib/randperm.c:112:28: warning[-Wanalyzer-malloc-leak]: leak of 'v'
coreutils-9.9/lib/randperm.c:149:1: enter_function: entry to 'randperm_new'
coreutils-9.9/lib/randperm.c:193:23: branch_true: following 'true' branch...
coreutils-9.9/lib/randperm.c:201:16: branch_false: following 'false' branch...
coreutils-9.9/lib/randperm.c:203:17: branch_false: ...to here
coreutils-9.9/lib/randperm.c:213:21: branch_true: following 'true' branch (when 'i < h')...
coreutils-9.9/lib/randperm.c:215:47: branch_true: ...to here
coreutils-9.9/lib/randperm.c:216:16: branch_true: following 'true' branch (when 'sparse != 0')...
coreutils-9.9/lib/randperm.c:217:15: branch_true: ...to here
coreutils-9.9/lib/randperm.c:217:15: call_function: calling 'sparse_swap' from 'randperm_new'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def75]
coreutils-9.9/lib/randperm.c:117:12: warning[-Wanalyzer-malloc-leak]: leak of 'v'
coreutils-9.9/lib/randperm.c:149:1: enter_function: entry to 'randperm_new'
coreutils-9.9/lib/randperm.c:193:23: branch_true: following 'true' branch...
coreutils-9.9/lib/randperm.c:201:16: branch_false: following 'false' branch...
coreutils-9.9/lib/randperm.c:203:17: branch_false: ...to here
coreutils-9.9/lib/randperm.c:213:21: branch_true: following 'true' branch (when 'i < h')...
coreutils-9.9/lib/randperm.c:215:47: branch_true: ...to here
coreutils-9.9/lib/randperm.c:216:16: branch_true: following 'true' branch (when 'sparse != 0')...
coreutils-9.9/lib/randperm.c:217:15: branch_true: ...to here
coreutils-9.9/lib/randperm.c:217:15: call_function: calling 'sparse_swap' from 'randperm_new'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def76]
coreutils-9.9/lib/randperm.c:122:12: warning[-Wanalyzer-malloc-leak]: leak of 'v'
coreutils-9.9/lib/randperm.c:149:1: enter_function: entry to 'randperm_new'
coreutils-9.9/lib/randperm.c:193:23: branch_true: following 'true' branch...
coreutils-9.9/lib/randperm.c:201:16: branch_false: following 'false' branch...
coreutils-9.9/lib/randperm.c:203:17: branch_false: ...to here
coreutils-9.9/lib/randperm.c:213:21: branch_true: following 'true' branch (when 'i < h')...
coreutils-9.9/lib/randperm.c:215:47: branch_true: ...to here
coreutils-9.9/lib/randperm.c:216:16: branch_true: following 'true' branch (when 'sparse != 0')...
coreutils-9.9/lib/randperm.c:217:15: branch_true: ...to here
coreutils-9.9/lib/randperm.c:217:15: call_function: calling 'sparse_swap' from 'randperm_new'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def77]
coreutils-9.9/lib/randperm.c:122:12: warning[-Wanalyzer-malloc-leak]: leak of 'v1'
coreutils-9.9/lib/randperm.c:115:6: branch_true: following 'true' branch...
coreutils-9.9/lib/randperm.c:117:12: branch_true: ...to here
coreutils-9.9/lib/randperm.c:120:6: branch_true: following 'true' branch...
coreutils-9.9/lib/randperm.c:122:12: branch_true: ...to here
coreutils-9.9/lib/randperm.c:122:12: throw: if 'xmalloc' throws an exception...
coreutils-9.9/lib/randperm.c:122:12: danger: 'v1' leaks here; was allocated at [(3)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def78]
coreutils-9.9/lib/randperm.c:129:8: warning[-Wanalyzer-malloc-leak]: leak of 'v'
coreutils-9.9/lib/randperm.c:149:1: enter_function: entry to 'randperm_new'
coreutils-9.9/lib/randperm.c:193:23: branch_true: following 'true' branch...
coreutils-9.9/lib/randperm.c:201:16: branch_false: following 'false' branch...
coreutils-9.9/lib/randperm.c:203:17: branch_false: ...to here
coreutils-9.9/lib/randperm.c:213:21: branch_true: following 'true' branch (when 'i < h')...
coreutils-9.9/lib/randperm.c:215:47: branch_true: ...to here
coreutils-9.9/lib/randperm.c:216:16: branch_true: following 'true' branch (when 'sparse != 0')...
coreutils-9.9/lib/randperm.c:217:15: branch_true: ...to here
coreutils-9.9/lib/randperm.c:217:15: call_function: calling 'sparse_swap' from 'randperm_new'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def79]
coreutils-9.9/lib/randperm.c:129:8: warning[-Wanalyzer-malloc-leak]: leak of 'v1'
coreutils-9.9/lib/randperm.c:115:6: branch_true: following 'true' branch...
coreutils-9.9/lib/randperm.c:117:12: branch_true: ...to here
coreutils-9.9/lib/randperm.c:120:6: branch_false: following 'false' branch...
coreutils-9.9/lib/randperm.c:126:10: branch_false: ...to here
coreutils-9.9/lib/randperm.c:129:8: throw: if 'hash_insert' throws an exception...
coreutils-9.9/lib/randperm.c:129:8: danger: 'v1' leaks here; was allocated at [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def80]
coreutils-9.9/lib/randperm.c:129:8: warning[-Wanalyzer-malloc-leak]: leak of 'v2'
coreutils-9.9/lib/randperm.c:115:6: branch_false: following 'false' branch...
coreutils-9.9/lib/randperm.c:120:6: branch_false: ...to here
coreutils-9.9/lib/randperm.c:120:6: branch_true: following 'true' branch...
coreutils-9.9/lib/randperm.c:122:12: branch_true: ...to here
coreutils-9.9/lib/randperm.c:129:8: throw: if 'hash_insert' throws an exception...
coreutils-9.9/lib/randperm.c:129:8: danger: 'v2' leaks here; was allocated at [(5)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def81]
coreutils-9.9/lib/randperm.c:130:5: warning[-Wanalyzer-malloc-leak]: leak of 'v1'
coreutils-9.9/lib/randperm.c:115:6: branch_true: following 'true' branch...
coreutils-9.9/lib/randperm.c:117:12: branch_true: ...to here
coreutils-9.9/lib/randperm.c:120:6: branch_false: following 'false' branch...
coreutils-9.9/lib/randperm.c:126:10: branch_false: ...to here
coreutils-9.9/lib/randperm.c:129:6: branch_true: following 'true' branch...
coreutils-9.9/lib/randperm.c:130:5: branch_true: ...to here
coreutils-9.9/lib/randperm.c:130:5: throw: if 'xalloc_die' throws an exception...
coreutils-9.9/lib/randperm.c:130:5: danger: 'v1' leaks here; was allocated at [(3)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def82]
coreutils-9.9/lib/randperm.c:130:5: warning[-Wanalyzer-malloc-leak]: leak of 'v2'
coreutils-9.9/lib/randperm.c:115:6: branch_false: following 'false' branch...
coreutils-9.9/lib/randperm.c:120:6: branch_false: ...to here
coreutils-9.9/lib/randperm.c:120:6: branch_true: following 'true' branch...
coreutils-9.9/lib/randperm.c:122:12: branch_true: ...to here
coreutils-9.9/lib/randperm.c:129:6: branch_true: following 'true' branch...
coreutils-9.9/lib/randperm.c:130:5: branch_true: ...to here
coreutils-9.9/lib/randperm.c:130:5: throw: if 'xalloc_die' throws an exception...
coreutils-9.9/lib/randperm.c:130:5: danger: 'v2' leaks here; was allocated at [(5)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def83]
coreutils-9.9/lib/randperm.c:131:8: warning[-Wanalyzer-malloc-leak]: leak of 'v1'
coreutils-9.9/lib/randperm.c:115:6: branch_true: following 'true' branch...
coreutils-9.9/lib/randperm.c:117:12: branch_true: ...to here
coreutils-9.9/lib/randperm.c:120:6: branch_false: following 'false' branch...
coreutils-9.9/lib/randperm.c:126:10: branch_false: ...to here
coreutils-9.9/lib/randperm.c:129:6: branch_false: following 'false' branch...
coreutils-9.9/lib/randperm.c:131:8: branch_false: ...to here
coreutils-9.9/lib/randperm.c:131:8: throw: if 'hash_insert' throws an exception...
coreutils-9.9/lib/randperm.c:131:8: danger: 'v1' leaks here; was allocated at [(3)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def84]
coreutils-9.9/lib/randperm.c:131:8: warning[-Wanalyzer-malloc-leak]: leak of 'v2'
coreutils-9.9/lib/randperm.c:115:6: branch_false: following 'false' branch...
coreutils-9.9/lib/randperm.c:120:6: branch_false: ...to here
coreutils-9.9/lib/randperm.c:120:6: branch_true: following 'true' branch...
coreutils-9.9/lib/randperm.c:122:12: branch_true: ...to here
coreutils-9.9/lib/randperm.c:129:6: branch_false: following 'false' branch...
coreutils-9.9/lib/randperm.c:131:8: branch_false: ...to here
coreutils-9.9/lib/randperm.c:131:8: throw: if 'hash_insert' throws an exception...
coreutils-9.9/lib/randperm.c:131:8: danger: 'v2' leaks here; was allocated at [(5)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def85]
coreutils-9.9/lib/randperm.c:132:5: warning[-Wanalyzer-malloc-leak]: leak of 'v1'
coreutils-9.9/lib/randperm.c:115:6: branch_true: following 'true' branch...
coreutils-9.9/lib/randperm.c:117:12: branch_true: ...to here
coreutils-9.9/lib/randperm.c:120:6: branch_false: following 'false' branch...
coreutils-9.9/lib/randperm.c:126:10: branch_false: ...to here
coreutils-9.9/lib/randperm.c:129:6: branch_false: following 'false' branch...
coreutils-9.9/lib/randperm.c:131:8: branch_false: ...to here
coreutils-9.9/lib/randperm.c:131:6: branch_true: following 'true' branch...
coreutils-9.9/lib/randperm.c:132:5: branch_true: ...to here
coreutils-9.9/lib/randperm.c:132:5: throw: if 'xalloc_die' throws an exception...
coreutils-9.9/lib/randperm.c:132:5: danger: 'v1' leaks here; was allocated at [(3)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def86]
coreutils-9.9/lib/randperm.c:132:5: warning[-Wanalyzer-malloc-leak]: leak of 'v2'
coreutils-9.9/lib/randperm.c:115:6: branch_false: following 'false' branch...
coreutils-9.9/lib/randperm.c:120:6: branch_false: ...to here
coreutils-9.9/lib/randperm.c:120:6: branch_true: following 'true' branch...
coreutils-9.9/lib/randperm.c:122:12: branch_true: ...to here
coreutils-9.9/lib/randperm.c:129:6: branch_false: following 'false' branch...
coreutils-9.9/lib/randperm.c:131:8: branch_false: ...to here
coreutils-9.9/lib/randperm.c:131:6: branch_true: following 'true' branch...
coreutils-9.9/lib/randperm.c:132:5: branch_true: ...to here
coreutils-9.9/lib/randperm.c:132:5: throw: if 'xalloc_die' throws an exception...
coreutils-9.9/lib/randperm.c:132:5: danger: 'v2' leaks here; was allocated at [(5)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def87]
coreutils-9.9/lib/randperm.c:135:1: warning[-Wanalyzer-malloc-leak]: leak of 'v1'
coreutils-9.9/lib/randperm.c:115:6: branch_true: following 'true' branch...
coreutils-9.9/lib/randperm.c:117:12: branch_true: ...to here
coreutils-9.9/lib/randperm.c:120:6: branch_false: following 'false' branch...
coreutils-9.9/lib/randperm.c:126:10: branch_false: ...to here
coreutils-9.9/lib/randperm.c:129:6: branch_false: following 'false' branch...
coreutils-9.9/lib/randperm.c:131:8: branch_false: ...to here
coreutils-9.9/lib/randperm.c:131:6: branch_false: following 'false' branch...
coreutils-9.9/lib/randperm.c:134:4: branch_false: ...to here
coreutils-9.9/lib/randperm.c:135:1: danger: 'v1' leaks here; was allocated at [(3)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def88]
coreutils-9.9/lib/randperm.c:135:1: warning[-Wanalyzer-malloc-leak]: leak of 'v2'
coreutils-9.9/lib/randperm.c:115:6: branch_false: following 'false' branch...
coreutils-9.9/lib/randperm.c:120:6: branch_false: ...to here
coreutils-9.9/lib/randperm.c:120:6: branch_true: following 'true' branch...
coreutils-9.9/lib/randperm.c:122:12: branch_true: ...to here
coreutils-9.9/lib/randperm.c:129:6: branch_false: following 'false' branch...
coreutils-9.9/lib/randperm.c:131:8: branch_false: ...to here
coreutils-9.9/lib/randperm.c:131:6: branch_false: following 'false' branch...
coreutils-9.9/lib/randperm.c:134:4: branch_false: ...to here
coreutils-9.9/lib/randperm.c:135:1: danger: 'v2' leaks here; was allocated at [(5)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def89]
coreutils-9.9/lib/randperm.c:203:17: warning[-Wanalyzer-malloc-leak]: leak of 'sparse_new(h * 2)'
coreutils-9.9/lib/randperm.c:149:1: enter_function: entry to 'randperm_new'
coreutils-9.9/lib/randperm.c:193:23: branch_true: following 'true' branch...
coreutils-9.9/lib/randperm.c:200:18: call_function: calling 'sparse_new' from 'randperm_new'
coreutils-9.9/lib/randperm.c:200:18: return_function: returning to 'randperm_new' from 'sparse_new'
coreutils-9.9/lib/randperm.c:201:16: branch_false: following 'false' branch...
coreutils-9.9/lib/randperm.c:203:17: branch_false: ...to here
coreutils-9.9/lib/randperm.c:203:17: throw: if 'xnmalloc' throws an exception...
coreutils-9.9/lib/randperm.c:203:17: danger: 'sparse_new(h * 2)' leaks here; was allocated at [(8)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def90]
coreutils-9.9/lib/randread.c:119:31: warning[-Wanalyzer-malloc-leak]: leak of 'source'
coreutils-9.9/lib/randread.c:173:1: enter_function: entry to 'randread_new'
coreutils-9.9/lib/randread.c:175:6: branch_false: following 'false' branch (when 'bytes_bound != 0')...
coreutils-9.9/lib/randread.c:182:10: branch_false: ...to here
coreutils-9.9/lib/randread.c:182:10: branch_true: following 'true' branch (when 'name' is non-NULL)...
coreutils-9.9/lib/randread.c:183:25: branch_true: ...to here
coreutils-9.9/lib/randread.c:183:25: acquire_memory: allocated here
coreutils-9.9/lib/randread.c:183:12: branch_false: following 'false' branch...
coreutils-9.9/lib/randread.c:186:11: call_function: inlined call to 'simple_new' from 'randread_new'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def91]
coreutils-9.9/lib/randread.c:203:28: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(4152)'
coreutils-9.9/lib/randread.c:173:1: enter_function: entry to 'randread_new'
coreutils-9.9/lib/randread.c:175:6: branch_false: following 'false' branch (when 'bytes_bound != 0')...
coreutils-9.9/lib/randread.c:182:10: branch_false: ...to here
coreutils-9.9/lib/randread.c:182:10: branch_false: following 'false' branch (when 'name' is NULL)...
coreutils-9.9/lib/randread.c:186:11: call_function: inlined call to 'simple_new' from 'randread_new'
coreutils-9.9/lib/randread.c:188:10: branch_false: following 'false' branch (when 'source' is NULL)...
coreutils-9.9/lib/randread.c:202:11: branch_false: ...to here
coreutils-9.9/lib/randread.c:203:17: call_function: calling 'get_nonce' from 'randread_new'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def92]
coreutils-9.9/lib/read-file.c:199:7: warning[-Wanalyzer-file-leak]: leak of FILE 'fopen(filename, mode)'
coreutils-9.9/lib/read-file.c:190:1: enter_function: entry to 'read_file'
coreutils-9.9/lib/read-file.c:193:18: acquire_resource: opened here
coreutils-9.9/lib/read-file.c:196:6: branch_false: following 'false' branch...
coreutils-9.9/lib/read-file.c:199:7: branch_false: ...to here
coreutils-9.9/lib/read-file.c:202:9: call_function: calling 'fread_file' from 'read_file'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def93]
coreutils-9.9/lib/read-file.c:199:7: warning[-Wanalyzer-malloc-leak]: leak of 'fopen(filename, mode)'
coreutils-9.9/lib/read-file.c:190:1: enter_function: entry to 'read_file'
coreutils-9.9/lib/read-file.c:193:18: acquire_memory: allocated here
coreutils-9.9/lib/read-file.c:196:6: branch_false: following 'false' branch...
coreutils-9.9/lib/read-file.c:199:7: branch_false: ...to here
coreutils-9.9/lib/read-file.c:202:9: call_function: calling 'fread_file' from 'read_file'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def94]
coreutils-9.9/lib/readtokens.c:110:13: warning[-Wanalyzer-malloc-leak]: leak of 'lengths'
coreutils-9.9/lib/readtokens.c:139:1: enter_function: entry to 'readtokens'
coreutils-9.9/lib/readtokens.c:165:29: call_function: calling 'readtoken' from 'readtokens'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def95]
coreutils-9.9/lib/readtokens.c:110:13: warning[-Wanalyzer-malloc-leak]: leak of 'tokens'
coreutils-9.9/lib/readtokens.c:139:1: enter_function: entry to 'readtokens'
coreutils-9.9/lib/readtokens.c:165:29: call_function: calling 'readtoken' from 'readtokens'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def96]
coreutils-9.9/lib/readtokens.c:158:13: warning[-Wanalyzer-malloc-leak]: leak of 'xnmalloc(projected_n_tokens, 8)'
coreutils-9.9/lib/readtokens.c:158:13: throw: if 'xnmalloc' throws an exception...
coreutils-9.9/lib/readtokens.c:158:13: danger: 'xnmalloc(projected_n_tokens, 8)' leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def97]
coreutils-9.9/lib/readutmp.c:251:3: warning[-Wanalyzer-null-dereference]: dereference of NULL 'p'
coreutils-9.9/lib/readutmp.c:977:1: enter_function: entry to 'read_utmp'
coreutils-9.9/lib/readutmp.c:981:6: branch_true: following 'true' branch (when the strings are equal)...
coreutils-9.9/lib/readutmp.c:983:12: branch_true: ...to here
coreutils-9.9/lib/readutmp.c:983:12: call_function: calling 'read_utmp_from_systemd' from 'read_utmp'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def98]
coreutils-9.9/lib/readutmp.c:752:31: warning[-Wanalyzer-malloc-leak]: leak of 'opendir("/dev/pts")'
coreutils-9.9/lib/readutmp.c:977:1: enter_function: entry to 'read_utmp'
coreutils-9.9/lib/readutmp.c:981:6: branch_true: following 'true' branch (when the strings are equal)...
coreutils-9.9/lib/readutmp.c:983:12: branch_true: ...to here
coreutils-9.9/lib/readutmp.c:983:12: call_function: calling 'read_utmp_from_systemd' from 'read_utmp'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def99]
coreutils-9.9/lib/sha1-stream.c:59:3: warning[-Wanalyzer-malloc-leak]: leak of 'buffer'
coreutils-9.9/lib/sha1-stream.c:54:18: acquire_memory: allocated here
coreutils-9.9/lib/sha1-stream.c:55:6: branch_false: following 'false' branch (when 'buffer' is non-NULL)...
coreutils-9.9/lib/sha1-stream.c:59:3: branch_false: ...to here
coreutils-9.9/lib/sha1-stream.c:59:3: throw: if 'sha1_init_ctx' throws an exception...
coreutils-9.9/lib/sha1-stream.c:59:3: danger: 'buffer' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def100]
coreutils-9.9/lib/sha256-stream.c:61:3: warning[-Wanalyzer-malloc-leak]: leak of 'buffer'
coreutils-9.9/lib/sha256-stream.c:131:1: enter_function: entry to 'sha224_stream'
coreutils-9.9/lib/sha256-stream.c:133:10: call_function: calling 'shaxxx_stream' from 'sha224_stream'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def101]
coreutils-9.9/lib/sha3-stream.c:57:9: warning[-Wanalyzer-malloc-leak]: leak of 'buffer'
coreutils-9.9/lib/sha3-stream.c:166:1: enter_function: entry to 'sha3_512_stream'
coreutils-9.9/lib/sha3-stream.c:168:10: call_function: calling 'sha3_xxx_stream' from 'sha3_512_stream'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def102]
coreutils-9.9/lib/sha512-stream.c:61:3: warning[-Wanalyzer-malloc-leak]: leak of 'buffer'
coreutils-9.9/lib/sha512-stream.c:131:1: enter_function: entry to 'sha384_stream'
coreutils-9.9/lib/sha512-stream.c:133:10: call_function: calling 'shaxxx_stream' from 'sha384_stream'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def103]
coreutils-9.9/lib/sm3-stream.c:56:3: warning[-Wanalyzer-malloc-leak]: leak of 'buffer'
coreutils-9.9/lib/sm3-stream.c:51:18: acquire_memory: allocated here
coreutils-9.9/lib/sm3-stream.c:52:6: branch_false: following 'false' branch (when 'buffer' is non-NULL)...
coreutils-9.9/lib/sm3-stream.c:56:3: branch_false: ...to here
coreutils-9.9/lib/sm3-stream.c:56:3: throw: if 'sm3_init_ctx' throws an exception...
coreutils-9.9/lib/sm3-stream.c:56:3: danger: 'buffer' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def104]
coreutils-9.9/lib/time_rz.c:100:22: warning[-Wanalyzer-malloc-leak]: leak of 'tzalloc(getenv("TZ"))'
coreutils-9.9/separate/lib/time.h:1133:1: enter_function: entry to 'mktime_z'
coreutils-9.9/lib/time_rz.c:292:6: branch_false: following 'false' branch (when 'tz' is non-NULL)...
coreutils-9.9/lib/time_rz.c:296:27: branch_false: ...to here
coreutils-9.9/lib/time_rz.c:296:27: call_function: calling 'set_tz' from 'mktime_z'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def105]
coreutils-9.9/lib/time_rz.c:218:10: warning[-Wanalyzer-malloc-leak]: leak of 'set_tz(tz)'
coreutils-9.9/separate/lib/time.h:1133:1: enter_function: entry to 'mktime_z'
coreutils-9.9/lib/time_rz.c:292:6: branch_false: following 'false' branch (when 'tz' is non-NULL)...
coreutils-9.9/lib/time_rz.c:296:27: branch_false: ...to here
coreutils-9.9/lib/time_rz.c:296:27: call_function: calling 'set_tz' from 'mktime_z'
coreutils-9.9/lib/time_rz.c:296:27: return_function: returning to 'mktime_z' from 'set_tz'
coreutils-9.9/lib/time_rz.c:297:10: branch_true: following 'true' branch...
coreutils-9.9/lib/time_rz.c:300:25: branch_true: ...to here
coreutils-9.9/lib/time_rz.c:311:15: call_function: calling 'revert_tz' from 'mktime_z'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def106]
coreutils-9.9/lib/userspec.c:156:33: warning[-Wanalyzer-malloc-leak]: leak of 'u'
coreutils-9.9/lib/userspec.c:258:1: enter_function: entry to 'parse_user_spec_warn'
coreutils-9.9/lib/userspec.c:263:5: call_function: calling 'parse_with_separator' from 'parse_user_spec_warn'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def107]
coreutils-9.9/lib/userspec.c:170:19: warning[-Wanalyzer-malloc-leak]: leak of 'u'
coreutils-9.9/lib/userspec.c:258:1: enter_function: entry to 'parse_user_spec_warn'
coreutils-9.9/lib/userspec.c:263:5: call_function: calling 'parse_with_separator' from 'parse_user_spec_warn'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def108]
coreutils-9.9/lib/userspec.c:191:7: warning[-Wanalyzer-malloc-leak]: leak of 'u'
coreutils-9.9/lib/userspec.c:258:1: enter_function: entry to 'parse_user_spec_warn'
coreutils-9.9/lib/userspec.c:263:5: call_function: calling 'parse_with_separator' from 'parse_user_spec_warn'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def109]
coreutils-9.9/lib/xalloc.h:149:10: warning[-Wanalyzer-malloc-leak]: leak of 'v'
coreutils-9.9/lib/randperm.c:149:1: enter_function: entry to 'randperm_new'
coreutils-9.9/lib/randperm.c:213:21: branch_true: following 'true' branch (when 'i < h')...
coreutils-9.9/lib/randperm.c:215:47: branch_true: ...to here
coreutils-9.9/lib/randperm.c:216:16: branch_false: following 'false' branch (when 'sparse == 0')...
coreutils-9.9/lib/randperm.c:219:15: call_function: inlined call to 'swap' from 'randperm_new'
coreutils-9.9/lib/randperm.c:216:16: branch_false: following 'false' branch (when 'sparse == 0')...
coreutils-9.9/lib/randperm.c:219:15: call_function: inlined call to 'swap' from 'randperm_new'
coreutils-9.9/lib/randperm.c:222:12: branch_false: following 'false' branch (when 'sparse == 0')...
coreutils-9.9/lib/randperm.c:225:15: call_function: inlined call to 'xnrealloc' from 'randperm_new'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def110]
coreutils-9.9/lib/xasprintf.c:30:12: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
coreutils-9.9/lib/xasprintf.c:29:3: acquire_resource: 'va_start' called here
coreutils-9.9/lib/xasprintf.c:30:12: throw: if 'xvasprintf' throws an exception...
coreutils-9.9/lib/xasprintf.c:30:12: danger: missing call to 'va_end' to match 'va_start' at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-457): [#def111]
coreutils-9.9/lib/xdectoint.c:75: warning[uninitvar]: Uninitialized variable: overflow_errno
Error: CPPCHECK_WARNING (CWE-457): [#def112]
coreutils-9.9/lib/xdectoint.c:83: warning[uninitvar]: Uninitialized variable: r
Error: GCC_ANALYZER_WARNING (CWE-404): [#def113]
coreutils-9.9/lib/xprintf.c:46:20: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
coreutils-9.9/lib/xprintf.c:32:1: enter_function: entry to 'xprintf'
coreutils-9.9/lib/xprintf.c:36:3: acquire_resource: 'va_start' called here
coreutils-9.9/lib/xprintf.c:37:12: call_function: calling 'xvprintf' from 'xprintf'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def114]
coreutils-9.9/lib/xprintf.c:68:20: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
coreutils-9.9/lib/xprintf.c:54:1: enter_function: entry to 'xfprintf'
coreutils-9.9/lib/xprintf.c:58:3: acquire_resource: 'va_start' called here
coreutils-9.9/lib/xprintf.c:59:12: call_function: calling 'xvfprintf' from 'xfprintf'
Error: GCC_ANALYZER_WARNING (CWE-457): [#def115]
coreutils-9.9/separate/parse-datetime.c:1829:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*<unknown>'
coreutils-9.9/separate/parse-datetime.y:2389:1: enter_function: entry to 'parse_datetime'
coreutils-9.9/separate/parse-datetime.y:2394:6: branch_false: following 'false' branch...
coreutils-9.9/separate/parse-datetime.y:2396:13: branch_false: ...to here
coreutils-9.9/separate/parse-datetime.y:2396:13: call_function: calling 'parse_datetime_body' from 'parse_datetime'
Error: GCC_ANALYZER_WARNING (CWE-457): [#def116]
coreutils-9.9/single/parse-datetime.c:1829:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*<unknown>'
coreutils-9.9/single/parse-datetime.y:2389:1: enter_function: entry to 'parse_datetime'
coreutils-9.9/single/parse-datetime.y:2394:6: branch_false: following 'false' branch...
coreutils-9.9/single/parse-datetime.y:2396:13: branch_false: ...to here
coreutils-9.9/single/parse-datetime.y:2396:13: call_function: calling 'parse_datetime_body' from 'parse_datetime'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def117]
coreutils-9.9/src/basename.c:106:3: warning[-Wanalyzer-malloc-leak]: leak of 'base_name(string)'
coreutils-9.9/src/basename.c:106:3: throw: if 'strip_trailing_slashes' throws an exception...
coreutils-9.9/src/basename.c:106:3: danger: 'base_name(string)' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def118]
coreutils-9.9/src/basenc.c:1465:9: warning[-Wanalyzer-malloc-leak]: leak of 'outbuf'
coreutils-9.9/src/basenc.c:1472:1: enter_function: entry to 'do_encode'
coreutils-9.9/src/basenc.c:1501:10: branch_false: following 'false' branch (when 'sum <= 0')...
coreutils-9.9/src/basenc.c:1523:11: call_function: inlined call to 'feof_unlocked' from 'do_encode'
coreutils-9.9/src/basenc.c:1539:6: branch_false: following 'false' branch...
coreutils-9.9/src/basenc.c:1542:3: branch_false: ...to here
coreutils-9.9/src/basenc.c:1542:3: call_function: calling 'finish_and_exit' from 'do_encode'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def119]
coreutils-9.9/src/basenc.c:1479:12: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(30720)'
coreutils-9.9/src/basenc.c:1614:1: enter_function: entry to 'main'
coreutils-9.9/src/basenc.c:1789:6: branch_false: following 'false' branch...
coreutils-9.9/src/basenc.c:1795:6: branch_false: ...to here
coreutils-9.9/src/basenc.c:1814:6: branch_false: following 'false' branch (when 'decode == 0')...
coreutils-9.9/src/basenc.c:1817:5: branch_false: ...to here
coreutils-9.9/src/basenc.c:1817:5: call_function: calling 'do_encode' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def120]
coreutils-9.9/src/basenc.c:1479:21: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(30720)'
coreutils-9.9/src/basenc.c:1479:21: throw: if the called function throws an exception...
coreutils-9.9/src/basenc.c:1479:21: danger: 'xmalloc(30720)' leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def121]
coreutils-9.9/src/basenc.c:1486:5: warning[-Wanalyzer-malloc-leak]: leak of 'outbuf'
coreutils-9.9/src/basenc.c:1485:6: branch_true: following 'true' branch...
coreutils-9.9/src/basenc.c:1486:5: branch_true: ...to here
coreutils-9.9/src/basenc.c:1486:5: throw: if the called function throws an exception...
coreutils-9.9/src/basenc.c:1486:5: danger: 'outbuf' leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def122]
coreutils-9.9/src/basenc.c:1496:15: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(40960)'
coreutils-9.9/src/basenc.c:1614:1: enter_function: entry to 'main'
coreutils-9.9/src/basenc.c:1789:6: branch_false: following 'false' branch...
coreutils-9.9/src/basenc.c:1795:6: branch_false: ...to here
coreutils-9.9/src/basenc.c:1814:6: branch_false: following 'false' branch (when 'decode == 0')...
coreutils-9.9/src/basenc.c:1817:5: branch_false: ...to here
coreutils-9.9/src/basenc.c:1817:5: call_function: calling 'do_encode' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def123]
coreutils-9.9/src/basenc.c:1496:15: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(49152)'
coreutils-9.9/src/basenc.c:1614:1: enter_function: entry to 'main'
coreutils-9.9/src/basenc.c:1789:6: branch_false: following 'false' branch...
coreutils-9.9/src/basenc.c:1795:6: branch_false: ...to here
coreutils-9.9/src/basenc.c:1814:6: branch_false: following 'false' branch (when 'decode == 0')...
coreutils-9.9/src/basenc.c:1817:5: branch_false: ...to here
coreutils-9.9/src/basenc.c:1817:5: call_function: calling 'do_encode' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def124]
coreutils-9.9/src/basenc.c:1507:15: warning[-Wanalyzer-malloc-leak]: leak of 'outbuf'
coreutils-9.9/src/basenc.c:1504:14: branch_true: following 'true' branch...
coreutils-9.9/src/basenc.c:1506:21: branch_true: ...to here
coreutils-9.9/src/basenc.c:1507:15: throw: if the called function throws an exception...
coreutils-9.9/src/basenc.c:1507:15: danger: 'outbuf' leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def125]
coreutils-9.9/src/basenc.c:1516:15: warning[-Wanalyzer-malloc-leak]: leak of 'outbuf'
coreutils-9.9/src/basenc.c:1504:14: branch_false: following 'false' branch...
coreutils-9.9/src/basenc.c:1516:15: branch_false: ...to here
coreutils-9.9/src/basenc.c:1516:15: throw: if the called function throws an exception...
coreutils-9.9/src/basenc.c:1516:15: danger: 'outbuf' leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def126]
coreutils-9.9/src/basenc.c:1528:22: warning[-Wanalyzer-malloc-leak]: leak of 'outbuf'
coreutils-9.9/src/basenc.c:1472:1: enter_function: entry to 'do_encode'
coreutils-9.9/src/basenc.c:1501:10: branch_false: following 'false' branch (when 'sum <= 0')...
coreutils-9.9/src/basenc.c:1523:11: call_function: inlined call to 'feof_unlocked' from 'do_encode'
coreutils-9.9/src/basenc.c:1526:6: branch_true: following 'true' branch...
coreutils-9.9/src/basenc.c:1528:22: throw: if the called function throws an exception...
coreutils-9.9/src/basenc.c:1528:22: danger: 'outbuf' leaks here; was allocated at [(2)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def127]
coreutils-9.9/src/basenc.c:1529:7: warning[-Wanalyzer-malloc-leak]: leak of 'outbuf'
coreutils-9.9/src/basenc.c:1472:1: enter_function: entry to 'do_encode'
coreutils-9.9/src/basenc.c:1501:10: branch_false: following 'false' branch (when 'sum <= 0')...
coreutils-9.9/src/basenc.c:1523:11: call_function: inlined call to 'feof_unlocked' from 'do_encode'
coreutils-9.9/src/basenc.c:1526:6: branch_true: following 'true' branch...
coreutils-9.9/src/basenc.c:1529:7: throw: if the called function throws an exception...
coreutils-9.9/src/basenc.c:1529:7: danger: 'outbuf' leaks here; was allocated at [(2)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def128]
coreutils-9.9/src/basenc.c:1553:12: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc((long unsigned int)base_length(4200))'
coreutils-9.9/src/basenc.c:1553:12: throw: if 'xmalloc' throws an exception...
coreutils-9.9/src/basenc.c:1553:12: danger: 'xmalloc((long unsigned int)base_length(4200))' leaks here; was allocated at [(1)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def129]
coreutils-9.9/src/basenc.c:1553:12: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(4096)'
coreutils-9.9/src/basenc.c:1553:12: throw: if 'xmalloc' throws an exception...
coreutils-9.9/src/basenc.c:1553:12: danger: 'xmalloc(4096)' leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def130]
coreutils-9.9/src/basenc.c:1553:12: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(8192)'
coreutils-9.9/src/basenc.c:1553:12: throw: if 'xmalloc' throws an exception...
coreutils-9.9/src/basenc.c:1553:12: danger: 'xmalloc(8192)' leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def131]
coreutils-9.9/src/basenc.c:1558:3: warning[-Wanalyzer-malloc-leak]: leak of 'outbuf'
coreutils-9.9/src/basenc.c:1558:3: throw: if the called function throws an exception...
coreutils-9.9/src/basenc.c:1558:3: danger: 'outbuf' leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def132]
coreutils-9.9/src/basenc.c:1558:3: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc((long unsigned int)base_length(4200))'
coreutils-9.9/src/basenc.c:1558:3: throw: if the called function throws an exception...
coreutils-9.9/src/basenc.c:1558:3: danger: 'xmalloc((long unsigned int)base_length(4200))' leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def133]
coreutils-9.9/src/basenc.c:1567:21: warning[-Wanalyzer-malloc-leak]: leak of 'outbuf'
coreutils-9.9/src/basenc.c:1567:21: throw: if the called function throws an exception...
coreutils-9.9/src/basenc.c:1567:21: danger: 'outbuf' leaks here; was allocated at [(1)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def134]
coreutils-9.9/src/basenc.c:1574:23: warning[-Wanalyzer-malloc-leak]: leak of 'outbuf'
coreutils-9.9/src/basenc.c:1570:14: branch_true: following 'true' branch (when 'ignore_garbage != 0')...
coreutils-9.9/src/basenc.c:1570:14: branch_true: ...to here
coreutils-9.9/src/basenc.c:1574:23: throw: if the called function throws an exception...
coreutils-9.9/src/basenc.c:1574:23: danger: 'outbuf' leaks here; was allocated at [(1)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def135]
coreutils-9.9/src/basenc.c:1575:27: warning[-Wanalyzer-malloc-leak]: leak of 'outbuf'
coreutils-9.9/src/basenc.c:1570:14: branch_true: following 'true' branch (when 'ignore_garbage != 0')...
coreutils-9.9/src/basenc.c:1570:14: branch_true: ...to here
coreutils-9.9/src/basenc.c:1574:22: branch_false: following 'false' branch...
coreutils-9.9/src/basenc.c:1575:27: branch_false: ...to here
coreutils-9.9/src/basenc.c:1575:27: throw: if the called function throws an exception...
coreutils-9.9/src/basenc.c:1575:27: danger: 'outbuf' leaks here; was allocated at [(1)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def136]
coreutils-9.9/src/basenc.c:1587:20: warning[-Wanalyzer-malloc-leak]: leak of 'outbuf'
coreutils-9.9/src/basenc.c:1570:14: branch_true: following 'true' branch (when 'ignore_garbage != 0')...
coreutils-9.9/src/basenc.c:1570:14: branch_true: ...to here
coreutils-9.9/src/basenc.c:1572:33: branch_false: following 'false' branch...
coreutils-9.9/src/basenc.c:1582:11: branch_false: ...to here
coreutils-9.9/src/basenc.c:1584:14: branch_false: following 'false' branch...
coreutils-9.9/src/basenc.c:1587:20: branch_false: ...to here
coreutils-9.9/src/basenc.c:1587:20: throw: if the called function throws an exception...
coreutils-9.9/src/basenc.c:1587:20: danger: 'outbuf' leaks here; was allocated at [(1)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def137]
coreutils-9.9/src/basenc.c:1593:18: warning[-Wanalyzer-malloc-leak]: leak of 'outbuf'
coreutils-9.9/src/basenc.c:1546:1: enter_function: entry to 'do_decode'
coreutils-9.9/src/basenc.c:1570:14: branch_true: following 'true' branch (when 'ignore_garbage != 0')...
coreutils-9.9/src/basenc.c:1570:14: branch_true: ...to here
coreutils-9.9/src/basenc.c:1584:14: branch_false: following 'false' branch...
coreutils-9.9/src/basenc.c:1587:14: branch_false: ...to here
coreutils-9.9/src/basenc.c:1587:14: branch_true: following 'true' branch (when 'sum <= 4095')...
coreutils-9.9/src/basenc.c:1587:52: call_function: inlined call to 'feof_unlocked' from 'do_decode'
coreutils-9.9/src/basenc.c:1589:14: branch_true: following 'true' branch (when 'sum != 0')...
coreutils-9.9/src/basenc.c:1591:17: branch_true: ...to here
coreutils-9.9/src/basenc.c:1593:18: throw: if 'base64_decode_ctx' throws an exception...
coreutils-9.9/src/basenc.c:1593:18: danger: 'outbuf' leaks here; was allocated at [(2)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def138]
coreutils-9.9/src/basenc.c:1595:18: warning[-Wanalyzer-malloc-leak]: leak of 'outbuf'
coreutils-9.9/src/basenc.c:1546:1: enter_function: entry to 'do_decode'
coreutils-9.9/src/basenc.c:1570:14: branch_true: following 'true' branch (when 'ignore_garbage != 0')...
coreutils-9.9/src/basenc.c:1570:14: branch_true: ...to here
coreutils-9.9/src/basenc.c:1572:33: branch_false: following 'false' branch...
coreutils-9.9/src/basenc.c:1582:11: branch_false: ...to here
coreutils-9.9/src/basenc.c:1584:14: branch_false: following 'false' branch...
coreutils-9.9/src/basenc.c:1587:20: branch_false: ...to here
coreutils-9.9/src/basenc.c:1589:14: branch_false: following 'false' branch (when 'sum == 0')...
coreutils-9.9/src/basenc.c:1589:21: call_function: inlined call to 'feof_unlocked' from 'do_decode'
coreutils-9.9/src/basenc.c:1589:14: branch_true: following 'true' branch...
coreutils-9.9/src/basenc.c:1591:17: branch_true: ...to here
coreutils-9.9/src/basenc.c:1595:18: throw: if the called function throws an exception...
coreutils-9.9/src/basenc.c:1595:18: danger: 'outbuf' leaks here; was allocated at [(2)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def139]
coreutils-9.9/src/basenc.c:1812:3: warning[-Wanalyzer-file-leak]: leak of FILE 'input_fh'
coreutils-9.9/src/basenc.c:1789:6: branch_false: following 'false' branch...
coreutils-9.9/src/basenc.c:1795:6: branch_false: ...to here
coreutils-9.9/src/basenc.c:1800:6: branch_false: following 'false' branch (when the strings are non-equal)...
coreutils-9.9/src/basenc.c:1807:18: branch_false: ...to here
coreutils-9.9/src/basenc.c:1807:18: acquire_resource: opened here
coreutils-9.9/src/basenc.c:1808:10: branch_false: following 'false' branch...
coreutils-9.9/src/basenc.c:1812:3: branch_false: ...to here
coreutils-9.9/src/basenc.c:1812:3: throw: if 'fadvise' throws an exception...
coreutils-9.9/src/basenc.c:1812:3: danger: 'input_fh' leaks here; was opened at [(5)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def140]
coreutils-9.9/src/basenc.c:1812:3: warning[-Wanalyzer-malloc-leak]: leak of 'input_fh'
coreutils-9.9/src/basenc.c:1789:6: branch_false: following 'false' branch...
coreutils-9.9/src/basenc.c:1795:6: branch_false: ...to here
coreutils-9.9/src/basenc.c:1800:6: branch_false: following 'false' branch (when the strings are non-equal)...
coreutils-9.9/src/basenc.c:1807:18: branch_false: ...to here
coreutils-9.9/src/basenc.c:1807:18: acquire_memory: allocated here
coreutils-9.9/src/basenc.c:1808:10: branch_false: following 'false' branch...
coreutils-9.9/src/basenc.c:1812:3: branch_false: ...to here
coreutils-9.9/src/basenc.c:1812:3: throw: if 'fadvise' throws an exception...
coreutils-9.9/src/basenc.c:1812:3: danger: 'input_fh' leaks here; was allocated at [(5)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def141]
coreutils-9.9/src/blake2/b2sum.c:88:3: warning[-Wanalyzer-malloc-leak]: leak of 'buffer'
coreutils-9.9/src/blake2/b2sum.c:84:34: acquire_memory: allocated here
coreutils-9.9/src/blake2/b2sum.c:86:5: branch_false: following 'false' branch (when 'buffer' is non-NULL)...
coreutils-9.9/src/blake2/b2sum.c:88:3: branch_false: ...to here
coreutils-9.9/src/blake2/b2sum.c:88:3: throw: if 'blake2b_init' throws an exception...
coreutils-9.9/src/blake2/b2sum.c:88:3: danger: 'buffer' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def142]
coreutils-9.9/src/chmod.c:545:13: warning[-Wanalyzer-null-dereference]: dereference of NULL 'mode'
coreutils-9.9/src/chmod.c:482:10: branch_true: following 'true' branch (when 'c != -1')...
coreutils-9.9/src/chmod.c:488:7: branch_true: ...to here
coreutils-9.9/src/chmod.c:542:16: branch_false: following 'false' branch...
coreutils-9.9/src/chmod.c:545:17: branch_false: ...to here
coreutils-9.9/src/chmod.c:545:13: danger: dereference of NULL 'mode + (sizetype)mode_len'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def143]
coreutils-9.9/src/chown-core.c:94:10: warning[-Wanalyzer-malloc-leak]: leak of 'new_usr'
coreutils-9.9/src/chown-core.c:284:1: enter_function: entry to 'change_file_owner'
coreutils-9.9/src/chown-core.c:415:6: branch_false: following 'false' branch (when 'do_chown == 0')...
coreutils-9.9/src/chown-core.c:484:7: branch_false: ...to here
coreutils-9.9/src/chown-core.c:484:6: branch_true: following 'true' branch...
coreutils-9.9/src/chown-core.c:487:11: branch_true: ...to here
coreutils-9.9/src/chown-core.c:487:9: branch_false: following 'false' branch...
coreutils-9.9/src/chown-core.c:491:11: branch_false: ...to here
coreutils-9.9/src/chown-core.c:491:11: branch_true: following 'true' branch...
coreutils-9.9/src/chown-core.c:494:13: branch_true: ...to here
coreutils-9.9/src/chown-core.c:494:13: branch_false: following 'false' branch (when 'ok == 0')...
coreutils-9.9/src/chown-core.c:498:27: branch_false: ...to here
coreutils-9.9/src/chown-core.c:498:27: branch_false: following 'false' branch (when 'file_stats' is NULL)...
coreutils-9.9/src/chown-core.c:502:27: branch_false: ...to here
coreutils-9.9/src/chown-core.c:502:27: branch_false: following 'false' branch...
coreutils-9.9/src/chown-core.c:503:48: branch_false: ...to here
coreutils-9.9/src/chown-core.c:503:48: branch_true: following 'true' branch (when 'uid != 4294967295')...
coreutils-9.9/src/chown-core.c:504:50: branch_true: ...to here
coreutils-9.9/src/chown-core.c:504:50: call_function: calling 'uid_to_str' from 'change_file_owner'
coreutils-9.9/src/chown-core.c:504:50: return_function: returning to 'change_file_owner' from 'uid_to_str'
coreutils-9.9/src/chown-core.c:505:27: branch_false: following 'false' branch...
coreutils-9.9/src/chown-core.c:506:49: branch_false: ...to here
coreutils-9.9/src/chown-core.c:506:49: branch_true: following 'true' branch (when 'gid != 4294967295')...
coreutils-9.9/src/chown-core.c:507:50: branch_true: ...to here
coreutils-9.9/src/chown-core.c:507:50: call_function: calling 'gid_to_str' from 'change_file_owner'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def144]
coreutils-9.9/src/chown-core.c:94:19: warning[-Wanalyzer-malloc-leak]: leak of 'new_usr'
coreutils-9.9/src/chown-core.c:284:1: enter_function: entry to 'change_file_owner'
coreutils-9.9/src/chown-core.c:415:6: branch_false: following 'false' branch (when 'do_chown == 0')...
coreutils-9.9/src/chown-core.c:484:7: branch_false: ...to here
coreutils-9.9/src/chown-core.c:484:6: branch_true: following 'true' branch...
coreutils-9.9/src/chown-core.c:487:11: branch_true: ...to here
coreutils-9.9/src/chown-core.c:487:9: branch_false: following 'false' branch...
coreutils-9.9/src/chown-core.c:491:11: branch_false: ...to here
coreutils-9.9/src/chown-core.c:491:11: branch_true: following 'true' branch...
coreutils-9.9/src/chown-core.c:494:13: branch_true: ...to here
coreutils-9.9/src/chown-core.c:494:13: branch_false: following 'false' branch (when 'ok == 0')...
coreutils-9.9/src/chown-core.c:498:27: branch_false: ...to here
coreutils-9.9/src/chown-core.c:498:27: branch_false: following 'false' branch (when 'file_stats' is NULL)...
coreutils-9.9/src/chown-core.c:502:27: branch_false: ...to here
coreutils-9.9/src/chown-core.c:502:27: branch_false: following 'false' branch...
coreutils-9.9/src/chown-core.c:503:48: branch_false: ...to here
coreutils-9.9/src/chown-core.c:503:48: branch_true: following 'true' branch (when 'uid != 4294967295')...
coreutils-9.9/src/chown-core.c:504:50: branch_true: ...to here
coreutils-9.9/src/chown-core.c:504:50: call_function: calling 'uid_to_str' from 'change_file_owner'
coreutils-9.9/src/chown-core.c:504:50: return_function: returning to 'change_file_owner' from 'uid_to_str'
coreutils-9.9/src/chown-core.c:505:27: branch_false: following 'false' branch...
coreutils-9.9/src/chown-core.c:506:49: branch_false: ...to here
coreutils-9.9/src/chown-core.c:506:49: branch_true: following 'true' branch (when 'gid != 4294967295')...
coreutils-9.9/src/chown-core.c:507:50: branch_true: ...to here
coreutils-9.9/src/chown-core.c:507:50: call_function: calling 'gid_to_str' from 'change_file_owner'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def145]
coreutils-9.9/src/chown-core.c:117:25: warning[-Wanalyzer-malloc-leak]: leak of 'uid_to_name(*file_stats.st_uid)'
coreutils-9.9/src/chown-core.c:284:1: enter_function: entry to 'change_file_owner'
coreutils-9.9/src/chown-core.c:484:6: branch_true: following 'true' branch...
coreutils-9.9/src/chown-core.c:487:11: branch_true: ...to here
coreutils-9.9/src/chown-core.c:491:11: branch_true: following 'true' branch...
coreutils-9.9/src/chown-core.c:494:13: branch_true: ...to here
coreutils-9.9/src/chown-core.c:498:27: branch_true: following 'true' branch (when 'file_stats' is non-NULL)...
coreutils-9.9/src/chown-core.c:499:43: branch_true: ...to here
coreutils-9.9/src/chown-core.c:499:30: call_function: calling 'uid_to_name' from 'change_file_owner'
coreutils-9.9/src/chown-core.c:499:30: return_function: returning to 'change_file_owner' from 'uid_to_name'
coreutils-9.9/src/chown-core.c:501:30: call_function: calling 'gid_to_name' from 'change_file_owner'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def146]
coreutils-9.9/src/chown.c:307:26: warning[-Wanalyzer-malloc-leak]: leak of 'chopt.user_name'
coreutils-9.9/src/chown.c:285:6: branch_false: following 'false' branch...
coreutils-9.9/src/chown.c:294:6: branch_false: ...to here
coreutils-9.9/src/chown.c:294:6: branch_true: following 'true' branch...
coreutils-9.9/src/chown.c:297:11: branch_true: ...to here
coreutils-9.9/src/chown.c:297:10: branch_false: following 'false' branch...
coreutils-9.9/src/chown.c:301:11: branch_false: ...to here
coreutils-9.9/src/chown.c:301:10: branch_true: following 'true' branch...
coreutils-9.9/src/chown.c:303:17: branch_true: ...to here
coreutils-9.9/src/chown.c:307:26: throw: if 'gid_to_name' throws an exception...
coreutils-9.9/src/chown.c:307:26: danger: 'chopt.user_name' leaks here; was allocated at [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def147]
coreutils-9.9/src/chown.c:348:8: warning[-Wanalyzer-malloc-leak]: leak of 'chopt.group_name'
coreutils-9.9/src/chown.c:285:6: branch_false: following 'false' branch...
coreutils-9.9/src/chown.c:294:6: branch_false: ...to here
coreutils-9.9/src/chown.c:294:6: branch_true: following 'true' branch...
coreutils-9.9/src/chown.c:297:11: branch_true: ...to here
coreutils-9.9/src/chown.c:297:10: branch_false: following 'false' branch...
coreutils-9.9/src/chown.c:301:11: branch_false: ...to here
coreutils-9.9/src/chown.c:348:8: throw: if 'chown_files' throws an exception...
coreutils-9.9/src/chown.c:348:8: danger: 'chopt.group_name' leaks here; was allocated at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def148]
coreutils-9.9/src/chown.c:348:8: warning[-Wanalyzer-malloc-leak]: leak of 'chopt.user_name'
coreutils-9.9/src/chown.c:285:6: branch_false: following 'false' branch...
coreutils-9.9/src/chown.c:294:6: branch_false: ...to here
coreutils-9.9/src/chown.c:294:6: branch_false: following 'false' branch...
coreutils-9.9/src/chown.c:311:22: branch_false: ...to here
coreutils-9.9/src/chown.c:332:10: branch_true: following 'true' branch...
coreutils-9.9/src/chown.c:348:8: throw: if 'chown_files' throws an exception...
coreutils-9.9/src/chown.c:348:8: danger: 'chopt.user_name' leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def149]
coreutils-9.9/src/chroot.c:110:11: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(groups)'
coreutils-9.9/src/chroot.c:105:36: branch_true: following 'true' branch (when 'tmp' is non-NULL)...
coreutils-9.9/src/chroot.c:110:11: branch_true: ...to here
coreutils-9.9/src/chroot.c:110:11: throw: if 'xstrtoumax' throws an exception...
coreutils-9.9/src/chroot.c:110:11: danger: 'xstrdup(groups)' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def150]
coreutils-9.9/src/chroot.c:111:14: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(groups)'
coreutils-9.9/src/chroot.c:105:36: branch_true: following 'true' branch (when 'tmp' is non-NULL)...
coreutils-9.9/src/chroot.c:110:11: branch_true: ...to here
coreutils-9.9/src/chroot.c:110:10: branch_true: following 'true' branch...
coreutils-9.9/src/chroot.c:111:14: branch_true: ...to here
coreutils-9.9/src/chroot.c:110:11: branch_true: following 'true' branch...
coreutils-9.9/src/chroot.c:110:11: branch_true: ...to here
coreutils-9.9/src/chroot.c:115:14: branch_true: following 'true' branch...
coreutils-9.9/src/chroot.c:118:19: branch_true: ...to here
coreutils-9.9/src/chroot.c:118:19: throw: if 'getgrnam' throws an exception...
coreutils-9.9/src/chroot.c:111:14: danger: 'xstrdup(groups)' leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def151]
coreutils-9.9/src/chroot.c:127:15: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(groups)'
coreutils-9.9/src/chroot.c:105:36: branch_true: following 'true' branch (when 'tmp' is non-NULL)...
coreutils-9.9/src/chroot.c:110:11: branch_true: ...to here
coreutils-9.9/src/chroot.c:127:15: throw: if 'getgrnam' throws an exception...
coreutils-9.9/src/chroot.c:127:15: danger: 'xstrdup(groups)' leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def152]
coreutils-9.9/src/chroot.c:129:21: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(groups)'
coreutils-9.9/src/chroot.c:105:36: branch_true: following 'true' branch (when 'tmp' is non-NULL)...
coreutils-9.9/src/chroot.c:110:11: branch_true: ...to here
coreutils-9.9/src/chroot.c:128:14: branch_true: following 'true' branch...
coreutils-9.9/src/chroot.c:129:21: branch_true: ...to here
coreutils-9.9/src/chroot.c:145:10: branch_true: following 'true' branch...
coreutils-9.9/src/chroot.c:146:16: branch_true: ...to here
coreutils-9.9/src/chroot.c:146:16: throw: if 'xpalloc' throws an exception...
coreutils-9.9/src/chroot.c:129:21: danger: 'xstrdup(groups)' leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def153]
coreutils-9.9/src/chroot.c:138:15: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(groups)'
coreutils-9.9/src/chroot.c:105:36: branch_true: following 'true' branch (when 'tmp' is non-NULL)...
coreutils-9.9/src/chroot.c:110:11: branch_true: ...to here
coreutils-9.9/src/chroot.c:128:14: branch_false: following 'false' branch...
coreutils-9.9/src/chroot.c:136:14: branch_false: ...to here
coreutils-9.9/src/chroot.c:136:14: branch_true: following 'true' branch (when 'show_errors != 0')...
coreutils-9.9/src/chroot.c:138:15: branch_true: ...to here
coreutils-9.9/src/chroot.c:138:15: throw: if 'quote' throws an exception...
coreutils-9.9/src/chroot.c:138:15: danger: 'xstrdup(groups)' leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def154]
coreutils-9.9/src/chroot.c:147:7: warning[-Wanalyzer-null-dereference]: dereference of NULL 'gids'
coreutils-9.9/src/chroot.c:105:36: branch_true: following 'true' branch (when 'tmp' is non-NULL)...
coreutils-9.9/src/chroot.c:110:11: branch_true: ...to here
coreutils-9.9/src/chroot.c:128:14: branch_true: following 'true' branch...
coreutils-9.9/src/chroot.c:129:21: branch_true: ...to here
coreutils-9.9/src/chroot.c:145:10: branch_false: following 'false' branch...
coreutils-9.9/src/chroot.c:147:7: branch_false: ...to here
coreutils-9.9/src/chroot.c:147:7: danger: dereference of NULL 'gids + (long unsigned int)n_gids * 4'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def155]
coreutils-9.9/src/chroot.c:150:7: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(groups)'
coreutils-9.9/src/chroot.c:217:1: enter_function: entry to 'main'
coreutils-9.9/src/chroot.c:242:10: branch_true: following 'true' branch (when 'c != -1')...
coreutils-9.9/src/chroot.c:244:7: branch_true: ...to here
coreutils-9.9/src/chroot.c:275:6: branch_false: following 'false' branch...
coreutils-9.9/src/chroot.c:281:29: branch_false: ...to here
coreutils-9.9/src/chroot.c:284:6: branch_false: following 'false' branch...
coreutils-9.9/src/chroot.c:291:6: branch_false: ...to here
coreutils-9.9/src/chroot.c:328:6: branch_false: following 'false' branch...
coreutils-9.9/src/chroot.c:332:6: branch_false: ...to here
coreutils-9.9/src/chroot.c:332:7: branch_false: following 'false' branch...
coreutils-9.9/src/chroot.c:335:15: branch_false: ...to here
coreutils-9.9/src/chroot.c:335:6: branch_true: following 'true' branch...
coreutils-9.9/src/chroot.c:338:21: branch_true: ...to here
coreutils-9.9/src/chroot.c:353:6: branch_false: following 'false' branch (when 'userspec' is NULL)...
coreutils-9.9/src/chroot.c:364:7: branch_false: ...to here
coreutils-9.9/src/chroot.c:364:6: branch_false: following 'false' branch...
coreutils-9.9/src/chroot.c:381:16: branch_false: ...to here
coreutils-9.9/src/chroot.c:383:6: branch_true: following 'true' branch...
coreutils-9.9/src/chroot.c:385:11: call_function: calling 'parse_additional_groups' from 'main'
Error: COMPILER_WARNING: [#def156]
coreutils-9.9/src/cksum_avx2.c:46:3: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
Error: COMPILER_WARNING: [#def157]
coreutils-9.9/src/cksum_avx2.c:46:26: note[note]: called from here
Error: COMPILER_WARNING: [#def158]
coreutils-9.9/src/cksum_avx2.c:48:24: note[note]: called from here
Error: COMPILER_WARNING: [#def159]
coreutils-9.9/src/cksum_avx2.c:52:22: note[note]: called from here
Error: COMPILER_WARNING: [#def160]
coreutils-9.9/src/cksum_avx2.c:82:18: note[note]: called from here
Error: COMPILER_WARNING: [#def161]
coreutils-9.9/src/cksum_avx2.c:83:18: note[note]: called from here
Error: COMPILER_WARNING: [#def162]
coreutils-9.9/src/cksum_avx2.c:86:21: note[note]: called from here
Error: COMPILER_WARNING: [#def163]
coreutils-9.9/src/cksum_avx2.c:88:18: note[note]: called from here
Error: COMPILER_WARNING: [#def164]
coreutils-9.9/src/cksum_avx2.c:89:19: note[note]: called from here
Error: COMPILER_WARNING: [#def165]
coreutils-9.9/src/cksum_avx2.c:90:19: note[note]: called from here
Error: COMPILER_WARNING: [#def166]
coreutils-9.9/src/cksum_avx2.c:91:19: note[note]: called from here
Error: COMPILER_WARNING: [#def167]
coreutils-9.9/src/cksum_avx2.c:92:19: note[note]: called from here
Error: COMPILER_WARNING: [#def168]
coreutils-9.9/src/cksum_avx2.c:93:19: note[note]: called from here
Error: COMPILER_WARNING: [#def169]
coreutils-9.9/src/cksum_avx2.c:94:19: note[note]: called from here
Error: COMPILER_WARNING: [#def170]
coreutils-9.9/src/cksum_avx2.c:101:23: note[note]: called from here
Error: COMPILER_WARNING: [#def171]
coreutils-9.9/src/cksum_avx2.c:103:22: note[note]: called from here
Error: COMPILER_WARNING: [#def172]
coreutils-9.9/src/cksum_avx2.c:105:23: note[note]: called from here
Error: COMPILER_WARNING: [#def173]
coreutils-9.9/src/cksum_avx2.c:107:23: note[note]: called from here
Error: COMPILER_WARNING: [#def174]
coreutils-9.9/src/cksum_avx2.c:109:23: note[note]: called from here
Error: COMPILER_WARNING: [#def175]
coreutils-9.9/src/cksum_avx2.c:111:23: note[note]: called from here
Error: COMPILER_WARNING: [#def176]
coreutils-9.9/src/cksum_avx2.c:113:23: note[note]: called from here
Error: COMPILER_WARNING: [#def177]
coreutils-9.9/src/cksum_avx2.c:115:23: note[note]: called from here
Error: COMPILER_WARNING: [#def178]
coreutils-9.9/src/cksum_avx2.c:123:22: note[note]: called from here
Error: COMPILER_WARNING: [#def179]
coreutils-9.9/src/cksum_avx2.c:124:23: note[note]: called from here
Error: COMPILER_WARNING: [#def180]
coreutils-9.9/src/cksum_avx2.c:125:23: note[note]: called from here
Error: COMPILER_WARNING: [#def181]
coreutils-9.9/src/cksum_avx2.c:126:22: note[note]: called from here
Error: COMPILER_WARNING: [#def182]
coreutils-9.9/src/cksum_avx2.c:128:23: note[note]: called from here
Error: COMPILER_WARNING: [#def183]
coreutils-9.9/src/cksum_avx2.c:129:23: note[note]: called from here
Error: COMPILER_WARNING: [#def184]
coreutils-9.9/src/cksum_avx2.c:130:23: note[note]: called from here
Error: COMPILER_WARNING: [#def185]
coreutils-9.9/src/cksum_avx2.c:131:23: note[note]: called from here
Error: COMPILER_WARNING: [#def186]
coreutils-9.9/src/cksum_avx2.c:133:23: note[note]: called from here
Error: COMPILER_WARNING: [#def187]
coreutils-9.9/src/cksum_avx2.c:134:23: note[note]: called from here
Error: COMPILER_WARNING: [#def188]
coreutils-9.9/src/cksum_avx2.c:135:23: note[note]: called from here
Error: COMPILER_WARNING: [#def189]
coreutils-9.9/src/cksum_avx2.c:136:23: note[note]: called from here
Error: COMPILER_WARNING: [#def190]
coreutils-9.9/src/cksum_avx2.c:138:23: note[note]: called from here
Error: COMPILER_WARNING: [#def191]
coreutils-9.9/src/cksum_avx2.c:139:23: note[note]: called from here
Error: COMPILER_WARNING: [#def192]
coreutils-9.9/src/cksum_avx2.c:140:23: note[note]: called from here
Error: COMPILER_WARNING: [#def193]
coreutils-9.9/src/cksum_avx2.c:141:23: note[note]: called from here
Error: COMPILER_WARNING: [#def194]
coreutils-9.9/src/cksum_avx2.c:147:18: note[note]: called from here
Error: COMPILER_WARNING: [#def195]
coreutils-9.9/src/cksum_avx2.c:148:11: note[note]: called from here
Error: COMPILER_WARNING: [#def196]
coreutils-9.9/src/cksum_avx2.c:149:19: note[note]: called from here
Error: COMPILER_WARNING: [#def197]
coreutils-9.9/src/cksum_avx2.c:150:11: note[note]: called from here
Error: COMPILER_WARNING: [#def198]
coreutils-9.9/src/cksum_avx2.c:151:19: note[note]: called from here
Error: COMPILER_WARNING: [#def199]
coreutils-9.9/src/cksum_avx2.c:152:11: note[note]: called from here
Error: COMPILER_WARNING: [#def200]
coreutils-9.9/src/cksum_avx2.c:153:19: note[note]: called from here
Error: COMPILER_WARNING: [#def201]
coreutils-9.9/src/cksum_avx2.c:154:11: note[note]: called from here
Error: COMPILER_WARNING: [#def202]
coreutils-9.9/src/cksum_avx2.c:160:18: note[note]: called from here
Error: COMPILER_WARNING: [#def203]
coreutils-9.9/src/cksum_avx2.c:161:18: note[note]: called from here
Error: COMPILER_WARNING: [#def204]
coreutils-9.9/src/cksum_avx2.c:162:21: note[note]: called from here
Error: COMPILER_WARNING: [#def205]
coreutils-9.9/src/cksum_avx2.c:164:18: note[note]: called from here
Error: COMPILER_WARNING: [#def206]
coreutils-9.9/src/cksum_avx2.c:169:23: note[note]: called from here
Error: COMPILER_WARNING: [#def207]
coreutils-9.9/src/cksum_avx2.c:171:22: note[note]: called from here
Error: COMPILER_WARNING: [#def208]
coreutils-9.9/src/cksum_avx2.c:173:27: note[note]: called from here
Error: COMPILER_WARNING: [#def209]
coreutils-9.9/src/cksum_avx2.c:174:27: note[note]: called from here
Error: COMPILER_WARNING: [#def210]
coreutils-9.9/src/cksum_avx2.c:175:22: note[note]: called from here
Error: COMPILER_WARNING: [#def211]
coreutils-9.9/src/cksum_avx2.c:176:22: note[note]: called from here
Error: COMPILER_WARNING: [#def212]
coreutils-9.9/src/cksum_avx2.c:179:18: note[note]: called from here
Error: COMPILER_WARNING: [#def213]
coreutils-9.9/src/cksum_avx2.c:180:11: note[note]: called from here
Error: COMPILER_WARNING: [#def214]
coreutils-9.9/src/cksum_avx512.c:45:3: warning[-Wpsabi]: AVX512F vector return without AVX512F enabled changes the ABI
Error: COMPILER_WARNING: [#def215]
coreutils-9.9/src/cksum_avx512.c:45:26: note[note]: called from here
Error: COMPILER_WARNING: [#def216]
coreutils-9.9/src/cksum_avx512.c:49:24: note[note]: called from here
Error: COMPILER_WARNING: [#def217]
coreutils-9.9/src/cksum_avx512.c:55:22: note[note]: called from here
Error: COMPILER_WARNING: [#def218]
coreutils-9.9/src/cksum_avx512.c:89:18: note[note]: called from here
Error: COMPILER_WARNING: [#def219]
coreutils-9.9/src/cksum_avx512.c:90:18: note[note]: called from here
Error: COMPILER_WARNING: [#def220]
coreutils-9.9/src/cksum_avx512.c:93:21: note[note]: called from here
Error: COMPILER_WARNING: [#def221]
coreutils-9.9/src/cksum_avx512.c:96:18: note[note]: called from here
Error: COMPILER_WARNING: [#def222]
coreutils-9.9/src/cksum_avx512.c:97:19: note[note]: called from here
Error: COMPILER_WARNING: [#def223]
coreutils-9.9/src/cksum_avx512.c:98:19: note[note]: called from here
Error: COMPILER_WARNING: [#def224]
coreutils-9.9/src/cksum_avx512.c:99:19: note[note]: called from here
Error: COMPILER_WARNING: [#def225]
coreutils-9.9/src/cksum_avx512.c:100:19: note[note]: called from here
Error: COMPILER_WARNING: [#def226]
coreutils-9.9/src/cksum_avx512.c:101:19: note[note]: called from here
Error: COMPILER_WARNING: [#def227]
coreutils-9.9/src/cksum_avx512.c:102:19: note[note]: called from here
Error: COMPILER_WARNING: [#def228]
coreutils-9.9/src/cksum_avx512.c:109:23: note[note]: called from here
Error: COMPILER_WARNING: [#def229]
coreutils-9.9/src/cksum_avx512.c:111:22: note[note]: called from here
Error: COMPILER_WARNING: [#def230]
coreutils-9.9/src/cksum_avx512.c:113:23: note[note]: called from here
Error: COMPILER_WARNING: [#def231]
coreutils-9.9/src/cksum_avx512.c:115:23: note[note]: called from here
Error: COMPILER_WARNING: [#def232]
coreutils-9.9/src/cksum_avx512.c:117:23: note[note]: called from here
Error: COMPILER_WARNING: [#def233]
coreutils-9.9/src/cksum_avx512.c:119:23: note[note]: called from here
Error: COMPILER_WARNING: [#def234]
coreutils-9.9/src/cksum_avx512.c:121:23: note[note]: called from here
Error: COMPILER_WARNING: [#def235]
coreutils-9.9/src/cksum_avx512.c:123:23: note[note]: called from here
Error: COMPILER_WARNING: [#def236]
coreutils-9.9/src/cksum_avx512.c:131:22: note[note]: called from here
Error: COMPILER_WARNING: [#def237]
coreutils-9.9/src/cksum_avx512.c:132:23: note[note]: called from here
Error: COMPILER_WARNING: [#def238]
coreutils-9.9/src/cksum_avx512.c:133:23: note[note]: called from here
Error: COMPILER_WARNING: [#def239]
coreutils-9.9/src/cksum_avx512.c:134:22: note[note]: called from here
Error: COMPILER_WARNING: [#def240]
coreutils-9.9/src/cksum_avx512.c:136:23: note[note]: called from here
Error: COMPILER_WARNING: [#def241]
coreutils-9.9/src/cksum_avx512.c:137:23: note[note]: called from here
Error: COMPILER_WARNING: [#def242]
coreutils-9.9/src/cksum_avx512.c:138:23: note[note]: called from here
Error: COMPILER_WARNING: [#def243]
coreutils-9.9/src/cksum_avx512.c:139:23: note[note]: called from here
Error: COMPILER_WARNING: [#def244]
coreutils-9.9/src/cksum_avx512.c:141:23: note[note]: called from here
Error: COMPILER_WARNING: [#def245]
coreutils-9.9/src/cksum_avx512.c:142:23: note[note]: called from here
Error: COMPILER_WARNING: [#def246]
coreutils-9.9/src/cksum_avx512.c:143:23: note[note]: called from here
Error: COMPILER_WARNING: [#def247]
coreutils-9.9/src/cksum_avx512.c:144:23: note[note]: called from here
Error: COMPILER_WARNING: [#def248]
coreutils-9.9/src/cksum_avx512.c:146:23: note[note]: called from here
Error: COMPILER_WARNING: [#def249]
coreutils-9.9/src/cksum_avx512.c:147:23: note[note]: called from here
Error: COMPILER_WARNING: [#def250]
coreutils-9.9/src/cksum_avx512.c:148:23: note[note]: called from here
Error: COMPILER_WARNING: [#def251]
coreutils-9.9/src/cksum_avx512.c:149:23: note[note]: called from here
Error: COMPILER_WARNING: [#def252]
coreutils-9.9/src/cksum_avx512.c:155:18: note[note]: called from here
Error: COMPILER_WARNING: [#def253]
coreutils-9.9/src/cksum_avx512.c:156:11: note[note]: called from here
Error: COMPILER_WARNING: [#def254]
coreutils-9.9/src/cksum_avx512.c:157:19: note[note]: called from here
Error: COMPILER_WARNING: [#def255]
coreutils-9.9/src/cksum_avx512.c:158:11: note[note]: called from here
Error: COMPILER_WARNING: [#def256]
coreutils-9.9/src/cksum_avx512.c:159:19: note[note]: called from here
Error: COMPILER_WARNING: [#def257]
coreutils-9.9/src/cksum_avx512.c:160:11: note[note]: called from here
Error: COMPILER_WARNING: [#def258]
coreutils-9.9/src/cksum_avx512.c:161:19: note[note]: called from here
Error: COMPILER_WARNING: [#def259]
coreutils-9.9/src/cksum_avx512.c:162:11: note[note]: called from here
Error: COMPILER_WARNING: [#def260]
coreutils-9.9/src/cksum_avx512.c:168:18: note[note]: called from here
Error: COMPILER_WARNING: [#def261]
coreutils-9.9/src/cksum_avx512.c:169:18: note[note]: called from here
Error: COMPILER_WARNING: [#def262]
coreutils-9.9/src/cksum_avx512.c:170:21: note[note]: called from here
Error: COMPILER_WARNING: [#def263]
coreutils-9.9/src/cksum_avx512.c:173:18: note[note]: called from here
Error: COMPILER_WARNING: [#def264]
coreutils-9.9/src/cksum_avx512.c:178:23: note[note]: called from here
Error: COMPILER_WARNING: [#def265]
coreutils-9.9/src/cksum_avx512.c:180:22: note[note]: called from here
Error: COMPILER_WARNING: [#def266]
coreutils-9.9/src/cksum_avx512.c:182:27: note[note]: called from here
Error: COMPILER_WARNING: [#def267]
coreutils-9.9/src/cksum_avx512.c:183:27: note[note]: called from here
Error: COMPILER_WARNING: [#def268]
coreutils-9.9/src/cksum_avx512.c:184:22: note[note]: called from here
Error: COMPILER_WARNING: [#def269]
coreutils-9.9/src/cksum_avx512.c:185:22: note[note]: called from here
Error: COMPILER_WARNING: [#def270]
coreutils-9.9/src/cksum_avx512.c:188:18: note[note]: called from here
Error: COMPILER_WARNING: [#def271]
coreutils-9.9/src/cksum_avx512.c:189:11: note[note]: called from here
Error: COMPILER_WARNING: [#def272]
coreutils-9.9/src/cksum_pclmul.c:81:18: note[note]: called from here
Error: COMPILER_WARNING: [#def273]
coreutils-9.9/src/cksum_pclmul.c:88:19: note[note]: called from here
Error: COMPILER_WARNING: [#def274]
coreutils-9.9/src/cksum_pclmul.c:90:19: note[note]: called from here
Error: COMPILER_WARNING: [#def275]
coreutils-9.9/src/cksum_pclmul.c:92:19: note[note]: called from here
Error: COMPILER_WARNING: [#def276]
coreutils-9.9/src/cksum_pclmul.c:100:23: note[note]: called from here
Error: COMPILER_WARNING: [#def277]
coreutils-9.9/src/cksum_pclmul.c:101:22: note[note]: called from here
Error: COMPILER_WARNING: [#def278]
coreutils-9.9/src/cksum_pclmul.c:102:23: note[note]: called from here
Error: COMPILER_WARNING: [#def279]
coreutils-9.9/src/cksum_pclmul.c:103:23: note[note]: called from here
Error: COMPILER_WARNING: [#def280]
coreutils-9.9/src/cksum_pclmul.c:104:23: note[note]: called from here
Error: COMPILER_WARNING: [#def281]
coreutils-9.9/src/cksum_pclmul.c:105:23: note[note]: called from here
Error: COMPILER_WARNING: [#def282]
coreutils-9.9/src/cksum_pclmul.c:106:23: note[note]: called from here
Error: COMPILER_WARNING: [#def283]
coreutils-9.9/src/cksum_pclmul.c:107:23: note[note]: called from here
Error: COMPILER_WARNING: [#def284]
coreutils-9.9/src/cksum_pclmul.c:116:23: note[note]: called from here
Error: COMPILER_WARNING: [#def285]
coreutils-9.9/src/cksum_pclmul.c:121:23: note[note]: called from here
Error: COMPILER_WARNING: [#def286]
coreutils-9.9/src/cksum_pclmul.c:126:23: note[note]: called from here
Error: COMPILER_WARNING: [#def287]
coreutils-9.9/src/cksum_pclmul.c:131:23: note[note]: called from here
Error: COMPILER_WARNING: [#def288]
coreutils-9.9/src/cksum_pclmul.c:138:18: note[note]: called from here
Error: COMPILER_WARNING: [#def289]
coreutils-9.9/src/cksum_pclmul.c:140:19: note[note]: called from here
Error: COMPILER_WARNING: [#def290]
coreutils-9.9/src/cksum_pclmul.c:142:19: note[note]: called from here
Error: COMPILER_WARNING: [#def291]
coreutils-9.9/src/cksum_pclmul.c:144:19: note[note]: called from here
Error: COMPILER_WARNING: [#def292]
coreutils-9.9/src/cksum_pclmul.c:152:18: note[note]: called from here
Error: COMPILER_WARNING: [#def293]
coreutils-9.9/src/cksum_pclmul.c:160:23: note[note]: called from here
Error: COMPILER_WARNING: [#def294]
coreutils-9.9/src/cksum_pclmul.c:161:22: note[note]: called from here
Error: COMPILER_WARNING: [#def295]
coreutils-9.9/src/cksum_pclmul.c:163:27: note[note]: called from here
Error: COMPILER_WARNING: [#def296]
coreutils-9.9/src/cksum_pclmul.c:168:18: note[note]: called from here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def297]
coreutils-9.9/src/comm.c:292:7: warning[-Wanalyzer-malloc-leak]: leak of 'streams[i]'
coreutils-9.9/src/comm.c:278:15: branch_true: following 'true' branch (when 'i != 2')...
coreutils-9.9/src/comm.c:278:15: branch_true: ...to here
coreutils-9.9/src/comm.c:280:19: branch_true: following 'true' branch (when 'j != 4')...
coreutils-9.9/src/comm.c:282:11: branch_true: ...to here
coreutils-9.9/src/comm.c:288:20: branch_false: following 'false' branch (when the strings are non-equal)...
coreutils-9.9/src/comm.c:288:55: branch_false: ...to here
coreutils-9.9/src/comm.c:288:55: acquire_memory: allocated here
coreutils-9.9/src/comm.c:289:10: branch_false: following 'false' branch...
coreutils-9.9/src/comm.c:292:7: branch_false: ...to here
coreutils-9.9/src/comm.c:292:7: throw: if 'fadvise' throws an exception...
coreutils-9.9/src/comm.c:292:7: danger: 'streams[i]' leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def298]
coreutils-9.9/src/copy.c:413:24: warning[-Wanalyzer-malloc-leak]: leak of 'namep'
coreutils-9.9/src/copy.c:394:16: acquire_memory: allocated here
coreutils-9.9/src/copy.c:395:6: branch_false: following 'false' branch...
coreutils-9.9/src/copy.c:405:7: branch_false: ...to here
coreutils-9.9/src/copy.c:405:6: branch_false: following 'false' branch...
coreutils-9.9/src/copy.c:410:9: branch_false: ...to here
coreutils-9.9/src/copy.c:410:10: branch_true: following 'true' branch...
coreutils-9.9/src/copy.c:413:24: branch_true: ...to here
coreutils-9.9/src/copy.c:413:24: throw: if 'file_name_concat' throws an exception...
coreutils-9.9/src/copy.c:413:24: danger: 'namep' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def299]
coreutils-9.9/src/copy.c:414:24: warning[-Wanalyzer-malloc-leak]: leak of 'file_name_concat(src_name_in, namep, 0)'
coreutils-9.9/src/copy.c:395:6: branch_false: following 'false' branch...
coreutils-9.9/src/copy.c:405:7: branch_false: ...to here
coreutils-9.9/src/copy.c:405:6: branch_false: following 'false' branch...
coreutils-9.9/src/copy.c:410:9: branch_false: ...to here
coreutils-9.9/src/copy.c:410:10: branch_true: following 'true' branch...
coreutils-9.9/src/copy.c:413:24: branch_true: ...to here
coreutils-9.9/src/copy.c:414:24: throw: if 'file_name_concat' throws an exception...
coreutils-9.9/src/copy.c:414:24: danger: 'file_name_concat(src_name_in, namep, 0)' leaks here; was allocated at [(7)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def300]
coreutils-9.9/src/copy.c:414:24: warning[-Wanalyzer-malloc-leak]: leak of 'namep'
coreutils-9.9/src/copy.c:394:16: acquire_memory: allocated here
coreutils-9.9/src/copy.c:395:6: branch_false: following 'false' branch...
coreutils-9.9/src/copy.c:405:7: branch_false: ...to here
coreutils-9.9/src/copy.c:405:6: branch_false: following 'false' branch...
coreutils-9.9/src/copy.c:410:9: branch_false: ...to here
coreutils-9.9/src/copy.c:410:10: branch_true: following 'true' branch...
coreutils-9.9/src/copy.c:413:24: branch_true: ...to here
coreutils-9.9/src/copy.c:414:24: throw: if 'file_name_concat' throws an exception...
coreutils-9.9/src/copy.c:414:24: danger: 'namep' leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def301]
coreutils-9.9/src/copy.c:415:32: warning[-Wanalyzer-malloc-leak]: leak of 'file_name_concat(dst_name_in, namep, 0)'
coreutils-9.9/src/copy.c:382:1: enter_function: entry to 'copy_dir'
coreutils-9.9/src/copy.c:395:6: branch_false: following 'false' branch...
coreutils-9.9/src/copy.c:405:7: branch_false: ...to here
coreutils-9.9/src/copy.c:405:6: branch_false: following 'false' branch...
coreutils-9.9/src/copy.c:410:9: branch_false: ...to here
coreutils-9.9/src/copy.c:410:10: branch_true: following 'true' branch...
coreutils-9.9/src/copy.c:413:24: branch_true: ...to here
coreutils-9.9/src/copy.c:418:13: call_function: calling 'copy_internal' from 'copy_dir'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def302]
coreutils-9.9/src/copy.c:415:32: warning[-Wanalyzer-malloc-leak]: leak of 'file_name_concat(src_name_in, namep, 0)'
coreutils-9.9/src/copy.c:382:1: enter_function: entry to 'copy_dir'
coreutils-9.9/src/copy.c:395:6: branch_false: following 'false' branch...
coreutils-9.9/src/copy.c:405:7: branch_false: ...to here
coreutils-9.9/src/copy.c:405:6: branch_false: following 'false' branch...
coreutils-9.9/src/copy.c:410:9: branch_false: ...to here
coreutils-9.9/src/copy.c:410:10: branch_true: following 'true' branch...
coreutils-9.9/src/copy.c:413:24: branch_true: ...to here
coreutils-9.9/src/copy.c:418:13: call_function: calling 'copy_internal' from 'copy_dir'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def303]
coreutils-9.9/src/copy.c:1660:25: warning[-Wanalyzer-malloc-leak]: leak of 'namep'
coreutils-9.9/src/copy.c:382:1: enter_function: entry to 'copy_dir'
coreutils-9.9/src/copy.c:394:16: acquire_memory: allocated here
coreutils-9.9/src/copy.c:395:6: branch_false: following 'false' branch...
coreutils-9.9/src/copy.c:405:7: branch_false: ...to here
coreutils-9.9/src/copy.c:405:6: branch_false: following 'false' branch...
coreutils-9.9/src/copy.c:410:9: branch_false: ...to here
coreutils-9.9/src/copy.c:410:10: branch_true: following 'true' branch...
coreutils-9.9/src/copy.c:413:24: branch_true: ...to here
coreutils-9.9/src/copy.c:418:13: call_function: calling 'copy_internal' from 'copy_dir'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def304]
coreutils-9.9/src/copy.c:1678:11: warning[-Wanalyzer-malloc-leak]: leak of 'namep'
coreutils-9.9/src/copy.c:382:1: enter_function: entry to 'copy_dir'
coreutils-9.9/src/copy.c:394:16: acquire_memory: allocated here
coreutils-9.9/src/copy.c:395:6: branch_false: following 'false' branch...
coreutils-9.9/src/copy.c:405:7: branch_false: ...to here
coreutils-9.9/src/copy.c:405:6: branch_false: following 'false' branch...
coreutils-9.9/src/copy.c:410:9: branch_false: ...to here
coreutils-9.9/src/copy.c:410:10: branch_true: following 'true' branch...
coreutils-9.9/src/copy.c:413:24: branch_true: ...to here
coreutils-9.9/src/copy.c:418:13: call_function: calling 'copy_internal' from 'copy_dir'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def305]
coreutils-9.9/src/copy.c:1686:11: warning[-Wanalyzer-malloc-leak]: leak of 'namep'
coreutils-9.9/src/copy.c:382:1: enter_function: entry to 'copy_dir'
coreutils-9.9/src/copy.c:394:16: acquire_memory: allocated here
coreutils-9.9/src/copy.c:395:6: branch_false: following 'false' branch...
coreutils-9.9/src/copy.c:405:7: branch_false: ...to here
coreutils-9.9/src/copy.c:405:6: branch_false: following 'false' branch...
coreutils-9.9/src/copy.c:410:9: branch_false: ...to here
coreutils-9.9/src/copy.c:410:10: branch_true: following 'true' branch...
coreutils-9.9/src/copy.c:413:24: branch_true: ...to here
coreutils-9.9/src/copy.c:418:13: call_function: calling 'copy_internal' from 'copy_dir'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def306]
coreutils-9.9/src/copy.c:1770:15: warning[-Wanalyzer-malloc-leak]: leak of 'namep'
coreutils-9.9/src/copy.c:382:1: enter_function: entry to 'copy_dir'
coreutils-9.9/src/copy.c:394:16: acquire_memory: allocated here
coreutils-9.9/src/copy.c:395:6: branch_false: following 'false' branch...
coreutils-9.9/src/copy.c:405:7: branch_false: ...to here
coreutils-9.9/src/copy.c:405:6: branch_false: following 'false' branch...
coreutils-9.9/src/copy.c:410:9: branch_false: ...to here
coreutils-9.9/src/copy.c:410:10: branch_true: following 'true' branch...
coreutils-9.9/src/copy.c:413:24: branch_true: ...to here
coreutils-9.9/src/copy.c:418:13: call_function: calling 'copy_internal' from 'copy_dir'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def307]
coreutils-9.9/src/cp-hash.c:121:15: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(24)'
coreutils-9.9/src/cp-hash.c:121:15: throw: if 'xstrdup' throws an exception...
coreutils-9.9/src/cp-hash.c:121:15: danger: 'xmalloc(24)' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def308]
coreutils-9.9/src/cp-hash.c:125:20: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def309]
coreutils-9.9/src/cp-hash.c:125:20: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(24)'
coreutils-9.9/src/cp-hash.c:125:20: throw: if 'hash_insert' throws an exception...
coreutils-9.9/src/cp-hash.c:125:20: danger: 'xmalloc(24)' leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def310]
coreutils-9.9/src/cp.c:483:17: warning[-Wanalyzer-malloc-leak]: leak of 'attr_list'
coreutils-9.9/src/cp.c:614:1: enter_function: entry to 'do_copy'
coreutils-9.9/src/cp.c:621:6: branch_false: following 'false' branch...
coreutils-9.9/src/cp.c:631:3: branch_false: ...to here
coreutils-9.9/src/cp.c:633:6: branch_false: following 'false' branch (when 'no_target_directory == 0')...
coreutils-9.9/src/cp.c:645:11: branch_false: ...to here
coreutils-9.9/src/cp.c:648:10: branch_false: following 'false' branch...
coreutils-9.9/src/cp.c:685:6: branch_false: ...to here
coreutils-9.9/src/cp.c:685:6: branch_true: following 'true' branch (when 'target_directory' is non-NULL)...
coreutils-9.9/src/cp.c:694:10: branch_true: ...to here
coreutils-9.9/src/cp.c:700:23: branch_true: following 'true' branch (when 'n_files > i')...
coreutils-9.9/src/cp.c:706:27: branch_true: ...to here
coreutils-9.9/src/cp.c:713:14: branch_true: following 'true' branch...
coreutils-9.9/src/cp.c:721:15: branch_true: ...to here
coreutils-9.9/src/cp.c:733:17: branch_true: following 'true' branch...
coreutils-9.9/src/cp.c:734:29: branch_true: ...to here
coreutils-9.9/src/cp.c:733:17: call_function: calling 'make_dir_parents_private' from 'do_copy'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def311]
coreutils-9.9/src/cp.c:545:46: warning[-Wanalyzer-malloc-leak]: leak of 'attr_list'
coreutils-9.9/src/cp.c:614:1: enter_function: entry to 'do_copy'
coreutils-9.9/src/cp.c:621:6: branch_false: following 'false' branch...
coreutils-9.9/src/cp.c:631:3: branch_false: ...to here
coreutils-9.9/src/cp.c:633:6: branch_false: following 'false' branch (when 'no_target_directory == 0')...
coreutils-9.9/src/cp.c:645:11: branch_false: ...to here
coreutils-9.9/src/cp.c:648:10: branch_false: following 'false' branch...
coreutils-9.9/src/cp.c:685:6: branch_false: ...to here
coreutils-9.9/src/cp.c:685:6: branch_true: following 'true' branch (when 'target_directory' is non-NULL)...
coreutils-9.9/src/cp.c:694:10: branch_true: ...to here
coreutils-9.9/src/cp.c:700:23: branch_true: following 'true' branch (when 'n_files > i')...
coreutils-9.9/src/cp.c:706:27: branch_true: ...to here
coreutils-9.9/src/cp.c:713:14: branch_true: following 'true' branch...
coreutils-9.9/src/cp.c:721:15: branch_true: ...to here
coreutils-9.9/src/cp.c:733:17: branch_true: following 'true' branch...
coreutils-9.9/src/cp.c:734:29: branch_true: ...to here
coreutils-9.9/src/cp.c:733:17: call_function: calling 'make_dir_parents_private' from 'do_copy'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def312]
coreutils-9.9/src/cp.c:735:20: warning[-Wanalyzer-malloc-leak]: leak of 'file_name_concat(target_directory, __builtin___memcpy_chk(__new, arg, __len, __builtin_object_size(__new, 0)), &arg_in_concat)'
coreutils-9.9/src/cp.c:614:1: enter_function: entry to 'do_copy'
coreutils-9.9/src/cp.c:621:6: branch_false: following 'false' branch...
coreutils-9.9/src/cp.c:631:3: branch_false: ...to here
coreutils-9.9/src/cp.c:633:6: branch_false: following 'false' branch (when 'no_target_directory == 0')...
coreutils-9.9/src/cp.c:645:11: branch_false: ...to here
coreutils-9.9/src/cp.c:648:10: branch_false: following 'false' branch...
coreutils-9.9/src/cp.c:685:6: branch_false: ...to here
coreutils-9.9/src/cp.c:685:6: branch_true: following 'true' branch (when 'target_directory' is non-NULL)...
coreutils-9.9/src/cp.c:694:10: branch_true: ...to here
coreutils-9.9/src/cp.c:700:23: branch_true: following 'true' branch (when 'n_files > i')...
coreutils-9.9/src/cp.c:706:27: branch_true: ...to here
coreutils-9.9/src/cp.c:713:14: branch_true: following 'true' branch...
coreutils-9.9/src/cp.c:721:15: branch_true: ...to here
coreutils-9.9/src/cp.c:733:17: branch_true: following 'true' branch...
coreutils-9.9/src/cp.c:734:29: branch_true: ...to here
coreutils-9.9/src/cp.c:733:17: call_function: calling 'make_dir_parents_private' from 'do_copy'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def313]
coreutils-9.9/src/cp.c:763:21: warning[-Wanalyzer-malloc-leak]: leak of 'dst_name'
coreutils-9.9/src/cp.c:621:6: branch_false: following 'false' branch...
coreutils-9.9/src/cp.c:631:3: branch_false: ...to here
coreutils-9.9/src/cp.c:633:6: branch_false: following 'false' branch (when 'no_target_directory == 0')...
coreutils-9.9/src/cp.c:645:11: branch_false: ...to here
coreutils-9.9/src/cp.c:648:10: branch_false: following 'false' branch...
coreutils-9.9/src/cp.c:685:6: branch_false: ...to here
coreutils-9.9/src/cp.c:685:6: branch_true: following 'true' branch (when 'target_directory' is non-NULL)...
coreutils-9.9/src/cp.c:694:10: branch_true: ...to here
coreutils-9.9/src/cp.c:700:23: branch_true: following 'true' branch (when 'n_files > i')...
coreutils-9.9/src/cp.c:706:27: branch_true: ...to here
coreutils-9.9/src/cp.c:713:14: branch_false: following 'false' branch...
coreutils-9.9/src/cp.c:742:15: branch_false: ...to here
coreutils-9.9/src/cp.c:763:21: throw: if 'copy' throws an exception...
coreutils-9.9/src/cp.c:763:21: danger: 'dst_name' leaks here; was allocated at [(13)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def314]
coreutils-9.9/src/cp.c:822:12: warning[-Wanalyzer-malloc-leak]: leak of 'dest'
coreutils-9.9/src/cp.c:614:1: enter_function: entry to 'do_copy'
coreutils-9.9/src/cp.c:621:6: branch_false: following 'false' branch...
coreutils-9.9/src/cp.c:631:3: branch_false: ...to here
coreutils-9.9/src/cp.c:635:10: branch_false: following 'false' branch (when 'target_directory' is NULL)...
coreutils-9.9/src/cp.c:639:10: branch_false: ...to here
coreutils-9.9/src/cp.c:639:10: branch_false: following 'false' branch (when 'n_files <= 2')...
coreutils-9.9/src/cp.c:685:6: branch_false: ...to here
coreutils-9.9/src/cp.c:685:6: branch_false: following 'false' branch (when 'target_directory' is NULL)...
coreutils-9.9/src/cp.c:786:19: branch_false: ...to here
coreutils-9.9/src/cp.c:790:10: branch_false: following 'false' branch...
coreutils-9.9/src/cp.c:803:11: branch_false: ...to here
coreutils-9.9/src/cp.c:803:10: branch_true: following 'true' branch...
coreutils-9.9/src/cp.c:804:14: branch_true: ...to here
coreutils-9.9/src/cp.c:803:11: branch_true: following 'true' branch...
coreutils-9.9/src/cp.c:805:14: call_function: inlined call to 'streq' from 'do_copy'
coreutils-9.9/src/cp.c:803:11: branch_true: following 'true' branch (when the strings are equal)...
coreutils-9.9/src/cp.c:806:14: branch_true: ...to here
coreutils-9.9/src/cp.c:803:11: branch_false: following 'false' branch...
coreutils-9.9/src/cp.c:807:15: branch_false: ...to here
coreutils-9.9/src/cp.c:807:14: branch_true: following 'true' branch...
coreutils-9.9/src/cp.c:822:12: throw: if 'copy' throws an exception...
coreutils-9.9/src/cp.c:822:12: danger: 'dest' leaks here; was allocated at [(23)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/22)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def315]
coreutils-9.9/src/cp.c:825:10: warning[-Wanalyzer-malloc-leak]: leak of 'dest'
coreutils-9.9/src/cp.c:614:1: enter_function: entry to 'do_copy'
coreutils-9.9/src/cp.c:621:6: branch_false: following 'false' branch...
coreutils-9.9/src/cp.c:631:3: branch_false: ...to here
coreutils-9.9/src/cp.c:635:10: branch_false: following 'false' branch (when 'target_directory' is NULL)...
coreutils-9.9/src/cp.c:639:10: branch_false: ...to here
coreutils-9.9/src/cp.c:639:10: branch_false: following 'false' branch (when 'n_files <= 2')...
coreutils-9.9/src/cp.c:685:6: branch_false: ...to here
coreutils-9.9/src/cp.c:685:6: branch_false: following 'false' branch (when 'target_directory' is NULL)...
coreutils-9.9/src/cp.c:786:19: branch_false: ...to here
coreutils-9.9/src/cp.c:790:10: branch_false: following 'false' branch...
coreutils-9.9/src/cp.c:803:11: branch_false: ...to here
coreutils-9.9/src/cp.c:803:10: branch_true: following 'true' branch...
coreutils-9.9/src/cp.c:804:14: branch_true: ...to here
coreutils-9.9/src/cp.c:803:11: branch_true: following 'true' branch...
coreutils-9.9/src/cp.c:805:14: call_function: inlined call to 'streq' from 'do_copy'
coreutils-9.9/src/cp.c:803:11: branch_true: following 'true' branch (when the strings are equal)...
coreutils-9.9/src/cp.c:806:14: branch_true: ...to here
coreutils-9.9/src/cp.c:803:11: branch_false: following 'false' branch...
coreutils-9.9/src/cp.c:807:15: branch_false: ...to here
coreutils-9.9/src/cp.c:807:14: branch_true: following 'true' branch...
coreutils-9.9/src/cp.c:825:10: danger: 'dest' leaks here; was allocated at [(23)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/22)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def316]
coreutils-9.9/src/cp.c:922:13: warning[-Wanalyzer-malloc-leak]: leak of 's'
coreutils-9.9/src/cp.c:918:10: branch_false: following 'false' branch (when 'comma' is NULL)...
coreutils-9.9/src/cp.c:922:13: branch_false: ...to here
coreutils-9.9/src/cp.c:922:13: branch_true: following 'true' branch (when 'on_off != 0')...
coreutils-9.9/src/cp.c:922:13: branch_true: ...to here
coreutils-9.9/src/cp.c:922:13: throw: if '__xargmatch_internal' throws an exception...
coreutils-9.9/src/cp.c:922:13: danger: 's' leaks here; was allocated at [(1)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def317]
coreutils-9.9/src/cp.c:922:13: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(arg)'
coreutils-9.9/src/cp.c:918:10: branch_true: following 'true' branch (when 'comma' is non-NULL)...
coreutils-9.9/src/cp.c:919:10: branch_true: ...to here
coreutils-9.9/src/cp.c:922:13: branch_true: following 'true' branch (when 'on_off != 0')...
coreutils-9.9/src/cp.c:922:13: branch_true: ...to here
coreutils-9.9/src/cp.c:959:14: branch_true: following 'true' branch...
coreutils-9.9/src/cp.c:960:13: branch_true: ...to here
coreutils-9.9/src/cp.c:969:10: branch_true: following 'true' branch (when 'comma' is non-NULL)...
coreutils-9.9/src/cp.c:969:10: branch_true: ...to here
coreutils-9.9/src/cp.c:918:10: branch_true: following 'true' branch (when 'comma' is non-NULL)...
coreutils-9.9/src/cp.c:919:10: branch_true: ...to here
coreutils-9.9/src/cp.c:922:13: branch_true: following 'true' branch (when 'on_off != 0')...
coreutils-9.9/src/cp.c:922:13: branch_true: ...to here
coreutils-9.9/src/cp.c:922:13: throw: if '__xargmatch_internal' throws an exception...
coreutils-9.9/src/cp.c:922:13: danger: 'xstrdup(arg)' leaks here; was allocated at [(1)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def318]
coreutils-9.9/src/csplit.c:312:7: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(1312)'
coreutils-9.9/src/csplit.c:455:1: enter_function: entry to 'load_buffer'
coreutils-9.9/src/csplit.c:473:10: branch_true: following 'true' branch...
coreutils-9.9/src/csplit.c:475:15: branch_true: ...to here
coreutils-9.9/src/csplit.c:481:24: call_function: calling 'read_input' from 'load_buffer'
coreutils-9.9/src/csplit.c:481:24: return_function: returning to 'load_buffer' from 'read_input'
coreutils-9.9/src/csplit.c:483:11: call_function: calling 'record_line_starts' from 'load_buffer'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def319]
coreutils-9.9/src/csplit.c:409:24: warning[-Wanalyzer-malloc-leak]: leak of 'get_new_buffer(bytes_wanted)'
coreutils-9.9/src/csplit.c:455:1: enter_function: entry to 'load_buffer'
coreutils-9.9/src/csplit.c:467:33: call_function: calling 'get_new_buffer' from 'load_buffer'
coreutils-9.9/src/csplit.c:467:33: return_function: returning to 'load_buffer' from 'get_new_buffer'
coreutils-9.9/src/csplit.c:473:10: branch_true: following 'true' branch...
coreutils-9.9/src/csplit.c:475:15: branch_true: ...to here
coreutils-9.9/src/csplit.c:481:24: call_function: calling 'read_input' from 'load_buffer'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def320]
coreutils-9.9/src/csplit.c:409:24: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(72)'
coreutils-9.9/src/csplit.c:455:1: enter_function: entry to 'load_buffer'
coreutils-9.9/src/csplit.c:467:33: call_function: calling 'get_new_buffer' from 'load_buffer'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def321]
coreutils-9.9/src/csplit.c:1366:3: warning[-Wanalyzer-malloc-leak]: leak of 'ximalloc(__real__ <unknown>)'
coreutils-9.9/src/csplit.c:1349:6: branch_false: following 'false' branch...
coreutils-9.9/src/csplit.c:1358:22: branch_false: ...to here
coreutils-9.9/src/csplit.c:1364:6: branch_false: following 'false' branch...
coreutils-9.9/src/csplit.c:1366:20: branch_false: ...to here
coreutils-9.9/src/csplit.c:1366:3: danger: 'ximalloc(__real__ <unknown>)' leaks here; was allocated at [(5)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def322]
coreutils-9.9/src/cut.c:835:3: warning[-Wanalyzer-file-leak]: leak of FILE 'stream'
coreutils-9.9/src/cut.c:855:1: enter_function: entry to 'single_binary_main_cut'
coreutils-9.9/src/cut.c:977:6: branch_false: following 'false' branch...
coreutils-9.9/src/cut.c:980:6: branch_false: ...to here
coreutils-9.9/src/cut.c:980:6: branch_false: following 'false' branch (when 'delim_specified == 0')...
coreutils-9.9/src/cut.c:984:7: branch_false: ...to here
coreutils-9.9/src/cut.c:992:6: branch_false: following 'false' branch (when 'delim_specified == 0')...
coreutils-9.9/src/cut.c:994:7: branch_false: ...to here
coreutils-9.9/src/cut.c:1003:6: branch_false: following 'false' branch...
coreutils-9.9/src/cut.c:1023:7: branch_false: ...to here
coreutils-9.9/src/cut.c:1023:6: branch_true: following 'true' branch...
coreutils-9.9/src/cut.c:1024:10: branch_true: ...to here
coreutils-9.9/src/cut.c:1024:10: call_function: calling 'cut_file' from 'single_binary_main_cut'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def323]
coreutils-9.9/src/cut.c:835:3: warning[-Wanalyzer-malloc-leak]: leak of 'stream'
coreutils-9.9/src/cut.c:855:1: enter_function: entry to 'single_binary_main_cut'
coreutils-9.9/src/cut.c:977:6: branch_false: following 'false' branch...
coreutils-9.9/src/cut.c:980:6: branch_false: ...to here
coreutils-9.9/src/cut.c:980:6: branch_false: following 'false' branch (when 'delim_specified == 0')...
coreutils-9.9/src/cut.c:984:7: branch_false: ...to here
coreutils-9.9/src/cut.c:992:6: branch_false: following 'false' branch (when 'delim_specified == 0')...
coreutils-9.9/src/cut.c:994:7: branch_false: ...to here
coreutils-9.9/src/cut.c:1003:6: branch_false: following 'false' branch...
coreutils-9.9/src/cut.c:1023:7: branch_false: ...to here
coreutils-9.9/src/cut.c:1023:6: branch_true: following 'true' branch...
coreutils-9.9/src/cut.c:1024:10: branch_true: ...to here
coreutils-9.9/src/cut.c:1024:10: call_function: calling 'cut_file' from 'single_binary_main_cut'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def324]
coreutils-9.9/src/date.c:315:32: warning[-Wanalyzer-malloc-leak]: leak of 'adjust_resolution(format)'
coreutils-9.9/src/date.c:465:1: enter_function: entry to 'main'
coreutils-9.9/src/date.c:573:6: branch_false: following 'false' branch (when 'option_specified_date <= 1')...
coreutils-9.9/src/date.c:580:16: branch_false: ...to here
coreutils-9.9/src/date.c:580:6: branch_false: following 'false' branch...
coreutils-9.9/src/date.c:587:6: branch_false: ...to here
coreutils-9.9/src/date.c:587:6: branch_false: following 'false' branch (when 'discarded_datestr == 0')...
coreutils-9.9/src/date.c:590:6: branch_false: ...to here
coreutils-9.9/src/date.c:590:6: branch_false: following 'false' branch (when 'discarded_set_datestr == 0')...
coreutils-9.9/src/date.c:593:7: branch_false: ...to here
coreutils-9.9/src/date.c:618:6: branch_true: following 'true' branch (when 'format' is NULL)...
coreutils-9.9/src/date.c:620:10: branch_true: ...to here
coreutils-9.9/src/date.c:638:23: call_function: calling 'adjust_resolution' from 'main'
coreutils-9.9/src/date.c:638:23: return_function: returning to 'main' from 'adjust_resolution'
coreutils-9.9/src/date.c:315: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): [#def325]
coreutils-9.9/src/date.c:322:42: warning[-Wanalyzer-malloc-leak]: leak of 'copy'
coreutils-9.9/src/date.c:315:32: branch_true: following 'true' branch...
coreutils-9.9/src/date.c:316:8: branch_true: ...to here
coreutils-9.9/src/date.c:316:8: branch_true: following 'true' branch...
coreutils-9.9/src/date.c:318:13: branch_true: ...to here
coreutils-9.9/src/date.c:318:12: branch_true: following 'true' branch...
coreutils-9.9/src/date.c:320:16: branch_true: following 'true' branch (when 'copy' is NULL)...
coreutils-9.9/src/date.c:321:22: branch_true: ...to here
coreutils-9.9/src/date.c:322:42: throw: if 'gettime_res' throws an exception...
coreutils-9.9/src/date.c:322:42: danger: 'copy' leaks here; was allocated at [(9)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def326]
coreutils-9.9/src/date.c:364:5: warning[-Wanalyzer-malloc-leak]: leak of 'ret'
coreutils-9.9/src/date.c:362:15: branch_true: following 'true' branch...
coreutils-9.9/src/date.c:363:6: branch_true: following 'true' branch (when 'locale' is non-NULL)...
coreutils-9.9/src/date.c:364:5: branch_true: ...to here
coreutils-9.9/src/date.c:364:5: throw: if 'xsetenv' throws an exception...
coreutils-9.9/src/date.c:364:5: danger: 'ret' leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def327]
coreutils-9.9/src/date.c:641:19: warning[-Wanalyzer-malloc-leak]: leak of 'format_res'
coreutils-9.9/src/date.c:465:1: enter_function: entry to 'main'
coreutils-9.9/src/date.c:573:6: branch_false: following 'false' branch (when 'option_specified_date <= 1')...
coreutils-9.9/src/date.c:580:16: branch_false: ...to here
coreutils-9.9/src/date.c:580:6: branch_false: following 'false' branch...
coreutils-9.9/src/date.c:587:6: branch_false: ...to here
coreutils-9.9/src/date.c:587:6: branch_false: following 'false' branch (when 'discarded_datestr == 0')...
coreutils-9.9/src/date.c:590:6: branch_false: ...to here
coreutils-9.9/src/date.c:590:6: branch_false: following 'false' branch (when 'discarded_set_datestr == 0')...
coreutils-9.9/src/date.c:593:7: branch_false: ...to here
coreutils-9.9/src/date.c:618:6: branch_true: following 'true' branch (when 'format' is NULL)...
coreutils-9.9/src/date.c:620:10: branch_true: ...to here
coreutils-9.9/src/date.c:638:23: call_function: calling 'adjust_resolution' from 'main'
coreutils-9.9/src/date.c:638:23: return_function: returning to 'main' from 'adjust_resolution'
coreutils-9.9/src/date.c:639:28: branch_true: following 'true' branch...
coreutils-9.9/src/date.c:640:26: branch_true: ...to here
coreutils-9.9/src/date.c:641:19: throw: if 'tzalloc' throws an exception...
coreutils-9.9/src/date.c:641:19: danger: 'format_res' leaks here; was allocated at [(18)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def328]
coreutils-9.9/src/date.c:659:28: warning[-Wanalyzer-malloc-leak]: leak of 'format_res'
coreutils-9.9/src/date.c:465:1: enter_function: entry to 'main'
coreutils-9.9/src/date.c:573:6: branch_false: following 'false' branch (when 'option_specified_date <= 1')...
coreutils-9.9/src/date.c:580:16: branch_false: ...to here
coreutils-9.9/src/date.c:580:6: branch_false: following 'false' branch...
coreutils-9.9/src/date.c:587:6: branch_false: ...to here
coreutils-9.9/src/date.c:587:6: branch_false: following 'false' branch (when 'discarded_datestr == 0')...
coreutils-9.9/src/date.c:590:6: branch_false: ...to here
coreutils-9.9/src/date.c:590:6: branch_false: following 'false' branch (when 'discarded_set_datestr == 0')...
coreutils-9.9/src/date.c:593:7: branch_false: ...to here
coreutils-9.9/src/date.c:618:6: branch_true: following 'true' branch (when 'format' is NULL)...
coreutils-9.9/src/date.c:620:10: branch_true: ...to here
coreutils-9.9/src/date.c:638:23: call_function: calling 'adjust_resolution' from 'main'
coreutils-9.9/src/date.c:638:23: return_function: returning to 'main' from 'adjust_resolution'
coreutils-9.9/src/date.c:639:28: branch_true: following 'true' branch...
coreutils-9.9/src/date.c:640:26: branch_true: ...to here
coreutils-9.9/src/date.c:643:6: branch_false: following 'false' branch (when 'batch_file' is NULL)...
coreutils-9.9/src/date.c:643:6: branch_false: ...to here
coreutils-9.9/src/date.c:651:10: branch_true: following 'true' branch...
coreutils-9.9/src/date.c:653:15: branch_true: ...to here
coreutils-9.9/src/date.c:653:14: branch_true: following 'true' branch...
coreutils-9.9/src/date.c:658:29: branch_true: ...to here
coreutils-9.9/src/date.c:659:28: throw: if 'posixtime' throws an exception...
coreutils-9.9/src/date.c:659:28: danger: 'format_res' leaks here; was allocated at [(18)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def329]
coreutils-9.9/src/date.c:668:15: warning[-Wanalyzer-malloc-leak]: leak of 'format_res'
coreutils-9.9/src/date.c:465:1: enter_function: entry to 'main'
coreutils-9.9/src/date.c:573:6: branch_false: following 'false' branch (when 'option_specified_date <= 1')...
coreutils-9.9/src/date.c:580:16: branch_false: ...to here
coreutils-9.9/src/date.c:580:6: branch_false: following 'false' branch...
coreutils-9.9/src/date.c:587:6: branch_false: ...to here
coreutils-9.9/src/date.c:587:6: branch_false: following 'false' branch (when 'discarded_datestr == 0')...
coreutils-9.9/src/date.c:590:6: branch_false: ...to here
coreutils-9.9/src/date.c:590:6: branch_false: following 'false' branch (when 'discarded_set_datestr == 0')...
coreutils-9.9/src/date.c:593:7: branch_false: ...to here
coreutils-9.9/src/date.c:618:6: branch_true: following 'true' branch (when 'format' is NULL)...
coreutils-9.9/src/date.c:620:10: branch_true: ...to here
coreutils-9.9/src/date.c:638:23: call_function: calling 'adjust_resolution' from 'main'
coreutils-9.9/src/date.c:638:23: return_function: returning to 'main' from 'adjust_resolution'
coreutils-9.9/src/date.c:639:28: branch_true: following 'true' branch...
coreutils-9.9/src/date.c:640:26: branch_true: ...to here
coreutils-9.9/src/date.c:643:6: branch_false: following 'false' branch (when 'batch_file' is NULL)...
coreutils-9.9/src/date.c:643:6: branch_false: ...to here
coreutils-9.9/src/date.c:651:10: branch_true: following 'true' branch...
coreutils-9.9/src/date.c:653:15: branch_true: ...to here
coreutils-9.9/src/date.c:653:14: branch_false: following 'false' branch...
coreutils-9.9/src/date.c:668:15: branch_false: ...to here
coreutils-9.9/src/date.c:668:15: throw: if 'gettime' throws an exception...
coreutils-9.9/src/date.c:668:15: danger: 'format_res' leaks here; was allocated at [(18)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def330]
coreutils-9.9/src/date.c:697:9: warning[-Wanalyzer-malloc-leak]: leak of 'format_res'
coreutils-9.9/src/date.c:465:1: enter_function: entry to 'main'
coreutils-9.9/src/date.c:573:6: branch_false: following 'false' branch (when 'option_specified_date <= 1')...
coreutils-9.9/src/date.c:580:16: branch_false: ...to here
coreutils-9.9/src/date.c:580:6: branch_false: following 'false' branch...
coreutils-9.9/src/date.c:587:6: branch_false: ...to here
coreutils-9.9/src/date.c:587:6: branch_false: following 'false' branch (when 'discarded_datestr == 0')...
coreutils-9.9/src/date.c:590:6: branch_false: ...to here
coreutils-9.9/src/date.c:590:6: branch_false: following 'false' branch (when 'discarded_set_datestr == 0')...
coreutils-9.9/src/date.c:593:7: branch_false: ...to here
coreutils-9.9/src/date.c:618:6: branch_true: following 'true' branch (when 'format' is NULL)...
coreutils-9.9/src/date.c:620:10: branch_true: ...to here
coreutils-9.9/src/date.c:638:23: call_function: calling 'adjust_resolution' from 'main'
coreutils-9.9/src/date.c:638:23: return_function: returning to 'main' from 'adjust_resolution'
coreutils-9.9/src/date.c:639:28: branch_true: following 'true' branch...
coreutils-9.9/src/date.c:640:26: branch_true: ...to here
coreutils-9.9/src/date.c:643:6: branch_false: following 'false' branch (when 'batch_file' is NULL)...
coreutils-9.9/src/date.c:643:6: branch_false: ...to here
coreutils-9.9/src/date.c:651:10: branch_true: following 'true' branch...
coreutils-9.9/src/date.c:653:15: branch_true: ...to here
coreutils-9.9/src/date.c:653:14: branch_true: following 'true' branch...
coreutils-9.9/src/date.c:658:29: branch_true: ...to here
coreutils-9.9/src/date.c:696:10: branch_false: following 'false' branch (when 'valid_date == 0')...
coreutils-9.9/src/date.c:697:9: branch_false: ...to here
coreutils-9.9/src/date.c:697:9: throw: if 'quote' throws an exception...
coreutils-9.9/src/date.c:697:9: danger: 'format_res' leaks here; was allocated at [(18)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def331]
coreutils-9.9/src/date.c:703:15: warning[-Wanalyzer-malloc-leak]: leak of 'format_res'
coreutils-9.9/src/date.c:465:1: enter_function: entry to 'main'
coreutils-9.9/src/date.c:573:6: branch_false: following 'false' branch (when 'option_specified_date <= 1')...
coreutils-9.9/src/date.c:580:16: branch_false: ...to here
coreutils-9.9/src/date.c:580:6: branch_false: following 'false' branch...
coreutils-9.9/src/date.c:587:6: branch_false: ...to here
coreutils-9.9/src/date.c:587:6: branch_false: following 'false' branch (when 'discarded_datestr == 0')...
coreutils-9.9/src/date.c:590:6: branch_false: ...to here
coreutils-9.9/src/date.c:590:6: branch_false: following 'false' branch (when 'discarded_set_datestr == 0')...
coreutils-9.9/src/date.c:593:7: branch_false: ...to here
coreutils-9.9/src/date.c:618:6: branch_true: following 'true' branch (when 'format' is NULL)...
coreutils-9.9/src/date.c:620:10: branch_true: ...to here
coreutils-9.9/src/date.c:638:23: call_function: calling 'adjust_resolution' from 'main'
coreutils-9.9/src/date.c:638:23: return_function: returning to 'main' from 'adjust_resolution'
coreutils-9.9/src/date.c:639:28: branch_true: following 'true' branch...
coreutils-9.9/src/date.c:640:26: branch_true: ...to here
coreutils-9.9/src/date.c:643:6: branch_false: following 'false' branch (when 'batch_file' is NULL)...
coreutils-9.9/src/date.c:643:6: branch_false: ...to here
coreutils-9.9/src/date.c:651:10: branch_true: following 'true' branch...
coreutils-9.9/src/date.c:653:15: branch_true: ...to here
coreutils-9.9/src/date.c:653:14: branch_true: following 'true' branch...
coreutils-9.9/src/date.c:658:29: branch_true: ...to here
coreutils-9.9/src/date.c:696:10: branch_true: following 'true' branch (when 'valid_date != 0')...
coreutils-9.9/src/date.c:699:10: branch_true: ...to here
coreutils-9.9/src/date.c:699:10: branch_true: following 'true' branch (when 'set_date != 0')...
coreutils-9.9/src/date.c:703:15: branch_true: ...to here
coreutils-9.9/src/date.c:703:15: throw: if 'settime' throws an exception...
coreutils-9.9/src/date.c:703:15: danger: 'format_res' leaks here; was allocated at [(18)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def332]
coreutils-9.9/src/dd.c:527:3: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
coreutils-9.9/src/dd.c:2413:1: enter_function: entry to 'main'
coreutils-9.9/src/dd.c:2438:15: branch_true: following 'true' branch (when 'i != 256')...
coreutils-9.9/src/dd.c:2439:5: branch_true: ...to here
coreutils-9.9/src/dd.c:2442:3: call_function: calling 'scanargs' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def333]
coreutils-9.9/src/dd.c:922:12: warning[-Wanalyzer-fd-double-close]: double 'close' of file descriptor 'fd'
coreutils-9.9/src/dd.c:920:10: branch_false: following 'false' branch...
coreutils-9.9/src/dd.c:922:12: branch_false: ...to here
coreutils-9.9/src/dd.c:922:12: release_resource: first 'close' here
coreutils-9.9/src/dd.c:922:12: branch_true: following 'true' branch...
coreutils-9.9/src/dd.c:920:10: branch_false: following 'false' branch...
coreutils-9.9/src/dd.c:922:12: branch_false: ...to here
coreutils-9.9/src/dd.c:922:12: danger: second 'close' here; first 'close' was at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def334]
coreutils-9.9/src/df.c:361:7: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(dev_name)'
coreutils-9.9/src/df.c:1455:1: enter_function: entry to 'get_entry'
coreutils-9.9/src/df.c:1457:6: branch_true: following 'true' branch...
coreutils-9.9/src/df.c:1459:24: branch_true: ...to here
coreutils-9.9/src/df.c:1460:10: branch_true: following 'true' branch (when 'resolved' is non-NULL)...
coreutils-9.9/src/df.c:1462:11: branch_true: ...to here
coreutils-9.9/src/df.c:1462:11: call_function: calling 'get_dev' from 'get_entry'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def335]
coreutils-9.9/src/df.c:375:13: warning[-Wanalyzer-malloc-leak]: leak of 'resolved'
coreutils-9.9/src/df.c:1455:1: enter_function: entry to 'get_entry'
coreutils-9.9/src/df.c:1457:6: branch_true: following 'true' branch...
coreutils-9.9/src/df.c:1459:24: branch_true: ...to here
coreutils-9.9/src/df.c:1459:24: acquire_memory: allocated here
coreutils-9.9/src/df.c:1460:10: branch_true: following 'true' branch (when 'resolved' is non-NULL)...
coreutils-9.9/src/df.c:1462:11: branch_true: ...to here
coreutils-9.9/src/df.c:1462:11: call_function: calling 'get_dev' from 'get_entry'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def336]
coreutils-9.9/src/df.c:376:20: warning[-Wanalyzer-malloc-leak]: leak of 'resolved'
coreutils-9.9/src/df.c:1455:1: enter_function: entry to 'get_entry'
coreutils-9.9/src/df.c:1457:6: branch_true: following 'true' branch...
coreutils-9.9/src/df.c:1459:24: branch_true: ...to here
coreutils-9.9/src/df.c:1459:24: acquire_memory: allocated here
coreutils-9.9/src/df.c:1460:10: branch_true: following 'true' branch (when 'resolved' is non-NULL)...
coreutils-9.9/src/df.c:1462:11: branch_true: ...to here
coreutils-9.9/src/df.c:1462:11: call_function: calling 'get_dev' from 'get_entry'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def337]
coreutils-9.9/src/df.c:419:15: warning[-Wanalyzer-malloc-leak]: leak of 's'
coreutils-9.9/src/df.c:1584:1: enter_function: entry to 'main'
coreutils-9.9/src/df.c:1617:10: branch_false: following 'false' branch (when 'c != -1')...
coreutils-9.9/src/df.c:1620:7: branch_false: ...to here
coreutils-9.9/src/df.c:1700:14: branch_false: following 'false' branch...
coreutils-9.9/src/df.c:1705:14: branch_false: ...to here
coreutils-9.9/src/df.c:1705:14: branch_false: following 'false' branch (when 'posix_format == 0')...
coreutils-9.9/src/df.c:1710:15: branch_false: ...to here
coreutils-9.9/src/df.c:1710:14: branch_false: following 'false' branch...
coreutils-9.9/src/df.c:1715:11: branch_false: ...to here
coreutils-9.9/src/df.c:1716:14: branch_true: following 'true' branch...
coreutils-9.9/src/df.c:1717:13: branch_true: ...to here
coreutils-9.9/src/df.c:1717:13: call_function: calling 'decode_output_arg' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def338]
coreutils-9.9/src/df.c:451:15: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(arg)'
coreutils-9.9/src/df.c:1584:1: enter_function: entry to 'main'
coreutils-9.9/src/df.c:1617:10: branch_false: following 'false' branch (when 'c != -1')...
coreutils-9.9/src/df.c:1620:7: branch_false: ...to here
coreutils-9.9/src/df.c:1700:14: branch_false: following 'false' branch...
coreutils-9.9/src/df.c:1705:14: branch_false: ...to here
coreutils-9.9/src/df.c:1705:14: branch_false: following 'false' branch (when 'posix_format == 0')...
coreutils-9.9/src/df.c:1710:15: branch_false: ...to here
coreutils-9.9/src/df.c:1710:14: branch_false: following 'false' branch...
coreutils-9.9/src/df.c:1715:11: branch_false: ...to here
coreutils-9.9/src/df.c:1716:14: branch_true: following 'true' branch...
coreutils-9.9/src/df.c:1717:13: branch_true: ...to here
coreutils-9.9/src/df.c:1717:13: call_function: calling 'decode_output_arg' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def339]
coreutils-9.9/src/df.c:466:11: warning[-Wanalyzer-malloc-leak]: leak of 's'
coreutils-9.9/src/df.c:1584:1: enter_function: entry to 'single_binary_main_df'
coreutils-9.9/src/df.c:1617:10: branch_false: following 'false' branch (when 'c != -1')...
coreutils-9.9/src/df.c:1620:7: branch_false: ...to here
coreutils-9.9/src/df.c:1700:14: branch_false: following 'false' branch...
coreutils-9.9/src/df.c:1705:14: branch_false: ...to here
coreutils-9.9/src/df.c:1705:14: branch_false: following 'false' branch (when 'posix_format == 0')...
coreutils-9.9/src/df.c:1710:15: branch_false: ...to here
coreutils-9.9/src/df.c:1710:14: branch_false: following 'false' branch...
coreutils-9.9/src/df.c:1715:11: branch_false: ...to here
coreutils-9.9/src/df.c:1716:14: branch_true: following 'true' branch...
coreutils-9.9/src/df.c:1717:13: branch_true: ...to here
coreutils-9.9/src/df.c:1717:13: call_function: calling 'decode_output_arg' from 'single_binary_main_df'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def340]
coreutils-9.9/src/df.c:651:7: warning[-Wanalyzer-malloc-leak]: leak of 'find_mount_point(point, statp)'
coreutils-9.9/src/df.c:1455:1: enter_function: entry to 'get_entry'
coreutils-9.9/src/df.c:1468:6: branch_false: following 'false' branch...
coreutils-9.9/src/df.c:1472:3: branch_false: ...to here
coreutils-9.9/src/df.c:1472:3: call_function: calling 'get_point' from 'get_entry'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def341]
coreutils-9.9/src/df.c:810:30: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(32)'
coreutils-9.9/src/df.c:1479:1: enter_function: entry to 'get_all_entries'
coreutils-9.9/src/df.c:1483:3: call_function: calling 'filter_mount_list' from 'get_all_entries'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def342]
coreutils-9.9/src/df.c:883:17: warning[-Wanalyzer-malloc-leak]: leak of 'dev_name'
coreutils-9.9/src/df.c:1455:1: enter_function: entry to 'get_entry'
coreutils-9.9/src/df.c:1457:6: branch_true: following 'true' branch...
coreutils-9.9/src/df.c:1459:24: branch_true: ...to here
coreutils-9.9/src/df.c:1460:10: branch_true: following 'true' branch (when 'resolved' is non-NULL)...
coreutils-9.9/src/df.c:1462:11: branch_true: ...to here
coreutils-9.9/src/df.c:1462:11: call_function: calling 'get_dev' from 'get_entry'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def343]
coreutils-9.9/src/df.c:1036:12: warning[-Wanalyzer-malloc-leak]: leak of 'resolved'
coreutils-9.9/src/df.c:1455:1: enter_function: entry to 'get_entry'
coreutils-9.9/src/df.c:1457:6: branch_true: following 'true' branch...
coreutils-9.9/src/df.c:1459:24: branch_true: ...to here
coreutils-9.9/src/df.c:1459:24: acquire_memory: allocated here
coreutils-9.9/src/df.c:1460:10: branch_true: following 'true' branch (when 'resolved' is non-NULL)...
coreutils-9.9/src/df.c:1462:11: branch_true: ...to here
coreutils-9.9/src/df.c:1462:11: call_function: calling 'get_dev' from 'get_entry'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def344]
coreutils-9.9/src/df.c:1053:11: warning[-Wanalyzer-malloc-leak]: leak of 'resolved'
coreutils-9.9/src/df.c:1455:1: enter_function: entry to 'get_entry'
coreutils-9.9/src/df.c:1457:6: branch_true: following 'true' branch...
coreutils-9.9/src/df.c:1459:24: branch_true: ...to here
coreutils-9.9/src/df.c:1459:24: acquire_memory: allocated here
coreutils-9.9/src/df.c:1460:10: branch_true: following 'true' branch (when 'resolved' is non-NULL)...
coreutils-9.9/src/df.c:1462:11: branch_true: ...to here
coreutils-9.9/src/df.c:1462:11: call_function: calling 'get_dev' from 'get_entry'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def345]
coreutils-9.9/src/df.c:1093:20: warning[-Wanalyzer-malloc-leak]: leak of 'resolved'
coreutils-9.9/src/df.c:1455:1: enter_function: entry to 'get_entry'
coreutils-9.9/src/df.c:1457:6: branch_true: following 'true' branch...
coreutils-9.9/src/df.c:1459:24: branch_true: ...to here
coreutils-9.9/src/df.c:1459:24: acquire_memory: allocated here
coreutils-9.9/src/df.c:1460:10: branch_true: following 'true' branch (when 'resolved' is non-NULL)...
coreutils-9.9/src/df.c:1462:11: branch_true: ...to here
coreutils-9.9/src/df.c:1462:11: call_function: calling 'get_dev' from 'get_entry'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def346]
coreutils-9.9/src/df.c:1145:18: warning[-Wanalyzer-malloc-leak]: leak of 'dev_name'
coreutils-9.9/src/df.c:1455:1: enter_function: entry to 'get_entry'
coreutils-9.9/src/df.c:1457:6: branch_true: following 'true' branch...
coreutils-9.9/src/df.c:1459:24: branch_true: ...to here
coreutils-9.9/src/df.c:1460:10: branch_true: following 'true' branch (when 'resolved' is non-NULL)...
coreutils-9.9/src/df.c:1462:11: branch_true: ...to here
coreutils-9.9/src/df.c:1462:11: call_function: calling 'get_dev' from 'get_entry'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def347]
coreutils-9.9/src/df.c:1145:18: warning[-Wanalyzer-malloc-leak]: leak of 'resolved'
coreutils-9.9/src/df.c:1455:1: enter_function: entry to 'get_entry'
coreutils-9.9/src/df.c:1457:6: branch_true: following 'true' branch...
coreutils-9.9/src/df.c:1459:24: branch_true: ...to here
coreutils-9.9/src/df.c:1459:24: acquire_memory: allocated here
coreutils-9.9/src/df.c:1460:10: branch_true: following 'true' branch (when 'resolved' is non-NULL)...
coreutils-9.9/src/df.c:1462:11: branch_true: ...to here
coreutils-9.9/src/df.c:1462:11: call_function: calling 'get_dev' from 'get_entry'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def348]
coreutils-9.9/src/df.c:1149:18: warning[-Wanalyzer-malloc-leak]: leak of 'dev_name'
coreutils-9.9/src/df.c:1455:1: enter_function: entry to 'get_entry'
coreutils-9.9/src/df.c:1457:6: branch_true: following 'true' branch...
coreutils-9.9/src/df.c:1459:24: branch_true: ...to here
coreutils-9.9/src/df.c:1460:10: branch_true: following 'true' branch (when 'resolved' is non-NULL)...
coreutils-9.9/src/df.c:1462:11: branch_true: ...to here
coreutils-9.9/src/df.c:1462:11: call_function: calling 'get_dev' from 'get_entry'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def349]
coreutils-9.9/src/df.c:1154:18: warning[-Wanalyzer-malloc-leak]: leak of 'dev_name'
coreutils-9.9/src/df.c:1455:1: enter_function: entry to 'get_entry'
coreutils-9.9/src/df.c:1457:6: branch_true: following 'true' branch...
coreutils-9.9/src/df.c:1459:24: branch_true: ...to here
coreutils-9.9/src/df.c:1460:10: branch_true: following 'true' branch (when 'resolved' is non-NULL)...
coreutils-9.9/src/df.c:1462:11: branch_true: ...to here
coreutils-9.9/src/df.c:1462:11: call_function: calling 'get_dev' from 'get_entry'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def350]
coreutils-9.9/src/df.c:1154:18: warning[-Wanalyzer-null-dereference]: dereference of NULL 'v'
coreutils-9.9/src/df.c:1455:1: enter_function: entry to 'get_entry'
coreutils-9.9/src/df.c:1457:6: branch_true: following 'true' branch...
coreutils-9.9/src/df.c:1459:24: branch_true: ...to here
coreutils-9.9/src/df.c:1460:10: branch_true: following 'true' branch (when 'resolved' is non-NULL)...
coreutils-9.9/src/df.c:1462:11: branch_true: ...to here
coreutils-9.9/src/df.c:1462:11: call_function: calling 'get_dev' from 'get_entry'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def351]
coreutils-9.9/src/df.c:1160:18: warning[-Wanalyzer-malloc-leak]: leak of 'dev_name'
coreutils-9.9/src/df.c:1455:1: enter_function: entry to 'get_entry'
coreutils-9.9/src/df.c:1457:6: branch_true: following 'true' branch...
coreutils-9.9/src/df.c:1459:24: branch_true: ...to here
coreutils-9.9/src/df.c:1460:10: branch_true: following 'true' branch (when 'resolved' is non-NULL)...
coreutils-9.9/src/df.c:1462:11: branch_true: ...to here
coreutils-9.9/src/df.c:1462:11: call_function: calling 'get_dev' from 'get_entry'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def352]
coreutils-9.9/src/df.c:1160:18: warning[-Wanalyzer-null-dereference]: dereference of NULL 'v'
coreutils-9.9/src/df.c:1455:1: enter_function: entry to 'get_entry'
coreutils-9.9/src/df.c:1457:6: branch_true: following 'true' branch...
coreutils-9.9/src/df.c:1459:24: branch_true: ...to here
coreutils-9.9/src/df.c:1460:10: branch_true: following 'true' branch (when 'resolved' is non-NULL)...
coreutils-9.9/src/df.c:1462:11: branch_true: ...to here
coreutils-9.9/src/df.c:1462:11: call_function: calling 'get_dev' from 'get_entry'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def353]
coreutils-9.9/src/df.c:1166:18: warning[-Wanalyzer-malloc-leak]: leak of 'dev_name'
coreutils-9.9/src/df.c:1455:1: enter_function: entry to 'get_entry'
coreutils-9.9/src/df.c:1457:6: branch_true: following 'true' branch...
coreutils-9.9/src/df.c:1459:24: branch_true: ...to here
coreutils-9.9/src/df.c:1460:10: branch_true: following 'true' branch (when 'resolved' is non-NULL)...
coreutils-9.9/src/df.c:1462:11: branch_true: ...to here
coreutils-9.9/src/df.c:1462:11: call_function: calling 'get_dev' from 'get_entry'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def354]
coreutils-9.9/src/df.c:1166:18: warning[-Wanalyzer-null-dereference]: dereference of NULL 'v'
coreutils-9.9/src/df.c:1455:1: enter_function: entry to 'get_entry'
coreutils-9.9/src/df.c:1457:6: branch_true: following 'true' branch...
coreutils-9.9/src/df.c:1459:24: branch_true: ...to here
coreutils-9.9/src/df.c:1460:10: branch_true: following 'true' branch (when 'resolved' is non-NULL)...
coreutils-9.9/src/df.c:1462:11: branch_true: ...to here
coreutils-9.9/src/df.c:1462:11: call_function: calling 'get_dev' from 'get_entry'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def355]
coreutils-9.9/src/df.c:1174:19: warning[-Wanalyzer-null-dereference]: dereference of NULL 'v'
coreutils-9.9/src/df.c:1455:1: enter_function: entry to 'get_entry'
coreutils-9.9/src/df.c:1457:6: branch_true: following 'true' branch...
coreutils-9.9/src/df.c:1459:24: branch_true: ...to here
coreutils-9.9/src/df.c:1460:10: branch_true: following 'true' branch (when 'resolved' is non-NULL)...
coreutils-9.9/src/df.c:1462:11: branch_true: ...to here
coreutils-9.9/src/df.c:1462:11: call_function: calling 'get_dev' from 'get_entry'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def356]
coreutils-9.9/src/df.c:1209:30: warning[-Wanalyzer-malloc-leak]: leak of 'dev_name'
coreutils-9.9/src/df.c:1455:1: enter_function: entry to 'get_entry'
coreutils-9.9/src/df.c:1457:6: branch_true: following 'true' branch...
coreutils-9.9/src/df.c:1459:24: branch_true: ...to here
coreutils-9.9/src/df.c:1460:10: branch_true: following 'true' branch (when 'resolved' is non-NULL)...
coreutils-9.9/src/df.c:1462:11: branch_true: ...to here
coreutils-9.9/src/df.c:1462:11: call_function: calling 'get_dev' from 'get_entry'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def357]
coreutils-9.9/src/df.c:1209:46: warning[-Wanalyzer-malloc-leak]: leak of 'dev_name'
coreutils-9.9/src/df.c:1455:1: enter_function: entry to 'get_entry'
coreutils-9.9/src/df.c:1457:6: branch_true: following 'true' branch...
coreutils-9.9/src/df.c:1459:24: branch_true: ...to here
coreutils-9.9/src/df.c:1460:10: branch_true: following 'true' branch (when 'resolved' is non-NULL)...
coreutils-9.9/src/df.c:1462:11: branch_true: ...to here
coreutils-9.9/src/df.c:1462:11: call_function: calling 'get_dev' from 'get_entry'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def358]
coreutils-9.9/src/df.c:1214:18: warning[-Wanalyzer-malloc-leak]: leak of 'dev_name'
coreutils-9.9/src/df.c:1455:1: enter_function: entry to 'get_entry'
coreutils-9.9/src/df.c:1457:6: branch_true: following 'true' branch...
coreutils-9.9/src/df.c:1459:24: branch_true: ...to here
coreutils-9.9/src/df.c:1460:10: branch_true: following 'true' branch (when 'resolved' is non-NULL)...
coreutils-9.9/src/df.c:1462:11: branch_true: ...to here
coreutils-9.9/src/df.c:1462:11: call_function: calling 'get_dev' from 'get_entry'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def359]
coreutils-9.9/src/df.c:1227:18: warning[-Wanalyzer-malloc-leak]: leak of 'dev_name'
coreutils-9.9/src/df.c:1455:1: enter_function: entry to 'get_entry'
coreutils-9.9/src/df.c:1457:6: branch_true: following 'true' branch...
coreutils-9.9/src/df.c:1459:24: branch_true: ...to here
coreutils-9.9/src/df.c:1460:10: branch_true: following 'true' branch (when 'resolved' is non-NULL)...
coreutils-9.9/src/df.c:1462:11: branch_true: ...to here
coreutils-9.9/src/df.c:1462:11: call_function: calling 'get_dev' from 'get_entry'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def360]
coreutils-9.9/src/df.c:1238:24: warning[-Wanalyzer-malloc-leak]: leak of 'cell'
coreutils-9.9/src/df.c:1455:1: enter_function: entry to 'get_entry'
coreutils-9.9/src/df.c:1457:6: branch_true: following 'true' branch...
coreutils-9.9/src/df.c:1459:24: branch_true: ...to here
coreutils-9.9/src/df.c:1460:10: branch_true: following 'true' branch (when 'resolved' is non-NULL)...
coreutils-9.9/src/df.c:1462:11: branch_true: ...to here
coreutils-9.9/src/df.c:1462:11: call_function: calling 'get_dev' from 'get_entry'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def361]
coreutils-9.9/src/df.c:1238:24: warning[-Wanalyzer-malloc-leak]: leak of 'dev_name'
coreutils-9.9/src/df.c:1455:1: enter_function: entry to 'get_entry'
coreutils-9.9/src/df.c:1457:6: branch_true: following 'true' branch...
coreutils-9.9/src/df.c:1459:24: branch_true: ...to here
coreutils-9.9/src/df.c:1460:10: branch_true: following 'true' branch (when 'resolved' is non-NULL)...
coreutils-9.9/src/df.c:1462:11: branch_true: ...to here
coreutils-9.9/src/df.c:1462:11: call_function: calling 'get_dev' from 'get_entry'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def362]
coreutils-9.9/src/df.c:1266:14: warning[-Wanalyzer-malloc-leak]: leak of 'devname'
coreutils-9.9/src/df.c:1455:1: enter_function: entry to 'get_entry'
coreutils-9.9/src/df.c:1468:6: branch_true: following 'true' branch...
coreutils-9.9/src/df.c:1469:10: branch_true: ...to here
coreutils-9.9/src/df.c:1469:10: call_function: calling 'get_device' from 'get_entry'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def363]
coreutils-9.9/src/df.c:1266:14: warning[-Wanalyzer-malloc-leak]: leak of 'resolved'
coreutils-9.9/src/df.c:1455:1: enter_function: entry to 'get_entry'
coreutils-9.9/src/df.c:1468:6: branch_true: following 'true' branch...
coreutils-9.9/src/df.c:1469:10: branch_true: ...to here
coreutils-9.9/src/df.c:1469:10: call_function: calling 'get_device' from 'get_entry'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def364]
coreutils-9.9/src/df.c:1789:57: warning[-Wanalyzer-malloc-leak]: leak of 'xnmalloc((long unsigned int)(argc - optind), 144)'
coreutils-9.9/src/df.c:1584:1: enter_function: entry to 'main'
coreutils-9.9/src/df.c:1777:8: branch_false: following 'false' branch (when 'match == 0')...
coreutils-9.9/src/df.c:1781:7: branch_false: ...to here
coreutils-9.9/src/df.c:1781:6: branch_true: following 'true' branch...
coreutils-9.9/src/df.c:1786:25: branch_true: ...to here
coreutils-9.9/src/df.c:1787:28: branch_true: following 'true' branch (when 'i < argc')...
coreutils-9.9/src/df.c:1789:57: branch_true: ...to here
coreutils-9.9/src/df.c:1789:21: call_function: calling 'automount_stat_err' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def365]
coreutils-9.9/src/df.c:1800:5: warning[-Wanalyzer-malloc-leak]: leak of 'stats'
coreutils-9.9/src/df.c:1777:8: branch_false: following 'false' branch (when 'match == 0')...
coreutils-9.9/src/df.c:1781:7: branch_false: ...to here
coreutils-9.9/src/df.c:1781:6: branch_true: following 'true' branch...
coreutils-9.9/src/df.c:1786:25: branch_true: ...to here
coreutils-9.9/src/df.c:1800:5: throw: if 'read_file_system_list' throws an exception...
coreutils-9.9/src/df.c:1800:5: danger: 'stats' leaks here; was allocated at [(5)](sarif:/runs/0/results/36/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-835): [#def366]
coreutils-9.9/src/digest.c:959:10: warning[-Wanalyzer-infinite-loop]: infinite loop
coreutils-9.9/src/digest.c:959:10: danger: infinite loop here
coreutils-9.9/src/digest.c:959:10: branch_true: if it ever follows 'true' branch, it will always do so...
coreutils-9.9/src/digest.c:959:27: branch_true: ...to here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def367]
coreutils-9.9/src/digest.c:1137:3: warning[-Wanalyzer-malloc-leak]: leak of 'fp'
coreutils-9.9/src/digest.c:1110:6: branch_false: following 'false' branch (when the strings are non-equal)...
coreutils-9.9/src/digest.c:1124:12: branch_false: ...to here
coreutils-9.9/src/digest.c:1124:12: acquire_memory: allocated here
coreutils-9.9/src/digest.c:1125:10: branch_false: following 'false' branch...
coreutils-9.9/src/digest.c:1137:3: branch_false: ...to here
coreutils-9.9/src/digest.c:1137:3: throw: if 'fadvise' throws an exception...
coreutils-9.9/src/digest.c:1137:3: danger: 'fp' leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-457): [#def368]
coreutils-9.9/src/digest.c:1288: error[uninitvar]: Uninitialized variable: bin_buffer_unaligned
Error: CPPCHECK_WARNING (CWE-457): [#def369]
coreutils-9.9/src/digest.c:1488: error[uninitvar]: Uninitialized variable: bin_buffer_unaligned
Error: COMPILER_WARNING (CWE-704): [#def370]
coreutils-9.9/src/du.c: scope_hint: In function 'main'
coreutils-9.9/src/du.c:959:25: warning[-Wdiscarded-qualifiers]: initialization discards 'const' qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def371]
coreutils-9.9/src/du.c:959:25: warning[-Wdiscarded-qualifiers]: initialization discards 'const' qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-401): [#def372]
coreutils-9.9/src/du.c:1035:14: warning[-Wanalyzer-malloc-leak]: leak of 'ai'
coreutils-9.9/src/du.c:910:6: branch_true: following 'true' branch (when 'ok != 0')...
coreutils-9.9/src/du.c:913:7: branch_true: ...to here
coreutils-9.9/src/du.c:998:6: branch_false: following 'false' branch (when 'files_from' is NULL)...
coreutils-9.9/src/du.c:1022:23: branch_false: ...to here
coreutils-9.9/src/du.c:1023:12: acquire_memory: allocated here
coreutils-9.9/src/du.c:1031:6: branch_false: following 'false' branch (when 'ai' is non-NULL)...
coreutils-9.9/src/du.c:1035:14: branch_false: ...to here
coreutils-9.9/src/du.c:1035:14: throw: if 'di_set_alloc' throws an exception...
coreutils-9.9/src/du.c:1035:14: danger: 'ai' leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def373]
coreutils-9.9/src/du.c:1037:5: warning[-Wanalyzer-malloc-leak]: leak of 'ai'
coreutils-9.9/src/du.c:910:6: branch_true: following 'true' branch (when 'ok != 0')...
coreutils-9.9/src/du.c:913:7: branch_true: ...to here
coreutils-9.9/src/du.c:998:6: branch_false: following 'false' branch (when 'files_from' is NULL)...
coreutils-9.9/src/du.c:1022:23: branch_false: ...to here
coreutils-9.9/src/du.c:1023:12: acquire_memory: allocated here
coreutils-9.9/src/du.c:1031:6: branch_false: following 'false' branch (when 'ai' is non-NULL)...
coreutils-9.9/src/du.c:1035:14: branch_false: ...to here
coreutils-9.9/src/du.c:1036:6: branch_true: following 'true' branch...
coreutils-9.9/src/du.c:1037:5: branch_true: ...to here
coreutils-9.9/src/du.c:1037:5: throw: if 'xalloc_die' throws an exception...
coreutils-9.9/src/du.c:1037:5: danger: 'ai' leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def374]
coreutils-9.9/src/du.c:1051:25: warning[-Wanalyzer-malloc-leak]: leak of 'ai'
coreutils-9.9/src/du.c:910:6: branch_true: following 'true' branch (when 'ok != 0')...
coreutils-9.9/src/du.c:913:7: branch_true: ...to here
coreutils-9.9/src/du.c:998:6: branch_false: following 'false' branch (when 'files_from' is NULL)...
coreutils-9.9/src/du.c:1022:23: branch_false: ...to here
coreutils-9.9/src/du.c:1023:12: acquire_memory: allocated here
coreutils-9.9/src/du.c:1031:6: branch_false: following 'false' branch (when 'ai' is non-NULL)...
coreutils-9.9/src/du.c:1035:14: branch_false: ...to here
coreutils-9.9/src/du.c:1036:6: branch_false: following 'false' branch...
coreutils-9.9/src/du.c:1041:7: branch_false: ...to here
coreutils-9.9/src/du.c:1051:25: throw: if 'argv_iter' throws an exception...
coreutils-9.9/src/du.c:1051:25: danger: 'ai' leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def375]
coreutils-9.9/src/env.c:564:20: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(arg)'
coreutils-9.9/src/env.c:562:10: branch_true: following 'true' branch (when 'opt_sig' is non-NULL)...
coreutils-9.9/src/env.c:564:20: branch_true: ...to here
coreutils-9.9/src/env.c:564:20: throw: if 'operand2sig' throws an exception...
coreutils-9.9/src/env.c:564:20: 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): [#def376]
coreutils-9.9/src/env.c:567:9: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(arg)'
coreutils-9.9/src/env.c:562:10: branch_true: following 'true' branch (when 'opt_sig' is non-NULL)...
coreutils-9.9/src/env.c:564:20: branch_true: ...to here
coreutils-9.9/src/env.c:566:10: branch_true: following 'true' branch...
coreutils-9.9/src/env.c:567:9: branch_true: ...to here
coreutils-9.9/src/env.c:567:9: throw: if 'quote' throws an exception...
coreutils-9.9/src/env.c:567:9: 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): [#def377]
coreutils-9.9/src/env.c:568:10: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(arg)'
coreutils-9.9/src/env.c:562:10: branch_true: following 'true' branch (when 'opt_sig' is non-NULL)...
coreutils-9.9/src/env.c:564:20: branch_true: ...to here
coreutils-9.9/src/env.c:568: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): [#def378]
coreutils-9.9/src/env.c:571:14: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(arg)'
coreutils-9.9/src/env.c:562:10: branch_true: following 'true' branch (when 'opt_sig' is non-NULL)...
coreutils-9.9/src/env.c:564:20: branch_true: ...to here
coreutils-9.9/src/env.c:568:10: branch_false: following 'false' branch...
coreutils-9.9/src/env.c:571:25: branch_false: ...to here
coreutils-9.9/src/env.c:571:25: branch_true: following 'true' branch (when 'set_default != 0')...
coreutils-9.9/src/env.c:571:14: branch_true: ...to here
coreutils-9.9/src/env.c:562:10: branch_true: following 'true' branch (when 'opt_sig' is non-NULL)...
coreutils-9.9/src/env.c:564:20: branch_true: ...to here
coreutils-9.9/src/env.c:564:20: throw: if 'operand2sig' throws an exception...
coreutils-9.9/src/env.c:571: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): [#def379]
coreutils-9.9/src/env.c:653:20: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(arg)'
coreutils-9.9/src/env.c:651:10: branch_true: following 'true' branch (when 'opt_sig' is non-NULL)...
coreutils-9.9/src/env.c:653:20: branch_true: ...to here
coreutils-9.9/src/env.c:653:20: throw: if 'operand2sig' throws an exception...
coreutils-9.9/src/env.c:653:20: danger: 'xstrdup(arg)' leaks here; was allocated at [(1)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def380]
coreutils-9.9/src/env.c:656:9: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(arg)'
coreutils-9.9/src/env.c:651:10: branch_true: following 'true' branch (when 'opt_sig' is non-NULL)...
coreutils-9.9/src/env.c:653:20: branch_true: ...to here
coreutils-9.9/src/env.c:655:10: branch_true: following 'true' branch...
coreutils-9.9/src/env.c:656:9: branch_true: ...to here
coreutils-9.9/src/env.c:656:9: throw: if 'quote' throws an exception...
coreutils-9.9/src/env.c:656:9: danger: 'xstrdup(arg)' leaks here; was allocated at [(1)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def381]
coreutils-9.9/src/env.c:657:10: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(arg)'
coreutils-9.9/src/env.c:651:10: branch_true: following 'true' branch (when 'opt_sig' is non-NULL)...
coreutils-9.9/src/env.c:653:20: branch_true: ...to here
coreutils-9.9/src/env.c:657:10: danger: 'xstrdup(arg)' leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def382]
coreutils-9.9/src/env.c:662:14: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(arg)'
coreutils-9.9/src/env.c:651:10: branch_true: following 'true' branch (when 'opt_sig' is non-NULL)...
coreutils-9.9/src/env.c:653:20: branch_true: ...to here
coreutils-9.9/src/env.c:657:10: branch_false: following 'false' branch...
coreutils-9.9/src/env.c:660:11: branch_false: ...to here
coreutils-9.9/src/env.c:660:11: branch_true: following 'true' branch...
coreutils-9.9/src/env.c:662:14: danger: 'xstrdup(arg)' leaks here; was allocated at [(1)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def383]
coreutils-9.9/src/expand-common.c:324:15: warning[-Wanalyzer-malloc-leak]: leak of 'ximemdup0(num_start, len)'
coreutils-9.9/src/expand-common.c:252:1: enter_function: entry to 'parse_tab_stops'
coreutils-9.9/src/expand-common.c:261:10: branch_true: following 'true' branch...
coreutils-9.9/src/expand-common.c:263:10: branch_true: ...to here
coreutils-9.9/src/expand-common.c:263:10: branch_false: following 'false' branch...
coreutils-9.9/src/expand-common.c:288:15: branch_false: following 'false' branch...
coreutils-9.9/src/expand-common.c:299:15: branch_false: ...to here
coreutils-9.9/src/expand-common.c:299:15: branch_false: following 'false' branch...
coreutils-9.9/src/expand-common.c:299:15: branch_false: ...to here
coreutils-9.9/src/expand-common.c:310:16: call_function: inlined call to 'c_isdigit' from 'parse_tab_stops'
coreutils-9.9/src/expand-common.c:312:14: branch_true: ...to here
coreutils-9.9/src/expand-common.c:312:14: branch_false: following 'false' branch (when 'have_tabval == 0')...
coreutils-9.9/src/expand-common.c:312:14: branch_false: ...to here
coreutils-9.9/src/expand-common.c:324:15: throw: if 'quote' throws an exception...
coreutils-9.9/src/expand-common.c:324:15: danger: 'ximemdup0(num_start, len)' leaks here; was allocated at [(15)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def384]
coreutils-9.9/src/expand-common.c:497:11: warning[-Wanalyzer-file-leak]: leak of FILE 'fp'
coreutils-9.9/src/expand-common.c:464:1: enter_function: entry to 'next_file'
coreutils-9.9/src/expand-common.c:485:10: branch_true: following 'true' branch (when 'file' is non-NULL)...
coreutils-9.9/src/expand-common.c:487:11: call_function: inlined call to 'streq' from 'next_file'
coreutils-9.9/src/expand-common.c:493:14: acquire_resource: opened here
coreutils-9.9/src/expand-common.c:497:11: throw: if 'fadvise' throws an exception...
coreutils-9.9/src/expand-common.c:497:11: danger: 'fp' leaks here; was opened at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def385]
coreutils-9.9/src/expand-common.c:497:11: warning[-Wanalyzer-malloc-leak]: leak of 'fp'
coreutils-9.9/src/expand-common.c:464:1: enter_function: entry to 'next_file'
coreutils-9.9/src/expand-common.c:485:10: branch_true: following 'true' branch (when 'file' is non-NULL)...
coreutils-9.9/src/expand-common.c:487:11: call_function: inlined call to 'streq' from 'next_file'
coreutils-9.9/src/expand-common.c:493:14: acquire_memory: allocated here
coreutils-9.9/src/expand-common.c:497:11: throw: if 'fadvise' throws an exception...
coreutils-9.9/src/expand-common.c:497:11: danger: 'fp' leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def386]
coreutils-9.9/src/expr.c:367:12: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(24)'
coreutils-9.9/src/expr.c:679:1: enter_function: entry to 'eval6'
coreutils-9.9/src/expr.c:695:11: branch_true: following 'true' branch...
coreutils-9.9/src/expr.c:697:11: branch_true: ...to here
coreutils-9.9/src/expr.c:697:11: call_function: calling 'eval6' from 'eval6'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def387]
coreutils-9.9/src/find-mount-point.c:103:9: warning[-Wanalyzer-malloc-leak]: leak of 'mp'
coreutils-9.9/src/find-mount-point.c:36:6: branch_false: following 'false' branch...
coreutils-9.9/src/find-mount-point.c:42:7: branch_false: ...to here
coreutils-9.9/src/find-mount-point.c:46:10: branch_false: following 'false' branch...
coreutils-9.9/src/find-mount-point.c:46:10: branch_false: ...to here
coreutils-9.9/src/find-mount-point.c:80:10: branch_false: following 'false' branch...
coreutils-9.9/src/find-mount-point.c:85:11: branch_false: ...to here
coreutils-9.9/src/find-mount-point.c:97:8: acquire_memory: allocated here
coreutils-9.9/src/find-mount-point.c:103:9: throw: if 'restore_cwd' throws an exception...
coreutils-9.9/src/find-mount-point.c:103:9: danger: 'mp' leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def388]
coreutils-9.9/src/find-mount-point.c:106:5: warning[-Wanalyzer-malloc-leak]: leak of 'mp'
coreutils-9.9/src/find-mount-point.c:36:6: branch_false: following 'false' branch...
coreutils-9.9/src/find-mount-point.c:42:7: branch_false: ...to here
coreutils-9.9/src/find-mount-point.c:46:10: branch_false: following 'false' branch...
coreutils-9.9/src/find-mount-point.c:46:10: branch_false: ...to here
coreutils-9.9/src/find-mount-point.c:80:10: branch_false: following 'false' branch...
coreutils-9.9/src/find-mount-point.c:85:11: branch_false: ...to here
coreutils-9.9/src/find-mount-point.c:97:8: acquire_memory: allocated here
coreutils-9.9/src/find-mount-point.c:103:8: branch_false: following 'false' branch...
coreutils-9.9/src/find-mount-point.c:106:5: branch_false: ...to here
coreutils-9.9/src/find-mount-point.c:106:5: throw: if 'free_cwd' throws an exception...
coreutils-9.9/src/find-mount-point.c:106:5: danger: 'mp' leaks here; was allocated at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def389]
coreutils-9.9/src/fold.c:174:3: warning[-Wanalyzer-file-leak]: leak of FILE 'istream'
coreutils-9.9/src/fold.c:280:1: enter_function: entry to 'main'
coreutils-9.9/src/fold.c:341:6: branch_true: following 'true' branch...
coreutils-9.9/src/fold.c:342:10: branch_true: ...to here
coreutils-9.9/src/fold.c:342:10: call_function: calling 'fold_file' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def390]
coreutils-9.9/src/fold.c:174:3: warning[-Wanalyzer-malloc-leak]: leak of 'istream'
coreutils-9.9/src/fold.c:280:1: enter_function: entry to 'main'
coreutils-9.9/src/fold.c:341:6: branch_true: following 'true' branch...
coreutils-9.9/src/fold.c:342:10: branch_true: ...to here
coreutils-9.9/src/fold.c:342:10: call_function: calling 'fold_file' from 'main'
Error: CPPCHECK_WARNING (CWE-476): [#def391]
coreutils-9.9/src/head.c:380: warning[nullPointer]: Possible null pointer dereference: b
Error: CPPCHECK_WARNING (CWE-476): [#def392]
coreutils-9.9/src/head.c:383: warning[nullPointer]: Possible null pointer dereference: b
Error: GCC_ANALYZER_WARNING (CWE-401): [#def393]
coreutils-9.9/src/hostname.c:108:7: warning[-Wanalyzer-malloc-leak]: leak of 'xgethostname()'
coreutils-9.9/src/hostname.c:89:6: branch_false: following 'false' branch...
coreutils-9.9/src/hostname.c:95:6: branch_false: ...to here
coreutils-9.9/src/hostname.c:95:6: branch_false: following 'false' branch...
coreutils-9.9/src/hostname.c:105:18: branch_false: ...to here
coreutils-9.9/src/hostname.c:105:18: acquire_memory: allocated here
coreutils-9.9/src/hostname.c:106:10: branch_false: following 'false' branch...
coreutils-9.9/src/hostname.c:108:7: branch_false: ...to here
coreutils-9.9/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): [#def394]
coreutils-9.9/src/install.c:766:8: warning[-Wanalyzer-malloc-leak]: leak of 'file_name_concat(to_dir, last_component(from), &to_relname)'
coreutils-9.9/src/install.c:757:1: enter_function: entry to 'install_file_in_dir'
coreutils-9.9/src/install.c:766:6: branch_true: following 'true' branch...
coreutils-9.9/src/install.c:766:7: branch_true: ...to here
coreutils-9.9/src/install.c:766:7: branch_true: following 'true' branch (when 'mkdir_and_install != 0')...
coreutils-9.9/src/install.c:768:17: branch_true: ...to here
coreutils-9.9/src/install.c:768:17: call_function: calling 'mkancesdirs_safe_wd' from 'install_file_in_dir'
Error: GCC_ANALYZER_WARNING (CWE-457): [#def395]
coreutils-9.9/src/join.c:989:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'operand_status[1]'
coreutils-9.9/src/join.c:1003:1: enter_function: entry to 'main'
coreutils-9.9/src/join.c:1029:10: branch_true: following 'true' branch (when 'optc != -1')...
coreutils-9.9/src/join.c:1033:7: branch_true: ...to here
coreutils-9.9/src/join.c:1103:16: branch_false: following 'false' branch...
coreutils-9.9/src/join.c:1109:22: call_function: inlined call to 'streq' from 'main'
coreutils-9.9/src/join.c:1109:21: branch_false: following 'false' branch (when the strings are non-equal)...
coreutils-9.9/src/join.c:1116:26: call_function: inlined call to 'mcel_scanz' from 'main'
coreutils-9.9/src/join.c:1116:26: call_function: inlined call to 'mcel_scanz' from 'main'
coreutils-9.9/src/join.c:1117:20: branch_false: following 'false' branch...
coreutils-9.9/src/join.c:1120:17: branch_false: ...to here
coreutils-9.9/src/join.c:1122:16: branch_false: following 'false' branch...
coreutils-9.9/src/join.c:1124:13: branch_false: ...to here
coreutils-9.9/src/join.c:1029:10: branch_true: following 'true' branch (when 'optc != -1')...
coreutils-9.9/src/join.c:1033:7: branch_true: ...to here
coreutils-9.9/src/join.c:1142:11: call_function: calling 'add_file_name' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def396]
coreutils-9.9/src/libstdbuf.c:122:1: warning[-Wanalyzer-malloc-leak]: leak of 'buf'
coreutils-9.9/src/libstdbuf.c:78:6: branch_false: following 'false' branch (when 'mode' is non-NULL)...
coreutils-9.9/src/libstdbuf.c:81:7: branch_false: ...to here
coreutils-9.9/src/libstdbuf.c:81:6: branch_false: following 'false' branch...
coreutils-9.9/src/libstdbuf.c:83:11: branch_false: ...to here
coreutils-9.9/src/libstdbuf.c:83:11: branch_false: following 'false' branch...
coreutils-9.9/src/libstdbuf.c:89:14: branch_false: ...to here
coreutils-9.9/src/libstdbuf.c:90:10: branch_false: following 'false' branch...
coreutils-9.9/src/libstdbuf.c:100:13: branch_true: following 'true' branch...
coreutils-9.9/src/libstdbuf.c:102:16: branch_true: ...to here
coreutils-9.9/src/libstdbuf.c:102:16: acquire_memory: allocated here
coreutils-9.9/src/libstdbuf.c:103:10: branch_false: following 'false' branch (when 'buf' is non-NULL)...
coreutils-9.9/src/libstdbuf.c:122:1: branch_false: ...to here
coreutils-9.9/src/libstdbuf.c:116:6: branch_false: following 'false' branch...
coreutils-9.9/src/libstdbuf.c:116:6: branch_false: ...to here
coreutils-9.9/src/libstdbuf.c:122:1: danger: 'buf' leaks here; was allocated at [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def397]
coreutils-9.9/src/ln.c:673:11: warning[-Wanalyzer-malloc-leak]: leak of 'file_name_concat(target_directory, last_component(*<unknown>), &dest_base)'
coreutils-9.9/src/ln.c:578:6: branch_false: following 'false' branch (when 'n_files > 0')...
coreutils-9.9/src/ln.c:584:7: branch_false: ...to here
coreutils-9.9/src/ln.c:593:6: branch_false: following 'false' branch (when 'no_target_directory == 0')...
coreutils-9.9/src/ln.c:610:12: branch_false: ...to here
coreutils-9.9/src/ln.c:637:17: branch_false: following 'false' branch (when 'make_backups == 0')...
coreutils-9.9/src/ln.c:637:3: branch_false: ...to here
coreutils-9.9/src/ln.c:643:6: branch_true: following 'true' branch (when 'target_directory' is non-NULL)...
coreutils-9.9/src/ln.c:648:10: branch_true: ...to here
coreutils-9.9/src/ln.c:667:23: branch_true: following 'true' branch (when 'n_files > i')...
coreutils-9.9/src/ln.c:671:62: branch_true: ...to here
coreutils-9.9/src/ln.c:673:11: throw: if 'strip_trailing_slashes' throws an exception...
coreutils-9.9/src/ln.c:673:11: danger: 'file_name_concat(target_directory, last_component(*<unknown>), &dest_base)' leaks here; was allocated at [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10)
Error: COMPILER_WARNING (CWE-704): [#def398]
coreutils-9.9/src/ls.c: scope_hint: In function 'decode_switches'
coreutils-9.9/src/ls.c:2450:24: warning[-Wdiscarded-qualifiers]: initialization discards 'const' qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def399]
coreutils-9.9/src/ls.c:2450:24: warning[-Wdiscarded-qualifiers]: initialization discards 'const' qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-401): [#def400]
coreutils-9.9/src/ls.c:4520:11: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(quotearg_buffer(buf, bufsize, name, 18446744073709551615, options) + 1)'
coreutils-9.9/src/ls.c:3914:1: enter_function: entry to 'fileinfo_name_width'
coreutils-9.9/src/ls.c:3918:12: call_function: calling 'quote_name_width' from 'fileinfo_name_width'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def401]
coreutils-9.9/src/ls.c:4720:10: warning[-Wanalyzer-malloc-leak]: leak of 'xnmalloc(3, strlen(str) + 1)'
coreutils-9.9/src/ls.c:5208:1: enter_function: entry to 'print_with_separator'
coreutils-9.9/src/ls.c:5212:27: branch_true: following 'true' branch...
coreutils-9.9/src/ls.c:5214:45: branch_true: ...to here
coreutils-9.9/src/ls.c:5215:20: branch_false: following 'false' branch...
coreutils-9.9/src/ls.c:5217:10: branch_false: ...to here
coreutils-9.9/src/ls.c:5217:10: branch_false: following 'false' branch (when 'filesno == 0')...
coreutils-9.9/src/ls.c:5238:7: branch_false: ...to here
coreutils-9.9/src/ls.c:5238:7: call_function: calling 'print_file_name_and_frills' from 'print_with_separator'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def402]
coreutils-9.9/src/ls.c:5323:3: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
coreutils-9.9/src/ls.c:5298:6: branch_true: following 'true' branch...
coreutils-9.9/src/ls.c:5301:21: branch_true: ...to here
coreutils-9.9/src/ls.c:5310:10: branch_false: following 'false' branch...
coreutils-9.9/src/ls.c:5311:14: branch_false: ...to here
coreutils-9.9/src/ls.c:5310:11: branch_false: following 'false' branch...
coreutils-9.9/src/ls.c:5313:19: branch_false: ...to here
coreutils-9.9/src/ls.c:5316:45: branch_true: following 'true' branch...
coreutils-9.9/src/ls.c:5318:22: branch_true: ...to here
coreutils-9.9/src/ls.c:5316:45: branch_false: following 'false' branch...
coreutils-9.9/src/ls.c:5323:3: branch_false: ...to here
coreutils-9.9/src/ls.c:5323:3: danger: '<unknown>' leaks here; was allocated at [(7)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def403]
coreutils-9.9/src/ls.c:5330:1: warning[-Wanalyzer-malloc-leak]: leak of 'p'
coreutils-9.9/src/ls.c:5298:6: branch_true: following 'true' branch...
coreutils-9.9/src/ls.c:5301:21: branch_true: ...to here
coreutils-9.9/src/ls.c:5310:10: branch_false: following 'false' branch...
coreutils-9.9/src/ls.c:5311:14: branch_false: ...to here
coreutils-9.9/src/ls.c:5310:11: branch_false: following 'false' branch...
coreutils-9.9/src/ls.c:5313:19: branch_false: ...to here
coreutils-9.9/src/ls.c:5316:45: branch_false: following 'false' branch...
coreutils-9.9/src/ls.c:5323:3: branch_false: ...to here
coreutils-9.9/src/ls.c:5323:21: branch_false: following 'false' branch (when 'i >= max_cols')...
coreutils-9.9/src/ls.c:5330:1: branch_false: ...to here
coreutils-9.9/src/ls.c:5330:1: danger: 'p' leaks here; was allocated at [(7)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def404]
coreutils-9.9/src/mktemp.c:252:7: warning[-Wanalyzer-malloc-leak]: leak of 'template'
coreutils-9.9/src/mktemp.c:169:10: branch_true: following 'true' branch (when 'c != -1')...
coreutils-9.9/src/mktemp.c:171:7: branch_true: ...to here
coreutils-9.9/src/mktemp.c:206:6: branch_false: following 'false' branch (when 'n_args <= 1')...
coreutils-9.9/src/mktemp.c:212:6: branch_false: ...to here
coreutils-9.9/src/mktemp.c:222:6: branch_false: following 'false' branch (when 'suffix' is NULL)...
coreutils-9.9/src/mktemp.c:240:18: branch_false: ...to here
coreutils-9.9/src/mktemp.c:250:6: branch_true: following 'true' branch...
coreutils-9.9/src/mktemp.c:252:7: throw: if 'quote' throws an exception...
coreutils-9.9/src/mktemp.c:252:7: danger: 'template' leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def405]
coreutils-9.9/src/mktemp.c:262:7: warning[-Wanalyzer-malloc-leak]: leak of 'template'
coreutils-9.9/src/mktemp.c:169:10: branch_true: following 'true' branch (when 'c != -1')...
coreutils-9.9/src/mktemp.c:171:7: branch_true: ...to here
coreutils-9.9/src/mktemp.c:206:6: branch_false: following 'false' branch (when 'n_args <= 1')...
coreutils-9.9/src/mktemp.c:212:6: branch_false: ...to here
coreutils-9.9/src/mktemp.c:222:6: branch_false: following 'false' branch (when 'suffix' is NULL)...
coreutils-9.9/src/mktemp.c:240:18: branch_false: ...to here
coreutils-9.9/src/mktemp.c:257:6: branch_true: following 'true' branch (when 'n <= 2')...
coreutils-9.9/src/mktemp.c:260:10: branch_true: ...to here
coreutils-9.9/src/mktemp.c:262:7: throw: if 'quote' throws an exception...
coreutils-9.9/src/mktemp.c:262:7: danger: 'template' leaks here; was allocated at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def406]
coreutils-9.9/src/mv.c:536:11: warning[-Wanalyzer-malloc-leak]: leak of 'file_name_concat(target_directory, last_component(source), &dest_relname)'
coreutils-9.9/src/mv.c:316:1: enter_function: entry to 'main'
coreutils-9.9/src/mv.c:339:3: call_function: calling 'cp_option_init' from 'main'
coreutils-9.9/src/mv.c:339:3: return_function: returning to 'main' from 'cp_option_init'
coreutils-9.9/src/mv.c:418:6: branch_false: following 'false' branch...
coreutils-9.9/src/mv.c:429:3: branch_false: ...to here
coreutils-9.9/src/mv.c:431:6: branch_false: following 'false' branch (when 'no_target_directory == 0')...
coreutils-9.9/src/mv.c:443:11: branch_false: ...to here
coreutils-9.9/src/mv.c:443:11: branch_false: following 'false' branch (when 'target_directory' is NULL)...
coreutils-9.9/src/mv.c:452:34: branch_false: ...to here
coreutils-9.9/src/mv.c:457:10: branch_true: following 'true' branch...
coreutils-9.9/src/mv.c:459:20: branch_true: ...to here
coreutils-9.9/src/mv.c:460:14: branch_true: following 'true' branch...
coreutils-9.9/src/mv.c:462:15: branch_true: ...to here
coreutils-9.9/src/mv.c:497:6: branch_false: following 'false' branch...
coreutils-9.9/src/mv.c:500:6: branch_false: ...to here
coreutils-9.9/src/mv.c:500:6: branch_false: following 'false' branch (when 'make_backups == 0')...
coreutils-9.9/src/mv.c:511:3: branch_false: ...to here
coreutils-9.9/src/mv.c:519:6: branch_true: following 'true' branch (when 'target_directory' is non-NULL)...
coreutils-9.9/src/mv.c:524:10: branch_true: ...to here
coreutils-9.9/src/mv.c:528:23: branch_true: following 'true' branch (when 'n_files > i')...
coreutils-9.9/src/mv.c:530:25: branch_true: ...to here
coreutils-9.9/src/mv.c:536:11: throw: if 'strip_trailing_slashes' throws an exception...
coreutils-9.9/src/mv.c:536:11: danger: 'file_name_concat(target_directory, last_component(source), &dest_relname)' leaks here; was allocated at [(24)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/23)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def407]
coreutils-9.9/src/nl.c:458:3: warning[-Wanalyzer-file-leak]: leak of FILE 'stream'
coreutils-9.9/src/nl.c:442:6: branch_false: following 'false' branch (when the strings are non-equal)...
coreutils-9.9/src/nl.c:450:16: branch_false: ...to here
coreutils-9.9/src/nl.c:450:16: acquire_resource: opened here
coreutils-9.9/src/nl.c:451:10: branch_false: following 'false' branch...
coreutils-9.9/src/nl.c:458:3: branch_false: ...to here
coreutils-9.9/src/nl.c:458:3: throw: if 'fadvise' throws an exception...
coreutils-9.9/src/nl.c:458:3: danger: 'stream' leaks here; was opened at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def408]
coreutils-9.9/src/nl.c:458:3: warning[-Wanalyzer-malloc-leak]: leak of 'stream'
coreutils-9.9/src/nl.c:442:6: branch_false: following 'false' branch (when the strings are non-equal)...
coreutils-9.9/src/nl.c:450:16: branch_false: ...to here
coreutils-9.9/src/nl.c:450:16: acquire_memory: allocated here
coreutils-9.9/src/nl.c:451:10: branch_false: following 'false' branch...
coreutils-9.9/src/nl.c:458:3: branch_false: ...to here
coreutils-9.9/src/nl.c:458:3: throw: if 'fadvise' throws an exception...
coreutils-9.9/src/nl.c:458:3: danger: 'stream' leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def409]
coreutils-9.9/src/nohup.c:157:27: warning[-Wanalyzer-malloc-leak]: leak of 'file_name_concat(home, "nohup.out", 0)'
coreutils-9.9/src/nohup.c:111:6: branch_false: following 'false' branch...
coreutils-9.9/src/nohup.c:117:20: branch_false: ...to here
coreutils-9.9/src/nohup.c:119:22: branch_false: following 'false' branch...
coreutils-9.9/src/nohup.c:119:22: branch_false: ...to here
coreutils-9.9/src/nohup.c:125:6: branch_false: following 'false' branch...
coreutils-9.9/src/nohup.c:138:6: branch_false: ...to here
coreutils-9.9/src/nohup.c:138:6: branch_true: following 'true' branch...
coreutils-9.9/src/nohup.c:144:28: branch_true: ...to here
coreutils-9.9/src/nohup.c:145:16: branch_true: following 'true' branch...
coreutils-9.9/src/nohup.c:146:19: branch_true: ...to here
coreutils-9.9/src/nohup.c:149:10: branch_true: following 'true' branch (when 'out_fd < 0')...
coreutils-9.9/src/nohup.c:151:29: branch_true: ...to here
coreutils-9.9/src/nohup.c:153:14: branch_true: following 'true' branch (when 'home' is non-NULL)...
coreutils-9.9/src/nohup.c:155:25: branch_true: ...to here
coreutils-9.9/src/nohup.c:156:24: branch_true: following 'true' branch...
coreutils-9.9/src/nohup.c:157:27: branch_true: ...to here
coreutils-9.9/src/nohup.c:157:27: throw: if 'fd_reopen' throws an exception...
coreutils-9.9/src/nohup.c:157:27: danger: 'file_name_concat(home, "nohup.out", 0)' leaks here; was allocated at [(18)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def410]
coreutils-9.9/src/nohup.c:163:15: warning[-Wanalyzer-malloc-leak]: leak of 'in_home'
coreutils-9.9/src/nohup.c:111:6: branch_false: following 'false' branch...
coreutils-9.9/src/nohup.c:117:20: branch_false: ...to here
coreutils-9.9/src/nohup.c:119:22: branch_false: following 'false' branch...
coreutils-9.9/src/nohup.c:119:22: branch_false: ...to here
coreutils-9.9/src/nohup.c:125:6: branch_false: following 'false' branch...
coreutils-9.9/src/nohup.c:138:6: branch_false: ...to here
coreutils-9.9/src/nohup.c:138:6: branch_true: following 'true' branch...
coreutils-9.9/src/nohup.c:144:28: branch_true: ...to here
coreutils-9.9/src/nohup.c:145:16: branch_true: following 'true' branch...
coreutils-9.9/src/nohup.c:146:19: branch_true: ...to here
coreutils-9.9/src/nohup.c:149:10: branch_true: following 'true' branch (when 'out_fd < 0')...
coreutils-9.9/src/nohup.c:151:29: branch_true: ...to here
coreutils-9.9/src/nohup.c:153:14: branch_true: following 'true' branch (when 'home' is non-NULL)...
coreutils-9.9/src/nohup.c:155:25: branch_true: ...to here
coreutils-9.9/src/nohup.c:156:24: branch_true: following 'true' branch...
coreutils-9.9/src/nohup.c:157:27: branch_true: ...to here
coreutils-9.9/src/nohup.c:160:14: branch_true: following 'true' branch (when 'out_fd < 0')...
coreutils-9.9/src/nohup.c:162:19: branch_true: ...to here
coreutils-9.9/src/nohup.c:163:15: throw: if 'quotearg_style' throws an exception...
coreutils-9.9/src/nohup.c:163:15: danger: 'in_home' leaks here; was allocated at [(18)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def411]
coreutils-9.9/src/nohup.c:165:17: warning[-Wanalyzer-malloc-leak]: leak of 'in_home'
coreutils-9.9/src/nohup.c:111:6: branch_false: following 'false' branch...
coreutils-9.9/src/nohup.c:117:20: branch_false: ...to here
coreutils-9.9/src/nohup.c:119:22: branch_false: following 'false' branch...
coreutils-9.9/src/nohup.c:119:22: branch_false: ...to here
coreutils-9.9/src/nohup.c:125:6: branch_false: following 'false' branch...
coreutils-9.9/src/nohup.c:138:6: branch_false: ...to here
coreutils-9.9/src/nohup.c:138:6: branch_true: following 'true' branch...
coreutils-9.9/src/nohup.c:144:28: branch_true: ...to here
coreutils-9.9/src/nohup.c:145:16: branch_true: following 'true' branch...
coreutils-9.9/src/nohup.c:146:19: branch_true: ...to here
coreutils-9.9/src/nohup.c:149:10: branch_true: following 'true' branch (when 'out_fd < 0')...
coreutils-9.9/src/nohup.c:151:29: branch_true: ...to here
coreutils-9.9/src/nohup.c:153:14: branch_true: following 'true' branch (when 'home' is non-NULL)...
coreutils-9.9/src/nohup.c:155:25: branch_true: ...to here
coreutils-9.9/src/nohup.c:156:24: branch_true: following 'true' branch...
coreutils-9.9/src/nohup.c:157:27: branch_true: ...to here
coreutils-9.9/src/nohup.c:160:14: branch_true: following 'true' branch (when 'out_fd < 0')...
coreutils-9.9/src/nohup.c:162:19: branch_true: ...to here
coreutils-9.9/src/nohup.c:164:18: branch_true: following 'true' branch (when 'in_home' is non-NULL)...
coreutils-9.9/src/nohup.c:165:17: branch_true: ...to here
coreutils-9.9/src/nohup.c:165:17: throw: if 'quotearg_style' throws an exception...
coreutils-9.9/src/nohup.c:165:17: danger: 'in_home' leaks here; was allocated at [(18)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def412]
coreutils-9.9/src/nohup.c:232:1: warning[-Wanalyzer-malloc-leak]: leak of 'in_home'
coreutils-9.9/src/nohup.c:111:6: branch_false: following 'false' branch...
coreutils-9.9/src/nohup.c:117:20: branch_false: ...to here
coreutils-9.9/src/nohup.c:119:22: branch_false: following 'false' branch...
coreutils-9.9/src/nohup.c:119:22: branch_false: ...to here
coreutils-9.9/src/nohup.c:125:6: branch_false: following 'false' branch...
coreutils-9.9/src/nohup.c:138:6: branch_false: ...to here
coreutils-9.9/src/nohup.c:138:6: branch_true: following 'true' branch...
coreutils-9.9/src/nohup.c:144:28: branch_true: ...to here
coreutils-9.9/src/nohup.c:145:16: branch_true: following 'true' branch...
coreutils-9.9/src/nohup.c:146:19: branch_true: ...to here
coreutils-9.9/src/nohup.c:149:10: branch_true: following 'true' branch (when 'out_fd < 0')...
coreutils-9.9/src/nohup.c:151:29: branch_true: ...to here
coreutils-9.9/src/nohup.c:153:14: branch_true: following 'true' branch (when 'home' is non-NULL)...
coreutils-9.9/src/nohup.c:155:25: branch_true: ...to here
coreutils-9.9/src/nohup.c:156:24: branch_true: following 'true' branch...
coreutils-9.9/src/nohup.c:157:27: branch_true: ...to here
coreutils-9.9/src/nohup.c:160:14: branch_true: following 'true' branch (when 'out_fd < 0')...
coreutils-9.9/src/nohup.c:162:19: branch_true: ...to here
coreutils-9.9/src/nohup.c:232:1: danger: 'in_home' leaks here; was allocated at [(18)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/17)
Error: CPPCHECK_WARNING (CWE-415): [#def413]
coreutils-9.9/src/numfmt.c:907: error[doubleFree]: Memory pointed to by 't_string' is freed twice.
Error: COMPILER_WARNING (CWE-704): [#def414]
coreutils-9.9/src/numfmt.c: scope_hint: In function 'mbsmbchr'
coreutils-9.9/src/numfmt.c:1390:12: warning[-Wdiscarded-qualifiers]: return discards 'const' qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def415]
coreutils-9.9/src/numfmt.c:1392:39: warning[-Wdiscarded-qualifiers]: return discards 'const' qualifier from pointer target type
Error: CPPCHECK_WARNING (CWE-823): [#def416]
coreutils-9.9/src/od.c:777: error[arrayIndexOutOfBounds]: Array 'integral_type_size[2]' accessed at index 8, which is out of bounds.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def417]
coreutils-9.9/src/operand2sig.c:72:25: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(operand)'
coreutils-9.9/src/operand2sig.c:36:1: enter_function: entry to 'operand2sig'
coreutils-9.9/src/operand2sig.c:40:7: call_function: inlined call to 'c_isdigit' from 'operand2sig'
coreutils-9.9/src/operand2sig.c:70:23: branch_false: ...to here
coreutils-9.9/src/operand2sig.c:72:25: branch_true: following 'true' branch...
coreutils-9.9/src/operand2sig.c:73:13: branch_true: ...to here
coreutils-9.9/src/operand2sig.c:73:12: branch_false: following 'false' branch...
coreutils-9.9/src/operand2sig.c:72:29: branch_false: ...to here
coreutils-9.9/src/operand2sig.c:78:13: throw: if 'str2sig' throws an exception...
coreutils-9.9/src/operand2sig.c:72:25: danger: 'xstrdup(operand)' leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def418]
coreutils-9.9/src/operand2sig.c:78:13: warning[-Wanalyzer-malloc-leak]: leak of 'p'
coreutils-9.9/src/operand2sig.c:36:1: enter_function: entry to 'operand2sig'
coreutils-9.9/src/operand2sig.c:40:7: call_function: inlined call to 'c_isdigit' from 'operand2sig'
coreutils-9.9/src/operand2sig.c:70:23: branch_false: ...to here
coreutils-9.9/src/operand2sig.c:72:25: branch_false: following 'false' branch...
coreutils-9.9/src/operand2sig.c:78:13: branch_false: ...to here
coreutils-9.9/src/operand2sig.c:78:13: throw: if 'str2sig' throws an exception...
coreutils-9.9/src/operand2sig.c:78:13: danger: 'p' leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def419]
coreutils-9.9/src/paste.c:180:20: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(nfiles + 2)'
coreutils-9.9/src/paste.c:451:1: enter_function: entry to 'main'
coreutils-9.9/src/paste.c:500:7: call_function: calling 'collapse_escapes' from 'main'
coreutils-9.9/src/paste.c:500:7: return_function: returning to 'main' from 'collapse_escapes'
coreutils-9.9/src/paste.c:500:6: branch_false: following 'false' branch...
coreutils-9.9/src/paste.c:509:28: branch_false: ...to here
coreutils-9.9/src/paste.c:509:14: branch_false: following 'false' branch...
coreutils-9.9/src/paste.c:509:14: branch_false: ...to here
coreutils-9.9/src/paste.c:509:13: call_function: calling 'paste_parallel' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def420]
coreutils-9.9/src/paste.c:194:25: warning[-Wanalyzer-malloc-leak]: leak of 'xnmalloc(nfiles + 1, 8)'
coreutils-9.9/src/paste.c:451:1: enter_function: entry to 'main'
coreutils-9.9/src/paste.c:500:7: call_function: calling 'collapse_escapes' from 'main'
coreutils-9.9/src/paste.c:500:7: return_function: returning to 'main' from 'collapse_escapes'
coreutils-9.9/src/paste.c:500:6: branch_false: following 'false' branch...
coreutils-9.9/src/paste.c:509:28: branch_false: ...to here
coreutils-9.9/src/paste.c:509:14: branch_false: following 'false' branch...
coreutils-9.9/src/paste.c:509:14: branch_false: ...to here
coreutils-9.9/src/paste.c:509:13: call_function: calling 'paste_parallel' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def421]
coreutils-9.9/src/paste.c:361:11: warning[-Wanalyzer-file-leak]: leak of FILE 'fopen(*fnamptr, "r")'
coreutils-9.9/src/paste.c:343:10: branch_true: following 'true' branch (when 'nfiles != 0')...
coreutils-9.9/src/paste.c:346:23: branch_true: ...to here
coreutils-9.9/src/paste.c:347:10: branch_false: following 'false' branch (when the strings are non-equal)...
coreutils-9.9/src/paste.c:354:21: branch_false: ...to here
coreutils-9.9/src/paste.c:354:21: acquire_resource: opened here
coreutils-9.9/src/paste.c:355:14: branch_false: following 'false' branch...
coreutils-9.9/src/paste.c:361:11: branch_false: ...to here
coreutils-9.9/src/paste.c:361:11: throw: if 'fadvise' throws an exception...
coreutils-9.9/src/paste.c:361:11: danger: 'fopen(*fnamptr, "r")' leaks here; was opened at [(5)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def422]
coreutils-9.9/src/paste.c:361:11: warning[-Wanalyzer-malloc-leak]: leak of 'fopen(*fnamptr, "r")'
coreutils-9.9/src/paste.c:343:10: branch_true: following 'true' branch (when 'nfiles != 0')...
coreutils-9.9/src/paste.c:346:23: branch_true: ...to here
coreutils-9.9/src/paste.c:347:10: branch_false: following 'false' branch (when the strings are non-equal)...
coreutils-9.9/src/paste.c:354:21: branch_false: ...to here
coreutils-9.9/src/paste.c:354:21: acquire_memory: allocated here
coreutils-9.9/src/paste.c:355:14: branch_false: following 'false' branch...
coreutils-9.9/src/paste.c:361:11: branch_false: ...to here
coreutils-9.9/src/paste.c:361:11: throw: if 'fadvise' throws an exception...
coreutils-9.9/src/paste.c:361:11: danger: 'fopen(*fnamptr, "r")' leaks here; was allocated at [(5)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def423]
coreutils-9.9/src/pinky.c:312:1: warning[-Wanalyzer-malloc-leak]: leak of 'host'
coreutils-9.9/src/pinky.c:529:1: enter_function: entry to 'single_binary_main_pinky'
coreutils-9.9/src/pinky.c:612:6: branch_true: following 'true' branch...
coreutils-9.9/src/pinky.c:613:43: branch_true: ...to here
coreutils-9.9/src/pinky.c:613:5: call_function: calling 'short_pinky' from 'single_binary_main_pinky'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def424]
coreutils-9.9/src/printf.c:526:23: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(strlen(format) + 1)'
coreutils-9.9/src/printf.c:511:1: enter_function: entry to 'print_formatted'
coreutils-9.9/src/printf.c:526:23: branch_true: following 'true' branch...
coreutils-9.9/src/printf.c:528:7: branch_true: ...to here
coreutils-9.9/src/printf.c:535:14: branch_false: following 'false' branch...
coreutils-9.9/src/printf.c:541:16: branch_false: ...to here
coreutils-9.9/src/printf.c:541:16: call_function: calling 'get_curr_arg' from 'print_formatted'
coreutils-9.9/src/printf.c:541:16: return_function: returning to 'print_formatted' from 'get_curr_arg'
coreutils-9.9/src/printf.c:543:14: branch_false: following 'false' branch...
coreutils-9.9/src/printf.c:553:14: branch_false: ...to here
coreutils-9.9/src/printf.c:553:14: branch_true: following 'true' branch...
coreutils-9.9/src/printf.c:555:20: call_function: inlined call to 'get_curr_arg' from 'print_formatted'
coreutils-9.9/src/printf.c:556:18: branch_true: following 'true' branch (when 'argc > <unknown>')...
coreutils-9.9/src/printf.c:558:19: branch_true: ...to here
coreutils-9.9/src/printf.c:558:19: throw: if 'quotearg_style' throws an exception...
coreutils-9.9/src/printf.c:526:23: danger: 'xmalloc(strlen(format) + 1)' leaks here; was allocated at [(2)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/1)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def425]
coreutils-9.9/src/pwd.c:94:12: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(24)'
coreutils-9.9/src/pwd.c:94:12: throw: if 'xmalloc' throws an exception...
coreutils-9.9/src/pwd.c:94:12: danger: 'xmalloc(24)' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def426]
coreutils-9.9/src/pwd.c:95:14: warning[-Wanalyzer-malloc-leak]: leak of 'file_name_init()'
coreutils-9.9/src/pwd.c:325:1: enter_function: entry to 'main'
coreutils-9.9/src/pwd.c:378:6: branch_false: following 'false' branch...
coreutils-9.9/src/pwd.c:385:37: branch_false: ...to here
coreutils-9.9/src/pwd.c:385:37: call_function: calling 'file_name_init' from 'main'
coreutils-9.9/src/pwd.c:385:37: return_function: returning to 'main' from 'file_name_init'
coreutils-9.9/src/pwd.c:386:7: call_function: calling 'robust_getcwd' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def427]
coreutils-9.9/src/pwd.c:162:5: warning[-Wanalyzer-malloc-leak]: leak of 'nth_parent(parent_height)'
coreutils-9.9/src/pwd.c:151:1: enter_function: entry to 'find_dir_entry'
coreutils-9.9/src/pwd.c:161:6: branch_true: following 'true' branch...
coreutils-9.9/src/pwd.c:162:5: branch_true: ...to here
coreutils-9.9/src/pwd.c:162:5: call_function: calling 'nth_parent' from 'find_dir_entry'
coreutils-9.9/src/pwd.c:162:5: return_function: returning to 'find_dir_entry' from 'nth_parent'
coreutils-9.9/src/pwd.c:162:5: danger: 'nth_parent(parent_height)' leaks here; was allocated at [(6)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def428]
coreutils-9.9/src/pwd.c:167:5: warning[-Wanalyzer-malloc-leak]: leak of 'nth_parent(parent_height)'
coreutils-9.9/src/pwd.c:151:1: enter_function: entry to 'find_dir_entry'
coreutils-9.9/src/pwd.c:161:6: branch_false: following 'false' branch...
coreutils-9.9/src/pwd.c:165:8: branch_false: ...to here
coreutils-9.9/src/pwd.c:166:6: branch_true: following 'true' branch...
coreutils-9.9/src/pwd.c:167:5: branch_true: ...to here
coreutils-9.9/src/pwd.c:167:5: call_function: calling 'nth_parent' from 'find_dir_entry'
coreutils-9.9/src/pwd.c:167:5: return_function: returning to 'find_dir_entry' from 'nth_parent'
coreutils-9.9/src/pwd.c:167:5: danger: 'nth_parent(parent_height)' leaks here; was allocated at [(8)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def429]
coreutils-9.9/src/pwd.c:171:5: warning[-Wanalyzer-malloc-leak]: leak of 'nth_parent(parent_height)'
coreutils-9.9/src/pwd.c:151:1: enter_function: entry to 'find_dir_entry'
coreutils-9.9/src/pwd.c:161:6: branch_false: following 'false' branch...
coreutils-9.9/src/pwd.c:165:8: branch_false: ...to here
coreutils-9.9/src/pwd.c:166:6: branch_false: following 'false' branch...
coreutils-9.9/src/pwd.c:170:7: branch_false: ...to here
coreutils-9.9/src/pwd.c:170:6: branch_true: following 'true' branch...
coreutils-9.9/src/pwd.c:171:5: branch_true: ...to here
coreutils-9.9/src/pwd.c:171:5: call_function: calling 'nth_parent' from 'find_dir_entry'
coreutils-9.9/src/pwd.c:171:5: return_function: returning to 'find_dir_entry' from 'nth_parent'
coreutils-9.9/src/pwd.c:171:5: danger: 'nth_parent(parent_height)' leaks here; was allocated at [(10)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def430]
coreutils-9.9/src/pwd.c:230:7: warning[-Wanalyzer-malloc-leak]: leak of 'nth_parent(parent_height)'
coreutils-9.9/src/pwd.c:151:1: enter_function: entry to 'find_dir_entry'
coreutils-9.9/src/pwd.c:161:6: branch_false: following 'false' branch...
coreutils-9.9/src/pwd.c:165:8: branch_false: ...to here
coreutils-9.9/src/pwd.c:166:6: branch_false: following 'false' branch...
coreutils-9.9/src/pwd.c:170:7: branch_false: ...to here
coreutils-9.9/src/pwd.c:170:6: branch_false: following 'false' branch...
coreutils-9.9/src/pwd.c:176:16: branch_false: ...to here
coreutils-9.9/src/pwd.c:186:10: branch_true: following 'true' branch...
coreutils-9.9/src/pwd.c:188:15: branch_true: ...to here
coreutils-9.9/src/pwd.c:230:7: call_function: calling 'nth_parent' from 'find_dir_entry'
coreutils-9.9/src/pwd.c:230:7: return_function: returning to 'find_dir_entry' from 'nth_parent'
coreutils-9.9/src/pwd.c:230:7: danger: 'nth_parent(parent_height)' leaks here; was allocated at [(12)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/11)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def431]
coreutils-9.9/src/pwd.c:235:5: warning[-Wanalyzer-malloc-leak]: leak of 'nth_parent(parent_height)'
coreutils-9.9/src/pwd.c:151:1: enter_function: entry to 'find_dir_entry'
coreutils-9.9/src/pwd.c:161:6: branch_false: following 'false' branch...
coreutils-9.9/src/pwd.c:165:8: branch_false: ...to here
coreutils-9.9/src/pwd.c:166:6: branch_false: following 'false' branch...
coreutils-9.9/src/pwd.c:170:7: branch_false: ...to here
coreutils-9.9/src/pwd.c:170:6: branch_false: following 'false' branch...
coreutils-9.9/src/pwd.c:176:16: branch_false: ...to here
coreutils-9.9/src/pwd.c:186:10: branch_true: following 'true' branch...
coreutils-9.9/src/pwd.c:188:15: branch_true: ...to here
coreutils-9.9/src/pwd.c:188:14: branch_false: following 'false' branch...
coreutils-9.9/src/pwd.c:198:11: branch_false: ...to here
coreutils-9.9/src/pwd.c:226:7: branch_false: following 'false' branch...
coreutils-9.9/src/pwd.c:234:6: branch_false: ...to here
coreutils-9.9/src/pwd.c:234:6: branch_false: following 'false' branch (when 'found == 0')...
coreutils-9.9/src/pwd.c:235:5: branch_false: ...to here
coreutils-9.9/src/pwd.c:235:5: call_function: calling 'nth_parent' from 'find_dir_entry'
coreutils-9.9/src/pwd.c:235:5: return_function: returning to 'find_dir_entry' from 'nth_parent'
coreutils-9.9/src/pwd.c:235:5: danger: 'nth_parent(parent_height)' leaks here; was allocated at [(18)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def432]
coreutils-9.9/src/realpath.c:100:21: warning[-Wanalyzer-malloc-leak]: leak of 'realpath_canon(fname, can_mode)'
coreutils-9.9/src/realpath.c:150:1: enter_function: entry to 'process_path'
coreutils-9.9/src/realpath.c:152:21: call_function: calling 'realpath_canon' from 'process_path'
coreutils-9.9/src/realpath.c:152:21: return_function: returning to 'process_path' from 'realpath_canon'
coreutils-9.9/src/realpath.c:153:6: branch_false: following 'false' branch...
coreutils-9.9/src/realpath.c:160:7: branch_false: ...to here
coreutils-9.9/src/realpath.c:160:6: branch_false: following 'false' branch...
coreutils-9.9/src/realpath.c:161:11: branch_false: ...to here
coreutils-9.9/src/realpath.c:162:31: throw: if 'relpath' throws an exception...
coreutils-9.9/src/realpath.c:100:21: danger: 'realpath_canon(fname, can_mode)' leaks here; was allocated at [(4)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def433]
coreutils-9.9/src/realpath.c:101:7: warning[-Wanalyzer-malloc-leak]: leak of 'canonicalize_filename_mode(fname, (enum canonicalize_mode_t)can_mode)'
coreutils-9.9/src/realpath.c:100:21: acquire_memory: allocated here
coreutils-9.9/src/realpath.c:101:6: branch_true: following 'true' branch...
coreutils-9.9/src/realpath.c:101:7: branch_true: ...to here
coreutils-9.9/src/realpath.c:101:7: branch_true: following 'true' branch...
coreutils-9.9/src/realpath.c:103:7: branch_true: ...to here
coreutils-9.9/src/realpath.c:104:26: throw: if 'canonicalize_filename_mode' throws an exception...
coreutils-9.9/src/realpath.c:101:7: danger: 'canonicalize_filename_mode(fname, (enum canonicalize_mode_t)can_mode)' leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def434]
coreutils-9.9/src/remove.c:498:19: warning[-Wanalyzer-malloc-leak]: leak of 'file_name_concat(*ent.fts_accpath, "..", 0)'
coreutils-9.9/src/remove.c:449:10: branch_true: following 'true' branch...
coreutils-9.9/src/remove.c:462:11: branch_true: ...to here
coreutils-9.9/src/remove.c:462:10: branch_true: following 'true' branch...
coreutils-9.9/src/remove.c:467:46: branch_true: ...to here
coreutils-9.9/src/remove.c:490:14: branch_true: following 'true' branch...
coreutils-9.9/src/remove.c:493:30: branch_true: ...to here
coreutils-9.9/src/remove.c:496:19: branch_true: following 'true' branch...
coreutils-9.9/src/remove.c:498:19: branch_true: ...to here
coreutils-9.9/src/remove.c:498:19: throw: if 'quotearg_n_style' throws an exception...
coreutils-9.9/src/remove.c:498:19: danger: 'file_name_concat(*ent.fts_accpath, "..", 0)' leaks here; was allocated at [(9)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def435]
coreutils-9.9/src/rmdir.c:272:23: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(dir)'
coreutils-9.9/src/rmdir.c:233:6: branch_false: following 'false' branch...
coreutils-9.9/src/rmdir.c:233:6: branch_false: ...to here
coreutils-9.9/src/rmdir.c:239:10: branch_true: following 'true' branch...
coreutils-9.9/src/rmdir.c:241:23: branch_true: ...to here
coreutils-9.9/src/rmdir.c:247:10: branch_true: following 'true' branch...
coreutils-9.9/src/rmdir.c:249:29: branch_true: ...to here
coreutils-9.9/src/rmdir.c:250:14: branch_false: following 'false' branch...
coreutils-9.9/src/rmdir.c:259:14: branch_false: ...to here
coreutils-9.9/src/rmdir.c:259:14: branch_true: following 'true' branch (when 'rmdir_errno == 20')...
coreutils-9.9/src/rmdir.c:261:45: branch_true: ...to here
coreutils-9.9/src/rmdir.c:262:18: branch_true: following 'true' branch...
coreutils-9.9/src/rmdir.c:268:26: branch_true: following 'true' branch...
coreutils-9.9/src/rmdir.c:271:39: branch_true: ...to here
coreutils-9.9/src/rmdir.c:272:23: throw: if 'strip_trailing_slashes' throws an exception...
coreutils-9.9/src/rmdir.c:272:23: danger: 'xstrdup(dir)' leaks here; was allocated at [(15)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def436]
coreutils-9.9/src/rmdir.c:275:27: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(dir)'
coreutils-9.9/src/rmdir.c:233:6: branch_false: following 'false' branch...
coreutils-9.9/src/rmdir.c:233:6: branch_false: ...to here
coreutils-9.9/src/rmdir.c:239:10: branch_true: following 'true' branch...
coreutils-9.9/src/rmdir.c:241:23: branch_true: ...to here
coreutils-9.9/src/rmdir.c:247:10: branch_true: following 'true' branch...
coreutils-9.9/src/rmdir.c:249:29: branch_true: ...to here
coreutils-9.9/src/rmdir.c:250:14: branch_false: following 'false' branch...
coreutils-9.9/src/rmdir.c:259:14: branch_false: ...to here
coreutils-9.9/src/rmdir.c:259:14: branch_true: following 'true' branch (when 'rmdir_errno == 20')...
coreutils-9.9/src/rmdir.c:261:45: branch_true: ...to here
coreutils-9.9/src/rmdir.c:262:18: branch_true: following 'true' branch...
coreutils-9.9/src/rmdir.c:268:26: branch_true: following 'true' branch...
coreutils-9.9/src/rmdir.c:271:39: branch_true: ...to here
coreutils-9.9/src/rmdir.c:273:26: branch_true: following 'true' branch...
coreutils-9.9/src/rmdir.c:275:27: branch_true: ...to here
coreutils-9.9/src/rmdir.c:275:27: throw: if 'quotearg_style' throws an exception...
coreutils-9.9/src/rmdir.c:275:27: danger: 'xstrdup(dir)' leaks here; was allocated at [(15)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def437]
coreutils-9.9/src/selinux.c:82:7: warning[-Wanalyzer-malloc-leak]: leak of 'dir_name(path)'
coreutils-9.9/src/selinux.c:82:7: throw: if 'getcon_raw' throws an exception...
coreutils-9.9/src/selinux.c:82:7: danger: 'dir_name(path)' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def438]
coreutils-9.9/src/selinux.c:84:7: warning[-Wanalyzer-malloc-leak]: leak of 'dir_name(path)'
coreutils-9.9/src/selinux.c:82:6: branch_false: following 'false' branch...
coreutils-9.9/src/selinux.c:84:7: branch_false: ...to here
coreutils-9.9/src/selinux.c:84:7: throw: if 'rpl_getfilecon_raw' throws an exception...
coreutils-9.9/src/selinux.c:84:7: danger: 'dir_name(path)' leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def439]
coreutils-9.9/src/selinux.c:86:12: warning[-Wanalyzer-malloc-leak]: leak of 'dir_name(path)'
coreutils-9.9/src/selinux.c:82:6: branch_false: following 'false' branch...
coreutils-9.9/src/selinux.c:84:7: branch_false: ...to here
coreutils-9.9/src/selinux.c:84:6: branch_false: following 'false' branch...
coreutils-9.9/src/selinux.c:86:12: branch_false: ...to here
coreutils-9.9/src/selinux.c:86:12: throw: if 'mode_to_security_class' throws an exception...
coreutils-9.9/src/selinux.c:86:12: danger: 'dir_name(path)' leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def440]
coreutils-9.9/src/selinux.c:89:8: warning[-Wanalyzer-malloc-leak]: leak of 'dir_name(path)'
coreutils-9.9/src/selinux.c:82:6: branch_false: following 'false' branch...
coreutils-9.9/src/selinux.c:84:7: branch_false: ...to here
coreutils-9.9/src/selinux.c:84:6: branch_false: following 'false' branch...
coreutils-9.9/src/selinux.c:86:12: branch_false: ...to here
coreutils-9.9/src/selinux.c:87:6: branch_false: following 'false' branch...
coreutils-9.9/src/selinux.c:89:8: branch_false: ...to here
coreutils-9.9/src/selinux.c:89:8: throw: if 'security_compute_create_raw' throws an exception...
coreutils-9.9/src/selinux.c:89:8: danger: 'dir_name(path)' leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def441]
coreutils-9.9/src/selinux.c:130:7: warning[-Wanalyzer-malloc-leak]: leak of 'newpath'
coreutils-9.9/src/selinux.c:121:6: branch_true: following 'true' branch...
coreutils-9.9/src/selinux.c:124:17: branch_true: ...to here
coreutils-9.9/src/selinux.c:124:17: acquire_memory: allocated here
coreutils-9.9/src/selinux.c:125:10: branch_false: following 'false' branch...
coreutils-9.9/src/selinux.c:130:7: branch_false: ...to here
coreutils-9.9/src/selinux.c:130:7: throw: if 'selabel_lookup_raw' throws an exception...
coreutils-9.9/src/selinux.c:130:7: danger: 'newpath' leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def442]
coreutils-9.9/src/selinux.c:159:3: warning[-Wanalyzer-malloc-leak]: leak of 'newpath'
coreutils-9.9/src/selinux.c:121:6: branch_true: following 'true' branch...
coreutils-9.9/src/selinux.c:124:17: branch_true: ...to here
coreutils-9.9/src/selinux.c:124:17: acquire_memory: allocated here
coreutils-9.9/src/selinux.c:125:10: branch_false: following 'false' branch...
coreutils-9.9/src/selinux.c:130:7: branch_false: ...to here
coreutils-9.9/src/selinux.c:130:6: branch_true: following 'true' branch...
coreutils-9.9/src/selinux.c:137:11: branch_true: ...to here
coreutils-9.9/src/selinux.c:159:3: throw: if 'context_free' throws an exception...
coreutils-9.9/src/selinux.c:159:3: danger: 'newpath' leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def443]
coreutils-9.9/src/selinux.c:160:3: warning[-Wanalyzer-malloc-leak]: leak of 'newpath'
coreutils-9.9/src/selinux.c:121:6: branch_true: following 'true' branch...
coreutils-9.9/src/selinux.c:124:17: branch_true: ...to here
coreutils-9.9/src/selinux.c:124:17: acquire_memory: allocated here
coreutils-9.9/src/selinux.c:125:10: branch_false: following 'false' branch...
coreutils-9.9/src/selinux.c:130:7: branch_false: ...to here
coreutils-9.9/src/selinux.c:130:6: branch_true: following 'true' branch...
coreutils-9.9/src/selinux.c:137:11: branch_true: ...to here
coreutils-9.9/src/selinux.c:160:3: throw: if 'context_free' throws an exception...
coreutils-9.9/src/selinux.c:160:3: danger: 'newpath' leaks here; was allocated at [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def444]
coreutils-9.9/src/selinux.c:161:3: warning[-Wanalyzer-malloc-leak]: leak of 'newpath'
coreutils-9.9/src/selinux.c:121:6: branch_true: following 'true' branch...
coreutils-9.9/src/selinux.c:124:17: branch_true: ...to here
coreutils-9.9/src/selinux.c:124:17: acquire_memory: allocated here
coreutils-9.9/src/selinux.c:125:10: branch_false: following 'false' branch...
coreutils-9.9/src/selinux.c:130:7: branch_false: ...to here
coreutils-9.9/src/selinux.c:130:6: branch_true: following 'true' branch...
coreutils-9.9/src/selinux.c:137:11: branch_true: ...to here
coreutils-9.9/src/selinux.c:161:3: throw: if 'freecon' throws an exception...
coreutils-9.9/src/selinux.c:161:3: danger: 'newpath' leaks here; was allocated at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def445]
coreutils-9.9/src/selinux.c:162:3: warning[-Wanalyzer-malloc-leak]: leak of 'newpath'
coreutils-9.9/src/selinux.c:121:6: branch_true: following 'true' branch...
coreutils-9.9/src/selinux.c:124:17: branch_true: ...to here
coreutils-9.9/src/selinux.c:124:17: acquire_memory: allocated here
coreutils-9.9/src/selinux.c:125:10: branch_false: following 'false' branch...
coreutils-9.9/src/selinux.c:130:7: branch_false: ...to here
coreutils-9.9/src/selinux.c:130:6: branch_true: following 'true' branch...
coreutils-9.9/src/selinux.c:137:11: branch_true: ...to here
coreutils-9.9/src/selinux.c:162:3: throw: if 'freecon' throws an exception...
coreutils-9.9/src/selinux.c:162:3: danger: 'newpath' leaks here; was allocated at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def446]
coreutils-9.9/src/selinux.c:311:14: warning[-Wanalyzer-malloc-leak]: leak of 'newpath'
coreutils-9.9/src/selinux.c:290:6: branch_true: following 'true' branch...
coreutils-9.9/src/selinux.c:295:17: branch_true: ...to here
coreutils-9.9/src/selinux.c:295:17: acquire_memory: allocated here
coreutils-9.9/src/selinux.c:296:10: branch_false: following 'false' branch...
coreutils-9.9/src/selinux.c:301:6: branch_false: ...to here
coreutils-9.9/src/selinux.c:301:6: branch_true: following 'true' branch (when 'recurse != 0')...
coreutils-9.9/src/selinux.c:310:15: branch_true: ...to here
coreutils-9.9/src/selinux.c:311:14: throw: if 'xfts_open' throws an exception...
coreutils-9.9/src/selinux.c:311:14: danger: 'newpath' leaks here; was allocated at [(3)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def447]
coreutils-9.9/src/seq.c:478:14: warning[-Wanalyzer-malloc-leak]: leak of 's1'
coreutils-9.9/src/seq.c:547:1: enter_function: entry to 'main'
coreutils-9.9/src/seq.c:609:6: branch_false: following 'false' branch (when 'n_args > 0')...
coreutils-9.9/src/seq.c:615:6: branch_false: ...to here
coreutils-9.9/src/seq.c:615:6: branch_false: following 'false' branch (when 'n_args <= 3')...
coreutils-9.9/src/seq.c:621:6: branch_false: ...to here
coreutils-9.9/src/seq.c:621:6: branch_false: following 'false' branch (when 'format_str' is NULL)...
coreutils-9.9/src/seq.c:631:28: branch_false: ...to here
coreutils-9.9/src/seq.c:658:10: call_function: calling 'scan_arg' from 'main'
coreutils-9.9/src/seq.c:658:10: return_function: returning to 'main' from 'scan_arg'
coreutils-9.9/src/seq.c:681:6: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:681:7: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:681:7: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:681:7: branch_false: following 'false' branch...
coreutils-9.9/src/seq.c:681:7: branch_false: ...to here
coreutils-9.9/src/seq.c:681:7: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:688:10: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:689:14: branch_true: ...to here
coreutils-9.9/src/seq.c:692:10: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:693:14: branch_true: ...to here
coreutils-9.9/src/seq.c:697:10: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:698:9: call_function: calling 'seq_fast' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def448]
coreutils-9.9/src/seq.c:478:14: warning[-Wanalyzer-malloc-leak]: leak of 's2'
coreutils-9.9/src/seq.c:547:1: enter_function: entry to 'main'
coreutils-9.9/src/seq.c:609:6: branch_false: following 'false' branch (when 'n_args > 0')...
coreutils-9.9/src/seq.c:615:6: branch_false: ...to here
coreutils-9.9/src/seq.c:615:6: branch_false: following 'false' branch (when 'n_args <= 3')...
coreutils-9.9/src/seq.c:621:6: branch_false: ...to here
coreutils-9.9/src/seq.c:621:6: branch_false: following 'false' branch (when 'format_str' is NULL)...
coreutils-9.9/src/seq.c:631:28: branch_false: ...to here
coreutils-9.9/src/seq.c:658:10: call_function: calling 'scan_arg' from 'main'
coreutils-9.9/src/seq.c:658:10: return_function: returning to 'main' from 'scan_arg'
coreutils-9.9/src/seq.c:681:6: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:681:7: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:681:7: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:681:7: branch_false: following 'false' branch...
coreutils-9.9/src/seq.c:681:7: branch_false: ...to here
coreutils-9.9/src/seq.c:681:7: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:688:10: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:689:14: branch_true: ...to here
coreutils-9.9/src/seq.c:692:10: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:693:14: branch_true: ...to here
coreutils-9.9/src/seq.c:697:10: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:698:9: call_function: calling 'seq_fast' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def449]
coreutils-9.9/src/seq.c:498:15: warning[-Wanalyzer-malloc-leak]: leak of 'p0'
coreutils-9.9/src/seq.c:489:10: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:489:10: branch_true: ...to here
coreutils-9.9/src/seq.c:494:14: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:496:11: branch_true: ...to here
coreutils-9.9/src/seq.c:498:15: throw: if 'full_write' throws an exception...
coreutils-9.9/src/seq.c:498:15: danger: 'p0' leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def450]
coreutils-9.9/src/seq.c:511:26: warning[-Wanalyzer-malloc-leak]: leak of 'p0'
coreutils-9.9/src/seq.c:489:10: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:489:10: branch_true: ...to here
coreutils-9.9/src/seq.c:494:14: branch_false: following 'false' branch...
coreutils-9.9/src/seq.c:505:14: branch_false: ...to here
coreutils-9.9/src/seq.c:509:10: branch_true: following 'true' branch (when 'p0 == p')...
coreutils-9.9/src/seq.c:511:26: branch_true: ...to here
coreutils-9.9/src/seq.c:511:26: throw: if 'xpalloc' throws an exception...
coreutils-9.9/src/seq.c:511:26: danger: 'p0' leaks here; was allocated at [(1)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-124): [#def451]
coreutils-9.9/src/seq.c:529:7: warning[-Wanalyzer-out-of-bounds]: stack-based buffer underwrite
coreutils-9.9/src/seq.c:489:10: branch_false: following 'false' branch...
coreutils-9.9/src/seq.c:527:6: branch_true: following 'true' branch (when 'remaining != 0')...
coreutils-9.9/src/seq.c:529:7: branch_true: ...to here
coreutils-9.9/src/seq.c:529:7: danger: out-of-bounds write at byte -1 but 'buf' starts at byte 0
Error: GCC_ANALYZER_WARNING (CWE-401): [#def452]
coreutils-9.9/src/seq.c:530:11: warning[-Wanalyzer-malloc-leak]: leak of 'p0'
coreutils-9.9/src/seq.c:489:10: branch_false: following 'false' branch...
coreutils-9.9/src/seq.c:527:6: branch_true: following 'true' branch (when 'remaining != 0')...
coreutils-9.9/src/seq.c:529:7: branch_true: ...to here
coreutils-9.9/src/seq.c:530:11: throw: if 'full_write' throws an exception...
coreutils-9.9/src/seq.c:530:11: danger: 'p0' leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def453]
coreutils-9.9/src/seq.c:530:11: warning[-Wanalyzer-malloc-leak]: leak of 's1'
coreutils-9.9/src/seq.c:547:1: enter_function: entry to 'main'
coreutils-9.9/src/seq.c:609:6: branch_false: following 'false' branch (when 'n_args > 0')...
coreutils-9.9/src/seq.c:615:6: branch_false: ...to here
coreutils-9.9/src/seq.c:615:6: branch_false: following 'false' branch (when 'n_args <= 3')...
coreutils-9.9/src/seq.c:621:6: branch_false: ...to here
coreutils-9.9/src/seq.c:621:6: branch_false: following 'false' branch (when 'format_str' is NULL)...
coreutils-9.9/src/seq.c:631:28: branch_false: ...to here
coreutils-9.9/src/seq.c:658:10: call_function: calling 'scan_arg' from 'main'
coreutils-9.9/src/seq.c:658:10: return_function: returning to 'main' from 'scan_arg'
coreutils-9.9/src/seq.c:681:6: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:681:7: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:681:7: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:681:7: branch_false: following 'false' branch...
coreutils-9.9/src/seq.c:681:7: branch_false: ...to here
coreutils-9.9/src/seq.c:681:7: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:688:10: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:689:14: branch_true: ...to here
coreutils-9.9/src/seq.c:692:10: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:693:14: branch_true: ...to here
coreutils-9.9/src/seq.c:697:10: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:698:9: call_function: calling 'seq_fast' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def454]
coreutils-9.9/src/seq.c:530:11: warning[-Wanalyzer-malloc-leak]: leak of 's2'
coreutils-9.9/src/seq.c:547:1: enter_function: entry to 'main'
coreutils-9.9/src/seq.c:609:6: branch_false: following 'false' branch (when 'n_args > 0')...
coreutils-9.9/src/seq.c:615:6: branch_false: ...to here
coreutils-9.9/src/seq.c:615:6: branch_false: following 'false' branch (when 'n_args <= 3')...
coreutils-9.9/src/seq.c:621:6: branch_false: ...to here
coreutils-9.9/src/seq.c:621:6: branch_false: following 'false' branch (when 'format_str' is NULL)...
coreutils-9.9/src/seq.c:631:28: branch_false: ...to here
coreutils-9.9/src/seq.c:658:10: call_function: calling 'scan_arg' from 'main'
coreutils-9.9/src/seq.c:658:10: return_function: returning to 'main' from 'scan_arg'
coreutils-9.9/src/seq.c:681:6: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:681:7: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:681:7: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:681:7: branch_false: following 'false' branch...
coreutils-9.9/src/seq.c:681:7: branch_false: ...to here
coreutils-9.9/src/seq.c:681:7: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:688:10: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:689:14: branch_true: ...to here
coreutils-9.9/src/seq.c:692:10: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:693:14: branch_true: ...to here
coreutils-9.9/src/seq.c:697:10: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:698:9: call_function: calling 'seq_fast' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def455]
coreutils-9.9/src/seq.c:693:14: warning[-Wanalyzer-malloc-leak]: leak of 's1'
coreutils-9.9/src/seq.c:547:1: enter_function: entry to 'main'
coreutils-9.9/src/seq.c:609:6: branch_false: following 'false' branch (when 'n_args > 0')...
coreutils-9.9/src/seq.c:615:6: branch_false: ...to here
coreutils-9.9/src/seq.c:615:6: branch_false: following 'false' branch (when 'n_args <= 3')...
coreutils-9.9/src/seq.c:621:6: branch_false: ...to here
coreutils-9.9/src/seq.c:621:6: branch_false: following 'false' branch (when 'format_str' is NULL)...
coreutils-9.9/src/seq.c:631:28: branch_false: ...to here
coreutils-9.9/src/seq.c:658:10: call_function: calling 'scan_arg' from 'main'
coreutils-9.9/src/seq.c:658:10: return_function: returning to 'main' from 'scan_arg'
coreutils-9.9/src/seq.c:681:6: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:681:7: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:681:7: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:681:7: branch_false: following 'false' branch...
coreutils-9.9/src/seq.c:681:7: branch_false: ...to here
coreutils-9.9/src/seq.c:681:7: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:688:10: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:689:14: branch_true: ...to here
coreutils-9.9/src/seq.c:692:10: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:693:14: branch_true: ...to here
coreutils-9.9/src/seq.c:693:14: throw: if 'xstrdup' throws an exception...
coreutils-9.9/src/seq.c:693:14: danger: 's1' leaks here; was allocated at [(28)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/27)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def456]
coreutils-9.9/src/seq.c:695:9: warning[-Wanalyzer-malloc-leak]: leak of 's1'
coreutils-9.9/src/seq.c:547:1: enter_function: entry to 'main'
coreutils-9.9/src/seq.c:609:6: branch_false: following 'false' branch (when 'n_args > 0')...
coreutils-9.9/src/seq.c:615:6: branch_false: ...to here
coreutils-9.9/src/seq.c:615:6: branch_false: following 'false' branch (when 'n_args <= 3')...
coreutils-9.9/src/seq.c:621:6: branch_false: ...to here
coreutils-9.9/src/seq.c:621:6: branch_false: following 'false' branch (when 'format_str' is NULL)...
coreutils-9.9/src/seq.c:631:28: branch_false: ...to here
coreutils-9.9/src/seq.c:658:10: call_function: calling 'scan_arg' from 'main'
coreutils-9.9/src/seq.c:658:10: return_function: returning to 'main' from 'scan_arg'
coreutils-9.9/src/seq.c:681:6: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:681:7: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:681:7: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:681:7: branch_false: following 'false' branch...
coreutils-9.9/src/seq.c:681:7: branch_false: ...to here
coreutils-9.9/src/seq.c:681:7: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:688:10: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:689:14: branch_true: ...to here
coreutils-9.9/src/seq.c:692:10: branch_false: following 'false' branch...
coreutils-9.9/src/seq.c:694:16: call_function: inlined call to 'asprintf' from 'main'
coreutils-9.9/src/seq.c:694:15: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:695:9: branch_true: ...to here
coreutils-9.9/src/seq.c:695:9: throw: if 'xalloc_die' throws an exception...
coreutils-9.9/src/seq.c:695:9: danger: 's1' leaks here; was allocated at [(28)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/27)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def457]
coreutils-9.9/src/set-fields.c:256:15: warning[-Wanalyzer-malloc-leak]: leak of 'ximemdup0(num_start, (long int)strspn(<unknown>, "0123456789"))'
coreutils-9.9/src/set-fields.c:137:1: enter_function: entry to 'set_fields'
coreutils-9.9/src/set-fields.c:234:16: call_function: inlined call to 'c_isdigit' from 'set_fields'
coreutils-9.9/src/set-fields.c:239:14: branch_true: ...to here
coreutils-9.9/src/set-fields.c:239:14: branch_false: following 'false' branch (when 'in_digits == 0')...
coreutils-9.9/src/set-fields.c:240:13: branch_false: ...to here
coreutils-9.9/src/set-fields.c:256:15: throw: if 'quote' throws an exception...
coreutils-9.9/src/set-fields.c:256:15: danger: 'ximemdup0(num_start, (long int)strspn(<unknown>, "0123456789"))' leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def458]
coreutils-9.9/src/shred.c:1253:11: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(quotearg_n_style_colon(0, 3, *<unknown>))'
coreutils-9.9/src/shred.c:1159:1: enter_function: entry to 'main'
coreutils-9.9/src/shred.c:1238:6: branch_false: following 'false' branch (when 'n_files != 0')...
coreutils-9.9/src/shred.c:1244:20: branch_false: ...to here
coreutils-9.9/src/shred.c:1245:6: branch_false: following 'false' branch...
coreutils-9.9/src/shred.c:1248:3: branch_false: ...to here
coreutils-9.9/src/shred.c:1250:15: branch_true: following 'true' branch (when 'i < n_files')...
coreutils-9.9/src/shred.c:1252:30: branch_true: ...to here
coreutils-9.9/src/shred.c:1253:10: branch_false: following 'false' branch (when the strings are non-equal)...
coreutils-9.9/src/shred.c:1260:17: branch_false: ...to here
coreutils-9.9/src/shred.c:1260:17: call_function: calling 'wipefile' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def459]
coreutils-9.9/src/shuf.c:272:7: warning[-Wanalyzer-malloc-leak]: leak of 'fread_file(in, 0, & used)'
coreutils-9.9/src/shuf.c:269:15: acquire_memory: allocated here
coreutils-9.9/src/shuf.c:269:6: branch_false: following 'false' branch...
coreutils-9.9/src/shuf.c:272:7: branch_false: ...to here
coreutils-9.9/src/shuf.c:281:19: throw: if 'xnmalloc' throws an exception...
coreutils-9.9/src/shuf.c:272:7: danger: 'fread_file(in, 0, & used)' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def460]
coreutils-9.9/src/shuf.c:281:19: warning[-Wanalyzer-malloc-leak]: leak of 'p'
coreutils-9.9/src/shuf.c:363:1: enter_function: entry to 'main'
coreutils-9.9/src/shuf.c:482:6: branch_false: following 'false' branch...
coreutils-9.9/src/shuf.c:487:7: branch_false: ...to here
coreutils-9.9/src/shuf.c:487:6: branch_false: following 'false' branch...
coreutils-9.9/src/shuf.c:494:6: branch_false: ...to here
coreutils-9.9/src/shuf.c:494:6: branch_false: following 'false' branch (when 'head_lines != 0')...
coreutils-9.9/src/shuf.c:499:11: branch_false: ...to here
coreutils-9.9/src/shuf.c:499:11: branch_false: following 'false' branch (when 'echo == 0')...
coreutils-9.9/src/shuf.c:505:11: branch_false: ...to here
coreutils-9.9/src/shuf.c:505:11: branch_false: following 'false' branch (when 'input_range == 0')...
coreutils-9.9/src/shuf.c:513:10: branch_false: ...to here
coreutils-9.9/src/shuf.c:520:10: branch_true: following 'true' branch...
coreutils-9.9/src/shuf.c:523:21: branch_true: ...to here
coreutils-9.9/src/shuf.c:523:21: call_function: calling 'read_input' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def461]
coreutils-9.9/src/shuf.c:537:20: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
coreutils-9.9/src/shuf.c:363:1: enter_function: entry to 'main'
coreutils-9.9/src/shuf.c:482:6: branch_false: following 'false' branch...
coreutils-9.9/src/shuf.c:487:7: branch_false: ...to here
coreutils-9.9/src/shuf.c:487:6: branch_false: following 'false' branch...
coreutils-9.9/src/shuf.c:494:6: branch_false: ...to here
coreutils-9.9/src/shuf.c:494:6: branch_false: following 'false' branch (when 'head_lines != 0')...
coreutils-9.9/src/shuf.c:499:11: branch_false: ...to here
coreutils-9.9/src/shuf.c:499:11: branch_false: following 'false' branch (when 'echo == 0')...
coreutils-9.9/src/shuf.c:505:11: branch_false: ...to here
coreutils-9.9/src/shuf.c:505:11: branch_false: following 'false' branch (when 'input_range == 0')...
coreutils-9.9/src/shuf.c:513:10: branch_false: ...to here
coreutils-9.9/src/shuf.c:520:10: branch_true: following 'true' branch...
coreutils-9.9/src/shuf.c:523:21: branch_true: ...to here
coreutils-9.9/src/shuf.c:523:21: call_function: calling 'read_input' from 'main'
coreutils-9.9/src/shuf.c:523:21: return_function: returning to 'main' from 'read_input'
coreutils-9.9/src/shuf.c:537:20: danger: '<unknown>' leaks here; was allocated at [(16)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/15)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def462]
coreutils-9.9/src/shuf.c:557:10: warning[-Wanalyzer-malloc-leak]: leak of 'randint_all_new(random_source, <unknown>)'
coreutils-9.9/src/shuf.c:395:10: branch_true: following 'true' branch (when 'optc != -1')...
coreutils-9.9/src/shuf.c:397:5: branch_true: ...to here
coreutils-9.9/src/shuf.c:444:14: branch_true: following 'true' branch...
coreutils-9.9/src/shuf.c:445:26: branch_true: ...to here
coreutils-9.9/src/shuf.c:482:6: branch_false: following 'false' branch...
coreutils-9.9/src/shuf.c:487:7: branch_false: ...to here
coreutils-9.9/src/shuf.c:487:7: branch_false: following 'false' branch...
coreutils-9.9/src/shuf.c:537:20: acquire_memory: allocated here
coreutils-9.9/src/shuf.c:541:6: branch_false: following 'false' branch...
coreutils-9.9/src/shuf.c:545:6: branch_false: ...to here
coreutils-9.9/src/shuf.c:545:6: branch_false: following 'false' branch (when 'use_reservoir_sampling == 0')...
coreutils-9.9/src/shuf.c:557:10: branch_false: ...to here
coreutils-9.9/src/shuf.c:560:6: branch_false: following 'false' branch (when 'repeat == 0')...
coreutils-9.9/src/shuf.c:561:19: branch_false: ...to here
coreutils-9.9/src/shuf.c:561:19: throw: if 'randperm_new' throws an exception...
coreutils-9.9/src/shuf.c:557:10: danger: 'randint_all_new(random_source, <unknown>)' leaks here; was allocated at [(9)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def463]
coreutils-9.9/src/sort.c:845:27: warning[-Wanalyzer-malloc-leak]: leak of 'fps'
coreutils-9.9/src/sort.c:4650:1: enter_function: entry to 'merge'
coreutils-9.9/src/sort.c:4653:10: branch_false: following 'false' branch...
coreutils-9.9/src/sort.c:4709:3: branch_false: ...to here
coreutils-9.9/src/sort.c:4719:24: call_function: calling 'open_input_files' from 'merge'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def464]
coreutils-9.9/src/sort.c:921:35: warning[-Wanalyzer-malloc-leak]: leak of 'create_temp_file(&tempfd, survive_fd_exhaustion)'
coreutils-9.9/src/sort.c:4650:1: enter_function: entry to 'merge'
coreutils-9.9/src/sort.c:4653:10: branch_true: following 'true' branch...
coreutils-9.9/src/sort.c:4653:10: branch_true: ...to here
coreutils-9.9/src/sort.c:4671:26: branch_true: following 'true' branch...
coreutils-9.9/src/sort.c:4674:35: call_function: inlined call to 'create_temp' from 'merge'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def465]
coreutils-9.9/src/sort.c:929:11: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(len + 32 & 18446744073709551608)'
coreutils-9.9/src/sort.c:4650:1: enter_function: entry to 'merge'
coreutils-9.9/src/sort.c:4653:10: branch_true: following 'true' branch...
coreutils-9.9/src/sort.c:4653:10: branch_true: ...to here
coreutils-9.9/src/sort.c:4671:26: branch_true: following 'true' branch...
coreutils-9.9/src/sort.c:4674:35: call_function: inlined call to 'create_temp' from 'merge'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def466]
coreutils-9.9/src/sort.c:1036:7: warning[-Wanalyzer-malloc-leak]: leak of 'fp'
coreutils-9.9/src/sort.c:4766:1: enter_function: entry to 'sort'
coreutils-9.9/src/sort.c:4775:10: branch_true: following 'true' branch (when 'nfiles != 0')...
coreutils-9.9/src/sort.c:4778:19: branch_true: ...to here
coreutils-9.9/src/sort.c:4779:18: call_function: calling 'xfopen' from 'sort'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def467]
coreutils-9.9/src/sort.c:1542:16: warning[-Wanalyzer-malloc-leak]: leak of 'lc_time'
coreutils-9.9/src/sort.c:5035:1: enter_function: entry to 'main'
coreutils-9.9/src/sort.c:5091:6: branch_true: following 'true' branch...
coreutils-9.9/src/sort.c:5091:6: branch_true: ...to here
coreutils-9.9/src/sort.c:5114:3: call_function: calling 'inittables_mb' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def468]
coreutils-9.9/src/sort.c:1551:11: warning[-Wanalyzer-malloc-leak]: leak of 'lc_ctype'
coreutils-9.9/src/sort.c:5035:1: enter_function: entry to 'main'
coreutils-9.9/src/sort.c:5091:6: branch_true: following 'true' branch...
coreutils-9.9/src/sort.c:5091:6: branch_true: ...to here
coreutils-9.9/src/sort.c:5114:3: call_function: calling 'inittables_mb' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def469]
coreutils-9.9/src/sort.c:1551:11: warning[-Wanalyzer-malloc-leak]: leak of 'lc_time'
coreutils-9.9/src/sort.c:5035:1: enter_function: entry to 'main'
coreutils-9.9/src/sort.c:5091:6: branch_true: following 'true' branch...
coreutils-9.9/src/sort.c:5091:6: branch_true: ...to here
coreutils-9.9/src/sort.c:5114:3: call_function: calling 'inittables_mb' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def470]
coreutils-9.9/src/sort.c:1553:42: warning[-Wanalyzer-malloc-leak]: leak of 'lc_ctype'
coreutils-9.9/src/sort.c:5035:1: enter_function: entry to 'main'
coreutils-9.9/src/sort.c:5091:6: branch_true: following 'true' branch...
coreutils-9.9/src/sort.c:5091:6: branch_true: ...to here
coreutils-9.9/src/sort.c:5114:3: call_function: calling 'inittables_mb' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def471]
coreutils-9.9/src/sort.c:1553:42: warning[-Wanalyzer-malloc-leak]: leak of 'lc_time'
coreutils-9.9/src/sort.c:5035:1: enter_function: entry to 'main'
coreutils-9.9/src/sort.c:5091:6: branch_true: following 'true' branch...
coreutils-9.9/src/sort.c:5091:6: branch_true: ...to here
coreutils-9.9/src/sort.c:5114:3: call_function: calling 'inittables_mb' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-835): [#def472]
coreutils-9.9/src/sort.c:2260:41: warning[-Wanalyzer-infinite-loop]: infinite loop
Error: CPPCHECK_WARNING (CWE-457): [#def473]
coreutils-9.9/src/sort.c:4859: warning[uninitvar]: Uninitialized variable: buf.buf
Error: GCC_ANALYZER_WARNING (CWE-457): [#def474]
coreutils-9.9/src/sort.c:4859:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'buf.buf'
coreutils-9.9/src/sort.c:4775:10: branch_false: following 'false' branch (when 'nfiles == 0')...
coreutils-9.9/src/sort.c:4858:2: branch_false: ...to here
coreutils-9.9/src/sort.c:4859:9: danger: use of uninitialized value 'buf.buf' here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def475]
coreutils-9.9/src/split.c:558:16: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'fd_pair[0]'
coreutils-9.9/src/split.c:1094:1: enter_function: entry to 'ofile_open'
coreutils-9.9/src/split.c:1098:6: branch_true: following 'true' branch...
coreutils-9.9/src/split.c:1101:24: branch_true: ...to here
coreutils-9.9/src/split.c:1108:14: branch_true: following 'true' branch...
coreutils-9.9/src/split.c:1109:26: branch_true: ...to here
coreutils-9.9/src/split.c:1109:18: call_function: calling 'create' from 'ofile_open'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def476]
coreutils-9.9/src/split.c:567:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'fd_pair[0]'
coreutils-9.9/src/split.c:1094:1: enter_function: entry to 'ofile_open'
coreutils-9.9/src/split.c:1098:6: branch_true: following 'true' branch...
coreutils-9.9/src/split.c:1101:24: branch_true: ...to here
coreutils-9.9/src/split.c:1108:14: branch_true: following 'true' branch...
coreutils-9.9/src/split.c:1109:26: branch_true: ...to here
coreutils-9.9/src/split.c:1109:18: call_function: calling 'create' from 'ofile_open'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def477]
coreutils-9.9/src/stat.c:1711:24: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(dcgettext(0, " File: %N\012 Size: %-10s\011Blocks: %-10b IO Block: %-6o %F\012", 5))'
coreutils-9.9/src/stat.c:1879:1: enter_function: entry to 'main'
coreutils-9.9/src/stat.c:1954:6: branch_false: following 'false' branch...
coreutils-9.9/src/stat.c:1960:6: branch_false: ...to here
coreutils-9.9/src/stat.c:1960:6: branch_false: following 'false' branch (when 'format' is NULL)...
coreutils-9.9/src/stat.c:1968:16: branch_false: ...to here
coreutils-9.9/src/stat.c:1968:16: call_function: calling 'default_format' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def478]
coreutils-9.9/src/stat.c:1720:20: warning[-Wanalyzer-malloc-leak]: leak of 'format'
coreutils-9.9/src/stat.c:1879:1: enter_function: entry to 'main'
coreutils-9.9/src/stat.c:1954:6: branch_false: following 'false' branch...
coreutils-9.9/src/stat.c:1960:6: branch_false: ...to here
coreutils-9.9/src/stat.c:1960:6: branch_false: following 'false' branch (when 'format' is NULL)...
coreutils-9.9/src/stat.c:1968:16: branch_false: ...to here
coreutils-9.9/src/stat.c:1968:16: call_function: calling 'default_format' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def479]
coreutils-9.9/src/stat.c:1725:19: warning[-Wanalyzer-malloc-leak]: leak of 'xasprintf("%s%s", format, dcgettext(0, "Access: (%04a/%10.10A) Uid: (%5u/%8U) Gid: (%5g/%8G)\012", 5))'
coreutils-9.9/src/stat.c:1879:1: enter_function: entry to 'main'
coreutils-9.9/src/stat.c:1954:6: branch_false: following 'false' branch...
coreutils-9.9/src/stat.c:1960:6: branch_false: ...to here
coreutils-9.9/src/stat.c:1960:6: branch_false: following 'false' branch (when 'format' is NULL)...
coreutils-9.9/src/stat.c:1968:16: branch_false: ...to here
coreutils-9.9/src/stat.c:1968:16: call_function: calling 'default_format' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def480]
coreutils-9.9/src/stat.c:1730:24: warning[-Wanalyzer-malloc-leak]: leak of 'xasprintf("%s%s", format, dcgettext(0, "Access: (%04a/%10.10A) Uid: (%5u/%8U) Gid: (%5g/%8G)\012", 5))'
coreutils-9.9/src/stat.c:1879:1: enter_function: entry to 'main'
coreutils-9.9/src/stat.c:1954:6: branch_false: following 'false' branch...
coreutils-9.9/src/stat.c:1960:6: branch_false: ...to here
coreutils-9.9/src/stat.c:1960:6: branch_false: following 'false' branch (when 'format' is NULL)...
coreutils-9.9/src/stat.c:1968:16: branch_false: ...to here
coreutils-9.9/src/stat.c:1968:16: call_function: calling 'default_format' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def481]
coreutils-9.9/src/stat.c:1735:20: warning[-Wanalyzer-malloc-leak]: leak of 'format'
coreutils-9.9/src/stat.c:1879:1: enter_function: entry to 'main'
coreutils-9.9/src/stat.c:1954:6: branch_false: following 'false' branch...
coreutils-9.9/src/stat.c:1960:6: branch_false: ...to here
coreutils-9.9/src/stat.c:1960:6: branch_false: following 'false' branch (when 'format' is NULL)...
coreutils-9.9/src/stat.c:1968:16: branch_false: ...to here
coreutils-9.9/src/stat.c:1968:16: call_function: calling 'default_format' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def482]
coreutils-9.9/src/stdbuf.c:146:24: warning[-Wanalyzer-malloc-leak]: leak of 'xreadlink("/proc/self/exe")'
coreutils-9.9/src/stdbuf.c:138:6: branch_false: following 'false' branch...
coreutils-9.9/src/stdbuf.c:144:20: branch_false: ...to here
coreutils-9.9/src/stdbuf.c:144:20: acquire_memory: allocated here
coreutils-9.9/src/stdbuf.c:145:10: branch_true: following 'true' branch...
coreutils-9.9/src/stdbuf.c:146:24: branch_true: ...to here
coreutils-9.9/src/stdbuf.c:146:24: throw: if 'dir_name' throws an exception...
coreutils-9.9/src/stdbuf.c:146:24: danger: 'xreadlink("/proc/self/exe")' leaks here; was allocated at [(4)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def483]
coreutils-9.9/src/stdbuf.c:154:33: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(path)'
coreutils-9.9/src/stdbuf.c:138:6: branch_false: following 'false' branch...
coreutils-9.9/src/stdbuf.c:144:20: branch_false: ...to here
coreutils-9.9/src/stdbuf.c:145:10: branch_false: following 'false' branch...
coreutils-9.9/src/stdbuf.c:147:24: branch_false: ...to here
coreutils-9.9/src/stdbuf.c:147:15: branch_true: following 'true' branch (when 'path' is non-NULL)...
coreutils-9.9/src/stdbuf.c:150:18: branch_true: ...to here
coreutils-9.9/src/stdbuf.c:151:42: branch_true: following 'true' branch (when 'dir' is non-NULL)...
coreutils-9.9/src/stdbuf.c:154:33: branch_true: ...to here
coreutils-9.9/src/stdbuf.c:154:33: throw: if 'file_name_concat' throws an exception...
coreutils-9.9/src/stdbuf.c:154:33: danger: 'xstrdup(path)' leaks here; was allocated at [(8)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def484]
coreutils-9.9/src/stdbuf.c:157:34: warning[-Wanalyzer-malloc-leak]: leak of 'file_name_concat(dir, arg, 0)'
coreutils-9.9/src/stdbuf.c:138:6: branch_false: following 'false' branch...
coreutils-9.9/src/stdbuf.c:144:20: branch_false: ...to here
coreutils-9.9/src/stdbuf.c:145:10: branch_false: following 'false' branch...
coreutils-9.9/src/stdbuf.c:147:24: branch_false: ...to here
coreutils-9.9/src/stdbuf.c:147:15: branch_true: following 'true' branch (when 'path' is non-NULL)...
coreutils-9.9/src/stdbuf.c:150:18: branch_true: ...to here
coreutils-9.9/src/stdbuf.c:151:42: branch_true: following 'true' branch (when 'dir' is non-NULL)...
coreutils-9.9/src/stdbuf.c:154:33: branch_true: ...to here
coreutils-9.9/src/stdbuf.c:157:34: throw: if 'dir_name' throws an exception...
coreutils-9.9/src/stdbuf.c:157:34: danger: 'file_name_concat(dir, arg, 0)' leaks here; was allocated at [(11)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def485]
coreutils-9.9/src/stdbuf.c:157:34: warning[-Wanalyzer-malloc-leak]: leak of 'xstrdup(path)'
coreutils-9.9/src/stdbuf.c:138:6: branch_false: following 'false' branch...
coreutils-9.9/src/stdbuf.c:144:20: branch_false: ...to here
coreutils-9.9/src/stdbuf.c:145:10: branch_false: following 'false' branch...
coreutils-9.9/src/stdbuf.c:147:24: branch_false: ...to here
coreutils-9.9/src/stdbuf.c:147:15: branch_true: following 'true' branch (when 'path' is non-NULL)...
coreutils-9.9/src/stdbuf.c:150:18: branch_true: ...to here
coreutils-9.9/src/stdbuf.c:151:42: branch_true: following 'true' branch (when 'dir' is non-NULL)...
coreutils-9.9/src/stdbuf.c:154:33: branch_true: ...to here
coreutils-9.9/src/stdbuf.c:157:34: throw: if 'dir_name' throws an exception...
coreutils-9.9/src/stdbuf.c:157:34: danger: 'xstrdup(path)' leaks here; was allocated at [(8)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-787): [#def486]
coreutils-9.9/src/stdbuf.c:173:3: warning[-Wanalyzer-out-of-bounds]: buffer over-read
coreutils-9.9/src/stdbuf.c:312:1: enter_function: entry to 'main'
coreutils-9.9/src/stdbuf.c:325:10: branch_true: following 'true' branch (when 'c != -1')...
coreutils-9.9/src/stdbuf.c:329:7: branch_true: ...to here
coreutils-9.9/src/stdbuf.c:335:24: call_function: inlined call to 'optc_to_fileno' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def487]
coreutils-9.9/src/system.h:263:33: warning[-Wanalyzer-malloc-leak]: leak of 'fdopendir(__openat_alias(fd_cwd, dir, 198912))'
coreutils-9.9/src/remove.c:168:1: enter_function: entry to 'get_dir_status'
coreutils-9.9/src/remove.c:170:6: branch_true: following 'true' branch...
coreutils-9.9/src/remove.c:171:54: branch_true: ...to here
coreutils-9.9/src/remove.c:171:19: call_function: calling 'directory_status' from 'get_dir_status'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def488]
coreutils-9.9/src/system.h:702:10: warning[-Wanalyzer-malloc-leak]: leak of 'host'
coreutils-9.9/src/who.c:679:1: enter_function: entry to 'single_binary_main_who'
coreutils-9.9/src/who.c:814:7: call_function: calling 'who' from 'single_binary_main_who'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def489]
coreutils-9.9/src/system.h:753:3: warning[-Wanalyzer-malloc-leak]: leak of 'p0'
coreutils-9.9/src/seq.c:459:1: enter_function: entry to 'seq_fast'
coreutils-9.9/src/seq.c:489:10: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:489:10: branch_true: ...to here
coreutils-9.9/src/seq.c:494:14: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:496:11: branch_true: ...to here
coreutils-9.9/src/seq.c:498:14: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:499:13: branch_true: ...to here
coreutils-9.9/src/seq.c:499:13: call_function: calling 'write_error' from 'seq_fast'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def490]
coreutils-9.9/src/system.h:754:3: warning[-Wanalyzer-malloc-leak]: leak of 'p0'
coreutils-9.9/src/seq.c:459:1: enter_function: entry to 'seq_fast'
coreutils-9.9/src/seq.c:489:10: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:489:10: branch_true: ...to here
coreutils-9.9/src/seq.c:494:14: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:496:11: branch_true: ...to here
coreutils-9.9/src/seq.c:498:14: branch_true: following 'true' branch...
coreutils-9.9/src/seq.c:499:13: branch_true: ...to here
coreutils-9.9/src/seq.c:499:13: call_function: calling 'write_error' from 'seq_fast'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def491]
coreutils-9.9/src/tail.c:455:7: warning[-Wanalyzer-malloc-leak]: leak of 'tmp'
coreutils-9.9/src/tail.c:1824:1: enter_function: entry to 'tail_bytes'
coreutils-9.9/src/tail.c:1832:6: branch_false: following 'false' branch...
coreutils-9.9/src/tail.c:1847:10: branch_false: ...to here
coreutils-9.9/src/tail.c:1893:10: branch_true: following 'true' branch (when 'end_pos < 0')...
coreutils-9.9/src/tail.c:1894:16: branch_true: ...to here
coreutils-9.9/src/tail.c:1894:16: call_function: calling 'pipe_bytes' from 'tail_bytes'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def492]
coreutils-9.9/src/tail.c:547:25: warning[-Wanalyzer-malloc-leak]: leak of 'ximalloc(bufsize)'
coreutils-9.9/src/tail.c:1907:1: enter_function: entry to 'tail_lines'
coreutils-9.9/src/tail.c:1910:6: branch_false: following 'false' branch...
coreutils-9.9/src/tail.c:1930:26: branch_false: ...to here
coreutils-9.9/src/tail.c:1930:25: branch_false: following 'false' branch...
coreutils-9.9/src/tail.c:1930:49: branch_false: ...to here
coreutils-9.9/src/tail.c:1933:23: branch_true: following 'true' branch (when 'start_pos >= 0')...
coreutils-9.9/src/tail.c:1933:44: branch_true: ...to here
coreutils-9.9/src/tail.c:1934:14: branch_false: following 'false' branch (when 'end_pos >= 0')...
coreutils-9.9/src/tail.c:1936:17: branch_false: ...to here
coreutils-9.9/src/tail.c:1936:17: branch_true: following 'true' branch (when 'end_pos > start_pos')...
coreutils-9.9/src/tail.c:1937:17: branch_true: ...to here
coreutils-9.9/src/tail.c:1937:17: call_function: calling 'file_lines' from 'tail_lines'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def493]
coreutils-9.9/src/tail.c:639:9: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(8216)'
coreutils-9.9/src/tail.c:1907:1: enter_function: entry to 'tail_lines'
coreutils-9.9/src/tail.c:1910:6: branch_false: following 'false' branch...
coreutils-9.9/src/tail.c:1930:26: branch_false: ...to here
coreutils-9.9/src/tail.c:1935:17: call_function: calling 'pipe_lines' from 'tail_lines'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def494]
coreutils-9.9/src/tail.c:687:19: warning[-Wanalyzer-malloc-leak]: leak of 'first'
coreutils-9.9/src/tail.c:1907:1: enter_function: entry to 'tail_lines'
coreutils-9.9/src/tail.c:1910:6: branch_false: following 'false' branch...
coreutils-9.9/src/tail.c:1930:26: branch_false: ...to here
coreutils-9.9/src/tail.c:1935:17: call_function: calling 'pipe_lines' from 'tail_lines'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def495]
coreutils-9.9/src/tail.c:687:19: warning[-Wanalyzer-malloc-leak]: leak of 'tmp'
coreutils-9.9/src/tail.c:1907:1: enter_function: entry to 'tail_lines'
coreutils-9.9/src/tail.c:1910:6: branch_false: following 'false' branch...
coreutils-9.9/src/tail.c:1930:26: branch_false: ...to here
coreutils-9.9/src/tail.c:1935:17: call_function: calling 'pipe_lines' from 'tail_lines'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def496]
coreutils-9.9/src/tail.c:696:7: warning[-Wanalyzer-malloc-leak]: leak of 'first'
coreutils-9.9/src/tail.c:1907:1: enter_function: entry to 'tail_lines'
coreutils-9.9/src/tail.c:1910:6: branch_false: following 'false' branch...
coreutils-9.9/src/tail.c:1930:26: branch_false: ...to here
coreutils-9.9/src/tail.c:1935:17: call_function: calling 'pipe_lines' from 'tail_lines'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def497]
coreutils-9.9/src/tail.c:781:9: warning[-Wanalyzer-malloc-leak]: leak of 'xmalloc(8208)'
coreutils-9.9/src/tail.c:1824:1: enter_function: entry to 'tail_bytes'
coreutils-9.9/src/tail.c:1832:6: branch_false: following 'false' branch...
coreutils-9.9/src/tail.c:1847:10: branch_false: ...to here
coreutils-9.9/src/tail.c:1893:10: branch_true: following 'true' branch (when 'end_pos < 0')...
coreutils-9.9/src/tail.c:1894:16: branch_true: ...to here
coreutils-9.9/src/tail.c:1894:16: call_function: calling 'pipe_bytes' from 'tail_bytes'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def498]
coreutils-9.9/src/tail.c:818:21: warning[-Wanalyzer-malloc-leak]: leak of 'first'
coreutils-9.9/src/tail.c:1824:1: enter_function: entry to 'tail_bytes'
coreutils-9.9/src/tail.c:1832:6: branch_false: following 'false' branch...
coreutils-9.9/src/tail.c:1847:10: branch_false: ...to here
coreutils-9.9/src/tail.c:1893:10: branch_true: following 'true' branch (when 'end_pos < 0')...
coreutils-9.9/src/tail.c:1894:16: branch_true: ...to here
coreutils-9.9/src/tail.c:1894:16: call_function: calling 'pipe_bytes' from 'tail_bytes'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def499]
coreutils-9.9/src/tail.c:818:21: warning[-Wanalyzer-malloc-leak]: leak of 'tmp'
coreutils-9.9/src/tail.c:1824:1: enter_function: entry to 'tail_bytes'
coreutils-9.9/src/tail.c:1832:6: branch_false: following 'false' branch...
coreutils-9.9/src/tail.c:1847:10: branch_false: ...to here
coreutils-9.9/src/tail.c:1893:10: branch_true: following 'true' branch (when 'end_pos < 0')...
coreutils-9.9/src/tail.c:1894:16: branch_true: ...to here
coreutils-9.9/src/tail.c:1894:16: call_function: calling 'pipe_bytes' from 'tail_bytes'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def500]
coreutils-9.9/src/tail.c:828:7: warning[-Wanalyzer-malloc-leak]: leak of 'first'
coreutils-9.9/src/tail.c:1824:1: enter_function: entry to 'tail_bytes'
coreutils-9.9/src/tail.c:1832:6: branch_false: following 'false' branch...
coreutils-9.9/src/tail.c:1847:10: branch_false: ...to here
coreutils-9.9/src/tail.c:1893:10: branch_true: following 'true' branch (when 'end_pos < 0')...
coreutils-9.9/src/tail.c:1894:16: branch_true: ...to here
coreutils-9.9/src/tail.c:1894:16: call_function: calling 'pipe_bytes' from 'tail_bytes'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def501]
coreutils-9.9/src/tail.c:845:8: warning[-Wanalyzer-malloc-leak]: leak of 'tmp'
coreutils-9.9/src/tail.c:1824:1: enter_function: entry to 'tail_bytes'
coreutils-9.9/src/tail.c:1832:6: branch_false: following 'false' branch...
coreutils-9.9/src/tail.c:1847:10: branch_false: ...to here
coreutils-9.9/src/tail.c:1893:10: branch_true: following 'true' branch (when 'end_pos < 0')...
coreutils-9.9/src/tail.c:1894:16: branch_true: ...to here
coreutils-9.9/src/tail.c:1894:16: call_function: calling 'pipe_bytes' from 'tail_bytes'
Error: CPPCHECK_WARNING (CWE-758): [#def502]
coreutils-9.9/src/tail.c:2372: warning[objectIndex]: The address of variable 'dummy_stdin' might be accessed at non-zero index.
Error: GCC_ANALYZER_WARNING (CWE-401): [#def503]
coreutils-9.9/src/tee.c:212:7: warning[-Wanalyzer-malloc-leak]: leak of 'out_pollable'
coreutils-9.9/src/tee.c:226:1: enter_function: entry to 'tee_files'
coreutils-9.9/src/tee.c:249:6: branch_true: following 'true' branch (when 'pipe_check != 0')...
coreutils-9.9/src/tee.c:250:20: branch_true: ...to here
coreutils-9.9/src/tee.c:253:6: branch_true: following 'true' branch (when 'pipe_check != 0')...
coreutils-9.9/src/tee.c:254:23: branch_true: ...to here
coreutils-9.9/src/tee.c:281:10: branch_true: following 'true' branch (when 'n_outputs != 0')...
coreutils-9.9/src/tee.c:283:10: branch_true: ...to here
coreutils-9.9/src/tee.c:283:10: branch_true: following 'true' branch...
coreutils-9.9/src/tee.c:290:14: branch_true: following 'true' branch...
coreutils-9.9/src/tee.c:292:15: branch_true: ...to here
coreutils-9.9/src/tee.c:293:19: call_function: calling 'fail_output' from 'tee_files'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def504]
coreutils-9.9/src/tee.c:250:20: warning[-Wanalyzer-malloc-leak]: leak of 'xnmalloc((long unsigned int)(nfiles + 1), 8)'
coreutils-9.9/src/tee.c:249:6: branch_true: following 'true' branch (when 'pipe_check != 0')...
coreutils-9.9/src/tee.c:250:20: branch_true: ...to here
coreutils-9.9/src/tee.c:250:20: throw: if 'xnmalloc' throws an exception...
coreutils-9.9/src/tee.c:250:20: danger: 'xnmalloc((long unsigned int)(nfiles + 1), 8)' leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def505]
coreutils-9.9/src/tee.c:252:3: warning[-Wanalyzer-malloc-leak]: leak of 'xnmalloc((long unsigned int)(nfiles + 1), 8)'
coreutils-9.9/src/tee.c:249:6: branch_true: following 'true' branch (when 'pipe_check != 0')...
coreutils-9.9/src/tee.c:250:20: branch_true: ...to here
coreutils-9.9/src/tee.c:253:6: branch_true: following 'true' branch (when 'pipe_check != 0')...
coreutils-9.9/src/tee.c:254:23: branch_true: ...to here
coreutils-9.9/src/tee.c:254:23: throw: if 'iopoll_output_ok' throws an exception...
coreutils-9.9/src/tee.c:252:3: danger: 'xnmalloc((long unsigned int)(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): [#def506]
coreutils-9.9/src/tee.c:254:23: warning[-Wanalyzer-malloc-leak]: leak of 'out_pollable'
coreutils-9.9/src/tee.c:249:6: branch_true: following 'true' branch (when 'pipe_check != 0')...
coreutils-9.9/src/tee.c:250:20: branch_true: ...to here
coreutils-9.9/src/tee.c:253:6: branch_true: following 'true' branch (when 'pipe_check != 0')...
coreutils-9.9/src/tee.c:254:23: branch_true: ...to here
coreutils-9.9/src/tee.c:254:23: throw: if 'iopoll_output_ok' throws an exception...
coreutils-9.9/src/tee.c:254:23: danger: 'out_pollable' leaks here; was allocated at [(3)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def507]
coreutils-9.9/src/tee.c:262:25: warning[-Wanalyzer-malloc-leak]: leak of 'out_pollable'
coreutils-9.9/src/tee.c:249:6: branch_true: following 'true' branch (when 'pipe_check != 0')...
coreutils-9.9/src/tee.c:250:20: branch_true: ...to here
coreutils-9.9/src/tee.c:253:6: branch_true: following 'true' branch (when 'pipe_check != 0')...
coreutils-9.9/src/tee.c:254:23: branch_true: ...to here
coreutils-9.9/src/tee.c:259:15: branch_true: following 'true' branch (when 'i <= nfiles')...
coreutils-9.9/src/tee.c:262:37: branch_true: ...to here
coreutils-9.9/src/tee.c:262:25: throw: if 'fopen_safer' throws an exception...
coreutils-9.9/src/tee.c:262:25: danger: 'out_pollable' leaks here; was allocated at [(3)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def508]
coreutils-9.9/src/tee.c:267:11: warning[-Wanalyzer-malloc-leak]: leak of 'out_pollable'
coreutils-9.9/src/tee.c:249:6: branch_true: following 'true' branch (when 'pipe_check != 0')...
coreutils-9.9/src/tee.c:250:20: branch_true: ...to here
coreutils-9.9/src/tee.c:253:6: branch_true: following 'true' branch (when 'pipe_check != 0')...
coreutils-9.9/src/tee.c:254:23: branch_true: ...to here
coreutils-9.9/src/tee.c:259:15: branch_true: following 'true' branch (when 'i <= nfiles')...
coreutils-9.9/src/tee.c:262:37: branch_true: ...to here
coreutils-9.9/src/tee.c:263:10: branch_true: following 'true' branch...
coreutils-9.9/src/tee.c:265:14: branch_true: ...to here
coreutils-9.9/src/tee.c:265:14: branch_true: following 'true' branch (when 'pipe_check != 0')...
coreutils-9.9/src/tee.c:266:25: branch_true: ...to here
coreutils-9.9/src/tee.c:267:11: branch_true: following 'true' branch...
coreutils-9.9/src/tee.c:267:11: branch_true: ...to here
coreutils-9.9/src/tee.c:267:11: throw: if 'quotearg_n_style_colon' throws an exception...
coreutils-9.9/src/tee.c:267:11: danger: 'out_pollable' leaks here; was allocated at [(3)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def509]
coreutils-9.9/src/tee.c:275:25: warning[-Wanalyzer-malloc-leak]: leak of 'fopen_safer(*<unknown>, mode_string)'
coreutils-9.9/src/tee.c:249:6: branch_true: following 'true' branch (when 'pipe_check != 0')...
coreutils-9.9/src/tee.c:250:20: branch_true: ...to here
coreutils-9.9/src/tee.c:253:6: branch_true: following 'true' branch (when 'pipe_check != 0')...
coreutils-9.9/src/tee.c:254:23: branch_true: ...to here
coreutils-9.9/src/tee.c:259:15: branch_true: following 'true' branch (when 'i <= nfiles')...
coreutils-9.9/src/tee.c:262:37: branch_true: ...to here
coreutils-9.9/src/tee.c:262:25: acquire_memory: allocated here
coreutils-9.9/src/tee.c:263:10: branch_false: following 'false' branch...
coreutils-9.9/src/tee.c:274:14: branch_false: ...to here
coreutils-9.9/src/tee.c:274:14: branch_true: following 'true' branch (when 'pipe_check != 0')...
coreutils-9.9/src/tee.c:275:31: branch_true: ...to here
coreutils-9.9/src/tee.c:275:31: throw: if 'iopoll_output_ok' throws an exception...
coreutils-9.9/src/tee.c:275:25: danger: 'fopen_safer(*<unknown>, mode_string)' leaks here; was allocated at [(7)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def510]
coreutils-9.9/src/tee.c:275:31: warning[-Wanalyzer-malloc-leak]: leak of 'out_pollable'
coreutils-9.9/src/tee.c:249:6: branch_true: following 'true' branch (when 'pipe_check != 0')...
coreutils-9.9/src/tee.c:250:20: branch_true: ...to here
coreutils-9.9/src/tee.c:253:6: branch_true: following 'true' branch (when 'pipe_check != 0')...
coreutils-9.9/src/tee.c:254:23: branch_true: ...to here
coreutils-9.9/src/tee.c:259:15: branch_true: following 'true' branch (when 'i <= nfiles')...
coreutils-9.9/src/tee.c:262:37: branch_true: ...to here
coreutils-9.9/src/tee.c:263:10: branch_false: following 'false' branch...
coreutils-9.9/src/tee.c:274:14: branch_false: ...to here
coreutils-9.9/src/tee.c:274:14: branch_true: following 'true' branch (when 'pipe_check != 0')...
coreutils-9.9/src/tee.c:275:31: branch_true: ...to here
coreutils-9.9/src/tee.c:275:31: throw: if 'iopoll_output_ok' throws an exception...
coreutils-9.9/src/tee.c:275:31: danger: 'out_pollable' leaks here; was allocated at [(3)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def511]
coreutils-9.9/src/tee.c:286:21: warning[-Wanalyzer-malloc-leak]: leak of 'out_pollable'
coreutils-9.9/src/tee.c:249:6: branch_true: following 'true' branch (when 'pipe_check != 0')...
coreutils-9.9/src/tee.c:250:20: branch_true: ...to here
coreutils-9.9/src/tee.c:253:6: branch_true: following 'true' branch (when 'pipe_check != 0')...
coreutils-9.9/src/tee.c:254:23: branch_true: ...to here
coreutils-9.9/src/tee.c:281:10: branch_true: following 'true' branch (when 'n_outputs != 0')...
coreutils-9.9/src/tee.c:283:10: branch_true: ...to here
coreutils-9.9/src/tee.c:283:10: branch_true: following 'true' branch...
coreutils-9.9/src/tee.c:286:21: throw: if 'iopoll' throws an exception...
coreutils-9.9/src/tee.c:286:21: danger: 'out_pollable' leaks here; was allocated at [(3)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def512]
coreutils-9.9/src/tee.c:316:18: warning[-Wanalyzer-malloc-leak]: leak of 'out_pollable'
coreutils-9.9/src/tee.c:249:6: branch_true: following 'true' branch (when 'pipe_check != 0')...
coreutils-9.9/src/tee.c:250:20: branch_true: ...to here
coreutils-9.9/src/tee.c:253:6: branch_true: following 'true' branch (when 'pipe_check != 0')...
coreutils-9.9/src/tee.c:254:23: branch_true: ...to here
coreutils-9.9/src/tee.c:281:10: branch_true: following 'true' branch (when 'n_outputs != 0')...
coreutils-9.9/src/tee.c:283:10: branch_true: ...to here
coreutils-9.9/src/tee.c:283:10: branch_true: following 'true' branch (when 'pipe_check != 0')...
coreutils-9.9/src/tee.c:283:37: branch_true: ...to here
coreutils-9.9/src/tee.c:309:10: branch_false: following 'false' branch...
coreutils-9.9/src/tee.c:309:10: branch_false: ...to here
coreutils-9.9/src/tee.c:316:18: throw: if 'fwrite_wait' throws an exception...
coreutils-9.9/src/tee.c:316:18: danger: 'out_pollable' leaks here; was allocated at [(3)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def513]
coreutils-9.9/src/temp-stream.c:101:15: warning[-Wanalyzer-malloc-leak]: leak of 'realloc(tempbuf, tempbuf_len)'
coreutils-9.9/src/temp-stream.c:84:1: enter_function: entry to 'temp_stream'
coreutils-9.9/src/temp-stream.c:88:6: branch_true: following 'true' branch...
coreutils-9.9/src/temp-stream.c:88:6: branch_true: ...to here
coreutils-9.9/src/temp-stream.c:95:28: call_function: inlined call to 'rpl_realloc' from 'temp_stream'
coreutils-9.9/src/temp-stream.c:95:14: branch_false: following 'false' branch...
coreutils-9.9/src/temp-stream.c:101:15: branch_false: ...to here
coreutils-9.9/src/temp-stream.c:101:15: throw: if 'path_search' throws an exception...
coreutils-9.9/src/temp-stream.c:101:15: danger: 'realloc(tempbuf, tempbuf_len)' leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def514]
coreutils-9.9/src/test.c:102:3: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
coreutils-9.9/src/test.c:784:1: enter_function: entry to 'main'
coreutils-9.9/src/test.c:829:9: call_function: calling 'test_syntax_error' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def515]
coreutils-9.9/src/tr.c:437:17: warning[-Wanalyzer-malloc-leak]: leak of 'es.s'
coreutils-9.9/src/tr.c:1673:1: enter_function: entry to 'main'
coreutils-9.9/src/tr.c:1733:6: branch_false: following 'false' branch (when 'min_operands <= non_option_args')...
coreutils-9.9/src/tr.c:1749:6: branch_false: ...to here
coreutils-9.9/src/tr.c:1749:6: branch_false: following 'false' branch (when 'max_operands >= non_option_args')...
coreutils-9.9/src/tr.c:1759:3: call_function: inlined call to 'spec_init' from 'main'
coreutils-9.9/src/tr.c:1760:8: call_function: calling 'parse_str' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def516]
coreutils-9.9/src/tsort.c:106:14: warning[-Wanalyzer-malloc-leak]: leak of 'xzalloc(56)'
coreutils-9.9/src/tsort.c:531:1: enter_function: entry to 'main'
coreutils-9.9/src/tsort.c:568:6: branch_false: following 'false' branch...
coreutils-9.9/src/tsort.c:574:3: branch_false: ...to here
coreutils-9.9/src/tsort.c:574:3: call_function: calling 'tsort' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def517]
coreutils-9.9/src/tsort.c:440:22: warning[-Wanalyzer-malloc-leak]: leak of 'xzalloc(56)'
coreutils-9.9/src/tsort.c:531:1: enter_function: entry to 'main'
coreutils-9.9/src/tsort.c:568:6: branch_false: following 'false' branch...
coreutils-9.9/src/tsort.c:574:3: branch_false: ...to here
coreutils-9.9/src/tsort.c:574:3: call_function: calling 'tsort' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def518]
coreutils-9.9/src/tsort.c:443:3: warning[-Wanalyzer-malloc-leak]: leak of 'xzalloc(56)'
coreutils-9.9/src/tsort.c:531:1: enter_function: entry to 'main'
coreutils-9.9/src/tsort.c:568:6: branch_false: following 'false' branch...
coreutils-9.9/src/tsort.c:574:3: branch_false: ...to here
coreutils-9.9/src/tsort.c:574:3: call_function: calling 'tsort' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def519]
coreutils-9.9/src/tsort.c:450:20: warning[-Wanalyzer-malloc-leak]: leak of 'j'
coreutils-9.9/src/tsort.c:531:1: enter_function: entry to 'main'
coreutils-9.9/src/tsort.c:568:6: branch_false: following 'false' branch...
coreutils-9.9/src/tsort.c:574:3: branch_false: ...to here
coreutils-9.9/src/tsort.c:574:3: call_function: calling 'tsort' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def520]
coreutils-9.9/src/unexpand.c:145:5: warning[-Wanalyzer-malloc-leak]: leak of 'ximalloc((long int)((long unsigned int)max_column_width * 32))'
coreutils-9.9/src/unexpand.c:124:6: branch_false: following 'false' branch...
coreutils-9.9/src/unexpand.c:127:3: branch_false: ...to here
coreutils-9.9/src/unexpand.c:144:6: branch_true: following 'true' branch...
coreutils-9.9/src/unexpand.c:145:5: branch_true: ...to here
coreutils-9.9/src/unexpand.c:145:5: throw: if 'print_bom' throws an exception...
coreutils-9.9/src/unexpand.c:145:5: danger: 'ximalloc((long int)((long unsigned int)max_column_width * 32))' leaks here; was allocated at [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def521]
coreutils-9.9/src/users.c:53:11: warning[-Wanalyzer-malloc-leak]: leak of 'xinmalloc(n, 8)'
coreutils-9.9/src/users.c:51:10: branch_true: following 'true' branch (when 'n != 0')...
coreutils-9.9/src/users.c:53:11: branch_true: ...to here
coreutils-9.9/src/users.c:53:10: branch_true: following 'true' branch...
coreutils-9.9/src/users.c:57:26: throw: if 'extract_trimmed_name' throws an exception...
coreutils-9.9/src/users.c:53:11: danger: 'xinmalloc(n, 8)' leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def522]
coreutils-9.9/src/users.c:59:12: warning[-Wanalyzer-malloc-leak]: leak of 'extract_trimmed_name(this)'
coreutils-9.9/src/users.c:51:10: branch_true: following 'true' branch (when 'n != 0')...
coreutils-9.9/src/users.c:53:11: branch_true: ...to here
coreutils-9.9/src/users.c:53:10: branch_true: following 'true' branch...
coreutils-9.9/src/users.c:51:10: branch_true: following 'true' branch (when 'n != 0')...
coreutils-9.9/src/users.c:53:11: branch_true: ...to here
coreutils-9.9/src/users.c:53:10: branch_true: following 'true' branch...
coreutils-9.9/src/users.c:57:26: throw: if 'extract_trimmed_name' throws an exception...
coreutils-9.9/src/users.c:59:12: danger: 'extract_trimmed_name(this)' leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def523]
coreutils-9.9/src/users.c:65:3: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>'
coreutils-9.9/src/users.c:51:10: branch_true: following 'true' branch (when 'n != 0')...
coreutils-9.9/src/users.c:53:11: branch_true: ...to here
coreutils-9.9/src/users.c:53:10: branch_true: following 'true' branch...
coreutils-9.9/src/users.c:51:10: branch_false: following 'false' branch (when 'n == 0')...
coreutils-9.9/src/users.c:65:3: branch_false: ...to here
coreutils-9.9/src/users.c:65:3: danger: '<unknown>' leaks here; was allocated at [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def524]
coreutils-9.9/src/users.c:65:3: warning[-Wanalyzer-malloc-leak]: leak of 'xinmalloc(n, 8)'
coreutils-9.9/src/users.c:65:3: throw: if 'qsort' throws an exception...
coreutils-9.9/src/users.c:65:3: danger: 'xinmalloc(n, 8)' leaks here; was allocated at [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def525]
coreutils-9.9/src/wc.c:684:29: warning[-Wanalyzer-malloc-leak]: leak of 'ai'
coreutils-9.9/src/wc.c:742:1: enter_function: entry to 'main'
coreutils-9.9/src/wc.c:826:6: branch_false: following 'false' branch (when 'files_from' is NULL)...
coreutils-9.9/src/wc.c:876:16: branch_false: ...to here
coreutils-9.9/src/wc.c:878:12: acquire_memory: allocated here
coreutils-9.9/src/wc.c:881:6: branch_false: following 'false' branch (when 'ai' is non-NULL)...
coreutils-9.9/src/wc.c:884:13: branch_false: ...to here
coreutils-9.9/src/wc.c:884:13: call_function: calling 'get_input_fstatus' from 'main'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def526]
coreutils-9.9/src/wc.c:684:29: warning[-Wanalyzer-malloc-leak]: leak of 'get_input_fstatus(nfiles, files)'
coreutils-9.9/src/wc.c:742:1: enter_function: entry to 'single_binary_main_wc'
coreutils-9.9/src/wc.c:770:10: branch_true: following 'true' branch (when 'optc != -1')...
coreutils-9.9/src/wc.c:771:5: branch_true: ...to here
coreutils-9.9/src/wc.c:826:6: branch_true: following 'true' branch (when 'files_from' is non-NULL)...
coreutils-9.9/src/wc.c:832:11: branch_true: ...to here
coreutils-9.9/src/wc.c:832:10: branch_false: following 'false' branch...
coreutils-9.9/src/wc.c:840:11: call_function: inlined call to 'streq' from 'single_binary_main_wc'
coreutils-9.9/src/wc.c:881:6: branch_false: following 'false' branch (when 'ai' is non-NULL)...
coreutils-9.9/src/wc.c:884:13: branch_false: ...to here
coreutils-9.9/src/wc.c:884:13: call_function: calling 'get_input_fstatus' from 'single_binary_main_wc'
coreutils-9.9/src/wc.c:884:13: return_function: returning to 'single_binary_main_wc' from 'get_input_fstatus'
coreutils-9.9/src/wc.c:893:32: throw: if 'argv_iter' throws an exception...
coreutils-9.9/src/wc.c:684:29: danger: 'get_input_fstatus(nfiles, files)' leaks here; was allocated at [(15)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def527]
coreutils-9.9/src/wc.c:855:28: warning[-Wanalyzer-file-leak]: leak of FILE 'stream'
coreutils-9.9/src/wc.c:742:1: enter_function: entry to 'main'
coreutils-9.9/src/wc.c:770:10: branch_true: following 'true' branch (when 'optc != -1')...
coreutils-9.9/src/wc.c:771:5: branch_true: ...to here
coreutils-9.9/src/wc.c:826:6: branch_true: following 'true' branch (when 'files_from' is non-NULL)...
coreutils-9.9/src/wc.c:832:11: branch_true: ...to here
coreutils-9.9/src/wc.c:832:10: branch_false: following 'false' branch...
coreutils-9.9/src/wc.c:840:11: call_function: inlined call to 'streq' from 'main'
coreutils-9.9/src/wc.c:840:10: branch_false: following 'false' branch (when the strings are non-equal)...
coreutils-9.9/src/wc.c:844:20: branch_false: ...to here
coreutils-9.9/src/wc.c:844:20: acquire_resource: opened here
coreutils-9.9/src/wc.c:845:14: branch_false: following 'false' branch...
coreutils-9.9/src/wc.c:853:11: branch_false: ...to here
coreutils-9.9/src/wc.c:853:10: branch_true: following 'true' branch...
coreutils-9.9/src/wc.c:854:14: branch_true: ...to here
coreutils-9.9/src/wc.c:853:11: branch_true: following 'true' branch...
coreutils-9.9/src/wc.c:855:14: branch_true: ...to here
coreutils-9.9/src/wc.c:855:28: throw: if 'physmem_available' throws an exception...
coreutils-9.9/src/wc.c:855:28: danger: 'stream' leaks here; was opened at [(11)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def528]
coreutils-9.9/src/wc.c:855:28: warning[-Wanalyzer-malloc-leak]: leak of 'stream'
coreutils-9.9/src/wc.c:742:1: enter_function: entry to 'main'
coreutils-9.9/src/wc.c:770:10: branch_true: following 'true' branch (when 'optc != -1')...
coreutils-9.9/src/wc.c:771:5: branch_true: ...to here
coreutils-9.9/src/wc.c:826:6: branch_true: following 'true' branch (when 'files_from' is non-NULL)...
coreutils-9.9/src/wc.c:832:11: branch_true: ...to here
coreutils-9.9/src/wc.c:832:10: branch_false: following 'false' branch...
coreutils-9.9/src/wc.c:840:11: call_function: inlined call to 'streq' from 'main'
coreutils-9.9/src/wc.c:840:10: branch_false: following 'false' branch (when the strings are non-equal)...
coreutils-9.9/src/wc.c:844:20: branch_false: ...to here
coreutils-9.9/src/wc.c:844:20: acquire_memory: allocated here
coreutils-9.9/src/wc.c:845:14: branch_false: following 'false' branch...
coreutils-9.9/src/wc.c:853:11: branch_false: ...to here
coreutils-9.9/src/wc.c:853:10: branch_true: following 'true' branch...
coreutils-9.9/src/wc.c:854:14: branch_true: ...to here
coreutils-9.9/src/wc.c:853:11: branch_true: following 'true' branch...
coreutils-9.9/src/wc.c:855:14: branch_true: ...to here
coreutils-9.9/src/wc.c:855:28: throw: if 'physmem_available' throws an exception...
coreutils-9.9/src/wc.c:855:28: danger: 'stream' leaks here; was allocated at [(11)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def529]
coreutils-9.9/src/wc.c:858:11: warning[-Wanalyzer-file-leak]: leak of FILE 'stream'
coreutils-9.9/src/wc.c:742:1: enter_function: entry to 'main'
coreutils-9.9/src/wc.c:770:10: branch_true: following 'true' branch (when 'optc != -1')...
coreutils-9.9/src/wc.c:771:5: branch_true: ...to here
coreutils-9.9/src/wc.c:826:6: branch_true: following 'true' branch (when 'files_from' is non-NULL)...
coreutils-9.9/src/wc.c:832:11: branch_true: ...to here
coreutils-9.9/src/wc.c:832:10: branch_false: following 'false' branch...
coreutils-9.9/src/wc.c:840:11: call_function: inlined call to 'streq' from 'main'
coreutils-9.9/src/wc.c:840:10: branch_false: following 'false' branch (when the strings are non-equal)...
coreutils-9.9/src/wc.c:844:20: branch_false: ...to here
coreutils-9.9/src/wc.c:844:20: acquire_resource: opened here
coreutils-9.9/src/wc.c:845:14: branch_false: following 'false' branch...
coreutils-9.9/src/wc.c:853:11: branch_false: ...to here
coreutils-9.9/src/wc.c:853:10: branch_true: following 'true' branch...
coreutils-9.9/src/wc.c:854:14: branch_true: ...to here
coreutils-9.9/src/wc.c:853:11: branch_true: following 'true' branch...
coreutils-9.9/src/wc.c:855:14: branch_true: ...to here
coreutils-9.9/src/wc.c:853:11: branch_true: following 'true' branch...
coreutils-9.9/src/wc.c:858:11: branch_true: ...to here
coreutils-9.9/src/wc.c:858:11: throw: if 'readtokens0_init' throws an exception...
coreutils-9.9/src/wc.c:858:11: danger: 'stream' leaks here; was opened at [(11)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def530]
coreutils-9.9/src/wc.c:858:11: warning[-Wanalyzer-malloc-leak]: leak of 'stream'
coreutils-9.9/src/wc.c:742:1: enter_function: entry to 'main'
coreutils-9.9/src/wc.c:770:10: branch_true: following 'true' branch (when 'optc != -1')...
coreutils-9.9/src/wc.c:771:5: branch_true: ...to here
coreutils-9.9/src/wc.c:826:6: branch_true: following 'true' branch (when 'files_from' is non-NULL)...
coreutils-9.9/src/wc.c:832:11: branch_true: ...to here
coreutils-9.9/src/wc.c:832:10: branch_false: following 'false' branch...
coreutils-9.9/src/wc.c:840:11: call_function: inlined call to 'streq' from 'main'
coreutils-9.9/src/wc.c:840:10: branch_false: following 'false' branch (when the strings are non-equal)...
coreutils-9.9/src/wc.c:844:20: branch_false: ...to here
coreutils-9.9/src/wc.c:844:20: acquire_memory: allocated here
coreutils-9.9/src/wc.c:845:14: branch_false: following 'false' branch...
coreutils-9.9/src/wc.c:853:11: branch_false: ...to here
coreutils-9.9/src/wc.c:853:10: branch_true: following 'true' branch...
coreutils-9.9/src/wc.c:854:14: branch_true: ...to here
coreutils-9.9/src/wc.c:853:11: branch_true: following 'true' branch...
coreutils-9.9/src/wc.c:855:14: branch_true: ...to here
coreutils-9.9/src/wc.c:853:11: branch_true: following 'true' branch...
coreutils-9.9/src/wc.c:858:11: branch_true: ...to here
coreutils-9.9/src/wc.c:858:11: throw: if 'readtokens0_init' throws an exception...
coreutils-9.9/src/wc.c:858:11: danger: 'stream' leaks here; was allocated at [(11)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def531]
coreutils-9.9/src/wc.c:859:17: warning[-Wanalyzer-file-leak]: leak of FILE 'stream'
coreutils-9.9/src/wc.c:742:1: enter_function: entry to 'main'
coreutils-9.9/src/wc.c:770:10: branch_true: following 'true' branch (when 'optc != -1')...
coreutils-9.9/src/wc.c:771:5: branch_true: ...to here
coreutils-9.9/src/wc.c:826:6: branch_true: following 'true' branch (when 'files_from' is non-NULL)...
coreutils-9.9/src/wc.c:832:11: branch_true: ...to here
coreutils-9.9/src/wc.c:832:10: branch_false: following 'false' branch...
coreutils-9.9/src/wc.c:840:11: call_function: inlined call to 'streq' from 'main'
coreutils-9.9/src/wc.c:840:10: branch_false: following 'false' branch (when the strings are non-equal)...
coreutils-9.9/src/wc.c:844:20: branch_false: ...to here
coreutils-9.9/src/wc.c:844:20: acquire_resource: opened here
coreutils-9.9/src/wc.c:845:14: branch_false: following 'false' branch...
coreutils-9.9/src/wc.c:853:11: branch_false: ...to here
coreutils-9.9/src/wc.c:853:10: branch_true: following 'true' branch...
coreutils-9.9/src/wc.c:854:14: branch_true: ...to here
coreutils-9.9/src/wc.c:853:11: branch_true: following 'true' branch...
coreutils-9.9/src/wc.c:855:14: branch_true: ...to here
coreutils-9.9/src/wc.c:853:11: branch_true: following 'true' branch...
coreutils-9.9/src/wc.c:858:11: branch_true: ...to here
coreutils-9.9/src/wc.c:859:17: throw: if 'readtokens0' throws an exception...
coreutils-9.9/src/wc.c:859:17: danger: 'stream' leaks here; was opened at [(11)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def532]
coreutils-9.9/src/wc.c:859:17: warning[-Wanalyzer-malloc-leak]: leak of 'stream'
coreutils-9.9/src/wc.c:742:1: enter_function: entry to 'main'
coreutils-9.9/src/wc.c:770:10: branch_true: following 'true' branch (when 'optc != -1')...
coreutils-9.9/src/wc.c:771:5: branch_true: ...to here
coreutils-9.9/src/wc.c:826:6: branch_true: following 'true' branch (when 'files_from' is non-NULL)...
coreutils-9.9/src/wc.c:832:11: branch_true: ...to here
coreutils-9.9/src/wc.c:832:10: branch_false: following 'false' branch...
coreutils-9.9/src/wc.c:840:11: call_function: inlined call to 'streq' from 'main'
coreutils-9.9/src/wc.c:840:10: branch_false: following 'false' branch (when the strings are non-equal)...
coreutils-9.9/src/wc.c:844:20: branch_false: ...to here
coreutils-9.9/src/wc.c:844:20: acquire_memory: allocated here
coreutils-9.9/src/wc.c:845:14: branch_false: following 'false' branch...
coreutils-9.9/src/wc.c:853:11: branch_false: ...to here
coreutils-9.9/src/wc.c:853:10: branch_true: following 'true' branch...
coreutils-9.9/src/wc.c:854:14: branch_true: ...to here
coreutils-9.9/src/wc.c:853:11: branch_true: following 'true' branch...
coreutils-9.9/src/wc.c:855:14: branch_true: ...to here
coreutils-9.9/src/wc.c:853:11: branch_true: following 'true' branch...
coreutils-9.9/src/wc.c:858:11: branch_true: ...to here
coreutils-9.9/src/wc.c:859:17: throw: if 'readtokens0' throws an exception...
coreutils-9.9/src/wc.c:859:17: danger: 'stream' leaks here; was allocated at [(11)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def533]
coreutils-9.9/src/wc.c:870:16: warning[-Wanalyzer-file-leak]: leak of FILE 'stream'
coreutils-9.9/src/wc.c:742:1: enter_function: entry to 'main'
coreutils-9.9/src/wc.c:770:10: branch_true: following 'true' branch (when 'optc != -1')...
coreutils-9.9/src/wc.c:771:5: branch_true: ...to here
coreutils-9.9/src/wc.c:826:6: branch_true: following 'true' branch (when 'files_from' is non-NULL)...
coreutils-9.9/src/wc.c:832:11: branch_true: ...to here
coreutils-9.9/src/wc.c:832:10: branch_false: following 'false' branch...
coreutils-9.9/src/wc.c:840:11: call_function: inlined call to 'streq' from 'main'
coreutils-9.9/src/wc.c:840:10: branch_false: following 'false' branch (when the strings are non-equal)...
coreutils-9.9/src/wc.c:844:20: branch_false: ...to here
coreutils-9.9/src/wc.c:844:20: acquire_resource: opened here
coreutils-9.9/src/wc.c:845:14: branch_false: following 'false' branch...
coreutils-9.9/src/wc.c:853:11: branch_false: ...to here
coreutils-9.9/src/wc.c:870:16: throw: if 'argv_iter_init_stream' throws an exception...
coreutils-9.9/src/wc.c:870:16: danger: 'stream' leaks here; was opened at [(11)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def534]
coreutils-9.9/src/wc.c:870:16: warning[-Wanalyzer-malloc-leak]: leak of 'stream'
coreutils-9.9/src/wc.c:742:1: enter_function: entry to 'main'
coreutils-9.9/src/wc.c:770:10: branch_true: following 'true' branch (when 'optc != -1')...
coreutils-9.9/src/wc.c:771:5: branch_true: ...to here
coreutils-9.9/src/wc.c:826:6: branch_true: following 'true' branch (when 'files_from' is non-NULL)...
coreutils-9.9/src/wc.c:832:11: branch_true: ...to here
coreutils-9.9/src/wc.c:832:10: branch_false: following 'false' branch...
coreutils-9.9/src/wc.c:840:11: call_function: inlined call to 'streq' from 'main'
coreutils-9.9/src/wc.c:840:10: branch_false: following 'false' branch (when the strings are non-equal)...
coreutils-9.9/src/wc.c:844:20: branch_false: ...to here
coreutils-9.9/src/wc.c:844:20: acquire_memory: allocated here
coreutils-9.9/src/wc.c:845:14: branch_false: following 'false' branch...
coreutils-9.9/src/wc.c:853:11: branch_false: ...to here
coreutils-9.9/src/wc.c:870:16: throw: if 'argv_iter_init_stream' throws an exception...
coreutils-9.9/src/wc.c:870:16: danger: 'stream' leaks here; was allocated at [(11)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def535]
coreutils-9.9/src/wc.c:893:32: warning[-Wanalyzer-malloc-leak]: leak of 'ai'
coreutils-9.9/src/wc.c:742:1: enter_function: entry to 'single_binary_main_wc'
coreutils-9.9/src/wc.c:770:10: branch_true: following 'true' branch (when 'optc != -1')...
coreutils-9.9/src/wc.c:771:5: branch_true: ...to here
coreutils-9.9/src/wc.c:826:6: branch_true: following 'true' branch (when 'files_from' is non-NULL)...
coreutils-9.9/src/wc.c:832:11: branch_true: ...to here
coreutils-9.9/src/wc.c:832:10: branch_false: following 'false' branch...
coreutils-9.9/src/wc.c:840:11: call_function: inlined call to 'streq' from 'single_binary_main_wc'
coreutils-9.9/src/wc.c:870:16: acquire_memory: allocated here
coreutils-9.9/src/wc.c:881:6: branch_false: following 'false' branch (when 'ai' is non-NULL)...
coreutils-9.9/src/wc.c:884:13: branch_false: ...to here
coreutils-9.9/src/wc.c:884:13: call_function: calling 'get_input_fstatus' from 'single_binary_main_wc'
coreutils-9.9/src/wc.c:884:13: return_function: returning to 'single_binary_main_wc' from 'get_input_fstatus'
coreutils-9.9/src/wc.c:893:32: throw: if 'argv_iter' throws an exception...
coreutils-9.9/src/wc.c:893:32: danger: 'ai' leaks here; was allocated at [(9)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/8)
Error: COMPILER_WARNING: [#def536]
coreutils-9.9/src/wc_avx2.c:32:11: warning[-Wpsabi]: AVX vector return without AVX enabled changes the ABI
Error: COMPILER_WARNING: [#def537]
coreutils-9.9/src/wc_avx2.c:32:22: note[note]: called from here
Error: COMPILER_WARNING: [#def538]
coreutils-9.9/src/wc_avx2.c:46:31: note[note]: called from here
Error: COMPILER_WARNING: [#def539]
coreutils-9.9/src/wc_avx2.c:47:30: note[note]: called from here
Error: COMPILER_WARNING: [#def540]
coreutils-9.9/src/wc_avx2.c:48:23: note[note]: called from here
Error: COMPILER_WARNING: [#def541]
coreutils-9.9/src/wc_avx512.c:32:11: warning[-Wpsabi]: AVX512F vector return without AVX512F enabled changes the ABI
Error: COMPILER_WARNING: [#def542]
coreutils-9.9/src/wc_avx512.c:32:22: note[note]: called from here
Error: COMPILER_WARNING: [#def543]
coreutils-9.9/src/wc_avx512.c:46:31: note[note]: called from here
Error: COMPILER_WARNING: [#def544]
coreutils-9.9/src/wc_avx512.c:47:32: note[note]: called from here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def545]
coreutils-9.9/src/who.c:250:15: warning[-Wanalyzer-malloc-leak]: leak of 'host'
coreutils-9.9/src/who.c:679:1: enter_function: entry to 'single_binary_main_who'
coreutils-9.9/src/who.c:814:7: call_function: calling 'who' from 'single_binary_main_who'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def546]
coreutils-9.9/src/who.c:390:25: warning[-Wanalyzer-malloc-leak]: leak of 'host'
coreutils-9.9/src/who.c:679:1: enter_function: entry to 'single_binary_main_who'
coreutils-9.9/src/who.c:814:7: call_function: calling 'who' from 'single_binary_main_who'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def547]
coreutils-9.9/src/who.c:404:25: warning[-Wanalyzer-malloc-leak]: leak of 'host'
coreutils-9.9/src/who.c:679:1: enter_function: entry to 'single_binary_main_who'
coreutils-9.9/src/who.c:814:7: call_function: calling 'who' from 'single_binary_main_who'
Scan Properties
| analyzer-version-clippy | 1.92.0 |
| analyzer-version-cppcheck | 2.19.1 |
| analyzer-version-gcc | 16.0.0 |
| analyzer-version-gcc-analyzer | 16.0.0 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-198.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.20250521.132812.g8eff701.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | coreutils-9.9-1.fc44 |
| store-results-to | /tmp/tmpebfnyatg/coreutils-9.9-1.fc44.tar.xz |
| time-created | 2026-01-08 15:54:34 |
| time-finished | 2026-01-08 16:00:19 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpebfnyatg/coreutils-9.9-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpebfnyatg/coreutils-9.9-1.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |