cyrus-sasl-2.1.28-33.fc44
List of Findings
Error: COMPILER_WARNING (CWE-704): [#def1]
cyrus-sasl-2.1.28/common/plugin_common.c: scope_hint: In function '_plug_parseuser'
cyrus-sasl-2.1.28/common/plugin_common.c:737:7: warning[-Wdiscarded-qualifiers]: assignment discards 'const' qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def2]
cyrus-sasl-2.1.28/common/plugin_common.c:737:7: warning[-Wdiscarded-qualifiers]: assignment discards 'const' qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-688): [#def3]
cyrus-sasl-2.1.28/include/makemd5.c:243:5: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘hb’ where non-null expected
cyrus-sasl-2.1.28/include/makemd5.c:235:5: branch_false: following ‘false’ branch (when ‘argc > 1’)...
cyrus-sasl-2.1.28/include/makemd5.c:241:5: branch_false: ...to here
cyrus-sasl-2.1.28/include/makemd5.c:242:10: acquire_memory: this call could return NULL
cyrus-sasl-2.1.28/include/makemd5.c:243:5: danger: argument 1 (‘hb’) from [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-465): [#def4]
cyrus-sasl-2.1.28/lib/auxprop.c:409:11: warning[-Wanalyzer-deref-before-check]: check of '*ctx.mem_base' for NULL after already dereferencing it
cyrus-sasl-2.1.28/lib/auxprop.c:766:5: enter_function: entry to 'sasl_auxprop_request'
cyrus-sasl-2.1.28/lib/auxprop.c:771:7: branch_false: following 'false' branch (when 'conn' is non-NULL)...
cyrus-sasl-2.1.28/lib/auxprop.c:772:8: branch_false: ...to here
cyrus-sasl-2.1.28/lib/auxprop.c:772:7: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/auxprop.c:777:7: branch_false: ...to here
cyrus-sasl-2.1.28/lib/auxprop.c:777:7: branch_true: following 'true' branch (when 'propnames' is NULL)...
cyrus-sasl-2.1.28/lib/auxprop.c:778:20: branch_true: ...to here
cyrus-sasl-2.1.28/lib/auxprop.c:778:9: call_function: calling 'prop_clear' from 'sasl_auxprop_request'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def5]
cyrus-sasl-2.1.28/lib/auxprop.c:1184:25: warning[-Wanalyzer-malloc-leak]: leak of 'cur_mech'
cyrus-sasl-2.1.28/lib/auxprop.c:1152:8: branch_true: following 'true' branch...
cyrus-sasl-2.1.28/lib/auxprop.c:1153:9: branch_true: ...to here
cyrus-sasl-2.1.28/lib/auxprop.c:1155:12: branch_false: following 'false' branch (when 'c_mech_list' is non-NULL)...
cyrus-sasl-2.1.28/lib/auxprop.c:1167:25: branch_false: ...to here
cyrus-sasl-2.1.28/lib/auxprop.c:1167:25: acquire_memory: allocated here
cyrus-sasl-2.1.28/lib/auxprop.c:1171:20: branch_true: following 'true' branch (when 'cur_mech' is non-NULL)...
cyrus-sasl-2.1.28/lib/auxprop.c:1172:21: branch_true: ...to here
cyrus-sasl-2.1.28/lib/auxprop.c:1173:20: branch_false: following 'false' branch (when 'p' is NULL)...
cyrus-sasl-2.1.28/lib/auxprop.c:1178:17: branch_false: ...to here
cyrus-sasl-2.1.28/lib/auxprop.c:1180:24: branch_true: following 'true' branch (when 'm' is non-NULL)...
cyrus-sasl-2.1.28/lib/auxprop.c:1181:47: branch_true: ...to here
cyrus-sasl-2.1.28/lib/auxprop.c:1181:24: branch_true: following 'true' branch...
cyrus-sasl-2.1.28/lib/auxprop.c:1182:25: branch_true: ...to here
cyrus-sasl-2.1.28/lib/auxprop.c:1184:25: throw: if the called function throws an exception...
cyrus-sasl-2.1.28/lib/auxprop.c:1184:25: danger: 'cur_mech' leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-119): [#def6]
cyrus-sasl-2.1.28/lib/checkpw.c:122: error[bufferAccessOutOfBounds]: Buffer is accessed out of bounds: (*secret)->data
Error: COMPILER_WARNING (CWE-704): [#def7]
cyrus-sasl-2.1.28/lib/checkpw.c: scope_hint: In function 'saslauthd_verify_password'
cyrus-sasl-2.1.28/lib/checkpw.c:692:14: warning[-Wdiscarded-qualifiers]: assignment discards 'const' qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def8]
cyrus-sasl-2.1.28/lib/checkpw.c:692:14: warning[-Wdiscarded-qualifiers]: assignment discards 'const' qualifier from pointer target type
Error: COMPILER_WARNING: [#def9]
cyrus-sasl-2.1.28/lib/checkpw.c:794:5: warning[-Wstringop-truncation]: 'strncpy' output may be truncated copying 107 bytes from a string of length 107
Error: GCC_ANALYZER_WARNING (CWE-775): [#def10]
cyrus-sasl-2.1.28/lib/checkpw.c:798:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor 's'
cyrus-sasl-2.1.28/lib/checkpw.c:646:12: enter_function: entry to 'saslauthd_verify_password'
cyrus-sasl-2.1.28/lib/checkpw.c:667:8: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/checkpw.c:671:9: branch_false: ...to here
cyrus-sasl-2.1.28/lib/checkpw.c:671:8: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/checkpw.c:681:9: branch_false: ...to here
cyrus-sasl-2.1.28/lib/checkpw.c:685:7: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/checkpw.c:708:14: branch_false: ...to here
cyrus-sasl-2.1.28/lib/checkpw.c:708:12: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/checkpw.c:709:14: branch_false: ...to here
cyrus-sasl-2.1.28/lib/checkpw.c:708:13: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/checkpw.c:710:14: branch_false: ...to here
cyrus-sasl-2.1.28/lib/checkpw.c:708:13: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/checkpw.c:708:13: branch_false: ...to here
cyrus-sasl-2.1.28/lib/checkpw.c:722:12: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/checkpw.c:723:9: branch_false: ...to here
cyrus-sasl-2.1.28/lib/checkpw.c:724:12: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/checkpw.c:725:9: branch_false: ...to here
cyrus-sasl-2.1.28/lib/checkpw.c:726:12: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/checkpw.c:727:9: branch_false: ...to here
cyrus-sasl-2.1.28/lib/checkpw.c:728:12: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/checkpw.c:730:17: call_function: inlined call to '__bswap_16' from 'saslauthd_verify_password'
cyrus-sasl-2.1.28/lib/checkpw.c:737:16: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/checkpw.c:739:9: branch_false: ...to here
cyrus-sasl-2.1.28/lib/checkpw.c:741:16: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/checkpw.c:743:9: branch_false: ...to here
cyrus-sasl-2.1.28/lib/checkpw.c:745:16: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/checkpw.c:747:9: branch_false: ...to here
cyrus-sasl-2.1.28/lib/checkpw.c:749:12: branch_false: following 'false' branch (when 'user_realm' is NULL)...
cyrus-sasl-2.1.28/lib/checkpw.c:786:9: branch_false: ...to here
cyrus-sasl-2.1.28/lib/checkpw.c:786:9: acquire_resource: stream socket created here
cyrus-sasl-2.1.28/lib/checkpw.c:787:8: branch_false: following 'false' branch (when 's != -1')...
cyrus-sasl-2.1.28/lib/checkpw.c:792:5: branch_false: ...to here
cyrus-sasl-2.1.28/lib/checkpw.c:798:17: throw: if 'connect' throws an exception...
cyrus-sasl-2.1.28/lib/checkpw.c:798:17: danger: 's' leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def11]
cyrus-sasl-2.1.28/lib/checkpw.c:882:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor 's'
cyrus-sasl-2.1.28/lib/checkpw.c:907:12: enter_function: entry to 'authdaemon_connect'
cyrus-sasl-2.1.28/lib/checkpw.c:912:8: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/checkpw.c:917:9: branch_false: ...to here
cyrus-sasl-2.1.28/lib/checkpw.c:917:9: acquire_resource: stream socket created here
cyrus-sasl-2.1.28/lib/checkpw.c:918:8: branch_false: following 'false' branch (when 's != -1')...
cyrus-sasl-2.1.28/lib/checkpw.c:923:5: branch_false: ...to here
cyrus-sasl-2.1.28/lib/checkpw.c:928:9: call_function: calling 'authdaemon_blocking' from 'authdaemon_connect'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def12]
cyrus-sasl-2.1.28/lib/client.c:1299:25: warning[-Wanalyzer-malloc-leak]: leak of 'cur_mech'
cyrus-sasl-2.1.28/lib/client.c:1268:8: branch_true: following 'true' branch...
cyrus-sasl-2.1.28/lib/client.c:1269:9: branch_true: ...to here
cyrus-sasl-2.1.28/lib/client.c:1271:12: branch_false: following 'false' branch (when 'c_mech_list' is non-NULL)...
cyrus-sasl-2.1.28/lib/client.c:1282:25: branch_false: ...to here
cyrus-sasl-2.1.28/lib/client.c:1282:25: acquire_memory: allocated here
cyrus-sasl-2.1.28/lib/client.c:1286:20: branch_true: following 'true' branch (when 'cur_mech' is non-NULL)...
cyrus-sasl-2.1.28/lib/client.c:1287:21: branch_true: ...to here
cyrus-sasl-2.1.28/lib/client.c:1288:20: branch_false: following 'false' branch (when 'p' is NULL)...
cyrus-sasl-2.1.28/lib/client.c:1293:30: branch_false: ...to here
cyrus-sasl-2.1.28/lib/client.c:1295:24: branch_true: following 'true' branch (when 'm' is non-NULL)...
cyrus-sasl-2.1.28/lib/client.c:1296:47: branch_true: ...to here
cyrus-sasl-2.1.28/lib/client.c:1296:24: branch_true: following 'true' branch...
cyrus-sasl-2.1.28/lib/client.c:1297:45: branch_true: ...to here
cyrus-sasl-2.1.28/lib/client.c:1299:25: throw: if the called function throws an exception...
cyrus-sasl-2.1.28/lib/client.c:1299:25: danger: 'cur_mech' leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: COMPILER_WARNING (CWE-843): [#def13]
cyrus-sasl-2.1.28/lib/common.c:114:22: warning[-Wcast-function-type]: cast between incompatible function types from 'int (*)(void *, const char **)' to 'int (*)(void)'
Error: COMPILER_WARNING (CWE-843): [#def14]
cyrus-sasl-2.1.28/lib/common.c:117:26: warning[-Wcast-function-type]: cast between incompatible function types from 'int (*)(void *, char **)' to 'int (*)(void)'
Error: COMPILER_WARNING (CWE-843): [#def15]
cyrus-sasl-2.1.28/lib/common.c: scope_hint: In function 'sasl_set_path'
cyrus-sasl-2.1.28/lib/common.c:230:39: warning[-Wcast-function-type]: cast between incompatible function types from 'int (*)(void *, const char **)' to 'int (*)(void)'
Error: COMPILER_WARNING (CWE-843): [#def16]
cyrus-sasl-2.1.28/lib/common.c:244:43: warning[-Wcast-function-type]: cast between incompatible function types from 'int (*)(void *, const char **)' to 'int (*)(void)'
Error: GCC_ANALYZER_WARNING (CWE-476): [#def17]
cyrus-sasl-2.1.28/lib/common.c:494:21: warning[-Wanalyzer-null-dereference]: dereference of NULL 'cur_invec'
cyrus-sasl-2.1.28/lib/common.c:417:8: branch_false: following 'false' branch (when 'conn' is non-NULL)...
cyrus-sasl-2.1.28/lib/common.c:418:9: branch_false: ...to here
cyrus-sasl-2.1.28/lib/common.c:418:8: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/common.c:422:8: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/common.c:430:9: branch_false: ...to here
cyrus-sasl-2.1.28/lib/common.c:430:8: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/common.c:444:5: branch_false: ...to here
cyrus-sasl-2.1.28/lib/common.c:448:12: branch_true: following 'true' branch (when 'numiov > i')...
cyrus-sasl-2.1.28/lib/common.c:449:32: branch_true: ...to here
cyrus-sasl-2.1.28/lib/common.c:449:12: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/common.c:558:13: branch_false: ...to here
cyrus-sasl-2.1.28/lib/common.c:448:12: branch_true: following 'true' branch (when 'numiov > i')...
cyrus-sasl-2.1.28/lib/common.c:449:32: branch_true: ...to here
cyrus-sasl-2.1.28/lib/common.c:448:12: branch_true: following 'true' branch (when 'numiov > i')...
cyrus-sasl-2.1.28/lib/common.c:449:32: branch_true: ...to here
cyrus-sasl-2.1.28/lib/common.c:467:16: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/common.c:481:16: branch_false: ...to here
cyrus-sasl-2.1.28/lib/common.c:481:16: branch_false: following 'false' branch (when 'next_buf' is NULL)...
cyrus-sasl-2.1.28/lib/common.c:490:16: branch_false: ...to here
cyrus-sasl-2.1.28/lib/common.c:490:16: branch_true: following 'true' branch (when 'i != 0')...
cyrus-sasl-2.1.28/lib/common.c:490:16: branch_true: ...to here
cyrus-sasl-2.1.28/lib/common.c:493:29: branch_true: following 'true' branch (when 'i > j')...
cyrus-sasl-2.1.28/lib/common.c:494:56: branch_true: ...to here
cyrus-sasl-2.1.28/lib/common.c:494:21: danger: dereference of NULL 'cur_invec + (long unsigned int)(j + index_offset) * 16'
Error: COMPILER_WARNING (CWE-843): [#def18]
cyrus-sasl-2.1.28/lib/common.c: scope_hint: In function '_sasl_global_getopt'
cyrus-sasl-2.1.28/lib/common.c:1416:16: warning[-Wcast-function-type]: cast between incompatible function types from 'int (*)(void)' to 'int (*)(void *, const char *, const char *, const char **, unsigned int *)'
Error: COMPILER_WARNING (CWE-843): [#def19]
cyrus-sasl-2.1.28/lib/common.c: scope_hint: In function '_sasl_conn_getopt'
cyrus-sasl-2.1.28/lib/common.c:1457:16: warning[-Wcast-function-type]: cast between incompatible function types from 'int (*)(void)' to 'int (*)(void *, const char *, const char *, const char **, unsigned int *)'
Error: COMPILER_WARNING (CWE-843): [#def20]
cyrus-sasl-2.1.28/lib/common.c: scope_hint: In function '_sasl_getcallback'
cyrus-sasl-2.1.28/lib/common.c:1734:20: warning[-Wcast-function-type]: cast between incompatible function types from 'int (*)(void *, const char *, const char *, const char **, unsigned int *)' to 'int (*)(void)'
Error: COMPILER_WARNING (CWE-843): [#def21]
cyrus-sasl-2.1.28/lib/common.c:1737:20: warning[-Wcast-function-type]: cast between incompatible function types from 'int (*)(void *, const char *, const char *, const char **, unsigned int *)' to 'int (*)(void)'
Error: COMPILER_WARNING (CWE-843): [#def22]
cyrus-sasl-2.1.28/lib/common.c:1782:14: warning[-Wcast-function-type]: cast between incompatible function types from 'int (*)(void *, int, const char *)' to 'int (*)(void)'
Error: COMPILER_WARNING (CWE-843): [#def23]
cyrus-sasl-2.1.28/lib/common.c:1795:14: warning[-Wcast-function-type]: cast between incompatible function types from 'int (*)(void *, int, const char **, size_t *)' {aka 'int (*)(void *, int, const char **, long unsigned int *)'} to 'int (*)(void)'
Error: COMPILER_WARNING (CWE-843): [#def24]
cyrus-sasl-2.1.28/lib/common.c:1799:14: warning[-Wcast-function-type]: cast between incompatible function types from 'int (*)(void *, char *, int)' to 'int (*)(void)'
Error: COMPILER_WARNING (CWE-843): [#def25]
cyrus-sasl-2.1.28/lib/common.c:1803:14: warning[-Wcast-function-type]: cast between incompatible function types from 'int (*)(sasl_conn_t *, void *, const char *, unsigned int, const char *, unsigned int, const char *, unsigned int, struct propctx *)' {aka 'int (*)(struct sasl_conn *, void *, const char *, unsigned int, const char *, unsigned int, const char *, unsigned int, struct propctx *)'} to 'int (*)(void)'
Error: COMPILER_WARNING (CWE-843): [#def26]
cyrus-sasl-2.1.28/lib/common.c: scope_hint: In function '_sasl_find_verifyfile_callback'
cyrus-sasl-2.1.28/lib/common.c:2160:5: warning[-Wcast-function-type]: cast between incompatible function types from 'int (*)(void *, char *, int)' to 'int (*)(void)'
Error: GCC_ANALYZER_WARNING (CWE-404): [#def27]
cyrus-sasl-2.1.28/lib/common.c:2189:18: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
cyrus-sasl-2.1.28/lib/common.c:1826:1: enter_function: entry to '_sasl_log'
cyrus-sasl-2.1.28/lib/common.c:1845:5: branch_false: following 'false' branch (when 'fmt' is non-NULL)...
cyrus-sasl-2.1.28/lib/common.c:1847:18: branch_false: ...to here
cyrus-sasl-2.1.28/lib/common.c:1848:5: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/common.c:1850:15: branch_false: ...to here
cyrus-sasl-2.1.28/lib/common.c:1853:12: call_function: calling '_sasl_getcallback' from '_sasl_log'
cyrus-sasl-2.1.28/lib/common.c:1853:12: return_function: returning to '_sasl_log' from '_sasl_getcallback'
cyrus-sasl-2.1.28/lib/common.c:1854:6: branch_true: following 'true' branch...
cyrus-sasl-2.1.28/lib/common.c:1854:28: branch_true: ...to here
cyrus-sasl-2.1.28/lib/common.c:1854:7: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/common.c:1858:3: branch_false: ...to here
cyrus-sasl-2.1.28/lib/common.c:1858:3: acquire_resource: 'va_start' called here
cyrus-sasl-2.1.28/lib/common.c:1860:9: branch_true: following 'true' branch (when 'pos < formatlen')...
cyrus-sasl-2.1.28/lib/common.c:1862:12: branch_true: ...to here
cyrus-sasl-2.1.28/lib/common.c:1862:8: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/common.c:1875:7: branch_false: ...to here
cyrus-sasl-2.1.28/lib/common.c:1878:14: branch_true: following 'true' branch (when 'done == 0')...
cyrus-sasl-2.1.28/lib/common.c:1880:19: branch_true: ...to here
cyrus-sasl-2.1.28/lib/common.c:1884:22: call_function: calling '_sasl_add_string' from '_sasl_log'
Error: COMPILER_WARNING: [#def28]
cyrus-sasl-2.1.28/lib/config.c: scope_hint: In function 'sasl_config_init'
cyrus-sasl-2.1.28/lib/config.c:66:9: warning[-Wunused-but-set-variable=]: variable 'lineno' set but not used
Error: GCC_ANALYZER_WARNING (CWE-775): [#def29]
cyrus-sasl-2.1.28/lib/dlopen.c:308:17: warning[-Wanalyzer-file-leak]: leak of FILE 'fopen(&line, "r")'
cyrus-sasl-2.1.28/lib/dlopen.c:263:7: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/dlopen.c:270:8: branch_false: following 'false' branch (when the strings are equal)...
cyrus-sasl-2.1.28/lib/dlopen.c:294:9: branch_false: ...to here
cyrus-sasl-2.1.28/lib/dlopen.c:294:8: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/dlopen.c:296:5: branch_false: ...to here
cyrus-sasl-2.1.28/lib/dlopen.c:299:12: acquire_resource: opened here
cyrus-sasl-2.1.28/lib/dlopen.c:300:7: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/dlopen.c:300:7: branch_false: ...to here
cyrus-sasl-2.1.28/lib/dlopen.c:306:11: branch_true: following 'true' branch...
cyrus-sasl-2.1.28/lib/dlopen.c:307:13: branch_true: ...to here
cyrus-sasl-2.1.28/lib/dlopen.c:307:11: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/dlopen.c:308:17: branch_false: ...to here
cyrus-sasl-2.1.28/lib/dlopen.c:309:13: throw: if '_sasl_log' throws an exception...
cyrus-sasl-2.1.28/lib/dlopen.c:308:17: danger: 'fopen(&line, "r")' leaks here; was opened at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def30]
cyrus-sasl-2.1.28/lib/dlopen.c:308:17: warning[-Wanalyzer-malloc-leak]: leak of 'fopen(&line, "r")'
cyrus-sasl-2.1.28/lib/dlopen.c:263:7: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/dlopen.c:270:8: branch_false: following 'false' branch (when the strings are equal)...
cyrus-sasl-2.1.28/lib/dlopen.c:294:9: branch_false: ...to here
cyrus-sasl-2.1.28/lib/dlopen.c:294:8: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/dlopen.c:296:5: branch_false: ...to here
cyrus-sasl-2.1.28/lib/dlopen.c:299:12: acquire_memory: allocated here
cyrus-sasl-2.1.28/lib/dlopen.c:300:7: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/dlopen.c:300:7: branch_false: ...to here
cyrus-sasl-2.1.28/lib/dlopen.c:306:11: branch_true: following 'true' branch...
cyrus-sasl-2.1.28/lib/dlopen.c:307:13: branch_true: ...to here
cyrus-sasl-2.1.28/lib/dlopen.c:307:11: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/dlopen.c:308:17: branch_false: ...to here
cyrus-sasl-2.1.28/lib/dlopen.c:309:13: throw: if '_sasl_log' throws an exception...
cyrus-sasl-2.1.28/lib/dlopen.c:308:17: danger: 'fopen(&line, "r")' leaks here; was allocated at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def31]
cyrus-sasl-2.1.28/lib/dlopen.c:341:9: warning[-Wanalyzer-file-leak]: leak of FILE 'fopen(&line, "r")'
cyrus-sasl-2.1.28/lib/dlopen.c:263:7: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/dlopen.c:270:8: branch_false: following 'false' branch (when the strings are equal)...
cyrus-sasl-2.1.28/lib/dlopen.c:294:9: branch_false: ...to here
cyrus-sasl-2.1.28/lib/dlopen.c:294:8: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/dlopen.c:296:5: branch_false: ...to here
cyrus-sasl-2.1.28/lib/dlopen.c:299:12: acquire_resource: opened here
cyrus-sasl-2.1.28/lib/dlopen.c:300:7: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/dlopen.c:300:7: branch_false: ...to here
cyrus-sasl-2.1.28/lib/dlopen.c:341:9: throw: if '_sasl_log' throws an exception...
cyrus-sasl-2.1.28/lib/dlopen.c:341:9: danger: 'fopen(&line, "r")' leaks here; was opened at [(7)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def32]
cyrus-sasl-2.1.28/lib/dlopen.c:341:9: warning[-Wanalyzer-malloc-leak]: leak of 'fopen(&line, "r")'
cyrus-sasl-2.1.28/lib/dlopen.c:263:7: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/dlopen.c:270:8: branch_false: following 'false' branch (when the strings are equal)...
cyrus-sasl-2.1.28/lib/dlopen.c:294:9: branch_false: ...to here
cyrus-sasl-2.1.28/lib/dlopen.c:294:8: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/dlopen.c:296:5: branch_false: ...to here
cyrus-sasl-2.1.28/lib/dlopen.c:299:12: acquire_memory: allocated here
cyrus-sasl-2.1.28/lib/dlopen.c:300:7: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/dlopen.c:300:7: branch_false: ...to here
cyrus-sasl-2.1.28/lib/dlopen.c:341:9: throw: if '_sasl_log' throws an exception...
cyrus-sasl-2.1.28/lib/dlopen.c:341:9: danger: 'fopen(&line, "r")' leaks here; was allocated at [(7)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/6)
Error: COMPILER_WARNING (CWE-843): [#def33]
cyrus-sasl-2.1.28/lib/dlopen.c: scope_hint: In function '_sasl_get_plugin'
cyrus-sasl-2.1.28/lib/dlopen.c:369:10: warning[-Wcast-function-type]: cast between incompatible function types from 'int (*)(void)' to 'int (*)(void *, const char *, sasl_verify_type_t)'
Error: COMPILER_WARNING (CWE-843): [#def34]
cyrus-sasl-2.1.28/lib/dlopen.c: scope_hint: In function '_sasl_load_plugins'
cyrus-sasl-2.1.28/lib/dlopen.c:469:15: warning[-Wcast-function-type]: cast between incompatible function types from 'int (*)(void)' to 'int (*)(void *, const char **)'
Error: GCC_ANALYZER_WARNING (CWE-401): [#def35]
cyrus-sasl-2.1.28/lib/dlopen.c:494:25: warning[-Wanalyzer-malloc-leak]: leak of 'opendir(&str)'
cyrus-sasl-2.1.28/lib/dlopen.c:423:8: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/dlopen.c:425:12: branch_false: ...to here
cyrus-sasl-2.1.28/lib/dlopen.c:423:9: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/dlopen.c:426:14: branch_false: ...to here
cyrus-sasl-2.1.28/lib/dlopen.c:423:9: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/dlopen.c:423:9: branch_false: ...to here
cyrus-sasl-2.1.28/lib/dlopen.c:423:9: branch_false: following 'false' branch (when 'verifyfile_cb' is non-NULL)...
cyrus-sasl-2.1.28/lib/dlopen.c:428:12: branch_false: ...to here
cyrus-sasl-2.1.28/lib/dlopen.c:423:9: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/dlopen.c:429:14: branch_false: ...to here
cyrus-sasl-2.1.28/lib/dlopen.c:423:9: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/dlopen.c:469:53: branch_false: ...to here
cyrus-sasl-2.1.28/lib/dlopen.c:471:8: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/dlopen.c:472:9: branch_false: ...to here
cyrus-sasl-2.1.28/lib/dlopen.c:472:8: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/dlopen.c:474:9: branch_false: ...to here
cyrus-sasl-2.1.28/lib/dlopen.c:474:8: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/dlopen.c:474:8: branch_false: ...to here
cyrus-sasl-2.1.28/lib/dlopen.c:486:18: branch_true: following 'true' branch...
cyrus-sasl-2.1.28/lib/dlopen.c:486:18: branch_true: ...to here
cyrus-sasl-2.1.28/lib/dlopen.c:486:18: branch_false: following 'false' branch (when 'c == 0')...
cyrus-sasl-2.1.28/lib/dlopen.c:487:9: branch_false: ...to here
cyrus-sasl-2.1.28/lib/dlopen.c:492:17: acquire_memory: allocated here
cyrus-sasl-2.1.28/lib/dlopen.c:492:12: branch_true: following 'true' branch...
cyrus-sasl-2.1.28/lib/dlopen.c:492:12: branch_true: ...to here
cyrus-sasl-2.1.28/lib/dlopen.c:494:25: throw: if 'readdir' throws an exception...
cyrus-sasl-2.1.28/lib/dlopen.c:494:25: danger: 'opendir(&str)' leaks here; was allocated at [(23)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/22)
Error: COMPILER_WARNING: [#def36]
cyrus-sasl-2.1.28/lib/md5.c: scope_hint: In function '_sasl_hmac_md5'
cyrus-sasl-2.1.28/lib/md5.c:433:6: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def37]
cyrus-sasl-2.1.28/lib/md5.c:433:6: warning[-Wold-style-definition]: old-style function definition
Error: GCC_ANALYZER_WARNING (CWE-775): [#def38]
cyrus-sasl-2.1.28/lib/saslutil.c:341:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open("/dev/urandom", 0)'
cyrus-sasl-2.1.28/lib/saslutil.c:327:14: acquire_resource: opened here
cyrus-sasl-2.1.28/lib/saslutil.c:328:11: branch_true: following 'true' branch...
cyrus-sasl-2.1.28/lib/saslutil.c:328:11: branch_true: ...to here
cyrus-sasl-2.1.28/lib/saslutil.c:341:13: danger: 'open("/dev/urandom", 0)' leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-195): [#def39]
cyrus-sasl-2.1.28/lib/saslutil.c: scope_hint: In function 'get_fqhostname'
cyrus-sasl-2.1.28/lib/saslutil.c:563:42: warning[-Wsign-compare]: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int'
Error: COMPILER_WARNING (CWE-843): [#def40]
cyrus-sasl-2.1.28/lib/server.c: scope_hint: In function 'load_config'
cyrus-sasl-2.1.28/lib/server.c:626:15: warning[-Wcast-function-type]: cast between incompatible function types from 'int (*)(void)' to 'int (*)(void *, char **)'
Error: COMPILER_WARNING (CWE-843): [#def41]
cyrus-sasl-2.1.28/lib/server.c:664:19: warning[-Wcast-function-type]: cast between incompatible function types from 'int (*)(void)' to 'int (*)(void *, const char *, sasl_verify_type_t)'
Error: GCC_ANALYZER_WARNING (CWE-775): [#def42]
cyrus-sasl-2.1.28/lib/server.c:753:26: warning[-Wanalyzer-file-leak]: leak of FILE 'fopen(mechlistfile, "r")'
cyrus-sasl-2.1.28/lib/server.c:748:9: acquire_resource: opened here
cyrus-sasl-2.1.28/lib/server.c:749:8: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/server.c:749:8: branch_false: ...to here
cyrus-sasl-2.1.28/lib/server.c:752:12: branch_true: following 'true' branch...
cyrus-sasl-2.1.28/lib/server.c:753:26: branch_true: ...to here
cyrus-sasl-2.1.28/lib/server.c:753:26: throw: if the called function throws an exception...
cyrus-sasl-2.1.28/lib/server.c:753:26: danger: 'fopen(mechlistfile, "r")' leaks here; was opened at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def43]
cyrus-sasl-2.1.28/lib/server.c:753:26: warning[-Wanalyzer-malloc-leak]: leak of 'fopen(mechlistfile, "r")'
cyrus-sasl-2.1.28/lib/server.c:748:9: acquire_memory: allocated here
cyrus-sasl-2.1.28/lib/server.c:749:8: branch_false: following 'false' branch...
cyrus-sasl-2.1.28/lib/server.c:749:8: branch_false: ...to here
cyrus-sasl-2.1.28/lib/server.c:752:12: branch_true: following 'true' branch...
cyrus-sasl-2.1.28/lib/server.c:753:26: branch_true: ...to here
cyrus-sasl-2.1.28/lib/server.c:753:26: throw: if the called function throws an exception...
cyrus-sasl-2.1.28/lib/server.c:753:26: danger: 'fopen(mechlistfile, "r")' leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-843): [#def44]
cyrus-sasl-2.1.28/lib/server.c: scope_hint: In function 'sasl_server_init'
cyrus-sasl-2.1.28/lib/server.c:916:16: warning[-Wcast-function-type]: cast between incompatible function types from 'int (*)(void)' to 'int (*)(void *, const char *, sasl_verify_type_t)'
Error: COMPILER_WARNING (CWE-704): [#def45]
cyrus-sasl-2.1.28/lib/server.c: scope_hint: In function 'sasl_checkapop'
cyrus-sasl-2.1.28/lib/server.c:2135:14: warning[-Wdiscarded-qualifiers]: assignment discards 'const' qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def46]
cyrus-sasl-2.1.28/lib/server.c:2135:14: warning[-Wdiscarded-qualifiers]: assignment discards 'const' qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-401): [#def47]
cyrus-sasl-2.1.28/lib/server.c:2388:25: warning[-Wanalyzer-malloc-leak]: leak of 'cur_mech'
cyrus-sasl-2.1.28/lib/server.c:2357:8: branch_true: following 'true' branch...
cyrus-sasl-2.1.28/lib/server.c:2358:9: branch_true: ...to here
cyrus-sasl-2.1.28/lib/server.c:2360:12: branch_false: following 'false' branch (when 'c_mech_list' is non-NULL)...
cyrus-sasl-2.1.28/lib/server.c:2371:25: branch_false: ...to here
cyrus-sasl-2.1.28/lib/server.c:2371:25: acquire_memory: allocated here
cyrus-sasl-2.1.28/lib/server.c:2375:20: branch_true: following 'true' branch (when 'cur_mech' is non-NULL)...
cyrus-sasl-2.1.28/lib/server.c:2376:21: branch_true: ...to here
cyrus-sasl-2.1.28/lib/server.c:2377:20: branch_false: following 'false' branch (when 'p' is NULL)...
cyrus-sasl-2.1.28/lib/server.c:2382:29: branch_false: ...to here
cyrus-sasl-2.1.28/lib/server.c:2384:24: branch_true: following 'true' branch (when 'm' is non-NULL)...
cyrus-sasl-2.1.28/lib/server.c:2385:47: branch_true: ...to here
cyrus-sasl-2.1.28/lib/server.c:2385:24: branch_true: following 'true' branch...
cyrus-sasl-2.1.28/lib/server.c:2386:45: branch_true: ...to here
cyrus-sasl-2.1.28/lib/server.c:2388:25: throw: if the called function throws an exception...
cyrus-sasl-2.1.28/lib/server.c:2388:25: danger: 'cur_mech' leaks here; was allocated at [(5)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def48]
cyrus-sasl-2.1.28/lib/seterror.c:148:16: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
cyrus-sasl-2.1.28/lib/seterror.c:119:5: branch_false: following 'false' branch (when 'conn' is non-NULL)...
cyrus-sasl-2.1.28/lib/seterror.c:134:12: branch_false: ...to here
cyrus-sasl-2.1.28/lib/seterror.c:134:12: branch_false: following 'false' branch (when 'fmt' is non-NULL)...
cyrus-sasl-2.1.28/lib/seterror.c:138:3: branch_false: ...to here
cyrus-sasl-2.1.28/lib/seterror.c:142:3: acquire_resource: 'va_start' called here
cyrus-sasl-2.1.28/lib/seterror.c:144:9: branch_true: following 'true' branch (when 'pos < formatlen')...
cyrus-sasl-2.1.28/lib/seterror.c:146:12: branch_true: ...to here
cyrus-sasl-2.1.28/lib/seterror.c:146:8: branch_true: following 'true' branch...
cyrus-sasl-2.1.28/lib/seterror.c:148:16: branch_true: ...to here
cyrus-sasl-2.1.28/lib/seterror.c:148:16: throw: if '_buf_alloc' throws an exception...
cyrus-sasl-2.1.28/lib/seterror.c:148:16: danger: missing call to 'va_end' to match 'va_start' at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def49]
cyrus-sasl-2.1.28/lib/seterror.c:168:22: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
cyrus-sasl-2.1.28/lib/seterror.c:119:5: branch_false: following 'false' branch (when 'conn' is non-NULL)...
cyrus-sasl-2.1.28/lib/seterror.c:134:12: branch_false: ...to here
cyrus-sasl-2.1.28/lib/seterror.c:134:12: branch_false: following 'false' branch (when 'fmt' is non-NULL)...
cyrus-sasl-2.1.28/lib/seterror.c:138:3: branch_false: ...to here
cyrus-sasl-2.1.28/lib/seterror.c:142:3: acquire_resource: 'va_start' called here
cyrus-sasl-2.1.28/lib/seterror.c:144:9: branch_true: following 'true' branch (when 'pos < formatlen')...
cyrus-sasl-2.1.28/lib/seterror.c:146:12: branch_true: ...to here
cyrus-sasl-2.1.28/lib/seterror.c:162:14: branch_true: following 'true' branch (when 'done == 0')...
cyrus-sasl-2.1.28/lib/seterror.c:164:19: branch_true: ...to here
cyrus-sasl-2.1.28/lib/seterror.c:168:22: throw: if '_sasl_add_string' throws an exception...
cyrus-sasl-2.1.28/lib/seterror.c:168:22: danger: missing call to 'va_end' to match 'va_start' at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def50]
cyrus-sasl-2.1.28/lib/seterror.c:178:22: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
cyrus-sasl-2.1.28/lib/seterror.c:119:5: branch_false: following 'false' branch (when 'conn' is non-NULL)...
cyrus-sasl-2.1.28/lib/seterror.c:134:12: branch_false: ...to here
cyrus-sasl-2.1.28/lib/seterror.c:134:12: branch_false: following 'false' branch (when 'fmt' is non-NULL)...
cyrus-sasl-2.1.28/lib/seterror.c:138:3: branch_false: ...to here
cyrus-sasl-2.1.28/lib/seterror.c:142:3: acquire_resource: 'va_start' called here
cyrus-sasl-2.1.28/lib/seterror.c:144:9: branch_true: following 'true' branch (when 'pos < formatlen')...
cyrus-sasl-2.1.28/lib/seterror.c:146:12: branch_true: ...to here
cyrus-sasl-2.1.28/lib/seterror.c:162:14: branch_true: following 'true' branch (when 'done == 0')...
cyrus-sasl-2.1.28/lib/seterror.c:164:19: branch_true: ...to here
cyrus-sasl-2.1.28/lib/seterror.c:178:22: throw: if '_buf_alloc' throws an exception...
cyrus-sasl-2.1.28/lib/seterror.c:178:22: danger: missing call to 'va_end' to match 'va_start' at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def51]
cyrus-sasl-2.1.28/lib/seterror.c:187:22: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
cyrus-sasl-2.1.28/lib/seterror.c:119:5: branch_false: following 'false' branch (when 'conn' is non-NULL)...
cyrus-sasl-2.1.28/lib/seterror.c:134:12: branch_false: ...to here
cyrus-sasl-2.1.28/lib/seterror.c:134:12: branch_false: following 'false' branch (when 'fmt' is non-NULL)...
cyrus-sasl-2.1.28/lib/seterror.c:138:3: branch_false: ...to here
cyrus-sasl-2.1.28/lib/seterror.c:142:3: acquire_resource: 'va_start' called here
cyrus-sasl-2.1.28/lib/seterror.c:144:9: branch_true: following 'true' branch (when 'pos < formatlen')...
cyrus-sasl-2.1.28/lib/seterror.c:146:12: branch_true: ...to here
cyrus-sasl-2.1.28/lib/seterror.c:162:14: branch_true: following 'true' branch (when 'done == 0')...
cyrus-sasl-2.1.28/lib/seterror.c:164:19: branch_true: ...to here
cyrus-sasl-2.1.28/lib/seterror.c:187:22: throw: if '_sasl_add_string' throws an exception...
cyrus-sasl-2.1.28/lib/seterror.c:187:22: danger: missing call to 'va_end' to match 'va_start' at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def52]
cyrus-sasl-2.1.28/lib/seterror.c:196:22: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
cyrus-sasl-2.1.28/lib/seterror.c:119:5: branch_false: following 'false' branch (when 'conn' is non-NULL)...
cyrus-sasl-2.1.28/lib/seterror.c:134:12: branch_false: ...to here
cyrus-sasl-2.1.28/lib/seterror.c:134:12: branch_false: following 'false' branch (when 'fmt' is non-NULL)...
cyrus-sasl-2.1.28/lib/seterror.c:138:3: branch_false: ...to here
cyrus-sasl-2.1.28/lib/seterror.c:142:3: acquire_resource: 'va_start' called here
cyrus-sasl-2.1.28/lib/seterror.c:144:9: branch_true: following 'true' branch (when 'pos < formatlen')...
cyrus-sasl-2.1.28/lib/seterror.c:146:12: branch_true: ...to here
cyrus-sasl-2.1.28/lib/seterror.c:162:14: branch_true: following 'true' branch (when 'done == 0')...
cyrus-sasl-2.1.28/lib/seterror.c:164:19: branch_true: ...to here
cyrus-sasl-2.1.28/lib/seterror.c:196:22: throw: if 'sasl_errstring' throws an exception...
cyrus-sasl-2.1.28/lib/seterror.c:196:22: danger: missing call to 'va_end' to match 'va_start' at [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def53]
cyrus-sasl-2.1.28/lib/seterror.c:211:22: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
cyrus-sasl-2.1.28/lib/seterror.c:119:5: branch_false: following 'false' branch (when 'conn' is non-NULL)...
cyrus-sasl-2.1.28/lib/seterror.c:134:12: branch_false: ...to here
cyrus-sasl-2.1.28/lib/seterror.c:134:12: branch_false: following 'false' branch (when 'fmt' is non-NULL)...
cyrus-sasl-2.1.28/lib/seterror.c:138:3: branch_false: ...to here
cyrus-sasl-2.1.28/lib/seterror.c:142:3: acquire_resource: 'va_start' called here
cyrus-sasl-2.1.28/lib/seterror.c:144:9: branch_true: following 'true' branch (when 'pos < formatlen')...
cyrus-sasl-2.1.28/lib/seterror.c:146:12: branch_true: ...to here
cyrus-sasl-2.1.28/lib/seterror.c:162:14: branch_true: following 'true' branch (when 'done == 0')...
cyrus-sasl-2.1.28/lib/seterror.c:164:19: branch_true: ...to here
cyrus-sasl-2.1.28/lib/seterror.c:211:22: throw: if '_sasl_add_string' throws an exception...
cyrus-sasl-2.1.28/lib/seterror.c:211:22: danger: missing call to 'va_end' to match 'va_start' at [(5)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-404): [#def54]
cyrus-sasl-2.1.28/lib/seterror.c:226:22: warning[-Wanalyzer-va-list-leak]: missing call to 'va_end'
cyrus-sasl-2.1.28/lib/seterror.c:119:5: branch_false: following 'false' branch (when 'conn' is non-NULL)...
cyrus-sasl-2.1.28/lib/seterror.c:134:12: branch_false: ...to here
cyrus-sasl-2.1.28/lib/seterror.c:134:12: branch_false: following 'false' branch (when 'fmt' is non-NULL)...
cyrus-sasl-2.1.28/lib/seterror.c:138:3: branch_false: ...to here
cyrus-sasl-2.1.28/lib/seterror.c:142:3: acquire_resource: 'va_start' called here
cyrus-sasl-2.1.28/lib/seterror.c:144:9: branch_true: following 'true' branch (when 'pos < formatlen')...
cyrus-sasl-2.1.28/lib/seterror.c:146:12: branch_true: ...to here
cyrus-sasl-2.1.28/lib/seterror.c:162:14: branch_true: following 'true' branch (when 'done == 0')...
cyrus-sasl-2.1.28/lib/seterror.c:164:19: branch_true: ...to here
cyrus-sasl-2.1.28/lib/seterror.c:226:22: throw: if '_sasl_add_string' throws an exception...
cyrus-sasl-2.1.28/lib/seterror.c:226:22: danger: missing call to 'va_end' to match 'va_start' at [(5)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/4)
Error: COMPILER_WARNING (CWE-477): [#def55]
cyrus-sasl-2.1.28/plugins/digestmd5.c: scope_hint: In function 'dec_3des'
cyrus-sasl-2.1.28/plugins/digestmd5.c:906:5: warning[-Wdeprecated-declarations]: 'DES_ede3_cbc_encrypt' is deprecated: Since OpenSSL 3.0
cyrus-sasl-2.1.28/plugins/digestmd5.c:63: included_from: Included from here.
/usr/include/openssl/des.h:142:6: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def56]
cyrus-sasl-2.1.28/plugins/digestmd5.c:906:5: warning[-Wdeprecated-declarations]: 'DES_ede3_cbc_encrypt' is deprecated: Since OpenSSL 3.0
Error: COMPILER_WARNING (CWE-477): [#def57]
cyrus-sasl-2.1.28/plugins/digestmd5.c: scope_hint: In function 'enc_3des'
cyrus-sasl-2.1.28/plugins/digestmd5.c:954:5: warning[-Wdeprecated-declarations]: 'DES_ede3_cbc_encrypt' is deprecated: Since OpenSSL 3.0
/usr/include/openssl/des.h:142:6: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def58]
cyrus-sasl-2.1.28/plugins/digestmd5.c:954:5: warning[-Wdeprecated-declarations]: 'DES_ede3_cbc_encrypt' is deprecated: Since OpenSSL 3.0
Error: COMPILER_WARNING (CWE-477): [#def59]
cyrus-sasl-2.1.28/plugins/digestmd5.c: scope_hint: In function 'init_3des'
cyrus-sasl-2.1.28/plugins/digestmd5.c:980:5: warning[-Wdeprecated-declarations]: 'DES_key_sched' is deprecated: Since OpenSSL 3.0
/usr/include/openssl/des.h:188:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def60]
cyrus-sasl-2.1.28/plugins/digestmd5.c:980:5: warning[-Wdeprecated-declarations]: 'DES_key_sched' is deprecated: Since OpenSSL 3.0
Error: COMPILER_WARNING (CWE-477): [#def61]
cyrus-sasl-2.1.28/plugins/digestmd5.c:984:5: warning[-Wdeprecated-declarations]: 'DES_key_sched' is deprecated: Since OpenSSL 3.0
/usr/include/openssl/des.h:188:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def62]
cyrus-sasl-2.1.28/plugins/digestmd5.c:984:5: warning[-Wdeprecated-declarations]: 'DES_key_sched' is deprecated: Since OpenSSL 3.0
Error: COMPILER_WARNING (CWE-477): [#def63]
cyrus-sasl-2.1.28/plugins/digestmd5.c:993:5: warning[-Wdeprecated-declarations]: 'DES_key_sched' is deprecated: Since OpenSSL 3.0
/usr/include/openssl/des.h:188:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def64]
cyrus-sasl-2.1.28/plugins/digestmd5.c:993:5: warning[-Wdeprecated-declarations]: 'DES_key_sched' is deprecated: Since OpenSSL 3.0
Error: COMPILER_WARNING (CWE-477): [#def65]
cyrus-sasl-2.1.28/plugins/digestmd5.c:997:5: warning[-Wdeprecated-declarations]: 'DES_key_sched' is deprecated: Since OpenSSL 3.0
/usr/include/openssl/des.h:188:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def66]
cyrus-sasl-2.1.28/plugins/digestmd5.c:997:5: warning[-Wdeprecated-declarations]: 'DES_key_sched' is deprecated: Since OpenSSL 3.0
Error: COMPILER_WARNING (CWE-477): [#def67]
cyrus-sasl-2.1.28/plugins/digestmd5.c: scope_hint: In function 'dec_des'
cyrus-sasl-2.1.28/plugins/digestmd5.c:1024:5: warning[-Wdeprecated-declarations]: 'DES_cbc_encrypt' is deprecated: Since OpenSSL 3.0
/usr/include/openssl/des.h:89:6: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def68]
cyrus-sasl-2.1.28/plugins/digestmd5.c:1024:5: warning[-Wdeprecated-declarations]: 'DES_cbc_encrypt' is deprecated: Since OpenSSL 3.0
Error: COMPILER_WARNING (CWE-477): [#def69]
cyrus-sasl-2.1.28/plugins/digestmd5.c: scope_hint: In function 'enc_des'
cyrus-sasl-2.1.28/plugins/digestmd5.c:1075:5: warning[-Wdeprecated-declarations]: 'DES_cbc_encrypt' is deprecated: Since OpenSSL 3.0
/usr/include/openssl/des.h:89:6: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def70]
cyrus-sasl-2.1.28/plugins/digestmd5.c:1075:5: warning[-Wdeprecated-declarations]: 'DES_cbc_encrypt' is deprecated: Since OpenSSL 3.0
Error: COMPILER_WARNING (CWE-477): [#def71]
cyrus-sasl-2.1.28/plugins/digestmd5.c: scope_hint: In function 'init_des'
cyrus-sasl-2.1.28/plugins/digestmd5.c:1104:5: warning[-Wdeprecated-declarations]: 'DES_key_sched' is deprecated: Since OpenSSL 3.0
/usr/include/openssl/des.h:188:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def72]
cyrus-sasl-2.1.28/plugins/digestmd5.c:1104:5: warning[-Wdeprecated-declarations]: 'DES_key_sched' is deprecated: Since OpenSSL 3.0
Error: COMPILER_WARNING (CWE-477): [#def73]
cyrus-sasl-2.1.28/plugins/digestmd5.c:1113:5: warning[-Wdeprecated-declarations]: 'DES_key_sched' is deprecated: Since OpenSSL 3.0
/usr/include/openssl/des.h:188:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def74]
cyrus-sasl-2.1.28/plugins/digestmd5.c:1113:5: warning[-Wdeprecated-declarations]: 'DES_key_sched' is deprecated: Since OpenSSL 3.0
Error: COMPILER_WARNING (CWE-704): [#def75]
cyrus-sasl-2.1.28/plugins/gssapi.c: scope_hint: In function 'gssapi_server_mech_authneg'
cyrus-sasl-2.1.28/plugins/gssapi.c:909:35: warning[-Wdiscarded-qualifiers]: assignment discards 'const' qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def76]
cyrus-sasl-2.1.28/plugins/gssapi.c:909:35: warning[-Wdiscarded-qualifiers]: assignment discards 'const' qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-476): [#def77]
cyrus-sasl-2.1.28/plugins/gssapi.c:1050:9: warning[-Wanalyzer-null-dereference]: dereference of NULL '0'
cyrus-sasl-2.1.28/plugins/gssapi.c:1426:1: enter_function: entry to 'gssapi_server_mech_step'
cyrus-sasl-2.1.28/plugins/gssapi.c:1437:8: branch_false: following 'false' branch (when 'serverout' is non-NULL)...
cyrus-sasl-2.1.28/plugins/gssapi.c:1442:5: branch_false: ...to here
cyrus-sasl-2.1.28/plugins/gssapi.c:1445:8: branch_false: following 'false' branch (when 'conn_context' is non-NULL)...
cyrus-sasl-2.1.28/plugins/gssapi.c:1447:13: branch_false: ...to here
cyrus-sasl-2.1.28/plugins/gssapi.c:1450:15: call_function: calling 'gssapi_server_mech_authneg' from 'gssapi_server_mech_step'
Error: COMPILER_WARNING (CWE-704): [#def78]
cyrus-sasl-2.1.28/plugins/gssapi.c: scope_hint: In function 'gssapi_client_mech_step'
cyrus-sasl-2.1.28/plugins/gssapi.c:1828:39: warning[-Wdiscarded-qualifiers]: assignment discards 'const' qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def79]
cyrus-sasl-2.1.28/plugins/gssapi.c:1828:39: warning[-Wdiscarded-qualifiers]: assignment discards 'const' qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def80]
cyrus-sasl-2.1.28/plugins/scram.c: scope_hint: In function 'scram_client_mech_step3'
cyrus-sasl-2.1.28/plugins/scram.c:2804:7: warning[-Wdiscarded-qualifiers]: assignment discards 'const' qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def81]
cyrus-sasl-2.1.28/plugins/scram.c:2804:7: warning[-Wdiscarded-qualifiers]: assignment discards 'const' qualifier from pointer target type
Error: COMPILER_WARNING (CWE-252): [#def82]
cyrus-sasl-2.1.28/sample/client.c: scope_hint: In function ‘getrealm’
cyrus-sasl-2.1.28/sample/client.c:100:5: warning[-Wunused-result]: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def83]
cyrus-sasl-2.1.28/sample/client.c: scope_hint: In function ‘simple’
cyrus-sasl-2.1.28/sample/client.c:133:5: warning[-Wunused-result]: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’
Error: CPPCHECK_WARNING (CWE-401): [#def84]
cyrus-sasl-2.1.28/sample/client.c:169: error[memleakOnRealloc]: Common realloc mistake: 'x' nulled but not freed upon failure
Error: COMPILER_WARNING (CWE-843): [#def85]
cyrus-sasl-2.1.28/sample/client.c:188:23: warning[-Wcast-function-type]: cast between incompatible function types from ‘int (*)(void *, int, const char **, const char **)’ to ‘int (*)(void)’
Error: COMPILER_WARNING (CWE-843): [#def86]
cyrus-sasl-2.1.28/sample/client.c:190:19: warning[-Wcast-function-type]: cast between incompatible function types from ‘int (*)(void *, int, const char **, unsigned int *)’ to ‘int (*)(void)’
Error: COMPILER_WARNING (CWE-843): [#def87]
cyrus-sasl-2.1.28/sample/client.c:192:23: warning[-Wcast-function-type]: cast between incompatible function types from ‘int (*)(void *, int, const char **, unsigned int *)’ to ‘int (*)(void)’
Error: COMPILER_WARNING (CWE-843): [#def88]
cyrus-sasl-2.1.28/sample/client.c:194:19: warning[-Wcast-function-type]: cast between incompatible function types from ‘int (*)(sasl_conn_t *, void *, int, sasl_secret_t **)’ {aka ‘int (*)(struct sasl_conn *, void *, int, struct sasl_secret **)’} to ‘int (*)(void)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def89]
cyrus-sasl-2.1.28/sample/client.c:218:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
cyrus-sasl-2.1.28/sample/client.c:209:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/client.c:214:10: branch_false: ...to here
cyrus-sasl-2.1.28/sample/client.c:214:18: branch_true: following ‘true’ branch (when ‘r’ is non-NULL)...
cyrus-sasl-2.1.28/sample/client.c:215:16: branch_true: ...to here
cyrus-sasl-2.1.28/sample/client.c:215:16: acquire_resource: socket created here
cyrus-sasl-2.1.28/sample/client.c:216:12: branch_false: following ‘false’ branch (when ‘sock >= 0’)...
cyrus-sasl-2.1.28/sample/client.c:218:13: branch_false: ...to here
cyrus-sasl-2.1.28/sample/client.c:218:13: throw: if ‘connect’ throws an exception...
cyrus-sasl-2.1.28/sample/client.c:218:13: danger: ‘sock’ leaks here
Error: COMPILER_WARNING (CWE-252): [#def90]
cyrus-sasl-2.1.28/sample/common.c: scope_hint: In function ‘recv_string’
cyrus-sasl-2.1.28/sample/common.c:100:9: warning[-Wunused-result]: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def91]
cyrus-sasl-2.1.28/sample/common.c:108:9: warning[-Wunused-result]: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def92]
cyrus-sasl-2.1.28/sample/http_digest_client.c:116:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sd’
cyrus-sasl-2.1.28/sample/http_digest_client.c:89:7: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/http_digest_client.c:94:27: branch_false: ...to here
cyrus-sasl-2.1.28/sample/http_digest_client.c:100:10: acquire_resource: stream socket created here
cyrus-sasl-2.1.28/sample/http_digest_client.c:101:8: branch_false: following ‘false’ branch (when ‘sd >= 0’)...
cyrus-sasl-2.1.28/sample/http_digest_client.c:107:5: branch_false: ...to here
cyrus-sasl-2.1.28/sample/http_digest_client.c:114:8: branch_true: following ‘true’ branch (when ‘rc < 0’)...
cyrus-sasl-2.1.28/sample/http_digest_client.c:115:9: branch_true: ...to here
cyrus-sasl-2.1.28/sample/http_digest_client.c:116:9: throw: if ‘perror’ throws an exception...
cyrus-sasl-2.1.28/sample/http_digest_client.c:116:9: danger: ‘sd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-666): [#def93]
cyrus-sasl-2.1.28/sample/http_digest_client.c:122:10: warning[-Wanalyzer-fd-phase-mismatch]: ‘connect’ on file descriptor ‘sd’ in wrong phase
cyrus-sasl-2.1.28/sample/http_digest_client.c:89:7: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/http_digest_client.c:94:27: branch_false: ...to here
cyrus-sasl-2.1.28/sample/http_digest_client.c:100:10: acquire_resource: stream socket created here
cyrus-sasl-2.1.28/sample/http_digest_client.c:101:8: branch_false: following ‘false’ branch (when ‘sd >= 0’)...
cyrus-sasl-2.1.28/sample/http_digest_client.c:107:5: branch_false: ...to here
cyrus-sasl-2.1.28/sample/http_digest_client.c:114:8: branch_false: following ‘false’ branch (when ‘rc >= 0’)...
cyrus-sasl-2.1.28/sample/http_digest_client.c:121:5: branch_false: ...to here
cyrus-sasl-2.1.28/sample/http_digest_client.c:122:10: danger: ‘connect’ expects a new socket file descriptor but ‘sd’ is bound
Error: GCC_ANALYZER_WARNING (CWE-775): [#def94]
cyrus-sasl-2.1.28/sample/http_digest_client.c:124:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sd’
cyrus-sasl-2.1.28/sample/http_digest_client.c:89:7: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/http_digest_client.c:94:27: branch_false: ...to here
cyrus-sasl-2.1.28/sample/http_digest_client.c:100:10: acquire_resource: stream socket created here
cyrus-sasl-2.1.28/sample/http_digest_client.c:101:8: branch_false: following ‘false’ branch (when ‘sd >= 0’)...
cyrus-sasl-2.1.28/sample/http_digest_client.c:107:5: branch_false: ...to here
cyrus-sasl-2.1.28/sample/http_digest_client.c:114:8: branch_false: following ‘false’ branch (when ‘rc >= 0’)...
cyrus-sasl-2.1.28/sample/http_digest_client.c:121:5: branch_false: ...to here
cyrus-sasl-2.1.28/sample/http_digest_client.c:123:8: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/sample/http_digest_client.c:124:9: branch_true: ...to here
cyrus-sasl-2.1.28/sample/http_digest_client.c:124:9: throw: if ‘perror’ throws an exception...
cyrus-sasl-2.1.28/sample/http_digest_client.c:124:9: danger: ‘sd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def95]
cyrus-sasl-2.1.28/sample/server.c:149:13: warning[-Wanalyzer-malloc-leak]: leak of ‘socks’
cyrus-sasl-2.1.28/sample/server.c:128:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/server.c:134:20: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:136:13: acquire_memory: allocated here
cyrus-sasl-2.1.28/sample/server.c:137:8: branch_false: following ‘false’ branch (when ‘socks’ is non-NULL)...
cyrus-sasl-2.1.28/sample/server.c:143:5: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:145:18: branch_true: following ‘true’ branch (when ‘r’ is non-NULL)...
cyrus-sasl-2.1.28/sample/server.c:146:9: branch_true: ...to here
cyrus-sasl-2.1.28/sample/server.c:148:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/sample/server.c:149:13: branch_true: ...to here
cyrus-sasl-2.1.28/sample/server.c:149:13: throw: if ‘perror’ throws an exception...
cyrus-sasl-2.1.28/sample/server.c:149:13: danger: ‘socks’ leaks here; was allocated at [(3)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def96]
cyrus-sasl-2.1.28/sample/server.c:154:13: warning[-Wanalyzer-malloc-leak]: leak of ‘socks’
cyrus-sasl-2.1.28/sample/server.c:128:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/server.c:134:20: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:136:13: acquire_memory: allocated here
cyrus-sasl-2.1.28/sample/server.c:137:8: branch_false: following ‘false’ branch (when ‘socks’ is non-NULL)...
cyrus-sasl-2.1.28/sample/server.c:143:5: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:145:18: branch_true: following ‘true’ branch (when ‘r’ is non-NULL)...
cyrus-sasl-2.1.28/sample/server.c:146:9: branch_true: ...to here
cyrus-sasl-2.1.28/sample/server.c:148:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/server.c:152:13: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:152:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/sample/server.c:154:13: branch_true: ...to here
cyrus-sasl-2.1.28/sample/server.c:154:13: throw: if ‘perror’ throws an exception...
cyrus-sasl-2.1.28/sample/server.c:154:13: danger: ‘socks’ leaks here; was allocated at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def97]
cyrus-sasl-2.1.28/sample/server.c:155:13: warning[-Wanalyzer-malloc-leak]: leak of ‘socks’
cyrus-sasl-2.1.28/sample/server.c:128:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/server.c:134:20: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:136:13: acquire_memory: allocated here
cyrus-sasl-2.1.28/sample/server.c:137:8: branch_false: following ‘false’ branch (when ‘socks’ is non-NULL)...
cyrus-sasl-2.1.28/sample/server.c:143:5: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:145:18: branch_true: following ‘true’ branch (when ‘r’ is non-NULL)...
cyrus-sasl-2.1.28/sample/server.c:146:9: branch_true: ...to here
cyrus-sasl-2.1.28/sample/server.c:148:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/server.c:152:13: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:152:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/sample/server.c:154:13: branch_true: ...to here
cyrus-sasl-2.1.28/sample/server.c:155:13: throw: if ‘close’ throws an exception...
cyrus-sasl-2.1.28/sample/server.c:155:13: danger: ‘socks’ leaks here; was allocated at [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def98]
cyrus-sasl-2.1.28/sample/server.c:169:13: warning[-Wanalyzer-malloc-leak]: leak of ‘socks’
cyrus-sasl-2.1.28/sample/server.c:128:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/server.c:134:20: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:136:13: acquire_memory: allocated here
cyrus-sasl-2.1.28/sample/server.c:137:8: branch_false: following ‘false’ branch (when ‘socks’ is non-NULL)...
cyrus-sasl-2.1.28/sample/server.c:143:5: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:145:18: branch_true: following ‘true’ branch (when ‘r’ is non-NULL)...
cyrus-sasl-2.1.28/sample/server.c:146:9: branch_true: ...to here
cyrus-sasl-2.1.28/sample/server.c:148:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/server.c:152:13: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:169:13: throw: if ‘perror’ throws an exception...
cyrus-sasl-2.1.28/sample/server.c:169:13: danger: ‘socks’ leaks here; was allocated at [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def99]
cyrus-sasl-2.1.28/sample/server.c:170:13: warning[-Wanalyzer-malloc-leak]: leak of ‘socks’
cyrus-sasl-2.1.28/sample/server.c:128:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/server.c:134:20: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:136:13: acquire_memory: allocated here
cyrus-sasl-2.1.28/sample/server.c:137:8: branch_false: following ‘false’ branch (when ‘socks’ is non-NULL)...
cyrus-sasl-2.1.28/sample/server.c:143:5: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:145:18: branch_true: following ‘true’ branch (when ‘r’ is non-NULL)...
cyrus-sasl-2.1.28/sample/server.c:146:9: branch_true: ...to here
cyrus-sasl-2.1.28/sample/server.c:148:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/server.c:152:13: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:170:13: throw: if ‘close’ throws an exception...
cyrus-sasl-2.1.28/sample/server.c:170:13: danger: ‘socks’ leaks here; was allocated at [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def100]
cyrus-sasl-2.1.28/sample/server.c:175:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘socket(*r.ai_family, *r.ai_socktype, *r.ai_protocol)’
cyrus-sasl-2.1.28/sample/server.c:128:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/server.c:134:20: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:137:8: branch_false: following ‘false’ branch (when ‘socks’ is non-NULL)...
cyrus-sasl-2.1.28/sample/server.c:143:5: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:145:18: branch_true: following ‘true’ branch (when ‘r’ is non-NULL)...
cyrus-sasl-2.1.28/sample/server.c:146:9: branch_true: ...to here
cyrus-sasl-2.1.28/sample/server.c:147:17: acquire_resource: socket created here
cyrus-sasl-2.1.28/sample/server.c:148:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/server.c:152:13: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:174:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/sample/server.c:175:13: branch_true: ...to here
cyrus-sasl-2.1.28/sample/server.c:175:13: throw: if ‘perror’ throws an exception...
cyrus-sasl-2.1.28/sample/server.c:175:13: danger: ‘socket(*r.ai_family, *r.ai_socktype, *r.ai_protocol)’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def101]
cyrus-sasl-2.1.28/sample/server.c:175:13: warning[-Wanalyzer-malloc-leak]: leak of ‘socks’
cyrus-sasl-2.1.28/sample/server.c:128:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/server.c:134:20: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:136:13: acquire_memory: allocated here
cyrus-sasl-2.1.28/sample/server.c:137:8: branch_false: following ‘false’ branch (when ‘socks’ is non-NULL)...
cyrus-sasl-2.1.28/sample/server.c:143:5: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:145:18: branch_true: following ‘true’ branch (when ‘r’ is non-NULL)...
cyrus-sasl-2.1.28/sample/server.c:146:9: branch_true: ...to here
cyrus-sasl-2.1.28/sample/server.c:148:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/server.c:152:13: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:174:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/sample/server.c:175:13: branch_true: ...to here
cyrus-sasl-2.1.28/sample/server.c:175:13: throw: if ‘perror’ throws an exception...
cyrus-sasl-2.1.28/sample/server.c:175:13: danger: ‘socks’ leaks here; was allocated at [(3)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def102]
cyrus-sasl-2.1.28/sample/server.c:176:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor
cyrus-sasl-2.1.28/sample/server.c:128:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/server.c:134:20: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:137:8: branch_false: following ‘false’ branch (when ‘socks’ is non-NULL)...
cyrus-sasl-2.1.28/sample/server.c:143:5: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:145:18: branch_true: following ‘true’ branch (when ‘r’ is non-NULL)...
cyrus-sasl-2.1.28/sample/server.c:146:9: branch_true: ...to here
cyrus-sasl-2.1.28/sample/server.c:147:17: acquire_resource: socket created here
cyrus-sasl-2.1.28/sample/server.c:148:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/server.c:152:13: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:174:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/sample/server.c:175:13: branch_true: ...to here
cyrus-sasl-2.1.28/sample/server.c:176:13: throw: if ‘close’ throws an exception...
cyrus-sasl-2.1.28/sample/server.c:176:13: danger: leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def103]
cyrus-sasl-2.1.28/sample/server.c:176:13: warning[-Wanalyzer-malloc-leak]: leak of ‘socks’
cyrus-sasl-2.1.28/sample/server.c:128:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/server.c:134:20: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:136:13: acquire_memory: allocated here
cyrus-sasl-2.1.28/sample/server.c:137:8: branch_false: following ‘false’ branch (when ‘socks’ is non-NULL)...
cyrus-sasl-2.1.28/sample/server.c:143:5: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:145:18: branch_true: following ‘true’ branch (when ‘r’ is non-NULL)...
cyrus-sasl-2.1.28/sample/server.c:146:9: branch_true: ...to here
cyrus-sasl-2.1.28/sample/server.c:148:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/server.c:152:13: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:174:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/sample/server.c:175:13: branch_true: ...to here
cyrus-sasl-2.1.28/sample/server.c:176:13: throw: if ‘close’ throws an exception...
cyrus-sasl-2.1.28/sample/server.c:176:13: danger: ‘socks’ leaks here; was allocated at [(3)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def104]
cyrus-sasl-2.1.28/sample/server.c:221: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: GCC_ANALYZER_WARNING (CWE-688): [#def105]
cyrus-sasl-2.1.28/sample/server.c:221:15: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘data’ where non-null expected
cyrus-sasl-2.1.28/sample/server.c:218:8: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/sample/server.c:219:9: branch_true: ...to here
cyrus-sasl-2.1.28/sample/server.c:220:16: acquire_memory: this call could return NULL
cyrus-sasl-2.1.28/sample/server.c:221:15: danger: argument 1 (‘strdup(mech)’) from [(3)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def106]
cyrus-sasl-2.1.28/sample/server.c:233:5: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
cyrus-sasl-2.1.28/sample/server.c:218:8: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/sample/server.c:219:9: branch_true: ...to here
cyrus-sasl-2.1.28/sample/server.c:220:16: acquire_memory: allocated here
cyrus-sasl-2.1.28/sample/server.c:233:5: throw: if ‘send_string’ throws an exception...
cyrus-sasl-2.1.28/sample/server.c:233:5: danger: ‘data’ leaks here; was allocated at [(3)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def107]
cyrus-sasl-2.1.28/sample/server.c:237:5: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
cyrus-sasl-2.1.28/sample/server.c:218:8: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/sample/server.c:219:9: branch_true: ...to here
cyrus-sasl-2.1.28/sample/server.c:220:16: acquire_memory: allocated here
cyrus-sasl-2.1.28/sample/server.c:234:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/server.c:237:5: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:237:5: throw: if ‘dprintf’ throws an exception...
cyrus-sasl-2.1.28/sample/server.c:237:5: danger: ‘data’ leaks here; was allocated at [(3)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def108]
cyrus-sasl-2.1.28/sample/server.c:238:11: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
cyrus-sasl-2.1.28/sample/server.c:218:8: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/sample/server.c:219:9: branch_true: ...to here
cyrus-sasl-2.1.28/sample/server.c:220:16: acquire_memory: allocated here
cyrus-sasl-2.1.28/sample/server.c:234:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/server.c:237:5: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:238:11: throw: if ‘recv_string’ throws an exception...
cyrus-sasl-2.1.28/sample/server.c:238:11: danger: ‘data’ leaks here; was allocated at [(3)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def109]
cyrus-sasl-2.1.28/sample/server.c:242:9: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
cyrus-sasl-2.1.28/sample/server.c:218:8: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/sample/server.c:219:9: branch_true: ...to here
cyrus-sasl-2.1.28/sample/server.c:220:16: acquire_memory: allocated here
cyrus-sasl-2.1.28/sample/server.c:234:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/server.c:237:5: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:239:8: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/sample/server.c:240:9: branch_true: ...to here
cyrus-sasl-2.1.28/sample/server.c:242:9: throw: if ‘fflush’ throws an exception...
cyrus-sasl-2.1.28/sample/server.c:242:9: danger: ‘data’ leaks here; was allocated at [(3)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def110]
cyrus-sasl-2.1.28/sample/server.c:243:16: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
cyrus-sasl-2.1.28/sample/server.c:218:8: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/sample/server.c:219:9: branch_true: ...to here
cyrus-sasl-2.1.28/sample/server.c:220:16: acquire_memory: allocated here
cyrus-sasl-2.1.28/sample/server.c:234:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/server.c:237:5: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:243:16: danger: ‘data’ leaks here; was allocated at [(3)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def111]
cyrus-sasl-2.1.28/sample/server.c:249:9: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
cyrus-sasl-2.1.28/sample/server.c:218:8: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/sample/server.c:219:9: branch_true: ...to here
cyrus-sasl-2.1.28/sample/server.c:220:16: acquire_memory: allocated here
cyrus-sasl-2.1.28/sample/server.c:234:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/server.c:237:5: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:239:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/server.c:246:9: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:246:8: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/sample/server.c:249:9: throw: if ‘fflush’ throws an exception...
cyrus-sasl-2.1.28/sample/server.c:249:9: danger: ‘data’ leaks here; was allocated at [(3)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def112]
cyrus-sasl-2.1.28/sample/server.c:253:11: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
cyrus-sasl-2.1.28/sample/server.c:218:8: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/sample/server.c:219:9: branch_true: ...to here
cyrus-sasl-2.1.28/sample/server.c:220:16: acquire_memory: allocated here
cyrus-sasl-2.1.28/sample/server.c:234:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/server.c:237:5: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:239:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/server.c:246:9: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:253:11: throw: if ‘recv_string’ throws an exception...
cyrus-sasl-2.1.28/sample/server.c:253:11: danger: ‘data’ leaks here; was allocated at [(3)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def113]
cyrus-sasl-2.1.28/sample/server.c:255:9: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
cyrus-sasl-2.1.28/sample/server.c:218:8: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/sample/server.c:219:9: branch_true: ...to here
cyrus-sasl-2.1.28/sample/server.c:220:16: acquire_memory: allocated here
cyrus-sasl-2.1.28/sample/server.c:234:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/server.c:237:5: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:239:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/server.c:246:9: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:254:7: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/sample/server.c:255:9: branch_true: ...to here
cyrus-sasl-2.1.28/sample/server.c:255:9: throw: if ‘saslerr’ throws an exception...
cyrus-sasl-2.1.28/sample/server.c:255:9: danger: ‘data’ leaks here; was allocated at [(3)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def114]
cyrus-sasl-2.1.28/sample/server.c:257:9: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
cyrus-sasl-2.1.28/sample/server.c:218:8: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/sample/server.c:219:9: branch_true: ...to here
cyrus-sasl-2.1.28/sample/server.c:220:16: acquire_memory: allocated here
cyrus-sasl-2.1.28/sample/server.c:234:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/server.c:237:5: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:239:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/server.c:246:9: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:254:7: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/sample/server.c:255:9: branch_true: ...to here
cyrus-sasl-2.1.28/sample/server.c:257:9: throw: if ‘fflush’ throws an exception...
cyrus-sasl-2.1.28/sample/server.c:257:9: danger: ‘data’ leaks here; was allocated at [(3)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def115]
cyrus-sasl-2.1.28/sample/server.c:263:15: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
cyrus-sasl-2.1.28/sample/server.c:218:8: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/sample/server.c:219:9: branch_true: ...to here
cyrus-sasl-2.1.28/sample/server.c:220:16: acquire_memory: allocated here
cyrus-sasl-2.1.28/sample/server.c:234:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/server.c:237:5: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:239:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/server.c:246:9: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:254:7: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/server.c:261:8: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:261:7: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/sample/server.c:263:15: branch_true: ...to here
cyrus-sasl-2.1.28/sample/server.c:263:15: throw: if ‘recv_string’ throws an exception...
cyrus-sasl-2.1.28/sample/server.c:263:15: danger: ‘data’ leaks here; was allocated at [(3)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def116]
cyrus-sasl-2.1.28/sample/server.c:266:13: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
cyrus-sasl-2.1.28/sample/server.c:218:8: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/sample/server.c:219:9: branch_true: ...to here
cyrus-sasl-2.1.28/sample/server.c:220:16: acquire_memory: allocated here
cyrus-sasl-2.1.28/sample/server.c:234:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/server.c:237:5: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:239:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/server.c:246:9: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:254:7: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/server.c:261:8: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:261:7: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/sample/server.c:263:15: branch_true: ...to here
cyrus-sasl-2.1.28/sample/server.c:266:13: throw: if ‘sasl_server_start’ throws an exception...
cyrus-sasl-2.1.28/sample/server.c:266:13: danger: ‘data’ leaks here; was allocated at [(3)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def117]
cyrus-sasl-2.1.28/sample/server.c:269:13: warning[-Wanalyzer-malloc-leak]: leak of ‘data’
cyrus-sasl-2.1.28/sample/server.c:218:8: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/sample/server.c:219:9: branch_true: ...to here
cyrus-sasl-2.1.28/sample/server.c:220:16: acquire_memory: allocated here
cyrus-sasl-2.1.28/sample/server.c:234:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/server.c:237:5: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:239:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/server.c:246:9: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:254:7: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/server.c:261:8: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:261:7: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/sample/server.c:269:13: branch_false: ...to here
cyrus-sasl-2.1.28/sample/server.c:269:13: throw: if ‘sasl_server_start’ throws an exception...
cyrus-sasl-2.1.28/sample/server.c:269:13: danger: ‘data’ leaks here; was allocated at [(3)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING: [#def118]
cyrus-sasl-2.1.28/sample/server.c: scope_hint: In function ‘displayStatus_1’
cyrus-sasl-2.1.28/sample/server.c:511:13: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def119]
cyrus-sasl-2.1.28/sample/server.c:511:13: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def120]
cyrus-sasl-2.1.28/sample/server.c: scope_hint: In function ‘displayStatus’
cyrus-sasl-2.1.28/sample/server.c:533:13: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def121]
cyrus-sasl-2.1.28/sample/server.c:533:13: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING (CWE-704): [#def122]
cyrus-sasl-2.1.28/saslauthd/auth_httpform.c: scope_hint: In function ‘build_sasl_response’
cyrus-sasl-2.1.28/saslauthd/auth_httpform.c:367:7: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def123]
cyrus-sasl-2.1.28/saslauthd/auth_httpform.c:367:7: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def124]
cyrus-sasl-2.1.28/saslauthd/auth_httpform.c:373:24: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def125]
cyrus-sasl-2.1.28/saslauthd/auth_httpform.c:373:24: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-476): [#def126]
cyrus-sasl-2.1.28/saslauthd/auth_httpform.c:375:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def127]
cyrus-sasl-2.1.28/saslauthd/auth_httpform.c:520:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘s’
cyrus-sasl-2.1.28/saslauthd/auth_httpform.c:512:5: branch_true: following ‘true’ branch (when ‘user’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/auth_httpform.c:513:5: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_httpform.c:513:5: branch_true: following ‘true’ branch (when ‘password’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/auth_httpform.c:516:10: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_httpform.c:516:18: branch_true: following ‘true’ branch (when ‘r’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/auth_httpform.c:517:13: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_httpform.c:517:13: acquire_resource: socket created here
cyrus-sasl-2.1.28/saslauthd/auth_httpform.c:518:12: branch_false: following ‘false’ branch (when ‘s >= 0’)...
cyrus-sasl-2.1.28/saslauthd/auth_httpform.c:520:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_httpform.c:520:13: throw: if ‘connect’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/auth_httpform.c:520:13: danger: ‘s’ leaks here
Error: COMPILER_WARNING (CWE-704): [#def128]
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c: scope_hint: In function ‘form_principal_name’
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:124:29: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def129]
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:124:29: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-401): [#def130]
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:155:26: warning[-Wanalyzer-malloc-leak]: leak of ‘result’
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:162:1: enter_function: entry to ‘auth_krb5’
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:184:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:189:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:189:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:194:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:194:9: call_function: calling ‘form_principal_name’ from ‘auth_krb5’
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:194:9: return_function: returning to ‘auth_krb5’ from ‘form_principal_name’
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:194:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:200:15: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:200:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:206:15: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:206:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:219:10: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:222:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:229:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:229:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:239:15: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:239:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:251:5: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:254:8: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:255:18: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:255:18: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:256:9: call_function: calling ‘k5support_log_err’ from ‘auth_krb5’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def131]
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:157:5: warning[-Wanalyzer-malloc-leak]: leak of ‘result’
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:162:1: enter_function: entry to ‘auth_krb5’
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:184:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:189:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:189:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:194:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:194:9: call_function: calling ‘form_principal_name’ from ‘auth_krb5’
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:194:9: return_function: returning to ‘auth_krb5’ from ‘form_principal_name’
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:194:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:200:15: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:200:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:206:15: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:206:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:219:10: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:222:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:229:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:229:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:239:15: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:239:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:251:5: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:254:8: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:255:18: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:255:18: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:256:9: call_function: calling ‘k5support_log_err’ from ‘auth_krb5’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def132]
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:158:5: warning[-Wanalyzer-malloc-leak]: leak of ‘result’
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:162:1: enter_function: entry to ‘auth_krb5’
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:184:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:189:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:189:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:194:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:194:9: call_function: calling ‘form_principal_name’ from ‘auth_krb5’
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:194:9: return_function: returning to ‘auth_krb5’ from ‘form_principal_name’
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:194:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:200:15: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:200:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:206:15: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:206:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:219:10: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:222:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:229:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:229:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:239:15: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:239:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:251:5: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:254:8: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:255:18: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:255:18: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:256:9: call_function: calling ‘k5support_log_err’ from ‘auth_krb5’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def133]
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:261:5: warning[-Wanalyzer-malloc-leak]: leak of ‘result’
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:162:1: enter_function: entry to ‘auth_krb5’
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:184:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:189:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:189:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:194:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:194:9: call_function: calling ‘form_principal_name’ from ‘auth_krb5’
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:194:9: return_function: returning to ‘auth_krb5’ from ‘form_principal_name’
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:194:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:200:15: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:200:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:206:15: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:206:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:219:10: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:222:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:229:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:229:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:239:15: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:239:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:251:5: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:254:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:258:18: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:258:18: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:261:5: throw: if ‘krb5_free_principal’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:261:5: danger: ‘result’ leaks here; was allocated at [(25)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/24)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def134]
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:262:5: warning[-Wanalyzer-malloc-leak]: leak of ‘result’
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:162:1: enter_function: entry to ‘auth_krb5’
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:184:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:189:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:189:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:194:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:194:9: call_function: calling ‘form_principal_name’ from ‘auth_krb5’
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:194:9: return_function: returning to ‘auth_krb5’ from ‘form_principal_name’
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:194:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:200:15: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:200:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:206:15: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:206:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:219:10: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:222:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:229:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:229:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:239:15: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:239:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:251:5: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:254:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:258:18: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:258:18: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:262:5: throw: if ‘krb5_free_principal’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:262:5: danger: ‘result’ leaks here; was allocated at [(25)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/24)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def135]
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:263:5: warning[-Wanalyzer-malloc-leak]: leak of ‘result’
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:162:1: enter_function: entry to ‘auth_krb5’
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:184:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:189:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:189:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:194:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:194:9: call_function: calling ‘form_principal_name’ from ‘auth_krb5’
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:194:9: return_function: returning to ‘auth_krb5’ from ‘form_principal_name’
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:194:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:200:15: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:200:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:206:15: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:206:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:219:10: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:222:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:229:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:229:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:239:15: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:239:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:251:5: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:254:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:258:18: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:258:18: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:263:5: throw: if ‘krb5_free_cred_contents’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:263:5: danger: ‘result’ leaks here; was allocated at [(25)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/24)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def136]
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:265:9: warning[-Wanalyzer-malloc-leak]: leak of ‘result’
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:162:1: enter_function: entry to ‘auth_krb5’
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:184:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:189:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:189:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:194:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:194:9: call_function: calling ‘form_principal_name’ from ‘auth_krb5’
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:194:9: return_function: returning to ‘auth_krb5’ from ‘form_principal_name’
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:194:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:200:15: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:200:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:206:15: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:206:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:219:10: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:222:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:229:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:229:8: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:230:19: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:230:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:239:15: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:239:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:251:5: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:254:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:258:18: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:258:18: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:264:8: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:265:9: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:265:9: throw: if ‘krb5_kt_close’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:265:9: danger: ‘result’ leaks here; was allocated at [(27)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/26)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def137]
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:267:5: warning[-Wanalyzer-malloc-leak]: leak of ‘result’
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:162:1: enter_function: entry to ‘auth_krb5’
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:184:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:189:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:189:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:194:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:194:9: call_function: calling ‘form_principal_name’ from ‘auth_krb5’
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:194:9: return_function: returning to ‘auth_krb5’ from ‘form_principal_name’
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:194:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:200:15: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:200:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:206:15: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:206:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:219:10: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:222:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:229:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:229:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:239:15: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:239:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:251:5: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:254:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:258:18: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:258:18: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:264:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:267:5: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:267:5: throw: if ‘krb5_free_context’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/auth_krb5.c:267:5: danger: ‘result’ leaks here; was allocated at [(25)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/24)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def138]
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:117:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:101:8: branch_false: following ‘false’ branch (when ‘my_resp’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:101:8: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:104:17: branch_true: following ‘true’ branch (when ‘i < num_msg’)...
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:105:20: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:115:31: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:116:16: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:120:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:104:17: branch_true: following ‘true’ branch (when ‘i < num_msg’)...
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:105:20: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:116:16: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:117:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:117:17: throw: if ‘syslog’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:117:17: danger: ‘<unknown>’ leaks here; was allocated at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def139]
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:117:17: warning[-Wanalyzer-malloc-leak]: leak of ‘my_resp’
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:100:15: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:101:8: branch_false: following ‘false’ branch (when ‘my_resp’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:101:8: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:104:17: branch_true: following ‘true’ branch (when ‘i < num_msg’)...
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:105:20: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:116:16: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:117:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:117:17: throw: if ‘syslog’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:117:17: danger: ‘my_resp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def140]
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:126:18: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:101:8: branch_false: following ‘false’ branch (when ‘my_resp’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:101:8: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:104:17: branch_true: following ‘true’ branch (when ‘i < num_msg’)...
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:105:20: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:115:31: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:116:16: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:120:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:104:17: branch_true: following ‘true’ branch (when ‘i < num_msg’)...
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:105:20: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:126:18: throw: if ‘pam_get_item’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:126:18: 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): [#def141]
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:126:18: warning[-Wanalyzer-malloc-leak]: leak of ‘my_resp’
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:100:15: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:101:8: branch_false: following ‘false’ branch (when ‘my_resp’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:101:8: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:104:17: branch_true: following ‘true’ branch (when ‘i < num_msg’)...
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:105:20: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:126:18: throw: if ‘pam_get_item’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:126:18: danger: ‘my_resp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def142]
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:129:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:101:8: branch_false: following ‘false’ branch (when ‘my_resp’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:101:8: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:104:17: branch_true: following ‘true’ branch (when ‘i < num_msg’)...
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:105:20: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:115:31: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:116:16: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:120:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:104:17: branch_true: following ‘true’ branch (when ‘i < num_msg’)...
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:105:20: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:128:16: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:129:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:129:17: throw: if ‘pam_strerror’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:129:17: danger: ‘<unknown>’ leaks here; was allocated at [(7)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def143]
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:129:17: warning[-Wanalyzer-malloc-leak]: leak of ‘my_resp’
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:100:15: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:101:8: branch_false: following ‘false’ branch (when ‘my_resp’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:101:8: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:104:17: branch_true: following ‘true’ branch (when ‘i < num_msg’)...
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:105:20: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:128:16: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:129:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:129:17: throw: if ‘pam_strerror’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:129:17: danger: ‘my_resp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def144]
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:139:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:101:8: branch_false: following ‘false’ branch (when ‘my_resp’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:101:8: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:104:17: branch_true: following ‘true’ branch (when ‘i < num_msg’)...
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:105:20: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:115:31: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:116:16: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:120:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:104:17: branch_true: following ‘true’ branch (when ‘i < num_msg’)...
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:105:20: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:128:16: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:135:17: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:135:16: branch_false: following ‘false’ branch (when the strings are non-equal)...
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:139:17: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:139:17: throw: if ‘syslog’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:139:17: danger: ‘<unknown>’ leaks here; was allocated at [(7)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def145]
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:139:17: warning[-Wanalyzer-malloc-leak]: leak of ‘my_resp’
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:100:15: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:101:8: branch_false: following ‘false’ branch (when ‘my_resp’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:101:8: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:104:17: branch_true: following ‘true’ branch (when ‘i < num_msg’)...
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:105:20: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:128:16: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:135:17: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:135:16: branch_false: following ‘false’ branch (when the strings are non-equal)...
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:139:17: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:139:17: throw: if ‘syslog’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/auth_pam.c:139:17: danger: ‘my_resp’ leaks here; was allocated at [(1)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def146]
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:169:11: warning[-Wanalyzer-malloc-leak]: leak of ‘qstring(login)’
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:445:1: enter_function: entry to ‘auth_rimap’
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:470:5: branch_true: following ‘true’ branch (when ‘login’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:471:5: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:471:5: branch_true: following ‘true’ branch (when ‘password’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:474:10: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:476:12: branch_false: following ‘false’ branch (when ‘s >= 0’)...
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:478:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:497:8: branch_false: following ‘false’ branch (when ‘s >= 0’)...
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:517:12: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:522:10: call_function: calling ‘read_response’ from ‘auth_rimap’
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:522:10: return_function: returning to ‘auth_rimap’ from ‘read_response’
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:523:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:528:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:528:13: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:534:5: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:540:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:544:10: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:544:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:548:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:548:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:558:14: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:558:14: call_function: calling ‘qstring’ from ‘auth_rimap’
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:558:14: return_function: returning to ‘auth_rimap’ from ‘qstring’
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:559:13: call_function: calling ‘qstring’ from ‘auth_rimap’
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:559:13: return_function: returning to ‘auth_rimap’ from ‘qstring’
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:560:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:569:8: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:569:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:579:5: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:590:8: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:591:9: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:591:9: throw: if ‘syslog’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:169:11: danger: ‘qstring(login)’ leaks here; was allocated at [(28)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/27)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def147]
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:169:11: warning[-Wanalyzer-malloc-leak]: leak of ‘qstring(password)’
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:445:1: enter_function: entry to ‘auth_rimap’
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:470:5: branch_true: following ‘true’ branch (when ‘login’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:471:5: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:471:5: branch_true: following ‘true’ branch (when ‘password’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:474:10: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:476:12: branch_false: following ‘false’ branch (when ‘s >= 0’)...
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:478:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:497:8: branch_false: following ‘false’ branch (when ‘s >= 0’)...
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:517:12: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:522:10: call_function: calling ‘read_response’ from ‘auth_rimap’
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:522:10: return_function: returning to ‘auth_rimap’ from ‘read_response’
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:523:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:528:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:528:13: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:534:5: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:540:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:544:10: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:544:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:548:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:548:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:558:14: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:558:14: call_function: calling ‘qstring’ from ‘auth_rimap’
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:558:14: return_function: returning to ‘auth_rimap’ from ‘qstring’
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:559:13: call_function: calling ‘qstring’ from ‘auth_rimap’
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:559:13: return_function: returning to ‘auth_rimap’ from ‘qstring’
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:560:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:569:8: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:569:8: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:579:5: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:590:8: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:591:9: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:591:9: throw: if ‘syslog’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:169:11: danger: ‘qstring(password)’ leaks here; was allocated at [(33)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/32)
Error: COMPILER_WARNING (CWE-704): [#def148]
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c: scope_hint: In function ‘auth_rimap_init’
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:226:7: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def149]
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:226:7: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-775): [#def150]
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:478:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘s’
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:470:5: branch_true: following ‘true’ branch (when ‘login’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:471:5: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:471:5: branch_true: following ‘true’ branch (when ‘password’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:474:10: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:474:18: branch_true: following ‘true’ branch (when ‘r’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:475:13: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:475:13: acquire_resource: socket created here
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:476:12: branch_false: following ‘false’ branch (when ‘s >= 0’)...
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:478:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:478:13: throw: if ‘connect’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/auth_rimap.c:478:13: danger: ‘s’ leaks here
Error: COMPILER_WARNING (CWE-704): [#def151]
cyrus-sasl-2.1.28/saslauthd/cache.c: scope_hint: In function ‘cache_lookup’
cyrus-sasl-2.1.28/saslauthd/cache.c:215:44: warning[-Wdiscarded-qualifiers]: passing argument 2 of ‘_saslauthd_MD5Update’ discards ‘const’ qualifier from pointer target type
cyrus-sasl-2.1.28/saslauthd/cache.c:58: included_from: Included from here.
cyrus-sasl-2.1.28/saslauthd/saslauthd_md5.h:33:39: note: expected ‘unsigned char *’ but argument is of type ‘const char *’
Error: COMPILER_WARNING (CWE-704): [#def152]
cyrus-sasl-2.1.28/saslauthd/cache.c:215:44: warning[-Wdiscarded-qualifiers]: passing argument 2 of ‘_saslauthd_MD5Update’ discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-563): [#def153]
cyrus-sasl-2.1.28/saslauthd/krbtf.c: scope_hint: In function ‘krbtf_name’
cyrus-sasl-2.1.28/saslauthd/krbtf.c:153:9: warning[-Wunused-parameter]: unused parameter ‘tfname’
Error: COMPILER_WARNING (CWE-563): [#def154]
cyrus-sasl-2.1.28/saslauthd/krbtf.c:154:7: warning[-Wunused-parameter]: unused parameter ‘len’
Error: COMPILER_WARNING: [#def155]
cyrus-sasl-2.1.28/saslauthd/lak.c: scope_hint: In function ‘lak_config_read’
cyrus-sasl-2.1.28/saslauthd/lak.c:150:13: warning[-Wunused-but-set-variable=]: variable ‘lineno’ set but not used
Error: COMPILER_WARNING (CWE-704): [#def156]
cyrus-sasl-2.1.28/saslauthd/lak.c: scope_hint: In function ‘lak_expand_tokens’
cyrus-sasl-2.1.28/saslauthd/lak.c:620:46: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def157]
cyrus-sasl-2.1.28/saslauthd/lak.c:620:46: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def158]
cyrus-sasl-2.1.28/saslauthd/lak.c:639:46: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def159]
cyrus-sasl-2.1.28/saslauthd/lak.c:639:46: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def160]
cyrus-sasl-2.1.28/saslauthd/lak.c:656:46: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def161]
cyrus-sasl-2.1.28/saslauthd/lak.c:656:46: warning[-Wdiscarded-qualifiers]: assignment discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-401): [#def162]
cyrus-sasl-2.1.28/saslauthd/lak.c:774:22: warning[-Wanalyzer-malloc-leak]: leak of ‘lu’
cyrus-sasl-2.1.28/saslauthd/lak.c:1492:12: enter_function: entry to ‘lak_auth_fastbind’
cyrus-sasl-2.1.28/saslauthd/lak.c:1506:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/lak.c:1507:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/lak.c:1508:20: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/lak.c:1525:17: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/lak.c:1520:14: call_function: calling ‘lak_user’ from ‘lak_auth_fastbind’
cyrus-sasl-2.1.28/saslauthd/lak.c:1520:14: return_function: returning to ‘lak_auth_fastbind’ from ‘lak_user’
cyrus-sasl-2.1.28/saslauthd/lak.c:1528:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/lak.c:1531:14: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/lak.c:1531:14: call_function: calling ‘lak_bind’ from ‘lak_auth_fastbind’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def163]
cyrus-sasl-2.1.28/saslauthd/lak.c:776:25: warning[-Wanalyzer-malloc-leak]: leak of ‘lu’
cyrus-sasl-2.1.28/saslauthd/lak.c:1492:12: enter_function: entry to ‘lak_auth_fastbind’
cyrus-sasl-2.1.28/saslauthd/lak.c:1506:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/lak.c:1507:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/lak.c:1508:20: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/lak.c:1525:17: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/lak.c:1520:14: call_function: calling ‘lak_user’ from ‘lak_auth_fastbind’
cyrus-sasl-2.1.28/saslauthd/lak.c:1520:14: return_function: returning to ‘lak_auth_fastbind’ from ‘lak_user’
cyrus-sasl-2.1.28/saslauthd/lak.c:1528:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/lak.c:1531:14: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/lak.c:1531:14: call_function: calling ‘lak_bind’ from ‘lak_auth_fastbind’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def164]
cyrus-sasl-2.1.28/saslauthd/lak.c:781:22: warning[-Wanalyzer-malloc-leak]: leak of ‘lu’
cyrus-sasl-2.1.28/saslauthd/lak.c:1492:12: enter_function: entry to ‘lak_auth_fastbind’
cyrus-sasl-2.1.28/saslauthd/lak.c:1506:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/lak.c:1507:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/lak.c:1508:20: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/lak.c:1525:17: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/lak.c:1520:14: call_function: calling ‘lak_user’ from ‘lak_auth_fastbind’
cyrus-sasl-2.1.28/saslauthd/lak.c:1520:14: return_function: returning to ‘lak_auth_fastbind’ from ‘lak_user’
cyrus-sasl-2.1.28/saslauthd/lak.c:1528:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/lak.c:1531:14: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/lak.c:1531:14: call_function: calling ‘lak_bind’ from ‘lak_auth_fastbind’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def165]
cyrus-sasl-2.1.28/saslauthd/lak.c:783:25: warning[-Wanalyzer-malloc-leak]: leak of ‘lu’
cyrus-sasl-2.1.28/saslauthd/lak.c:1492:12: enter_function: entry to ‘lak_auth_fastbind’
cyrus-sasl-2.1.28/saslauthd/lak.c:1506:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/lak.c:1507:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/lak.c:1508:20: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/lak.c:1525:17: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/lak.c:1520:14: call_function: calling ‘lak_user’ from ‘lak_auth_fastbind’
cyrus-sasl-2.1.28/saslauthd/lak.c:1520:14: return_function: returning to ‘lak_auth_fastbind’ from ‘lak_user’
cyrus-sasl-2.1.28/saslauthd/lak.c:1528:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/lak.c:1531:14: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/lak.c:1531:14: call_function: calling ‘lak_bind’ from ‘lak_auth_fastbind’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def166]
cyrus-sasl-2.1.28/saslauthd/lak.c:1130:17: warning[-Wanalyzer-malloc-leak]: leak of ‘lu’
cyrus-sasl-2.1.28/saslauthd/lak.c:1492:12: enter_function: entry to ‘lak_auth_fastbind’
cyrus-sasl-2.1.28/saslauthd/lak.c:1506:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/lak.c:1507:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/lak.c:1508:20: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/lak.c:1525:17: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/lak.c:1520:14: call_function: calling ‘lak_user’ from ‘lak_auth_fastbind’
cyrus-sasl-2.1.28/saslauthd/lak.c:1520:14: return_function: returning to ‘lak_auth_fastbind’ from ‘lak_user’
cyrus-sasl-2.1.28/saslauthd/lak.c:1528:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/lak.c:1531:14: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/lak.c:1531:14: call_function: calling ‘lak_bind’ from ‘lak_auth_fastbind’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def167]
cyrus-sasl-2.1.28/saslauthd/lak.c:1702:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*lres.value’
cyrus-sasl-2.1.28/saslauthd/lak.c:1652:12: enter_function: entry to ‘lak_result_add’
cyrus-sasl-2.1.28/saslauthd/lak.c:1660:12: branch_false: following ‘false’ branch (when ‘lres’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/lak.c:1664:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/lak.c:1667:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/lak.c:1668:17: call_function: inlined call to ‘lak_result_free’ from ‘lak_result_add’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def168]
cyrus-sasl-2.1.28/saslauthd/lak.c:1764:9: warning[-Wanalyzer-malloc-leak]: leak of ‘text’
cyrus-sasl-2.1.28/saslauthd/lak.c:1755:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/lak.c:1758:33: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/lak.c:1758:24: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/lak.c:1759:12: branch_false: following ‘false’ branch (when ‘text’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/lak.c:1764:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/lak.c:1764:9: throw: if ‘EVP_DecodeInit’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/lak.c:1764:9: danger: ‘text’ leaks here; was allocated at [(3)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def169]
cyrus-sasl-2.1.28/saslauthd/lak.c:1765:14: warning[-Wanalyzer-malloc-leak]: leak of ‘text’
cyrus-sasl-2.1.28/saslauthd/lak.c:1755:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/lak.c:1758:33: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/lak.c:1758:24: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/lak.c:1759:12: branch_false: following ‘false’ branch (when ‘text’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/lak.c:1764:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/lak.c:1765:14: throw: if ‘EVP_DecodeUpdate’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/lak.c:1765:14: danger: ‘text’ leaks here; was allocated at [(3)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING (CWE-704): [#def170]
cyrus-sasl-2.1.28/saslauthd/md5.c: scope_hint: In function ‘_saslauthd_hmac_md5_init’
cyrus-sasl-2.1.28/saslauthd/md5.c:362:23: warning[-Wdiscarded-qualifiers]: passing argument 2 of ‘MD5_memcpy’ discards ‘const’ qualifier from pointer target type
cyrus-sasl-2.1.28/saslauthd/md5.c:304:49: note: expected ‘POINTER’ {aka ‘unsigned char *’} but argument is of type ‘const unsigned char *’
Error: COMPILER_WARNING (CWE-704): [#def171]
cyrus-sasl-2.1.28/saslauthd/md5.c:362:23: warning[-Wdiscarded-qualifiers]: passing argument 2 of ‘MD5_memcpy’ discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def172]
cyrus-sasl-2.1.28/saslauthd/md5.c:363:23: warning[-Wdiscarded-qualifiers]: passing argument 2 of ‘MD5_memcpy’ discards ‘const’ qualifier from pointer target type
cyrus-sasl-2.1.28/saslauthd/md5.c:304:49: note: expected ‘POINTER’ {aka ‘unsigned char *’} but argument is of type ‘const unsigned char *’
Error: COMPILER_WARNING (CWE-704): [#def173]
cyrus-sasl-2.1.28/saslauthd/md5.c:363:23: warning[-Wdiscarded-qualifiers]: passing argument 2 of ‘MD5_memcpy’ discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING: [#def174]
cyrus-sasl-2.1.28/saslauthd/md5.c: scope_hint: In function ‘_saslauthd_hmac_md5’
cyrus-sasl-2.1.28/saslauthd/md5.c:433:6: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING: [#def175]
cyrus-sasl-2.1.28/saslauthd/md5.c:433:6: warning[-Wold-style-definition]: old-style function definition
Error: COMPILER_WARNING (CWE-704): [#def176]
cyrus-sasl-2.1.28/saslauthd/md5.c:456:33: warning[-Wdiscarded-qualifiers]: passing argument 2 of ‘_saslauthd_MD5Update’ discards ‘const’ qualifier from pointer target type
cyrus-sasl-2.1.28/saslauthd/md5.c:114:61: note: expected ‘unsigned char *’ but argument is of type ‘const unsigned char *’
Error: COMPILER_WARNING (CWE-704): [#def177]
cyrus-sasl-2.1.28/saslauthd/md5.c:456:33: warning[-Wdiscarded-qualifiers]: passing argument 2 of ‘_saslauthd_MD5Update’ discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def178]
cyrus-sasl-2.1.28/saslauthd/md5.c:477:23: warning[-Wdiscarded-qualifiers]: passing argument 2 of ‘MD5_memcpy’ discards ‘const’ qualifier from pointer target type
cyrus-sasl-2.1.28/saslauthd/md5.c:304:49: note: expected ‘POINTER’ {aka ‘unsigned char *’} but argument is of type ‘const unsigned char *’
Error: COMPILER_WARNING (CWE-704): [#def179]
cyrus-sasl-2.1.28/saslauthd/md5.c:477:23: warning[-Wdiscarded-qualifiers]: passing argument 2 of ‘MD5_memcpy’ discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def180]
cyrus-sasl-2.1.28/saslauthd/md5.c:478:23: warning[-Wdiscarded-qualifiers]: passing argument 2 of ‘MD5_memcpy’ discards ‘const’ qualifier from pointer target type
cyrus-sasl-2.1.28/saslauthd/md5.c:304:49: note: expected ‘POINTER’ {aka ‘unsigned char *’} but argument is of type ‘const unsigned char *’
Error: COMPILER_WARNING (CWE-704): [#def181]
cyrus-sasl-2.1.28/saslauthd/md5.c:478:23: warning[-Wdiscarded-qualifiers]: passing argument 2 of ‘MD5_memcpy’ discards ‘const’ qualifier from pointer target type
Error: COMPILER_WARNING (CWE-704): [#def182]
cyrus-sasl-2.1.28/saslauthd/md5.c:492:34: warning[-Wdiscarded-qualifiers]: passing argument 2 of ‘_saslauthd_MD5Update’ discards ‘const’ qualifier from pointer target type
cyrus-sasl-2.1.28/saslauthd/md5.c:114:61: note: expected ‘unsigned char *’ but argument is of type ‘const unsigned char *’
Error: COMPILER_WARNING (CWE-704): [#def183]
cyrus-sasl-2.1.28/saslauthd/md5.c:492:34: warning[-Wdiscarded-qualifiers]: passing argument 2 of ‘_saslauthd_MD5Update’ discards ‘const’ qualifier from pointer target type
Error: GCC_ANALYZER_WARNING (CWE-401): [#def184]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:224:33: warning[-Wanalyzer-malloc-leak]: leak of ‘auth_mech_name’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:177:35: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:224:33: throw: if ‘cache_set_table_size’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:224:33: danger: ‘auth_mech_name’ leaks here; was allocated at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def185]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:228:33: warning[-Wanalyzer-malloc-leak]: leak of ‘auth_mech_name’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:177:35: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:228:33: throw: if ‘cache_set_timeout’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:228:33: danger: ‘auth_mech_name’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def186]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:256:17: warning[-Wanalyzer-malloc-leak]: leak of ‘auth_mech_name’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:177:35: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_false: following ‘false’ branch (when ‘option == -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:245:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:248:12: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:255:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:255:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:256:17: throw: if ‘logger’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:256:17: danger: ‘auth_mech_name’ leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def187]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:257:17: warning[-Wanalyzer-malloc-leak]: leak of ‘auth_mech_name’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:177:35: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_false: following ‘false’ branch (when ‘option == -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:245:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:248:12: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:255:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:255:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:257:17: throw: if ‘logger’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:257:17: danger: ‘auth_mech_name’ leaks here; was allocated at [(5)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def188]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:258:17: warning[-Wanalyzer-malloc-leak]: leak of ‘auth_mech_name’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:177:35: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_false: following ‘false’ branch (when ‘option == -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:245:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:248:12: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:255:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:255:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:258:17: throw: if ‘logger’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:258:17: danger: ‘auth_mech_name’ leaks here; was allocated at [(5)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def189]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:265:17: warning[-Wanalyzer-malloc-leak]: leak of ‘auth_mech_name’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:150:5: enter_function: entry to ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:177:35: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_false: following ‘false’ branch (when ‘option == -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:245:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:248:12: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:255:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: call_function: calling ‘set_auth_mech’ from ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: return_function: returning to ‘main’ from ‘set_auth_mech’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:264:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:265:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:265:17: throw: if ‘logger’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:265:17: danger: ‘auth_mech_name’ leaks here; was allocated at [(6)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def190]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:268:25: warning[-Wanalyzer-malloc-leak]: leak of ‘auth_mech_name’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:150:5: enter_function: entry to ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:177:35: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_false: following ‘false’ branch (when ‘option == -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:245:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:248:12: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:255:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: call_function: calling ‘set_auth_mech’ from ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: return_function: returning to ‘main’ from ‘set_auth_mech’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:264:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:265:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:267:20: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:268:25: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:268:25: throw: if ‘logger’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:268:25: danger: ‘auth_mech_name’ leaks here; was allocated at [(6)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def191]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:270:25: warning[-Wanalyzer-malloc-leak]: leak of ‘auth_mech_name’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:150:5: enter_function: entry to ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:177:35: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_false: following ‘false’ branch (when ‘option == -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:245:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:248:12: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:255:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: call_function: calling ‘set_auth_mech’ from ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: return_function: returning to ‘main’ from ‘set_auth_mech’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:264:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:265:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:267:20: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:270:25: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:270:25: throw: if ‘logger’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:270:25: danger: ‘auth_mech_name’ leaks here; was allocated at [(6)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def192]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:272:17: warning[-Wanalyzer-malloc-leak]: leak of ‘auth_mech_name’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:150:5: enter_function: entry to ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:177:35: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_false: following ‘false’ branch (when ‘option == -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:245:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:248:12: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:255:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: call_function: calling ‘set_auth_mech’ from ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: return_function: returning to ‘main’ from ‘set_auth_mech’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:264:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:265:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:267:20: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:268:25: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:272:17: throw: if ‘logger’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:272:17: danger: ‘auth_mech_name’ leaks here; was allocated at [(6)](sarif:/runs/0/results/8/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def193]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:273:17: warning[-Wanalyzer-malloc-leak]: leak of ‘auth_mech_name’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:150:5: enter_function: entry to ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:177:35: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_false: following ‘false’ branch (when ‘option == -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:245:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:248:12: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:255:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: call_function: calling ‘set_auth_mech’ from ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: return_function: returning to ‘main’ from ‘set_auth_mech’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:264:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:265:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:273:17: throw: if ‘logger’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:273:17: danger: ‘auth_mech_name’ leaks here; was allocated at [(6)](sarif:/runs/0/results/9/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def194]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:283:17: warning[-Wanalyzer-malloc-leak]: leak of ‘auth_mech_name’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:150:5: enter_function: entry to ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:177:35: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_false: following ‘false’ branch (when ‘option == -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:245:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:248:12: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:255:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: call_function: calling ‘set_auth_mech’ from ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: return_function: returning to ‘main’ from ‘set_auth_mech’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:281:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:282:22: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:283:17: throw: if ‘logger’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:283:17: danger: ‘auth_mech_name’ leaks here; was allocated at [(6)](sarif:/runs/0/results/10/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def195]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:284:17: warning[-Wanalyzer-malloc-leak]: leak of ‘auth_mech_name’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:150:5: enter_function: entry to ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:177:35: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_false: following ‘false’ branch (when ‘option == -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:245:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:248:12: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:255:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: call_function: calling ‘set_auth_mech’ from ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: return_function: returning to ‘main’ from ‘set_auth_mech’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:281:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:282:22: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:284:17: throw: if ‘logger’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:284:17: danger: ‘auth_mech_name’ leaks here; was allocated at [(6)](sarif:/runs/0/results/11/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def196]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:285:17: warning[-Wanalyzer-malloc-leak]: leak of ‘auth_mech_name’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:150:5: enter_function: entry to ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:177:35: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_false: following ‘false’ branch (when ‘option == -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:245:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:248:12: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:255:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: call_function: calling ‘set_auth_mech’ from ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: return_function: returning to ‘main’ from ‘set_auth_mech’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:281:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:282:22: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:285:17: throw: if ‘logger’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:285:17: danger: ‘auth_mech_name’ leaks here; was allocated at [(6)](sarif:/runs/0/results/12/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def197]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:286:17: warning[-Wanalyzer-malloc-leak]: leak of ‘auth_mech_name’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:150:5: enter_function: entry to ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:177:35: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_false: following ‘false’ branch (when ‘option == -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:245:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:248:12: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:255:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: call_function: calling ‘set_auth_mech’ from ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: return_function: returning to ‘main’ from ‘set_auth_mech’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:281:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:282:22: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:286:17: throw: if ‘logger’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:286:17: danger: ‘auth_mech_name’ leaks here; was allocated at [(6)](sarif:/runs/0/results/13/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def198]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:294:17: warning[-Wanalyzer-malloc-leak]: leak of ‘auth_mech_name’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:150:5: enter_function: entry to ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:177:35: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_false: following ‘false’ branch (when ‘option == -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:245:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:248:12: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:255:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: call_function: calling ‘set_auth_mech’ from ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: return_function: returning to ‘main’ from ‘set_auth_mech’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:281:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:290:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:293:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:294:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:294:17: throw: if ‘logger’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:294:17: danger: ‘auth_mech_name’ leaks here; was allocated at [(6)](sarif:/runs/0/results/14/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def199]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:301:33: warning[-Wanalyzer-malloc-leak]: leak of ‘auth_mech_name’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:150:5: enter_function: entry to ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:177:35: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_false: following ‘false’ branch (when ‘option == -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:245:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:248:12: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:255:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: call_function: calling ‘set_auth_mech’ from ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: return_function: returning to ‘main’ from ‘set_auth_mech’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:281:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:290:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:293:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:298:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:301:33: throw: if ‘open’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:301:33: danger: ‘auth_mech_name’ leaks here; was allocated at [(6)](sarif:/runs/0/results/15/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def200]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:303:17: warning[-Wanalyzer-malloc-leak]: leak of ‘auth_mech_name’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:150:5: enter_function: entry to ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:177:35: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_false: following ‘false’ branch (when ‘option == -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:245:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:248:12: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:255:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: call_function: calling ‘set_auth_mech’ from ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: return_function: returning to ‘main’ from ‘set_auth_mech’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:281:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:290:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:293:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:298:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:301:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:302:22: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:303:17: throw: if ‘logger’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:303:17: danger: ‘auth_mech_name’ leaks here; was allocated at [(6)](sarif:/runs/0/results/16/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def201]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:304:17: warning[-Wanalyzer-malloc-leak]: leak of ‘auth_mech_name’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:150:5: enter_function: entry to ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:177:35: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_false: following ‘false’ branch (when ‘option == -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:245:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:248:12: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:255:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: call_function: calling ‘set_auth_mech’ from ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: return_function: returning to ‘main’ from ‘set_auth_mech’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:281:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:290:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:293:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:298:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:301:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:302:22: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:304:17: throw: if ‘logger’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:304:17: danger: ‘auth_mech_name’ leaks here; was allocated at [(6)](sarif:/runs/0/results/17/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def202]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:305:17: warning[-Wanalyzer-malloc-leak]: leak of ‘auth_mech_name’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:150:5: enter_function: entry to ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:177:35: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_false: following ‘false’ branch (when ‘option == -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:245:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:248:12: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:255:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: call_function: calling ‘set_auth_mech’ from ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: return_function: returning to ‘main’ from ‘set_auth_mech’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:281:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:290:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:293:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:298:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:301:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:302:22: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:305:17: throw: if ‘logger’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:305:17: danger: ‘auth_mech_name’ leaks here; was allocated at [(6)](sarif:/runs/0/results/18/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def203]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:307:17: warning[-Wanalyzer-malloc-leak]: leak of ‘auth_mech_name’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:150:5: enter_function: entry to ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:177:35: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_false: following ‘false’ branch (when ‘option == -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:245:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:248:12: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:255:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: call_function: calling ‘set_auth_mech’ from ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: return_function: returning to ‘main’ from ‘set_auth_mech’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:281:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:290:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:293:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:298:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:301:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:302:22: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:307:17: throw: if ‘logger’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:307:17: danger: ‘auth_mech_name’ leaks here; was allocated at [(6)](sarif:/runs/0/results/19/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def204]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:316:13: warning[-Wanalyzer-malloc-leak]: leak of ‘auth_mech_name’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:150:5: enter_function: entry to ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:177:35: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_false: following ‘false’ branch (when ‘option == -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:245:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:248:12: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:255:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: call_function: calling ‘set_auth_mech’ from ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: return_function: returning to ‘main’ from ‘set_auth_mech’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:281:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:290:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:293:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:298:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:301:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:311:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:316:13: throw: if ‘fcntl’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:316:13: danger: ‘auth_mech_name’ leaks here; was allocated at [(6)](sarif:/runs/0/results/20/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def205]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:318:17: warning[-Wanalyzer-malloc-leak]: leak of ‘auth_mech_name’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:150:5: enter_function: entry to ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:177:35: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_false: following ‘false’ branch (when ‘option == -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:245:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:248:12: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:255:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: call_function: calling ‘set_auth_mech’ from ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: return_function: returning to ‘main’ from ‘set_auth_mech’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:281:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:290:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:293:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:298:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:301:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:311:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:316:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:317:22: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:318:17: throw: if ‘logger’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:318:17: danger: ‘auth_mech_name’ leaks here; was allocated at [(6)](sarif:/runs/0/results/21/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def206]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:319:17: warning[-Wanalyzer-malloc-leak]: leak of ‘auth_mech_name’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:150:5: enter_function: entry to ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:177:35: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_false: following ‘false’ branch (when ‘option == -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:245:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:248:12: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:255:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: call_function: calling ‘set_auth_mech’ from ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: return_function: returning to ‘main’ from ‘set_auth_mech’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:281:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:290:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:293:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:298:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:301:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:311:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:316:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:317:22: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:319:17: throw: if ‘logger’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:319:17: danger: ‘auth_mech_name’ leaks here; was allocated at [(6)](sarif:/runs/0/results/22/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def207]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:324:17: warning[-Wanalyzer-malloc-leak]: leak of ‘auth_mech_name’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:150:5: enter_function: entry to ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:177:35: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_false: following ‘false’ branch (when ‘option == -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:245:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:248:12: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:255:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: call_function: calling ‘set_auth_mech’ from ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: return_function: returning to ‘main’ from ‘set_auth_mech’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:281:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:290:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:293:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:298:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:301:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:311:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:316:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:323:12: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:323:11: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:324:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:324:17: throw: if ‘logger’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:324:17: danger: ‘auth_mech_name’ leaks here; was allocated at [(6)](sarif:/runs/0/results/23/codeFlows/0/threadFlows/0/locations/5)
Error: CPPCHECK_WARNING (CWE-476): [#def208]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:418: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: response
Error: GCC_ANALYZER_WARNING (CWE-688): [#def209]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:418:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘response’ where non-null expected
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:406:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:407:28: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:407:28: acquire_memory: this call could return NULL
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:418:13: danger: argument 1 (‘response’) from [(3)](sarif:/runs/0/results/24/codeFlows/0/threadFlows/0/locations/2) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def210]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:419:17: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:406:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:407:28: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:407:28: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:418:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:419:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:419:17: throw: if ‘cache_commit’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:419:17: danger: ‘response’ leaks here; was allocated at [(3)](sarif:/runs/0/results/25/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def211]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:423:33: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:406:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:407:28: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:407:28: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:418:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:419:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:421:20: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:422:28: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:422:28: branch_true: following ‘true’ branch (when ‘cached != 0’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:423:33: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:423:33: throw: if ‘logger’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:423:33: danger: ‘response’ leaks here; was allocated at [(3)](sarif:/runs/0/results/26/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def212]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:426:33: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:406:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:410:37: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:412:20: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:413:90: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:414:36: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:418:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:419:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:421:20: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:422:28: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:422:28: branch_false: following ‘false’ branch (when ‘cached == 0’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:427:73: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:426:33: throw: if ‘logger’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:426:33: danger: ‘response’ leaks here; was allocated at [(5)](sarif:/runs/0/results/27/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def213]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:433:17: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:406:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:407:28: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:407:28: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:418:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:432:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:432:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:435:25: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:433:17: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:434:57: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:433:17: throw: if ‘logger’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:433:17: danger: ‘response’ leaks here; was allocated at [(3)](sarif:/runs/0/results/28/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def214]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:440:9: warning[-Wanalyzer-malloc-leak]: leak of ‘response’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:406:12: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:407:28: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:407:28: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:418:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:432:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:432:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:440:83: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:440:9: throw: if ‘logger’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:440:9: danger: ‘response’ leaks here; was allocated at [(3)](sarif:/runs/0/results/29/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def215]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:458:17: warning[-Wanalyzer-malloc-leak]: leak of ‘auth_mech_name’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:150:5: enter_function: entry to ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:177:35: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_false: following ‘false’ branch (when ‘option == -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:245:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:248:12: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:255:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: call_function: calling ‘set_auth_mech’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def216]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:463:20: warning[-Wanalyzer-malloc-leak]: leak of ‘auth_mech_name’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:150:5: enter_function: entry to ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:177:35: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_false: following ‘false’ branch (when ‘option == -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:245:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:248:12: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:255:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: call_function: calling ‘set_auth_mech’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def217]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:464:21: warning[-Wanalyzer-malloc-leak]: leak of ‘auth_mech_name’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:150:5: enter_function: entry to ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:177:35: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_false: following ‘false’ branch (when ‘option == -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:245:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:248:12: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:255:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: call_function: calling ‘set_auth_mech’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def218]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:480:17: warning[-Wanalyzer-malloc-leak]: leak of ‘auth_mech_name’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:150:5: enter_function: entry to ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:177:35: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:216:33: call_function: calling ‘set_max_procs’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def219]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:511:17: warning[-Wanalyzer-malloc-leak]: leak of ‘auth_mech_name’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:150:5: enter_function: entry to ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:177:35: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:212:33: call_function: calling ‘set_run_path’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def220]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:519:17: warning[-Wanalyzer-malloc-leak]: leak of ‘auth_mech_name’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:150:5: enter_function: entry to ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:177:35: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:212:33: call_function: calling ‘set_run_path’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def221]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:549:17: warning[-Wanalyzer-malloc-leak]: leak of ‘auth_mech_name’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:150:5: enter_function: entry to ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:177:35: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_false: following ‘false’ branch (when ‘option == -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:245:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:248:12: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:255:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: call_function: calling ‘set_auth_mech’ from ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: return_function: returning to ‘main’ from ‘set_auth_mech’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:281:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:290:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:293:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:298:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:301:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:311:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:316:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:323:12: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:323:11: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:331:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:331:9: call_function: calling ‘signal_setup’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def222]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:550:17: warning[-Wanalyzer-malloc-leak]: leak of ‘auth_mech_name’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:150:5: enter_function: entry to ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:177:35: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_false: following ‘false’ branch (when ‘option == -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:245:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:248:12: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:255:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: call_function: calling ‘set_auth_mech’ from ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: return_function: returning to ‘main’ from ‘set_auth_mech’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:281:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:290:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:293:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:298:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:301:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:311:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:316:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:323:12: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:323:11: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:331:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:331:9: call_function: calling ‘signal_setup’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def223]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:562:17: warning[-Wanalyzer-malloc-leak]: leak of ‘auth_mech_name’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:150:5: enter_function: entry to ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:177:35: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_false: following ‘false’ branch (when ‘option == -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:245:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:248:12: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:255:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: call_function: calling ‘set_auth_mech’ from ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: return_function: returning to ‘main’ from ‘set_auth_mech’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:281:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:290:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:293:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:298:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:301:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:311:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:316:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:323:12: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:323:11: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:331:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:331:9: call_function: calling ‘signal_setup’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def224]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:563:17: warning[-Wanalyzer-malloc-leak]: leak of ‘auth_mech_name’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:150:5: enter_function: entry to ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:177:35: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_false: following ‘false’ branch (when ‘option == -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:245:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:248:12: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:255:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: call_function: calling ‘set_auth_mech’ from ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: return_function: returning to ‘main’ from ‘set_auth_mech’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:281:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:290:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:293:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:298:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:301:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:311:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:316:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:323:12: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:323:11: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:331:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:331:9: call_function: calling ‘signal_setup’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def225]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:575:17: warning[-Wanalyzer-malloc-leak]: leak of ‘auth_mech_name’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:150:5: enter_function: entry to ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:177:35: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_false: following ‘false’ branch (when ‘option == -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:245:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:248:12: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:255:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: call_function: calling ‘set_auth_mech’ from ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: return_function: returning to ‘main’ from ‘set_auth_mech’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:281:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:290:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:293:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:298:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:301:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:311:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:316:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:323:12: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:323:11: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:331:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:331:9: call_function: calling ‘signal_setup’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def226]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:576:17: warning[-Wanalyzer-malloc-leak]: leak of ‘auth_mech_name’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:150:5: enter_function: entry to ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:177:35: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_false: following ‘false’ branch (when ‘option == -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:245:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:248:12: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:255:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: call_function: calling ‘set_auth_mech’ from ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: return_function: returning to ‘main’ from ‘set_auth_mech’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:281:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:290:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:293:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:298:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:301:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:311:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:316:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:323:12: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:323:11: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:331:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:331:9: call_function: calling ‘signal_setup’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def227]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:588:17: warning[-Wanalyzer-malloc-leak]: leak of ‘auth_mech_name’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:150:5: enter_function: entry to ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:177:35: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_false: following ‘false’ branch (when ‘option == -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:245:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:248:12: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:255:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: call_function: calling ‘set_auth_mech’ from ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: return_function: returning to ‘main’ from ‘set_auth_mech’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:281:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:290:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:293:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:298:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:301:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:311:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:316:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:323:12: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:323:11: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:331:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:331:9: call_function: calling ‘signal_setup’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def228]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:589:17: warning[-Wanalyzer-malloc-leak]: leak of ‘auth_mech_name’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:150:5: enter_function: entry to ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_true: following ‘true’ branch (when ‘option != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:174:17: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:177:35: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:182:50: acquire_memory: allocated here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:183:36: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:173:16: branch_false: following ‘false’ branch (when ‘option == -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:245:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:248:12: branch_false: following ‘false’ branch (when ‘auth_mech_name’ is non-NULL)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:255:13: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: call_function: calling ‘set_auth_mech’ from ‘main’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:262:9: return_function: returning to ‘main’ from ‘set_auth_mech’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:281:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:290:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:293:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:298:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:301:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:311:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:316:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:323:12: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:323:11: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:331:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:331:9: call_function: calling ‘signal_setup’ from ‘main’
Error: COMPILER_WARNING (CWE-252): [#def229]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c: scope_hint: In function ‘detach_tty’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:701:13: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def230]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:714:13: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING: [#def231]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:728:9: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘0’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:641:8: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:641:8: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:642:18: branch_true: following ‘true’ branch (when ‘x != 0’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:643:19: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:655:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:662:19: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:662:19: branch_false: following ‘false’ branch (when ‘pid == 0’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:689:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:693:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:706:24: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:706:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:722:15: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:724:9: release_resource: closed here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:728:9: danger: ‘0’ could be invalid
Error: GCC_ANALYZER_WARNING: [#def232]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:729:9: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘1’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:641:8: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:641:8: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:642:18: branch_true: following ‘true’ branch (when ‘x != 0’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:643:19: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:655:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:662:19: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:662:19: branch_false: following ‘false’ branch (when ‘pid == 0’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:689:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:693:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:706:24: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:706:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:722:15: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:725:9: release_resource: closed here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:729:9: danger: ‘1’ could be invalid
Error: GCC_ANALYZER_WARNING: [#def233]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:730:9: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘2’
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:641:8: branch_true: following ‘true’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:641:8: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:642:18: branch_true: following ‘true’ branch (when ‘x != 0’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:643:19: branch_true: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:655:12: branch_false: following ‘false’ branch (when ‘pid != -1’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:662:19: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:662:19: branch_false: following ‘false’ branch (when ‘pid == 0’)...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:689:9: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:693:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:706:24: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:706:12: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:722:15: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:726:9: release_resource: closed here
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:730:9: danger: ‘2’ could be invalid
Error: COMPILER_WARNING (CWE-252): [#def234]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:742:13: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def235]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:759:13: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def236]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:778:17: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def237]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:795:21: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-252): [#def238]
cyrus-sasl-2.1.28/saslauthd/saslauthd-main.c:812:21: warning[-Wunused-result]: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def239]
cyrus-sasl-2.1.28/saslauthd/testsaslauthd.c:192:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘s’
cyrus-sasl-2.1.28/saslauthd/testsaslauthd.c:116:7: branch_false: following ‘false’ branch...
cyrus-sasl-2.1.28/saslauthd/testsaslauthd.c:118:8: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/testsaslauthd.c:182:9: acquire_resource: stream socket created here
cyrus-sasl-2.1.28/saslauthd/testsaslauthd.c:183:8: branch_false: following ‘false’ branch (when ‘s != -1’)...
cyrus-sasl-2.1.28/saslauthd/testsaslauthd.c:188:5: branch_false: ...to here
cyrus-sasl-2.1.28/saslauthd/testsaslauthd.c:192:9: throw: if ‘connect’ throws an exception...
cyrus-sasl-2.1.28/saslauthd/testsaslauthd.c:192:9: danger: ‘s’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def240]
cyrus-sasl-2.1.28/tests/t_gssapi_cli.c:33:11: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
cyrus-sasl-2.1.28/tests/t_gssapi_cli.c:26:12: acquire_resource: stream socket created here
cyrus-sasl-2.1.28/tests/t_gssapi_cli.c:27:8: branch_false: following ‘false’ branch (when ‘sock >= 0’)...
cyrus-sasl-2.1.28/tests/t_gssapi_cli.c:29:5: branch_false: ...to here
cyrus-sasl-2.1.28/tests/t_gssapi_cli.c:33:11: throw: if ‘connect’ throws an exception...
cyrus-sasl-2.1.28/tests/t_gssapi_cli.c:33:11: danger: ‘sock’ leaks here
Error: CPPCHECK_WARNING (CWE-401): [#def241]
cyrus-sasl-2.1.28/tests/t_gssapi_cli.c:77: error[memleakOnRealloc]: Common realloc mistake: 'x' nulled but not freed upon failure
Error: COMPILER_WARNING (CWE-843): [#def242]
cyrus-sasl-2.1.28/tests/t_gssapi_cli.c: scope_hint: In function ‘main’
cyrus-sasl-2.1.28/tests/t_gssapi_cli.c:129:25: warning[-Wcast-function-type]: cast between incompatible function types from ‘int (*)(void *, const char **)’ to ‘int (*)(void)’
Error: COMPILER_WARNING (CWE-843): [#def243]
cyrus-sasl-2.1.28/tests/t_gssapi_cli.c:145:29: warning[-Wcast-function-type]: cast between incompatible function types from ‘int (*)(void *, int, const char **, unsigned int *)’ to ‘int (*)(void)’
Error: COMPILER_WARNING (CWE-843): [#def244]
cyrus-sasl-2.1.28/tests/t_gssapi_cli.c:148:29: warning[-Wcast-function-type]: cast between incompatible function types from ‘int (*)(sasl_conn_t *, void *, int, sasl_secret_t **)’ {aka ‘int (*)(struct sasl_conn *, void *, int, struct sasl_secret **)’} to ‘int (*)(void)’
Error: GCC_ANALYZER_WARNING: [#def245]
cyrus-sasl-2.1.28/tests/t_gssapi_srv.c:38:11: warning[-Wanalyzer-fd-use-without-check]: ‘listen’ on possibly invalid file descriptor ‘sock’
cyrus-sasl-2.1.28/tests/t_gssapi_srv.c:29:8: branch_true: following ‘true’ branch (when ‘sock < 0’)...
cyrus-sasl-2.1.28/tests/t_gssapi_srv.c:29:43: branch_true: ...to here
cyrus-sasl-2.1.28/tests/t_gssapi_srv.c:38:11: danger: ‘sock’ could be invalid
Error: GCC_ANALYZER_WARNING (CWE-775): [#def246]
cyrus-sasl-2.1.28/tests/t_gssapi_srv.c:39:19: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
cyrus-sasl-2.1.28/tests/t_gssapi_srv.c:28:12: acquire_resource: stream socket created here
cyrus-sasl-2.1.28/tests/t_gssapi_srv.c:29:8: branch_false: following ‘false’ branch (when ‘sock >= 0’)...
cyrus-sasl-2.1.28/tests/t_gssapi_srv.c:31:5: branch_false: ...to here
cyrus-sasl-2.1.28/tests/t_gssapi_srv.c:39:8: branch_true: following ‘true’ branch (when ‘ret != 0’)...
cyrus-sasl-2.1.28/tests/t_gssapi_srv.c:39:43: branch_true: ...to here
cyrus-sasl-2.1.28/tests/t_gssapi_srv.c:39:19: throw: if ‘s_error’ throws an exception...
cyrus-sasl-2.1.28/tests/t_gssapi_srv.c:39:19: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def247]
cyrus-sasl-2.1.28/tests/t_gssapi_srv.c:43:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
cyrus-sasl-2.1.28/tests/t_gssapi_srv.c:28:12: acquire_resource: stream socket created here
cyrus-sasl-2.1.28/tests/t_gssapi_srv.c:29:8: branch_false: following ‘false’ branch (when ‘sock >= 0’)...
cyrus-sasl-2.1.28/tests/t_gssapi_srv.c:31:5: branch_false: ...to here
cyrus-sasl-2.1.28/tests/t_gssapi_srv.c:39:8: branch_false: following ‘false’ branch (when ‘ret == 0’)...
cyrus-sasl-2.1.28/tests/t_gssapi_srv.c:42:5: branch_false: ...to here
cyrus-sasl-2.1.28/tests/t_gssapi_srv.c:43:5: throw: if ‘fflush’ throws an exception...
cyrus-sasl-2.1.28/tests/t_gssapi_srv.c:43:5: danger: ‘sock’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def248]
cyrus-sasl-2.1.28/tests/t_gssapi_srv.c:46:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘sock’
cyrus-sasl-2.1.28/tests/t_gssapi_srv.c:28:12: acquire_resource: stream socket created here
cyrus-sasl-2.1.28/tests/t_gssapi_srv.c:29:8: branch_false: following ‘false’ branch (when ‘sock >= 0’)...
cyrus-sasl-2.1.28/tests/t_gssapi_srv.c:31:5: branch_false: ...to here
cyrus-sasl-2.1.28/tests/t_gssapi_srv.c:39:8: branch_false: following ‘false’ branch (when ‘ret == 0’)...
cyrus-sasl-2.1.28/tests/t_gssapi_srv.c:42:5: branch_false: ...to here
cyrus-sasl-2.1.28/tests/t_gssapi_srv.c:46:10: throw: if ‘accept’ throws an exception...
cyrus-sasl-2.1.28/tests/t_gssapi_srv.c:46:10: danger: ‘sock’ leaks here
Error: COMPILER_WARNING (CWE-681): [#def249]
cyrus-sasl-2.1.28/tests/t_gssapi_srv.c: scope_hint: In function ‘main’
cyrus-sasl-2.1.28/tests/t_gssapi_srv.c:101:27: warning[-Wpointer-sign]: pointer targets in passing argument 2 of ‘parse_cb’ differ in signedness
cyrus-sasl-2.1.28/tests/t_gssapi_srv.c:5: included_from: Included from here.
cyrus-sasl-2.1.28/tests/t_common.h:19:49: note: expected ‘char *’ but argument is of type ‘unsigned char *’
Error: COMPILER_WARNING (CWE-843): [#def250]
cyrus-sasl-2.1.28/tests/t_gssapi_srv.c:120:25: warning[-Wcast-function-type]: cast between incompatible function types from ‘int (*)(void *, const char **)’ to ‘int (*)(void)’
Error: COMPILER_WARNING (CWE-843): [#def251]
cyrus-sasl-2.1.28/tests/t_gssapi_srv.c:123:25: warning[-Wcast-function-type]: cast between incompatible function types from ‘int (*)(void *, const char *, const char *, const char **, unsigned int *)’ to ‘int (*)(void)’
Error: COMPILER_WARNING (CWE-843): [#def252]
cyrus-sasl-2.1.28/utils/cyrusbdb2current.c:211:23: warning[-Wcast-function-type]: cast between incompatible function types from ‘int (*)(void *, const char *, const char *, const char **, unsigned int *)’ to ‘int (*)(void)’
Error: COMPILER_WARNING (CWE-843): [#def253]
cyrus-sasl-2.1.28/utils/cyrusbdb2current.c: scope_hint: In function ‘main’
cyrus-sasl-2.1.28/utils/cyrusbdb2current.c:276:19: warning[-Wcast-function-type]: cast between incompatible function types from ‘void (*)(const char *, const char *, const char *, const char *, unsigned int)’ to ‘void * (*)(const char *, const char *, const char *, const char *, unsigned int)’
Error: COMPILER_WARNING (CWE-843): [#def254]
cyrus-sasl-2.1.28/utils/dbconverter-2.c:382:23: warning[-Wcast-function-type]: cast between incompatible function types from ‘int (*)(void *, const char *, const char *, const char **, unsigned int *)’ to ‘int (*)(void)’
Error: COMPILER_WARNING (CWE-843): [#def255]
cyrus-sasl-2.1.28/utils/dbconverter-2.c: scope_hint: In function ‘main’
cyrus-sasl-2.1.28/utils/dbconverter-2.c:431:19: warning[-Wcast-function-type]: cast between incompatible function types from ‘void (*)(const char *, const char *, const char *, const char *, unsigned int)’ to ‘void * (*)(const char *, const char *, const char *, const char *, unsigned int)’
Error: COMPILER_WARNING (CWE-843): [#def256]
cyrus-sasl-2.1.28/utils/pluginviewer.c: scope_hint: In function ‘main’
cyrus-sasl-2.1.28/utils/pluginviewer.c:559:22: warning[-Wcast-function-type]: cast between incompatible function types from ‘int (*)(void *, int, const char *)’ to ‘int (*)(void)’
Error: COMPILER_WARNING (CWE-843): [#def257]
cyrus-sasl-2.1.28/utils/pluginviewer.c:566:26: warning[-Wcast-function-type]: cast between incompatible function types from ‘int (*)(void *, const char **)’ to ‘int (*)(void)’
Error: COMPILER_WARNING (CWE-843): [#def258]
cyrus-sasl-2.1.28/utils/pluginviewer.c:575:22: warning[-Wcast-function-type]: cast between incompatible function types from ‘int (*)(void *, const char *, const char *, const char **, unsigned int *)’ to ‘int (*)(void)’
Error: COMPILER_WARNING (CWE-843): [#def259]
cyrus-sasl-2.1.28/utils/sasldblistusers.c:91:23: warning[-Wcast-function-type]: cast between incompatible function types from ‘int (*)(void *, const char *, const char *, const char **, unsigned int *)’ to ‘int (*)(void)’
Error: COMPILER_WARNING (CWE-843): [#def260]
cyrus-sasl-2.1.28/utils/saslpasswd.c:256:23: warning[-Wcast-function-type]: cast between incompatible function types from ‘int (*)(void *, const char *, const char *, const char **, unsigned int *)’ to ‘int (*)(void)’
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-245.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 | cyrus-sasl-2.1.28-33.fc44 |
| store-results-to | /tmp/tmpmd45ap0n/cyrus-sasl-2.1.28-33.fc44.tar.xz |
| time-created | 2026-01-08 15:46:56 |
| time-finished | 2026-01-08 15:49:08 |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpmd45ap0n/cyrus-sasl-2.1.28-33.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpmd45ap0n/cyrus-sasl-2.1.28-33.fc44.src.rpm' |
| tool-version | csmock-3.8.3.20251215.161544.g62de9a5-1.el9 |