samba-4.22.1-1.fc43
List of Findings
Error: SHELLCHECK_WARNING (CWE-457): [#def1]
/usr/bin/smbprint:50:21: warning[SC2154]: acct_file is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-156): [#def2]
/usr/bin/smbprint:59:6: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-457): [#def3]
/usr/bin/smbprint:63:7: warning[SC2154]: user is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def4]
/usr/bin/smbprint:69:7: warning[SC2154]: workgroup is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def5]
/usr/bin/smbprint:75:7: warning[SC2154]: translate is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-457): [#def6]
/usr/bin/smbprint:82:36: warning[SC2154]: password is referenced but not assigned.
Error: SHELLCHECK_WARNING (CWE-156): [#def7]
/usr/bin/smbtar:160:7: warning[SC2046]: Quote this to prevent word splitting.
Error: SHELLCHECK_WARNING (CWE-398): [#def8]
/usr/share/doc/samba/LDAP/get_next_oid:3:41: warning[SC2062]: Quote the grep pattern so the shell won't interpret it.
Error: SHELLCHECK_WARNING (CWE-398): [#def9]
/usr/share/doc/samba/LDAP/get_next_oid:10:37: warning[SC2062]: Quote the grep pattern so the shell won't interpret it.
Error: COMPILER_WARNING (CWE-477): [#def10]
samba-4.22.1/auth/gensec/gensec.c: scope_hint: In function ‘gensec_update’
samba-4.22.1/auth/gensec/gensec.c:382:9: warning[-Wdeprecated-declarations]: ‘tevent_loop_allow_nesting’ is deprecated
samba-4.22.1/auth/gensec/gensec.c:26: included_from: Included from here.
/usr/include/tevent.h:2676:6: note: declared here
Error: CPPCHECK_WARNING (CWE-758): [#def11]
samba-4.22.1/bin/.conf_check_d2109d945d1f2aa9fff91249d6a316cc/libdir/liblc1.c:2: error[missingReturn]: Found an exit path from function with non-void return type that has missing return statement
Error: CPPCHECK_WARNING (CWE-404): [#def12]
samba-4.22.1/bin/.conf_check_d2109d945d1f2aa9fff91249d6a316cc/libdir/liblc1.c:2: error[resourceLeak]: Resource leak: f
Error: COMPILER_WARNING (CWE-563): [#def13]
samba-4.22.1/bin/.conf_check_d2109d945d1f2aa9fff91249d6a316cc/libdir/liblc1.c: scope_hint: In function ‘lib_func’
samba-4.22.1/bin/.conf_check_d2109d945d1f2aa9fff91249d6a316cc/libdir/liblc1.c:2:28: warning[-Wunused-variable]: unused variable ‘f’
Error: COMPILER_WARNING (CWE-393): [#def14]
samba-4.22.1/bin/.conf_check_d2109d945d1f2aa9fff91249d6a316cc/libdir/liblc1.c:2:50: warning[-Wreturn-type]: control reaches end of non-void function
Error: GCC_ANALYZER_WARNING (CWE-476): [#def15]
samba-4.22.1/bin/default/../../auth/gensec/gensec.c:201:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘gensec_security’
samba-4.22.1/bin/default/../../auth/gensec/gensec.c:216:13: enter_function: entry to ‘log_successful_gensec_authz_event’
samba-4.22.1/bin/default/../../auth/gensec/gensec.c:220:19: call_function: calling ‘gensec_get_remote_address’ from ‘log_successful_gensec_authz_event’
samba-4.22.1/bin/default/../../auth/gensec/gensec.c:220:19: return_function: returning to ‘log_successful_gensec_authz_event’ from ‘gensec_get_remote_address’
samba-4.22.1/bin/default/../../auth/gensec/gensec.c:222:19: call_function: calling ‘gensec_get_local_address’ from ‘log_successful_gensec_authz_event’
samba-4.22.1/bin/default/../../auth/gensec/gensec.c:222:19: return_function: returning to ‘log_successful_gensec_authz_event’ from ‘gensec_get_local_address’
samba-4.22.1/bin/default/../../auth/gensec/gensec.c:226:19: call_function: calling ‘gensec_final_auth_type’ from ‘log_successful_gensec_authz_event’
Error: COMPILER_WARNING (CWE-477): [#def16]
samba-4.22.1/bin/default/../../auth/gensec/gensec.c:382:9: warning[-Wdeprecated-declarations]: ‘tevent_loop_allow_nesting’ is deprecated
Error: GCC_ANALYZER_WARNING (CWE-476): [#def17]
samba-4.22.1/bin/default/../../auth/gensec/gensec_start.c:849:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘gensec_security’
samba-4.22.1/bin/default/../../auth/gensec/gensec_start.c:967:19: enter_function: entry to ‘gensec_start_mech_by_sasl_list’
samba-4.22.1/bin/default/../../auth/gensec/gensec_start.c:974:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../auth/gensec/gensec_start.c:977:15: branch_false: ...to here
samba-4.22.1/bin/default/../../auth/gensec/gensec_start.c:977:15: call_function: calling ‘gensec_security_by_sasl_list’ from ‘gensec_start_mech_by_sasl_list’
samba-4.22.1/bin/default/../../auth/gensec/gensec_start.c:977:15: return_function: returning to ‘gensec_start_mech_by_sasl_list’ from ‘gensec_security_by_sasl_list’
samba-4.22.1/bin/default/../../auth/gensec/gensec_start.c:978:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../auth/gensec/gensec_start.c:985:19: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../auth/gensec/gensec_start.c:986:29: branch_true: ...to here
samba-4.22.1/bin/default/../../auth/gensec/gensec_start.c:986:29: call_function: calling ‘gensec_start_mech_by_ops’ from ‘gensec_start_mech_by_sasl_list’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def18]
samba-4.22.1/bin/default/../../auth/gensec/gensec_start.c:954:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘gensec_security’
samba-4.22.1/bin/default/../../auth/gensec/gensec_start.c:951:19: enter_function: entry to ‘gensec_start_mech_by_sasl_name’
samba-4.22.1/bin/default/../../auth/gensec/gensec_start.c:954:32: call_function: calling ‘gensec_security_by_sasl_name’ from ‘gensec_start_mech_by_sasl_name’
samba-4.22.1/bin/default/../../auth/gensec/gensec_start.c:954:32: return_function: returning to ‘gensec_start_mech_by_sasl_name’ from ‘gensec_security_by_sasl_name’
samba-4.22.1/bin/default/../../auth/gensec/gensec_start.c:954:9: danger: dereference of NULL ‘gensec_security’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def19]
samba-4.22.1/bin/default/../../auth/gensec/gensec_start.c:1003:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘gensec_security’
samba-4.22.1/bin/default/../../auth/gensec/gensec_start.c:1000:19: enter_function: entry to ‘gensec_start_mech_by_name’
samba-4.22.1/bin/default/../../auth/gensec/gensec_start.c:1003:32: call_function: calling ‘gensec_security_by_name’ from ‘gensec_start_mech_by_name’
samba-4.22.1/bin/default/../../auth/gensec/gensec_start.c:1003:32: return_function: returning to ‘gensec_start_mech_by_name’ from ‘gensec_security_by_name’
samba-4.22.1/bin/default/../../auth/gensec/gensec_start.c:1003:9: danger: dereference of NULL ‘gensec_security’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def20]
samba-4.22.1/bin/default/../../ctdb/common/system_socket.c:133:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ips_ctx’
samba-4.22.1/bin/default/../../ctdb/common/system_socket.c:196:6: enter_function: entry to ‘ctdb_sys_have_ip’
samba-4.22.1/bin/default/../../ctdb/common/system_socket.c:198:44: release_memory: ‘ips_ctx’ is NULL
samba-4.22.1/bin/default/../../ctdb/common/system_socket.c:202:15: call_function: calling ‘ctdb_sys_local_ips_init’ from ‘ctdb_sys_have_ip’
samba-4.22.1/bin/default/../../ctdb/common/system_socket.c:202:15: return_function: returning to ‘ctdb_sys_have_ip’ from ‘ctdb_sys_local_ips_init’
samba-4.22.1/bin/default/../../ctdb/common/system_socket.c:203:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../ctdb/common/system_socket.c:209:19: branch_false: ...to here
samba-4.22.1/bin/default/../../ctdb/common/system_socket.c:209:19: release_memory: ‘ips_ctx’ is NULL
samba-4.22.1/bin/default/../../ctdb/common/system_socket.c:209:19: call_function: calling ‘ctdb_sys_local_ip_check’ from ‘ctdb_sys_have_ip’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def21]
samba-4.22.1/bin/default/../../ctdb/conf/conf_tool.c:147:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘i_val’
samba-4.22.1/bin/default/../../ctdb/conf/conf_tool.c:85:12: branch_false: following ‘false’ branch (when ‘argc == 2’)...
samba-4.22.1/bin/default/../../ctdb/conf/conf_tool.c:90:9: branch_false: ...to here
samba-4.22.1/bin/default/../../ctdb/conf/conf_tool.c:94:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../ctdb/conf/conf_tool.c:100:15: branch_true: ...to here
samba-4.22.1/bin/default/../../ctdb/conf/conf_tool.c:101:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../ctdb/conf/conf_tool.c:106:9: branch_false: ...to here
samba-4.22.1/bin/default/../../ctdb/conf/conf_tool.c:136:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
samba-4.22.1/bin/default/../../ctdb/conf/conf_tool.c:141:9: branch_false: ...to here
samba-4.22.1/bin/default/../../ctdb/conf/conf_tool.c:147:17: danger: use of uninitialized value ‘i_val’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def22]
samba-4.22.1/bin/default/../../ctdb/conf/conf_tool.c:151:38: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘b_val’
samba-4.22.1/bin/default/../../ctdb/conf/conf_tool.c:85:12: branch_false: following ‘false’ branch (when ‘argc == 2’)...
samba-4.22.1/bin/default/../../ctdb/conf/conf_tool.c:90:9: branch_false: ...to here
samba-4.22.1/bin/default/../../ctdb/conf/conf_tool.c:94:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../ctdb/conf/conf_tool.c:100:15: branch_true: ...to here
samba-4.22.1/bin/default/../../ctdb/conf/conf_tool.c:101:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../ctdb/conf/conf_tool.c:106:9: branch_false: ...to here
samba-4.22.1/bin/default/../../ctdb/conf/conf_tool.c:136:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
samba-4.22.1/bin/default/../../ctdb/conf/conf_tool.c:141:9: branch_false: ...to here
samba-4.22.1/bin/default/../../ctdb/conf/conf_tool.c:151:38: danger: use of uninitialized value ‘b_val’ here
Error: GCC_ANALYZER_WARNING: [#def23]
samba-4.22.1/bin/default/../../ctdb/server/ctdb_cluster_mutex.c:333:17: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘1’
samba-4.22.1/bin/default/../../ctdb/server/ctdb_cluster_mutex.c:270:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../ctdb/server/ctdb_cluster_mutex.c:275:25: branch_false: ...to here
samba-4.22.1/bin/default/../../ctdb/server/ctdb_cluster_mutex.c:281:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
samba-4.22.1/bin/default/../../ctdb/server/ctdb_cluster_mutex.c:286:9: branch_false: ...to here
samba-4.22.1/bin/default/../../ctdb/server/ctdb_cluster_mutex.c:289:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../ctdb/server/ctdb_cluster_mutex.c:296:9: branch_true: ...to here
samba-4.22.1/bin/default/../../ctdb/server/ctdb_cluster_mutex.c:304:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../ctdb/server/ctdb_cluster_mutex.c:315:12: branch_false: ...to here
samba-4.22.1/bin/default/../../ctdb/server/ctdb_cluster_mutex.c:315:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../ctdb/server/ctdb_cluster_mutex.c:316:34: branch_true: ...to here
samba-4.22.1/bin/default/../../ctdb/server/ctdb_cluster_mutex.c:332:17: release_resource: closed here
samba-4.22.1/bin/default/../../ctdb/server/ctdb_cluster_mutex.c:333:17: danger: ‘1’ could be invalid
Error: GCC_ANALYZER_WARNING (CWE-775): [#def24]
samba-4.22.1/bin/default/../../ctdb/server/ctdb_daemon.c:1228:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*ctdb.daemon.sd’
samba-4.22.1/bin/default/../../ctdb/server/ctdb_daemon.c:1185:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../ctdb/server/ctdb_daemon.c:1189:32: branch_false: ...to here
samba-4.22.1/bin/default/../../ctdb/server/ctdb_daemon.c:1191:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../ctdb/server/ctdb_daemon.c:1195:9: branch_true: ...to here
samba-4.22.1/bin/default/../../ctdb/server/ctdb_daemon.c:1198:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../ctdb/server/ctdb_daemon.c:1204:15: branch_false: ...to here
samba-4.22.1/bin/default/../../ctdb/server/ctdb_daemon.c:1205:12: branch_false: following ‘false’ branch (when ‘ret != -1’)...
samba-4.22.1/bin/default/../../ctdb/server/ctdb_daemon.c:1210:12: branch_false: ...to here
samba-4.22.1/bin/default/../../ctdb/server/ctdb_daemon.c:1220:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
samba-4.22.1/bin/default/../../ctdb/server/ctdb_daemon.c:1227:15: branch_false: ...to here
samba-4.22.1/bin/default/../../ctdb/server/ctdb_daemon.c:1228:12: danger: ‘*ctdb.daemon.sd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def25]
samba-4.22.1/bin/default/../../ctdb/server/ctdb_daemon.c:1234:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*ctdb.daemon.sd’
samba-4.22.1/bin/default/../../ctdb/server/ctdb_daemon.c:1185:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../ctdb/server/ctdb_daemon.c:1189:32: branch_false: ...to here
samba-4.22.1/bin/default/../../ctdb/server/ctdb_daemon.c:1191:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../ctdb/server/ctdb_daemon.c:1195:9: branch_true: ...to here
samba-4.22.1/bin/default/../../ctdb/server/ctdb_daemon.c:1198:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../ctdb/server/ctdb_daemon.c:1204:15: branch_false: ...to here
samba-4.22.1/bin/default/../../ctdb/server/ctdb_daemon.c:1205:12: branch_false: following ‘false’ branch (when ‘ret != -1’)...
samba-4.22.1/bin/default/../../ctdb/server/ctdb_daemon.c:1210:12: branch_false: ...to here
samba-4.22.1/bin/default/../../ctdb/server/ctdb_daemon.c:1220:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
samba-4.22.1/bin/default/../../ctdb/server/ctdb_daemon.c:1227:15: branch_false: ...to here
samba-4.22.1/bin/default/../../ctdb/server/ctdb_daemon.c:1228:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
samba-4.22.1/bin/default/../../ctdb/server/ctdb_daemon.c:1234:9: branch_false: ...to here
samba-4.22.1/bin/default/../../ctdb/server/ctdb_daemon.c:1234:9: danger: ‘*ctdb.daemon.sd’ leaks here
Error: COMPILER_WARNING (CWE-477): [#def26]
samba-4.22.1/bin/default/../../ctdb/server/ctdb_daemon.c:1564:9: warning[-Wdeprecated-declarations]: ‘tevent_loop_allow_nesting’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def27]
samba-4.22.1/bin/default/../../ctdb/server/ctdb_daemon.c:2265:9: warning[-Wdeprecated-declarations]: ‘tevent_loop_allow_nesting’ is deprecated
Error: GCC_ANALYZER_WARNING (CWE-775): [#def28]
samba-4.22.1/bin/default/../../ctdb/server/ctdb_lock.c:728:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor
samba-4.22.1/bin/default/../../ctdb/server/ctdb_lock.c:712:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../ctdb/server/ctdb_lock.c:721:20: branch_true: ...to here
samba-4.22.1/bin/default/../../ctdb/server/ctdb_lock.c:722:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../ctdb/server/ctdb_lock.c:726:9: branch_false: ...to here
samba-4.22.1/bin/default/../../ctdb/server/ctdb_lock.c:728:12: danger: leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def29]
samba-4.22.1/bin/default/../../ctdb/server/ctdb_logging.c:132:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
samba-4.22.1/bin/default/../../ctdb/server/ctdb_logging.c:130:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../ctdb/server/ctdb_logging.c:136:22: branch_false: ...to here
samba-4.22.1/bin/default/../../ctdb/server/ctdb_logging.c:132:24: danger: ‘p[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def30]
samba-4.22.1/bin/default/../../ctdb/server/ctdb_logging.c:132:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
samba-4.22.1/bin/default/../../ctdb/server/ctdb_logging.c:130:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../ctdb/server/ctdb_logging.c:136:22: branch_false: ...to here
samba-4.22.1/bin/default/../../ctdb/server/ctdb_logging.c:132:24: danger: ‘p[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def31]
samba-4.22.1/bin/default/../../ctdb/server/ctdb_logging.c:147:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(p[1], 1)’
samba-4.22.1/bin/default/../../ctdb/server/ctdb_logging.c:130:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../ctdb/server/ctdb_logging.c:136:22: branch_false: ...to here
samba-4.22.1/bin/default/../../ctdb/server/ctdb_logging.c:137:12: branch_false: following ‘false’ branch (when ‘old_stdout >= 0’)...
samba-4.22.1/bin/default/../../ctdb/server/ctdb_logging.c:141:22: branch_false: ...to here
samba-4.22.1/bin/default/../../ctdb/server/ctdb_logging.c:142:12: branch_false: following ‘false’ branch (when ‘old_stderr >= 0’)...
samba-4.22.1/bin/default/../../ctdb/server/ctdb_logging.c:147:13: branch_false: ...to here
samba-4.22.1/bin/default/../../ctdb/server/ctdb_logging.c:147:13: acquire_resource: opened here
samba-4.22.1/bin/default/../../ctdb/server/ctdb_logging.c:147:12: danger: ‘dup2(p[1], 1)’ leaks here; was opened at [(8)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def32]
samba-4.22.1/bin/default/../../ctdb/server/ctdb_logging.c:147:13: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(p[1], 2)’
samba-4.22.1/bin/default/../../ctdb/server/ctdb_logging.c:130:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../ctdb/server/ctdb_logging.c:136:22: branch_false: ...to here
samba-4.22.1/bin/default/../../ctdb/server/ctdb_logging.c:137:12: branch_false: following ‘false’ branch (when ‘old_stdout >= 0’)...
samba-4.22.1/bin/default/../../ctdb/server/ctdb_logging.c:141:22: branch_false: ...to here
samba-4.22.1/bin/default/../../ctdb/server/ctdb_logging.c:142:12: branch_false: following ‘false’ branch (when ‘old_stderr >= 0’)...
samba-4.22.1/bin/default/../../ctdb/server/ctdb_logging.c:147:13: branch_false: ...to here
samba-4.22.1/bin/default/../../ctdb/server/ctdb_logging.c:147:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../ctdb/server/ctdb_logging.c:147:46: branch_false: ...to here
samba-4.22.1/bin/default/../../ctdb/server/ctdb_logging.c:147:46: acquire_resource: opened here
samba-4.22.1/bin/default/../../ctdb/server/ctdb_logging.c:147:13: danger: ‘dup2(p[1], 2)’ leaks here; was opened at [(10)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/9)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def33]
samba-4.22.1/bin/default/../../ctdb/server/ctdb_recovery_helper.c:120:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘nlist’
samba-4.22.1/bin/default/../../ctdb/server/ctdb_recovery_helper.c:2540:13: enter_function: entry to ‘recovery_nodemap_verify’
samba-4.22.1/bin/default/../../ctdb/server/ctdb_recovery_helper.c:2560:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../ctdb/server/ctdb_recovery_helper.c:2578:39: branch_true: ...to here
samba-4.22.1/bin/default/../../ctdb/server/ctdb_recovery_helper.c:2579:12: branch_false: following ‘false’ branch...
branch_false: ...to here
samba-4.22.1/bin/default/../../ctdb/server/ctdb_recovery_helper.c:2583:19: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../ctdb/server/ctdb_recovery_helper.c:2584:39: branch_true: ...to here
samba-4.22.1/bin/default/../../ctdb/server/ctdb_recovery_helper.c:2593:20: branch_false: following ‘false’ branch...
branch_false: ...to here
samba-4.22.1/bin/default/../../ctdb/server/ctdb_recovery_helper.c:2609:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../ctdb/server/ctdb_recovery_helper.c:2613:22: branch_false: ...to here
samba-4.22.1/bin/default/../../ctdb/server/ctdb_recovery_helper.c:2613:22: call_function: calling ‘node_list_add’ from ‘recovery_nodemap_verify’
Error: COMPILER_WARNING (CWE-477): [#def34]
samba-4.22.1/bin/default/../../ctdb/server/ctdbd.c:188:9: warning[-Wdeprecated-declarations]: ‘tevent_loop_allow_nesting’ is deprecated
Error: GCC_ANALYZER_WARNING (CWE-476): [#def35]
samba-4.22.1/bin/default/../../ctdb/server/ipalloc_deterministic.c:160:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘hn’
samba-4.22.1/bin/default/../../ctdb/server/ipalloc_deterministic.c:134:6: enter_function: entry to ‘ipalloc_deterministic’
samba-4.22.1/bin/default/../../ctdb/server/ipalloc_deterministic.c:136:40: call_function: calling ‘ipalloc_get_home_nodes’ from ‘ipalloc_deterministic’
samba-4.22.1/bin/default/../../ctdb/server/ipalloc_deterministic.c:136:40: return_function: returning to ‘ipalloc_deterministic’ from ‘ipalloc_get_home_nodes’
samba-4.22.1/bin/default/../../ctdb/server/ipalloc_deterministic.c:150:49: branch_true: following ‘true’ branch (when ‘t’ is non-NULL)...
samba-4.22.1/bin/default/../../ctdb/server/ipalloc_deterministic.c:153:26: branch_true: ...to here
samba-4.22.1/bin/default/../../ctdb/server/ipalloc_deterministic.c:155:29: branch_true: following ‘true’ branch (when ‘j < num_home_nodes’)...
samba-4.22.1/bin/default/../../ctdb/server/ipalloc_deterministic.c:156:59: branch_true: ...to here
samba-4.22.1/bin/default/../../ctdb/server/ipalloc_deterministic.c:156:43: release_memory: ‘hn’ is NULL
samba-4.22.1/bin/default/../../ctdb/server/ipalloc_deterministic.c:158:28: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../ctdb/server/ipalloc_deterministic.c:160:37: branch_true: ...to here
samba-4.22.1/bin/default/../../ctdb/server/ipalloc_deterministic.c:160:37: danger: dereference of NULL ‘hn’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def36]
samba-4.22.1/bin/default/../../ctdb/tcp/tcp_connect.c:460:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*<unknown>.listen_fd’
samba-4.22.1/bin/default/../../ctdb/tcp/tcp_connect.c:427:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../ctdb/tcp/tcp_connect.c:432:9: branch_false: ...to here
samba-4.22.1/bin/default/../../ctdb/tcp/tcp_connect.c:446:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
samba-4.22.1/bin/default/../../ctdb/tcp/tcp_connect.c:459:15: branch_false: ...to here
samba-4.22.1/bin/default/../../ctdb/tcp/tcp_connect.c:460:12: danger: ‘*<unknown>.listen_fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def37]
samba-4.22.1/bin/default/../../ctdb/tools/ctdb.c:207:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
samba-4.22.1/bin/default/../../ctdb/tools/ctdb.c:175:30: enter_function: entry to ‘get_nodemap’
samba-4.22.1/bin/default/../../ctdb/tools/ctdb.c:192:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../ctdb/tools/ctdb.c:196:9: branch_false: ...to here
samba-4.22.1/bin/default/../../ctdb/tools/ctdb.c:200:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../ctdb/tools/ctdb.c:206:16: branch_false: ...to here
samba-4.22.1/bin/default/../../ctdb/tools/ctdb.c:206:16: call_function: inlined call to ‘get_node_by_pnn’ from ‘get_nodemap’
samba-4.22.1/bin/default/../../ctdb/tools/ctdb.c:207:13: branch_false: ...to here
samba-4.22.1/bin/default/../../ctdb/tools/ctdb.c:207:13: danger: dereference of NULL ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def38]
samba-4.22.1/bin/default/../../ctdb/tools/ctdb.c:212:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
samba-4.22.1/bin/default/../../ctdb/tools/ctdb.c:175:30: enter_function: entry to ‘get_nodemap’
samba-4.22.1/bin/default/../../ctdb/tools/ctdb.c:192:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../ctdb/tools/ctdb.c:196:9: branch_false: ...to here
samba-4.22.1/bin/default/../../ctdb/tools/ctdb.c:200:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../ctdb/tools/ctdb.c:206:16: branch_false: ...to here
samba-4.22.1/bin/default/../../ctdb/tools/ctdb.c:206:16: call_function: inlined call to ‘get_node_by_pnn’ from ‘get_nodemap’
samba-4.22.1/bin/default/../../ctdb/tools/ctdb.c:207:12: branch_true: following ‘true’ branch...
branch_true: ...to here
samba-4.22.1/bin/default/../../ctdb/tools/ctdb.c:211:32: call_function: inlined call to ‘get_node_by_pnn’ from ‘get_nodemap’
samba-4.22.1/bin/default/../../ctdb/tools/ctdb.c:212:32: danger: dereference of NULL ‘<unknown>’
Error: COMPILER_WARNING (CWE-477): [#def39]
samba-4.22.1/bin/default/../../ctdb/utils/tdb/tdb_mutex_check.c:90:17: warning[-Wdeprecated-declarations]: ‘pthread_mutex_consistent_np’ is deprecated: pthread_mutex_consistent_np is deprecated, use pthread_mutex_consistent
Error: COMPILER_WARNING (CWE-477): [#def40]
samba-4.22.1/bin/default/../../examples/libsmbclient/testacl.c:193:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def41]
samba-4.22.1/bin/default/../../examples/libsmbclient/testacl2.c:30:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def42]
samba-4.22.1/bin/default/../../examples/libsmbclient/testacl3.c:21:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
Error: GCC_ANALYZER_WARNING (CWE-401): [#def43]
samba-4.22.1/bin/default/../../examples/libsmbclient/testacl3.c:46:27: warning[-Wanalyzer-malloc-leak]: leak of ‘the_acl’
samba-4.22.1/bin/default/../../examples/libsmbclient/testacl3.c:31:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../examples/libsmbclient/testacl3.c:35:21: branch_false: ...to here
samba-4.22.1/bin/default/../../examples/libsmbclient/testacl3.c:35:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../examples/libsmbclient/testacl3.c:40:28: branch_false: ...to here
samba-4.22.1/bin/default/../../examples/libsmbclient/testacl3.c:46:27: acquire_memory: allocated here
samba-4.22.1/bin/default/../../examples/libsmbclient/testacl3.c:48:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../examples/libsmbclient/testacl3.c:55:17: branch_false: ...to here
samba-4.22.1/bin/default/../../examples/libsmbclient/testacl3.c:31:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../examples/libsmbclient/testacl3.c:35:21: branch_false: ...to here
samba-4.22.1/bin/default/../../examples/libsmbclient/testacl3.c:35:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../examples/libsmbclient/testacl3.c:40:28: branch_false: ...to here
samba-4.22.1/bin/default/../../examples/libsmbclient/testacl3.c:46:27: danger: ‘the_acl’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: COMPILER_WARNING (CWE-477): [#def44]
samba-4.22.1/bin/default/../../examples/libsmbclient/testchmod.c:37:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def45]
samba-4.22.1/bin/default/../../examples/libsmbclient/testfstatvfs.c:22:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def46]
samba-4.22.1/bin/default/../../examples/libsmbclient/testnotify.c:42:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def47]
samba-4.22.1/bin/default/../../examples/libsmbclient/testread.c:21:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def48]
samba-4.22.1/bin/default/../../examples/libsmbclient/testsmbc.c:42:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def49]
samba-4.22.1/bin/default/../../examples/libsmbclient/teststat2.c:42:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def50]
samba-4.22.1/bin/default/../../examples/libsmbclient/teststat3.c:29:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def51]
samba-4.22.1/bin/default/../../examples/libsmbclient/teststatvfs.c:20:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def52]
samba-4.22.1/bin/default/../../examples/libsmbclient/testtruncate.c:27:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def53]
samba-4.22.1/bin/default/../../examples/libsmbclient/testutime.c:42:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def54]
samba-4.22.1/bin/default/../../examples/libsmbclient/testwrite.c:21:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def55]
samba-4.22.1/bin/default/../../lib/ldb/common/ldb.c:121:17: warning[-Wdeprecated-declarations]: ‘tevent_loop_allow_nesting’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def56]
samba-4.22.1/bin/default/../../lib/ldb/common/ldb.c:761:17: warning[-Wdeprecated-declarations]: ‘tevent_loop_allow_nesting’ is deprecated
Error: GCC_ANALYZER_WARNING (CWE-476): [#def57]
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:731:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:555:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:562:33: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:612:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:617:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:617:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:621:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:621:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:626:29: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:628:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:642:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:642:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:643:40: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:645:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:651:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:651:18: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:660:20: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:660:20: branch_false: following ‘false’ branch (when ‘remaining > 9’)...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:669:28: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:670:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:674:20: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:674:20: branch_false: following ‘false’ branch (when ‘attr_len != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:680:28: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:684:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:688:27: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:691:17: release_memory: ‘*element.values’ is NULL
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:695:27: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:704:17: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:705:20: branch_false: following ‘false’ branch (when ‘remaining > 3’)...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:709:17: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:710:29: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:715:28: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:715:28: branch_false: following ‘false’ branch (when ‘remaining > 4’)...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:719:25: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:722:28: branch_false: following ‘false’ branch (when ‘remaining >= len’)...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:731:25: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:731:25: release_memory: ‘*element.values’ is NULL
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:731:40: release_memory: ‘*element.values’ is NULL
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:731:25: danger: dereference of NULL ‘*element.values + (long unsigned int)j * 16’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def58]
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:731:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ldb_val_single_array’
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:555:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:562:33: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:612:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:617:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:617:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:621:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:621:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:626:29: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:628:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:642:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:642:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:651:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:651:18: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:660:20: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:660:20: branch_false: following ‘false’ branch (when ‘remaining > 9’)...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:669:28: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:670:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:674:20: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:674:20: branch_false: following ‘false’ branch (when ‘attr_len != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:680:28: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:684:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:688:27: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:691:17: release_memory: ‘ldb_val_single_array’ is NULL
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:692:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:695:27: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:695:27: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:704:17: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:705:20: branch_false: following ‘false’ branch (when ‘remaining > 3’)...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:709:17: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:710:29: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:715:28: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:715:28: branch_false: following ‘false’ branch (when ‘remaining > 4’)...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:719:25: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:722:28: branch_false: following ‘false’ branch (when ‘remaining >= len’)...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:731:25: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:731:25: release_memory: ‘ldb_val_single_array’ is NULL
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:731:40: release_memory: ‘ldb_val_single_array’ is NULL
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:731:25: danger: dereference of NULL ‘*element.values + (long unsigned int)j * 16’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def59]
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:973:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:789:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:794:33: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:800:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:805:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:820:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:826:15: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:829:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:834:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:836:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:841:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:841:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:846:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:846:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:853:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:853:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:858:29: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:861:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:875:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:875:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:876:40: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:879:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:885:17: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:889:18: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:898:27: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:895:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:903:28: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:906:20: branch_false: following ‘false’ branch (when ‘attr_len != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:912:19: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:919:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:924:21: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:924:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:929:28: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:934:17: release_memory: ‘*element.values’ is NULL
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:934:17: release_memory: ‘*element.values’ is NULL
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:934:17: release_memory: ‘*element.values’ is NULL
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:939:27: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:956:17: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:959:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:971:20: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:971:20: branch_true: following ‘true’ branch (when ‘val_len_width == 1’)...
branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:972:37: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:973:61: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:973:33: release_memory: ‘*element.values’ is NULL
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:973:48: release_memory: ‘*element.values’ is NULL
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:973:33: danger: dereference of NULL ‘*element.values + (long unsigned int)j * 16’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def60]
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:973:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ldb_val_single_array’
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:789:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:794:33: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:800:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:805:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:820:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:826:15: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:829:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:834:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:836:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:841:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:841:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:846:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:846:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:853:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:853:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:858:29: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:861:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:875:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:875:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:885:17: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:889:18: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:898:27: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:895:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:903:28: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:906:20: branch_false: following ‘false’ branch (when ‘attr_len != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:912:19: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:919:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:924:21: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:924:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:929:28: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:934:17: release_memory: ‘ldb_val_single_array’ is NULL
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:935:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:939:27: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:939:27: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:956:17: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:959:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:971:20: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:971:20: branch_true: following ‘true’ branch (when ‘val_len_width == 1’)...
branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:972:37: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:973:61: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:973:33: release_memory: ‘ldb_val_single_array’ is NULL
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:973:48: release_memory: ‘ldb_val_single_array’ is NULL
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:973:33: danger: dereference of NULL ‘*element.values + (long unsigned int)j * 16’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def61]
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:978:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:789:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:794:33: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:800:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:805:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:820:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:826:15: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:829:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:834:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:836:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:841:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:841:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:846:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:846:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:853:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:853:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:858:29: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:861:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:875:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:875:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:876:40: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:879:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:885:17: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:889:18: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:898:27: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:895:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:903:28: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:906:20: branch_false: following ‘false’ branch (when ‘attr_len != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:912:19: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:919:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:924:21: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:924:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:929:28: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:934:17: release_memory: ‘*element.values’ is NULL
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:934:17: release_memory: ‘*element.values’ is NULL
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:934:17: release_memory: ‘*element.values’ is NULL
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:939:27: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:956:17: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:959:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:971:20: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:971:20: branch_false: following ‘false’ branch (when ‘val_len_width != 1’)...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:976:27: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:976:27: branch_true: following ‘true’ branch (when ‘val_len_width == 2’)...
branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:977:37: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:978:61: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:978:33: release_memory: ‘*element.values’ is NULL
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:978:48: release_memory: ‘*element.values’ is NULL
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:978:33: danger: dereference of NULL ‘*element.values + (long unsigned int)j * 16’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def62]
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:978:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ldb_val_single_array’
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:789:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:794:33: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:800:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:805:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:820:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:826:15: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:829:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:834:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:836:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:841:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:841:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:846:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:846:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:853:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:853:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:858:29: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:861:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:875:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:875:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:885:17: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:889:18: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:898:27: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:895:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:903:28: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:906:20: branch_false: following ‘false’ branch (when ‘attr_len != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:912:19: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:919:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:924:21: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:924:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:929:28: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:934:17: release_memory: ‘ldb_val_single_array’ is NULL
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:935:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:939:27: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:939:27: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:956:17: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:959:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:971:20: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:971:20: branch_false: following ‘false’ branch (when ‘val_len_width != 1’)...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:976:27: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:976:27: branch_true: following ‘true’ branch (when ‘val_len_width == 2’)...
branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:977:37: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:978:61: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:978:33: release_memory: ‘ldb_val_single_array’ is NULL
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:978:48: release_memory: ‘ldb_val_single_array’ is NULL
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:978:33: danger: dereference of NULL ‘*element.values + (long unsigned int)j * 16’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def63]
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:983:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:789:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:794:33: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:800:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:805:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:820:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:826:15: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:829:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:834:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:836:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:841:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:841:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:846:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:846:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:853:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:853:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:858:29: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:861:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:875:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:875:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:876:40: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:879:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:885:17: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:889:18: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:898:27: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:895:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:903:28: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:906:20: branch_false: following ‘false’ branch (when ‘attr_len != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:912:19: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:919:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:924:21: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:924:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:929:28: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:934:17: release_memory: ‘*element.values’ is NULL
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:934:17: release_memory: ‘*element.values’ is NULL
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:934:17: release_memory: ‘*element.values’ is NULL
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:939:27: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:956:17: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:959:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:971:20: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:971:20: branch_false: following ‘false’ branch (when ‘val_len_width != 1’)...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:976:27: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:976:27: branch_false: following ‘false’ branch (when ‘val_len_width != 2’)...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:981:27: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:981:27: branch_true: following ‘true’ branch (when ‘val_len_width == 4’)...
branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:982:37: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:983:61: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:983:33: release_memory: ‘*element.values’ is NULL
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:983:48: release_memory: ‘*element.values’ is NULL
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:983:33: danger: dereference of NULL ‘*element.values + (long unsigned int)j * 16’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def64]
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:983:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ldb_val_single_array’
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:789:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:794:33: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:800:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:805:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:820:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:826:15: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:829:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:834:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:836:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:841:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:841:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:846:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:846:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:853:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:853:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:858:29: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:861:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:875:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:875:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:885:17: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:889:18: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:898:27: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:895:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:903:28: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:906:20: branch_false: following ‘false’ branch (when ‘attr_len != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:912:19: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:919:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:924:21: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:924:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:929:28: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:934:17: release_memory: ‘ldb_val_single_array’ is NULL
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:935:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:939:27: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:939:27: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:956:17: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:959:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:971:20: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:971:20: branch_false: following ‘false’ branch (when ‘val_len_width != 1’)...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:976:27: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:976:27: branch_false: following ‘false’ branch (when ‘val_len_width != 2’)...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:981:27: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:981:27: branch_true: following ‘true’ branch (when ‘val_len_width == 4’)...
branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:982:37: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:983:61: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:983:33: release_memory: ‘ldb_val_single_array’ is NULL
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:983:48: release_memory: ‘ldb_val_single_array’ is NULL
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:983:33: danger: dereference of NULL ‘*element.values + (long unsigned int)j * 16’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def65]
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:992:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*element.values’
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:789:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:794:33: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:800:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:805:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:820:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:826:15: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:829:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:834:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:836:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:841:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:841:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:846:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:846:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:853:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:853:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:858:29: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:861:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:875:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:875:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:876:40: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:879:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:885:17: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:889:18: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:898:27: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:895:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:903:28: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:906:20: branch_false: following ‘false’ branch (when ‘attr_len != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:912:19: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:919:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:924:21: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:924:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:929:28: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:934:17: release_memory: ‘*element.values’ is NULL
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:934:17: release_memory: ‘*element.values’ is NULL
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:934:17: release_memory: ‘*element.values’ is NULL
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:939:27: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:956:17: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:959:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:971:20: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:972:37: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:991:17: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:991:29: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:992:31: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:992:31: release_memory: ‘*element.values’ is NULL
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:992:46: release_memory: ‘*element.values’ is NULL
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:992:25: danger: dereference of NULL ‘*element.values + (long unsigned int)j * 16’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def66]
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:992:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ldb_val_single_array’
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:789:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:794:33: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:800:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:805:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:820:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:826:15: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:829:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:834:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:836:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:841:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:841:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:846:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:846:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:853:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:853:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:858:29: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:861:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:875:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:875:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:885:17: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:889:18: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:898:27: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:895:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:903:28: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:906:20: branch_false: following ‘false’ branch (when ‘attr_len != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:912:19: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:919:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:924:21: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:924:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:929:28: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:934:17: release_memory: ‘ldb_val_single_array’ is NULL
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:935:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:939:27: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:939:27: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:956:17: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:959:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:971:20: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:972:37: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:991:17: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:991:29: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:992:31: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:992:31: release_memory: ‘ldb_val_single_array’ is NULL
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:992:46: release_memory: ‘ldb_val_single_array’ is NULL
samba-4.22.1/bin/default/../../lib/ldb/common/ldb_pack.c:992:25: danger: dereference of NULL ‘*element.values + (long unsigned int)j * 16’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def67]
samba-4.22.1/bin/default/../../lib/ldb/ldb_map/ldb_map_outbound.c:96:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘attrs’
samba-4.22.1/bin/default/../../lib/ldb/ldb_map/ldb_map_outbound.c:1133:5: enter_function: entry to ‘ldb_map_search’
samba-4.22.1/bin/default/../../lib/ldb/ldb_map/ldb_map_outbound.c:1148:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/ldb_map/ldb_map_outbound.c:1152:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/ldb_map/ldb_map_outbound.c:1152:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/ldb_map/ldb_map_outbound.c:1157:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/ldb_map/ldb_map_outbound.c:1166:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/ldb_map/ldb_map_outbound.c:1172:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/ldb_map/ldb_map_outbound.c:1178:15: call_function: calling ‘map_attrs_collect_and_partition’ from ‘ldb_map_search’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def68]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1122:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘to_child[1]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1119:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1122:17: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1122:17: danger: use of uninitialized value ‘to_child[1]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def69]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1123:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘to_parent[0]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1119:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1122:17: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1123:17: danger: use of uninitialized value ‘to_parent[0]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def70]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1320:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘to_child[0]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1119:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1320:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1320:9: danger: use of uninitialized value ‘to_child[0]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def71]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1321:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘to_parent[1]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1119:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1320:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1321:9: danger: use of uninitialized value ‘to_parent[1]’ here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def72]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1373:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to_child[1]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1119:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1320:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1373:1: danger: ‘to_child[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def73]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1373:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to_parent[0]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1119:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1320:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1373:1: danger: ‘to_parent[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def74]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1448:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘to_child[1]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1445:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1448:17: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1448:17: danger: use of uninitialized value ‘to_child[1]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def75]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1449:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘to_parent[0]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1445:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1448:17: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1449:17: danger: use of uninitialized value ‘to_parent[0]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def76]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1632:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘to_child[0]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1445:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1632:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1632:9: danger: use of uninitialized value ‘to_child[0]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def77]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1633:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘to_parent[1]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1445:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1632:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1633:9: danger: use of uninitialized value ‘to_parent[1]’ here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def78]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1681:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to_child[1]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1445:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1632:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1681:1: danger: ‘to_child[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def79]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1681:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to_parent[0]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1445:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1632:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_kv_ops_test.c:1681:1: danger: ‘to_parent[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def80]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:254:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘to_child[1]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:248:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:254:17: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:254:17: danger: use of uninitialized value ‘to_child[1]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def81]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:255:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘to_parent[0]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:248:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:254:17: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:255:17: danger: use of uninitialized value ‘to_parent[0]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def82]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:303:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘to_child[0]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:248:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:303:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:303:9: danger: use of uninitialized value ‘to_child[0]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def83]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:304:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘to_parent[1]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:248:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:303:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:304:9: danger: use of uninitialized value ‘to_parent[1]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def84]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:397:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘to_child[1]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:391:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:397:17: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:397:17: danger: use of uninitialized value ‘to_child[1]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def85]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:398:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘to_parent[0]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:391:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:397:17: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:398:17: danger: use of uninitialized value ‘to_parent[0]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def86]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:465:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘to_child[0]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:391:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:465:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:465:9: danger: use of uninitialized value ‘to_child[0]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def87]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:466:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘to_parent[1]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:391:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:465:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:466:9: danger: use of uninitialized value ‘to_parent[1]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def88]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:546:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘to_child[1]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:540:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:546:17: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:546:17: danger: use of uninitialized value ‘to_child[1]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def89]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:547:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘to_parent[0]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:540:12: branch_true: following ‘true’ branch (when ‘pid == 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:546:17: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:547:17: danger: use of uninitialized value ‘to_parent[0]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def90]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:579:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘to_child[0]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:540:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:579:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:579:9: danger: use of uninitialized value ‘to_child[0]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def91]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:580:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘to_parent[1]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:540:12: branch_false: following ‘false’ branch (when ‘pid != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:579:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_free_list_test.c:580:9: danger: use of uninitialized value ‘to_parent[1]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def92]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_test.c:514:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[0]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_test.c:510:12: branch_true: following ‘true’ branch (when ‘child_pid == 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_test.c:514:17: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_test.c:514:17: danger: use of uninitialized value ‘pipes[0]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def93]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_test.c:540:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[1]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_test.c:510:12: branch_false: following ‘false’ branch (when ‘child_pid != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_test.c:540:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_test.c:540:9: danger: use of uninitialized value ‘pipes[1]’ here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def94]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_test.c:550:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipes[0]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_test.c:510:12: branch_false: following ‘false’ branch (when ‘child_pid != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_test.c:540:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_lmdb_test.c:550:1: danger: ‘pipes[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def95]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:1520:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipes[0]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:1530:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:1598:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:1520:24: danger: ‘pipes[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def96]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:1598:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[1]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:1530:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:1598:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:1598:9: danger: use of uninitialized value ‘pipes[1]’ here
Error: COMPILER_WARNING (CWE-477): [#def97]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:1646:9: warning[-Wdeprecated-declarations]: ‘tevent_loop_allow_nesting’ is deprecated
Error: GCC_ANALYZER_WARNING (CWE-775): [#def98]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:1752:32: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipes[0]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:1751:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:1763:15: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:1833:19: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:1915:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:1752:32: danger: ‘pipes[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def99]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:1915:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[1]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:1751:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:1763:15: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:1833:19: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:1915:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:1915:9: danger: use of uninitialized value ‘pipes[1]’ here
Error: COMPILER_WARNING (CWE-477): [#def100]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:1965:9: warning[-Wdeprecated-declarations]: ‘tevent_loop_allow_nesting’ is deprecated
Error: GCC_ANALYZER_WARNING (CWE-775): [#def101]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:2074:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipes[0]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:2071:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:2080:15: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:2084:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:2153:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:2074:24: danger: ‘pipes[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def102]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:2153:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[1]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:2071:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:2080:15: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:2084:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:2153:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:2153:9: danger: use of uninitialized value ‘pipes[1]’ here
Error: COMPILER_WARNING (CWE-477): [#def103]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:2205:9: warning[-Wdeprecated-declarations]: ‘tevent_loop_allow_nesting’ is deprecated
Error: GCC_ANALYZER_WARNING (CWE-457): [#def104]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:2366:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[0]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:2360:12: branch_true: following ‘true’ branch (when ‘child_pid == 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:2364:17: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:2365:17: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:2366:17: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:2366:17: danger: use of uninitialized value ‘pipes[0]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def105]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:2435:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[1]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:2360:12: branch_false: following ‘false’ branch (when ‘child_pid != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:2435:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:2435:9: danger: use of uninitialized value ‘pipes[1]’ here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def106]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:2490:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipes[0]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:2360:12: branch_false: following ‘false’ branch (when ‘child_pid != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:2435:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:2490:1: danger: ‘pipes[0]’ leaks here
Error: COMPILER_WARNING (CWE-477): [#def107]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:2689:9: warning[-Wdeprecated-declarations]: ‘tevent_loop_allow_nesting’ is deprecated
Error: GCC_ANALYZER_WARNING (CWE-775): [#def108]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4109:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipes[0]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4135:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4138:17: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4146:12: branch_false: following ‘false’ branch (when ‘child_pid != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4198:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4109:24: danger: ‘pipes[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def109]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4149:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[0]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4135:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4138:17: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4146:12: branch_true: following ‘true’ branch (when ‘child_pid == 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4147:33: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4149:17: danger: use of uninitialized value ‘pipes[0]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def110]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4198:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[1]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4135:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4138:17: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4146:12: branch_false: following ‘false’ branch (when ‘child_pid != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4198:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4198:9: danger: use of uninitialized value ‘pipes[1]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def111]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4279:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[0]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4278:12: branch_true: following ‘true’ branch (when ‘child_pid == 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4279:17: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4279:17: danger: use of uninitialized value ‘pipes[0]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def112]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4298:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[1]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4278:12: branch_false: following ‘false’ branch (when ‘child_pid != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4298:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4298:9: danger: use of uninitialized value ‘pipes[1]’ here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def113]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4308:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipes[0]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4278:12: branch_false: following ‘false’ branch (when ‘child_pid != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4298:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4308:1: danger: ‘pipes[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def114]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4337:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[0]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4336:12: branch_true: following ‘true’ branch (when ‘child_pid == 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4337:17: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4337:17: danger: use of uninitialized value ‘pipes[0]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def115]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4357:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[1]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4336:12: branch_false: following ‘false’ branch (when ‘child_pid != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4357:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4357:9: danger: use of uninitialized value ‘pipes[1]’ here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def116]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4367:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipes[0]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4336:12: branch_false: following ‘false’ branch (when ‘child_pid != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4357:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4367:1: danger: ‘pipes[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def117]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4396:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[0]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4392:12: branch_true: following ‘true’ branch (when ‘child_pid == 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4394:36: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4396:17: danger: use of uninitialized value ‘pipes[0]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def118]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4425:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[1]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4392:12: branch_false: following ‘false’ branch (when ‘child_pid != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4425:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4425:9: danger: use of uninitialized value ‘pipes[1]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def119]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4491:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[0]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4488:12: branch_true: following ‘true’ branch (when ‘child_pid == 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4491:17: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4491:17: danger: use of uninitialized value ‘pipes[0]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def120]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4508:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[1]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4488:12: branch_false: following ‘false’ branch (when ‘child_pid != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4508:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4508:9: danger: use of uninitialized value ‘pipes[1]’ here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def121]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4518:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipes[0]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4488:12: branch_false: following ‘false’ branch (when ‘child_pid != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4508:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_mod_op_test.c:4518:1: danger: ‘pipes[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def122]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_tdb_test.c:246:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[0]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_tdb_test.c:242:12: branch_true: following ‘true’ branch (when ‘child_pid == 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_tdb_test.c:246:17: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_tdb_test.c:246:17: danger: use of uninitialized value ‘pipes[0]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def123]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_tdb_test.c:272:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[1]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_tdb_test.c:242:12: branch_false: following ‘false’ branch (when ‘child_pid != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_tdb_test.c:272:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_tdb_test.c:272:9: danger: use of uninitialized value ‘pipes[1]’ here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def124]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_tdb_test.c:282:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipes[0]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_tdb_test.c:242:12: branch_false: following ‘false’ branch (when ‘child_pid != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_tdb_test.c:272:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_tdb_test.c:282:1: danger: ‘pipes[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def125]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_tdb_test.c:331:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[0]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_tdb_test.c:328:12: branch_true: following ‘true’ branch (when ‘child_pid == 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_tdb_test.c:331:17: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_tdb_test.c:331:17: danger: use of uninitialized value ‘pipes[0]’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def126]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_tdb_test.c:359:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[1]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_tdb_test.c:328:12: branch_false: following ‘false’ branch (when ‘child_pid != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_tdb_test.c:359:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_tdb_test.c:359:9: danger: use of uninitialized value ‘pipes[1]’ here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def127]
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_tdb_test.c:369:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipes[0]’
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_tdb_test.c:328:12: branch_false: following ‘false’ branch (when ‘child_pid != 0’)...
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_tdb_test.c:359:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tests/ldb_tdb_test.c:369:1: danger: ‘pipes[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def128]
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:335:13: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup("uid")’
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:327:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:332:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:333:45: acquire_memory: allocated here
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:335:13: danger: ‘strdup("uid")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def129]
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:346:39: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup("test")’
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:327:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:332:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:333:45: acquire_memory: allocated here
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:335:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:340:48: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:345:39: acquire_memory: allocated here
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:346:39: danger: ‘strdup("test")’ leaks here; was allocated at [(6)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def130]
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:347:40: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup("test")’
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:327:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:332:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:333:45: acquire_memory: allocated here
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:335:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:340:48: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:345:39: acquire_memory: allocated here
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:346:39: acquire_memory: allocated here
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:347:40: danger: ‘strdup("test")’ leaks here; was allocated at [(7)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def131]
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:348:48: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup("test")’
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:327:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:332:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:333:45: acquire_memory: allocated here
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:335:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:340:48: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:345:39: acquire_memory: allocated here
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:346:39: acquire_memory: allocated here
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:347:40: acquire_memory: allocated here
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:348:48: danger: ‘strdup("test")’ leaks here; was allocated at [(8)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def132]
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:350:13: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup("OpenLDAPperson")’
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:327:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:332:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:333:45: acquire_memory: allocated here
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:335:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:340:48: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:345:39: acquire_memory: allocated here
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:346:39: acquire_memory: allocated here
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:347:40: acquire_memory: allocated here
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:348:48: acquire_memory: allocated here
samba-4.22.1/bin/default/../../lib/ldb/tools/ldbtest.c:350:13: danger: ‘strdup("OpenLDAPperson")’ leaks here; was allocated at [(9)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/8)
Error: GCC_ANALYZER_WARNING: [#def133]
samba-4.22.1/bin/default/../../lib/pthreadpool/pthreadpool_pipe.c:134:15: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘signal_fd’
samba-4.22.1/bin/default/../../lib/pthreadpool/pthreadpool_pipe.c:117:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/pthreadpool/pthreadpool_pipe.c:121:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/pthreadpool/pthreadpool_pipe.c:123:9: release_resource: closed here
samba-4.22.1/bin/default/../../lib/pthreadpool/pthreadpool_pipe.c:130:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
samba-4.22.1/bin/default/../../lib/pthreadpool/pthreadpool_pipe.c:134:15: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/pthreadpool/pthreadpool_pipe.c:134:15: danger: ‘signal_fd’ could be invalid
Error: GCC_ANALYZER_WARNING (CWE-775): [#def134]
samba-4.22.1/bin/default/../../lib/pthreadpool/pthreadpool_pipe.c:139:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*pool.pipe_fds[0]’
samba-4.22.1/bin/default/../../lib/pthreadpool/pthreadpool_pipe.c:117:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/pthreadpool/pthreadpool_pipe.c:121:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/pthreadpool/pthreadpool_pipe.c:130:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
samba-4.22.1/bin/default/../../lib/pthreadpool/pthreadpool_pipe.c:134:15: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/pthreadpool/pthreadpool_pipe.c:135:12: branch_false: following ‘false’ branch (when ‘ret == 0’)...
samba-4.22.1/bin/default/../../lib/pthreadpool/pthreadpool_pipe.c:139:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/pthreadpool/pthreadpool_pipe.c:139:9: danger: ‘*pool.pipe_fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-688): [#def135]
samba-4.22.1/bin/default/../../lib/replace/tests/os2_delete.c:114:14: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘opendir("test.dir")’ where non-null expected
samba-4.22.1/bin/default/../../lib/replace/tests/os2_delete.c:95:5: enter_function: entry to ‘test_readdir_os2_delete’
samba-4.22.1/bin/default/../../lib/replace/tests/os2_delete.c:104:9: call_function: calling ‘create_files’ from ‘test_readdir_os2_delete’
samba-4.22.1/bin/default/../../lib/replace/tests/os2_delete.c:104:9: return_function: returning to ‘test_readdir_os2_delete’ from ‘create_files’
samba-4.22.1/bin/default/../../lib/replace/tests/os2_delete.c:109:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/replace/tests/os2_delete.c:111:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/replace/tests/os2_delete.c:111:13: acquire_memory: this call could return NULL
samba-4.22.1/bin/default/../../lib/replace/tests/os2_delete.c:114:14: danger: argument 1 (‘opendir("test.dir")’) from [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def136]
samba-4.22.1/bin/default/../../lib/replace/tests/testsuite.c:172:15: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘x’ where non-null expected
samba-4.22.1/bin/default/../../lib/replace/tests/testsuite.c:170:13: acquire_memory: this call could return NULL
samba-4.22.1/bin/default/../../lib/replace/tests/testsuite.c:172:15: danger: argument 2 (‘x’) from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def137]
samba-4.22.1/bin/default/../../lib/replace/tests/testsuite.c:271:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘x’
samba-4.22.1/bin/default/../../lib/replace/tests/testsuite.c:270:13: acquire_memory: this call could return NULL
samba-4.22.1/bin/default/../../lib/replace/tests/testsuite.c:271:15: danger: ‘x’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def138]
samba-4.22.1/bin/default/../../lib/replace/tests/testsuite.c:279:15: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘x’ where non-null expected
samba-4.22.1/bin/default/../../lib/replace/tests/testsuite.c:270:13: acquire_memory: this call could return NULL
samba-4.22.1/bin/default/../../lib/replace/tests/testsuite.c:273:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/replace/tests/testsuite.c:278:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/replace/tests/testsuite.c:278:13: acquire_memory: this call could return NULL
samba-4.22.1/bin/default/../../lib/replace/tests/testsuite.c:279:15: danger: argument 1 (‘x’) from [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-775): [#def139]
samba-4.22.1/bin/default/../../lib/replace/tests/testsuite.c:1108:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
samba-4.22.1/bin/default/../../lib/replace/tests/testsuite.c:1096:19: branch_true: following ‘true’ branch (when ‘i != 100’)...
samba-4.22.1/bin/default/../../lib/replace/tests/testsuite.c:1097:22: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/replace/tests/testsuite.c:1097:22: acquire_resource: opened here
samba-4.22.1/bin/default/../../lib/replace/tests/testsuite.c:1098:20: branch_false: following ‘false’ branch (when ‘fd != -1’)...
samba-4.22.1/bin/default/../../lib/replace/tests/testsuite.c:1106:20: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/replace/tests/testsuite.c:1108:25: danger: ‘fd’ leaks here; was opened at [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING (CWE-477): [#def140]
samba-4.22.1/bin/default/../../lib/talloc/testsuite.c:1680:9: warning[-Wdeprecated-declarations]: ‘talloc_set_memlimit’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def141]
samba-4.22.1/bin/default/../../lib/talloc/testsuite.c:1740:9: warning[-Wdeprecated-declarations]: ‘talloc_set_memlimit’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def142]
samba-4.22.1/bin/default/../../lib/talloc/testsuite.c:1753:9: warning[-Wdeprecated-declarations]: ‘talloc_set_memlimit’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def143]
samba-4.22.1/bin/default/../../lib/talloc/testsuite.c:1787:9: warning[-Wdeprecated-declarations]: ‘talloc_set_memlimit’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def144]
samba-4.22.1/bin/default/../../lib/talloc/testsuite.c:1820:9: warning[-Wdeprecated-declarations]: ‘talloc_set_memlimit’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def145]
samba-4.22.1/bin/default/../../lib/talloc/testsuite.c:1873:9: warning[-Wdeprecated-declarations]: ‘talloc_set_memlimit’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def146]
samba-4.22.1/bin/default/../../lib/talloc/testsuite.c:1885:9: warning[-Wdeprecated-declarations]: ‘talloc_set_memlimit’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def147]
samba-4.22.1/bin/default/../../lib/talloc/testsuite.c:1923:9: warning[-Wdeprecated-declarations]: ‘talloc_set_memlimit’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def148]
samba-4.22.1/bin/default/../../lib/talloc/testsuite.c:1944:9: warning[-Wdeprecated-declarations]: ‘talloc_set_memlimit’ is deprecated
Error: GCC_ANALYZER_WARNING (CWE-775): [#def149]
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:845:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe_down[0]’
/usr/include/tdb.h:1005:15: enter_function: entry to ‘tdb_runtime_check_for_robust_mutexes’
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:844:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:848:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:851:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:855:9: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:859:12: branch_false: following ‘false’ branch (when ‘ptr != 18446744073709551615’)...
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:863:15: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:864:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:867:15: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:868:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:869:17: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:993:9: call_function: inlined call to ‘tdb_robust_mutex_wait_for_child’ from ‘tdb_runtime_check_for_robust_mutexes’
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:995:12: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:995:12: branch_false: following ‘false’ branch (when ‘m’ is NULL)...
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:998:12: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:998:12: branch_false: following ‘false’ branch (when ‘cleanup_ma == 0’)...
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:1001:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:1001:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:1004:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:1004:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:1007:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:1007:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:1010:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:1010:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:1013:12: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:845:24: danger: ‘pipe_down[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def150]
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:845:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe_down[1]’
/usr/include/tdb.h:1005:15: enter_function: entry to ‘tdb_runtime_check_for_robust_mutexes’
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:844:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:848:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:851:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:855:9: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:859:12: branch_false: following ‘false’ branch (when ‘ptr != 18446744073709551615’)...
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:863:15: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:864:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:867:15: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:868:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:869:17: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:993:9: call_function: inlined call to ‘tdb_robust_mutex_wait_for_child’ from ‘tdb_runtime_check_for_robust_mutexes’
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:995:12: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:995:12: branch_false: following ‘false’ branch (when ‘m’ is NULL)...
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:998:12: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:998:12: branch_false: following ‘false’ branch (when ‘cleanup_ma == 0’)...
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:1001:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:1001:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:1004:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:1004:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:1007:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:1007:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:1010:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:1010:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:1013:12: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:845:24: danger: ‘pipe_down[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def151]
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:845:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe_up[0]’
/usr/include/tdb.h:1005:15: enter_function: entry to ‘tdb_runtime_check_for_robust_mutexes’
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:844:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:848:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:851:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:855:9: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:859:12: branch_false: following ‘false’ branch (when ‘ptr != 18446744073709551615’)...
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:863:15: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:864:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:867:15: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:868:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:872:15: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:993:9: call_function: inlined call to ‘tdb_robust_mutex_wait_for_child’ from ‘tdb_runtime_check_for_robust_mutexes’
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:995:12: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:995:12: branch_false: following ‘false’ branch (when ‘m’ is NULL)...
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:998:12: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:1004:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:1007:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:1007:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:1010:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:1010:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:1013:12: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:845:24: danger: ‘pipe_up[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def152]
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:845:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe_up[1]’
/usr/include/tdb.h:1005:15: enter_function: entry to ‘tdb_runtime_check_for_robust_mutexes’
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:844:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:848:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:851:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:855:9: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:859:12: branch_false: following ‘false’ branch (when ‘ptr != 18446744073709551615’)...
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:863:15: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:864:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:867:15: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:868:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:872:15: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:993:9: call_function: inlined call to ‘tdb_robust_mutex_wait_for_child’ from ‘tdb_runtime_check_for_robust_mutexes’
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:995:12: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:995:12: branch_false: following ‘false’ branch (when ‘m’ is NULL)...
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:998:12: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:1004:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:1007:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:1007:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:1010:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:1010:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:1013:12: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/tdb/common/mutex.c:845:24: danger: ‘pipe_up[1]’ leaks here
Error: COMPILER_WARNING (CWE-477): [#def153]
samba-4.22.1/bin/default/../../lib/tevent/testsuite.c:1716:9: warning[-Wdeprecated-declarations]: ‘_tevent_context_wrapper_create’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def154]
samba-4.22.1/bin/default/../../lib/tevent/testsuite.c:1760:9: warning[-Wdeprecated-declarations]: ‘_tevent_context_push_use’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def155]
samba-4.22.1/bin/default/../../lib/tevent/testsuite.c:1762:9: warning[-Wdeprecated-declarations]: ‘_tevent_context_push_use’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def156]
samba-4.22.1/bin/default/../../lib/tevent/testsuite.c:1764:9: warning[-Wdeprecated-declarations]: ‘_tevent_context_pop_use’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def157]
samba-4.22.1/bin/default/../../lib/tevent/testsuite.c:1765:9: warning[-Wdeprecated-declarations]: ‘_tevent_context_pop_use’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def158]
samba-4.22.1/bin/default/../../lib/tevent/testsuite.c:1794:9: warning[-Wdeprecated-declarations]: ‘_tevent_context_pop_use’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def159]
samba-4.22.1/bin/default/../../lib/tevent/testsuite.c:1889:9: warning[-Wdeprecated-declarations]: ‘_tevent_context_wrapper_create’ is deprecated
Error: GCC_ANALYZER_WARNING (CWE-476): [#def160]
samba-4.22.1/bin/default/../../lib/util/charset/codepoints.c:16548:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ic’
samba-4.22.1/bin/default/../../lib/util/charset/codepoints.c:16830:22: enter_function: entry to ‘next_codepoint_ext’
samba-4.22.1/bin/default/../../lib/util/charset/codepoints.c:16833:16: call_function: calling ‘get_iconv_handle’ from ‘next_codepoint_ext’
samba-4.22.1/bin/default/../../lib/util/charset/codepoints.c:16833:16: return_function: returning to ‘next_codepoint_ext’ from ‘get_iconv_handle’
samba-4.22.1/bin/default/../../lib/util/charset/codepoints.c:16833:16: call_function: calling ‘next_codepoint_handle_ext’ from ‘next_codepoint_ext’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def161]
samba-4.22.1/bin/default/../../lib/util/charset/codepoints.c:16549:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ic’
samba-4.22.1/bin/default/../../lib/util/charset/codepoints.c:16830:22: enter_function: entry to ‘next_codepoint_ext’
samba-4.22.1/bin/default/../../lib/util/charset/codepoints.c:16833:16: call_function: calling ‘get_iconv_handle’ from ‘next_codepoint_ext’
samba-4.22.1/bin/default/../../lib/util/charset/codepoints.c:16833:16: return_function: returning to ‘next_codepoint_ext’ from ‘get_iconv_handle’
samba-4.22.1/bin/default/../../lib/util/charset/codepoints.c:16833:16: call_function: calling ‘next_codepoint_handle_ext’ from ‘next_codepoint_ext’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def162]
samba-4.22.1/bin/default/../../lib/util/charset/codepoints.c:16643:56: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ic’
samba-4.22.1/bin/default/../../lib/util/charset/codepoints.c:16830:22: enter_function: entry to ‘next_codepoint_ext’
samba-4.22.1/bin/default/../../lib/util/charset/codepoints.c:16833:16: call_function: calling ‘get_iconv_handle’ from ‘next_codepoint_ext’
samba-4.22.1/bin/default/../../lib/util/charset/codepoints.c:16833:16: return_function: returning to ‘next_codepoint_ext’ from ‘get_iconv_handle’
samba-4.22.1/bin/default/../../lib/util/charset/codepoints.c:16833:16: call_function: calling ‘next_codepoint_handle_ext’ from ‘next_codepoint_ext’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def163]
samba-4.22.1/bin/default/../../lib/util/charset/tests/iconv.c:40:12: warning[-Wanalyzer-malloc-leak]: leak of ‘iconv_open("UTF-16LE", "UCS-4LE")’
samba-4.22.1/bin/default/../../lib/util/charset/tests/iconv.c:370:13: enter_function: entry to ‘test_random_5m’
samba-4.22.1/bin/default/../../lib/util/charset/tests/iconv.c:375:13: call_function: calling ‘iconv_untestable’ from ‘test_random_5m’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def164]
samba-4.22.1/bin/default/../../lib/util/charset/tests/iconv.c:45:12: warning[-Wanalyzer-malloc-leak]: leak of ‘iconv_open("UTF-16LE", "CP850")’
samba-4.22.1/bin/default/../../lib/util/charset/tests/iconv.c:370:13: enter_function: entry to ‘test_random_5m’
samba-4.22.1/bin/default/../../lib/util/charset/tests/iconv.c:375:13: call_function: calling ‘iconv_untestable’ from ‘test_random_5m’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def165]
samba-4.22.1/bin/default/../../lib/util/charset/tests/iconv.c:65:25: warning[-Wanalyzer-malloc-leak]: leak of ‘cd’
samba-4.22.1/bin/default/../../lib/util/charset/tests/iconv.c:343:13: enter_function: entry to ‘test_first_1m’
samba-4.22.1/bin/default/../../lib/util/charset/tests/iconv.c:349:12: branch_false: following ‘false’ branch...
branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/charset/tests/iconv.c:352:26: branch_true: following ‘true’ branch (when ‘codepoint != 1048576’)...
samba-4.22.1/bin/default/../../lib/util/charset/tests/iconv.c:353:21: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/util/charset/tests/iconv.c:353:21: call_function: calling ‘gen_codepoint_utf16’ from ‘test_first_1m’
Error: GCC_ANALYZER_WARNING: [#def166]
samba-4.22.1/bin/default/../../lib/util/close_low_fd.c:68:15: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘fd’
samba-4.22.1/bin/default/../../lib/util/close_low_fd.c:42:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../lib/util/close_low_fd.c:46:23: release_resource: closed here
samba-4.22.1/bin/default/../../lib/util/close_low_fd.c:47:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/util/close_low_fd.c:51:28: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/close_low_fd.c:61:12: branch_false: following ‘false’ branch (when ‘fd != dev_null’)...
samba-4.22.1/bin/default/../../lib/util/close_low_fd.c:68:15: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/close_low_fd.c:68:15: danger: ‘fd’ could be invalid
Error: GCC_ANALYZER_WARNING (CWE-775): [#def167]
samba-4.22.1/bin/default/../../lib/util/close_low_fd.c:74:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ret’
samba-4.22.1/bin/default/../../lib/util/close_low_fd.c:57:12: branch_false: following ‘false’ branch (when ‘dev_null != -1’)...
samba-4.22.1/bin/default/../../lib/util/close_low_fd.c:61:12: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/close_low_fd.c:61:12: branch_false: following ‘false’ branch (when ‘fd != dev_null’)...
samba-4.22.1/bin/default/../../lib/util/close_low_fd.c:68:15: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/close_low_fd.c:68:15: acquire_resource: opened here
samba-4.22.1/bin/default/../../lib/util/close_low_fd.c:69:12: branch_false: following ‘false’ branch (when ‘ret != -1’)...
samba-4.22.1/bin/default/../../lib/util/close_low_fd.c:74:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/close_low_fd.c:74:9: danger: ‘ret’ leaks here; was opened at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-121): [#def168]
samba-4.22.1/bin/default/../../lib/util/idtree.c:261:17: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
samba-4.22.1/bin/default/../../lib/util/idtree.c:366:14: enter_function: entry to ‘idr_get_new_above’
samba-4.22.1/bin/default/../../lib/util/idtree.c:369:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../lib/util/idtree.c:370:17: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/util/idtree.c:370:17: call_function: calling ‘idr_remove’ from ‘idr_get_new_above’
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def169]
samba-4.22.1/bin/default/../../lib/util/pidfile.c:146:23: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘fd’
samba-4.22.1/bin/default/../../lib/util/pidfile.c:146:23: release_resource: first ‘close’ here
samba-4.22.1/bin/default/../../lib/util/pidfile.c:147:18: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../lib/util/pidfile.c:146:23: danger: second ‘close’ here; first ‘close’ was at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def170]
samba-4.22.1/bin/default/../../lib/util/tests/strv_util.c:129:25: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
samba-4.22.1/bin/default/../../lib/util/tests/strv_util.c:111:21: branch_true: following ‘true’ branch (when ‘j != 5’)...
branch_true: ...to here
samba-4.22.1/bin/default/../../lib/util/tests/strv_util.c:117:24: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../lib/util/tests/strv_util.c:121:17: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/util/tests/strv_util.c:122:17: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/tests/strv_util.c:122:17: branch_false: following ‘false’ branch (when ‘__got == __expected’)...
branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/tests/strv_util.c:127:29: branch_true: following ‘true’ branch (when ‘i < num’)...
samba-4.22.1/bin/default/../../lib/util/tests/strv_util.c:128:29: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/util/tests/strv_util.c:129:25: branch_false: following ‘false’ branch (when the strings are equal)...
samba-4.22.1/bin/default/../../lib/util/tests/strv_util.c:127:38: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/tests/strv_util.c:127:29: branch_true: following ‘true’ branch (when ‘i < num’)...
samba-4.22.1/bin/default/../../lib/util/tests/strv_util.c:128:29: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/util/tests/strv_util.c:129:25: release_memory: ‘0’ is NULL
samba-4.22.1/bin/default/../../lib/util/tests/strv_util.c:129:25: release_memory: ‘0’ is NULL
samba-4.22.1/bin/default/../../lib/util/tests/strv_util.c:129:25: release_memory: ‘0’ is NULL
samba-4.22.1/bin/default/../../lib/util/tests/strv_util.c:129:25: danger: argument 2 (‘data[j].out[i]’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-775): [#def171]
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:305:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘down[0]’
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:305:9: branch_false: following ‘false’ branch (when ‘ret == 0’)...
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:307:15: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:308:9: branch_false: following ‘false’ branch (when ‘ret == 0’)...
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:310:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:311:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:312:17: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:305:9: danger: ‘down[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def172]
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:305:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘down[1]’
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:305:9: branch_false: following ‘false’ branch (when ‘ret == 0’)...
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:307:15: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:308:9: branch_false: following ‘false’ branch (when ‘ret == 0’)...
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:310:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:311:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:312:17: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:305:9: danger: ‘down[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def173]
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:305:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘up[0]’
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:305:9: branch_false: following ‘false’ branch (when ‘ret == 0’)...
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:307:15: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:308:9: branch_true: following ‘true’ branch (when ‘ret != 0’)...
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:308:9: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:305:9: danger: ‘up[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def174]
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:305:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘up[1]’
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:305:9: branch_false: following ‘false’ branch (when ‘ret == 0’)...
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:307:15: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:308:9: branch_true: following ‘true’ branch (when ‘ret != 0’)...
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:308:9: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:305:9: danger: ‘up[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def175]
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:367:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘up[0]’
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:367:9: branch_false: following ‘false’ branch (when ‘ret == 0’)...
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:369:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:370:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:371:17: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:367:9: danger: ‘up[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def176]
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:367:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘up[1]’
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:367:9: branch_false: following ‘false’ branch (when ‘ret == 0’)...
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:369:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:370:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:371:17: branch_true: ...to here
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:367:9: danger: ‘up[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def177]
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:695:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:694:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:699:18: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:700:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:708:18: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:711:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:715:18: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:716:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:724:18: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:734:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:738:14: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:738:14: acquire_resource: opened here
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:740:9: branch_false: following ‘false’ branch (when ‘fd != -1’)...
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:743:18: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/tests/tfork.c:695:17: danger: ‘fd’ leaks here; was opened at [(11)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def178]
samba-4.22.1/bin/default/../../lib/util/tiniparser.c:255:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
samba-4.22.1/bin/default/../../lib/util/tiniparser.c:197:13: enter_function: entry to ‘value_parser’
samba-4.22.1/bin/default/../../lib/util/tiniparser.c:208:12: branch_false: following ‘false’ branch (when ‘section’ is non-NULL)...
samba-4.22.1/bin/default/../../lib/util/tiniparser.c:211:12: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/tiniparser.c:211:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
samba-4.22.1/bin/default/../../lib/util/tiniparser.c:214:12: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/tiniparser.c:214:12: branch_false: following ‘false’ branch (when ‘value’ is non-NULL)...
samba-4.22.1/bin/default/../../lib/util/tiniparser.c:218:19: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/tiniparser.c:221:17: call_function: calling ‘find_entry’ from ‘value_parser’
samba-4.22.1/bin/default/../../lib/util/tiniparser.c:221:17: return_function: returning to ‘value_parser’ from ‘find_entry’
samba-4.22.1/bin/default/../../lib/util/tiniparser.c:222:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/util/tiniparser.c:235:17: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/tiniparser.c:236:12: branch_false: following ‘false’ branch (when ‘entry’ is non-NULL)...
samba-4.22.1/bin/default/../../lib/util/tiniparser.c:239:22: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/tiniparser.c:239:22: acquire_memory: allocated here
samba-4.22.1/bin/default/../../lib/util/tiniparser.c:240:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/util/tiniparser.c:244:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/tiniparser.c:247:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/util/tiniparser.c:252:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/tiniparser.c:255:9: danger: ‘<unknown>’ leaks here; was allocated at [(17)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def179]
samba-4.22.1/bin/default/../../lib/util/tiniparser.c:255:9: warning[-Wanalyzer-malloc-leak]: leak of ‘entry’
samba-4.22.1/bin/default/../../lib/util/tiniparser.c:197:13: enter_function: entry to ‘value_parser’
samba-4.22.1/bin/default/../../lib/util/tiniparser.c:208:12: branch_false: following ‘false’ branch (when ‘section’ is non-NULL)...
samba-4.22.1/bin/default/../../lib/util/tiniparser.c:211:12: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/tiniparser.c:211:12: branch_false: following ‘false’ branch (when ‘key’ is non-NULL)...
samba-4.22.1/bin/default/../../lib/util/tiniparser.c:214:12: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/tiniparser.c:214:12: branch_false: following ‘false’ branch (when ‘value’ is non-NULL)...
samba-4.22.1/bin/default/../../lib/util/tiniparser.c:218:19: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/tiniparser.c:221:17: call_function: calling ‘find_entry’ from ‘value_parser’
samba-4.22.1/bin/default/../../lib/util/tiniparser.c:221:17: return_function: returning to ‘value_parser’ from ‘find_entry’
samba-4.22.1/bin/default/../../lib/util/tiniparser.c:222:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/util/tiniparser.c:235:17: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/tiniparser.c:235:17: acquire_memory: allocated here
samba-4.22.1/bin/default/../../lib/util/tiniparser.c:236:12: branch_false: following ‘false’ branch (when ‘entry’ is non-NULL)...
samba-4.22.1/bin/default/../../lib/util/tiniparser.c:239:22: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/tiniparser.c:240:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/util/tiniparser.c:244:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/tiniparser.c:247:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/util/tiniparser.c:252:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/tiniparser.c:255:9: danger: ‘entry’ leaks here; was allocated at [(15)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def180]
samba-4.22.1/bin/default/../../lib/util/util.c:677:22: warning[-Wanalyzer-null-argument]: use of NULL ‘this_buf1’ where non-null expected
samba-4.22.1/bin/default/../../lib/util/util.c:704:15: enter_function: entry to ‘dump_data_file_diff’
samba-4.22.1/bin/default/../../lib/util/util.c:709:9: call_function: calling ‘dump_data_diff_cb’ from ‘dump_data_file_diff’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def181]
samba-4.22.1/bin/default/../../lib/util/util.c:677:22: warning[-Wanalyzer-null-argument]: use of NULL ‘this_buf2’ where non-null expected
samba-4.22.1/bin/default/../../lib/util/util.c:704:15: enter_function: entry to ‘dump_data_file_diff’
samba-4.22.1/bin/default/../../lib/util/util.c:709:9: call_function: calling ‘dump_data_diff_cb’ from ‘dump_data_file_diff’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def182]
samba-4.22.1/bin/default/../../lib/util/util_file.c:218:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p’
samba-4.22.1/bin/default/../../lib/util/util_file.c:172:16: enter_function: entry to ‘fd_load’
samba-4.22.1/bin/default/../../lib/util/util_file.c:184:16: call_function: calling ‘fdopen_keepfd’ from ‘fd_load’
samba-4.22.1/bin/default/../../lib/util/util_file.c:184:16: return_function: returning to ‘fd_load’ from ‘fdopen_keepfd’
samba-4.22.1/bin/default/../../lib/util/util_file.c:185:12: branch_false: following ‘false’ branch...
branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/util_file.c:189:16: branch_false: following ‘false’ branch (when ‘maxsize <= size’)...
samba-4.22.1/bin/default/../../lib/util/util_file.c:213:15: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/util_file.c:214:12: branch_false: following ‘false’ branch (when ‘err == 0’)...
samba-4.22.1/bin/default/../../lib/util/util_file.c:218:10: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/util_file.c:218:10: release_memory: ‘p’ is NULL
samba-4.22.1/bin/default/../../lib/util/util_file.c:218:9: danger: dereference of NULL ‘p + size’
Error: GCC_ANALYZER_WARNING: [#def183]
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:235:9: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘0’
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:104:12: branch_false: following ‘false’ branch (when ‘argv0’ is non-NULL)...
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:108:15: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:110:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:114:14: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:119:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:123:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:123:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:127:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:127:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:133:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:133:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:142:14: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:143:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:153:22: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:154:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:223:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:226:9: release_resource: closed here
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:235:9: danger: ‘0’ could be invalid
Error: GCC_ANALYZER_WARNING: [#def184]
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:236:9: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘1’
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:104:12: branch_false: following ‘false’ branch (when ‘argv0’ is non-NULL)...
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:108:15: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:110:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:114:14: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:119:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:123:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:123:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:127:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:127:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:133:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:133:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:142:14: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:143:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:153:22: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:154:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:223:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:227:9: release_resource: closed here
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:236:9: danger: ‘1’ could be invalid
Error: GCC_ANALYZER_WARNING: [#def185]
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:237:9: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘2’
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:104:12: branch_false: following ‘false’ branch (when ‘argv0’ is non-NULL)...
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:108:15: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:110:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:114:14: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:119:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:123:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:123:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:127:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:127:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:133:13: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:133:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:142:14: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:143:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:153:22: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:154:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:223:9: branch_false: ...to here
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:228:9: release_resource: closed here
samba-4.22.1/bin/default/../../lib/util/util_runcmd.c:237:9: danger: ‘2’ could be invalid
Error: GCC_ANALYZER_WARNING (CWE-457): [#def186]
samba-4.22.1/bin/default/../../libcli/drsuapi/repl_decrypt.c:211:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘plain_data’
samba-4.22.1/bin/default/../../libcli/drsuapi/repl_decrypt.c:165:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../libcli/drsuapi/repl_decrypt.c:169:17: branch_false: ...to here
samba-4.22.1/bin/default/../../libcli/drsuapi/repl_decrypt.c:188:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../libcli/drsuapi/repl_decrypt.c:192:12: branch_false: ...to here
samba-4.22.1/bin/default/../../libcli/drsuapi/repl_decrypt.c:192:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../libcli/drsuapi/repl_decrypt.c:196:14: branch_false: ...to here
samba-4.22.1/bin/default/../../libcli/drsuapi/repl_decrypt.c:196:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../libcli/drsuapi/repl_decrypt.c:202:18: branch_false: ...to here
samba-4.22.1/bin/default/../../libcli/drsuapi/repl_decrypt.c:208:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../libcli/drsuapi/repl_decrypt.c:210:9: branch_false: ...to here
samba-4.22.1/bin/default/../../libcli/drsuapi/repl_decrypt.c:211:9: danger: use of uninitialized value ‘plain_data’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def187]
samba-4.22.1/bin/default/../../libcli/nbt/namequery.c:83:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘req’
samba-4.22.1/bin/default/../../libcli/nbt/namequery.c:129:19: enter_function: entry to ‘nbt_name_query’
samba-4.22.1/bin/default/../../libcli/nbt/namequery.c:133:16: call_function: calling ‘nbt_name_query_recv’ from ‘nbt_name_query’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def188]
samba-4.22.1/bin/default/../../libcli/nbt/namequery.c:187:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘req’
samba-4.22.1/bin/default/../../libcli/nbt/namequery.c:227:19: enter_function: entry to ‘nbt_name_status’
samba-4.22.1/bin/default/../../libcli/nbt/namequery.c:231:16: call_function: calling ‘nbt_name_status_recv’ from ‘nbt_name_status’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def189]
samba-4.22.1/bin/default/../../libcli/nbt/namerefresh.c:98:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘req’
samba-4.22.1/bin/default/../../libcli/nbt/namerefresh.c:132:19: enter_function: entry to ‘nbt_name_refresh’
samba-4.22.1/bin/default/../../libcli/nbt/namerefresh.c:136:16: call_function: calling ‘nbt_name_refresh_recv’ from ‘nbt_name_refresh’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def190]
samba-4.22.1/bin/default/../../libcli/nbt/nameregister.c:106:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘req’
samba-4.22.1/bin/default/../../libcli/nbt/nameregister.c:140:19: enter_function: entry to ‘nbt_name_register’
samba-4.22.1/bin/default/../../libcli/nbt/nameregister.c:144:16: call_function: calling ‘nbt_name_register_recv’ from ‘nbt_name_register’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def191]
samba-4.22.1/bin/default/../../libcli/nbt/namerelease.c:95:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘req’
samba-4.22.1/bin/default/../../libcli/nbt/namerelease.c:129:19: enter_function: entry to ‘nbt_name_release’
samba-4.22.1/bin/default/../../libcli/nbt/namerelease.c:133:16: call_function: calling ‘nbt_name_release_recv’ from ‘nbt_name_release’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def192]
samba-4.22.1/bin/default/../../libcli/smbreadline/smbreadline.c:100:32: warning[-Wanalyzer-malloc-leak]: leak of ‘line’
samba-4.22.1/bin/default/../../libcli/smbreadline/smbreadline.c:83:24: acquire_memory: allocated here
samba-4.22.1/bin/default/../../libcli/smbreadline/smbreadline.c:84:12: branch_false: following ‘false’ branch (when ‘line’ is non-NULL)...
branch_false: ...to here
samba-4.22.1/bin/default/../../libcli/smbreadline/smbreadline.c:88:16: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../libcli/smbreadline/smbreadline.c:91:17: branch_false: ...to here
samba-4.22.1/bin/default/../../libcli/smbreadline/smbreadline.c:97:28: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../libcli/smbreadline/smbreadline.c:100:32: branch_false: ...to here
samba-4.22.1/bin/default/../../libcli/smbreadline/smbreadline.c:100:32: danger: ‘line’ leaks here; was allocated at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def193]
samba-4.22.1/bin/default/../../libcli/wsp/wsp_aqs.c:394:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘query’
samba-4.22.1/bin/default/../../libcli/wsp/wsp_aqs.c:488:10: enter_function: entry to ‘create_query_node’
samba-4.22.1/bin/default/../../libcli/wsp/wsp_aqs.c:491:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../libcli/wsp/wsp_aqs.c:494:9: branch_false: ...to here
samba-4.22.1/bin/default/../../libcli/wsp/wsp_aqs.c:497:12: branch_true: following ‘true’ branch (when ‘op == 3’)...
samba-4.22.1/bin/default/../../libcli/wsp/wsp_aqs.c:498:32: branch_true: ...to here
samba-4.22.1/bin/default/../../libcli/wsp/wsp_aqs.c:500:20: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../libcli/wsp/wsp_aqs.c:504:37: branch_true: ...to here
samba-4.22.1/bin/default/../../libcli/wsp/wsp_aqs.c:501:25: call_function: calling ‘build_query’ from ‘create_query_node’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def194]
samba-4.22.1/bin/default/../../librpc/ndr/ndr.c:554:17: warning[-Wanalyzer-jump-through-null]: jump through null pointer
samba-4.22.1/bin/default/../../librpc/ndr/ndr.c:664:16: enter_function: entry to ‘ndr_print_function_secret_string’
samba-4.22.1/bin/default/../../librpc/ndr/ndr.c:670:16: call_function: calling ‘ndr_print_generic_string’ from ‘ndr_print_function_secret_string’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def195]
samba-4.22.1/bin/default/../../librpc/ndr/ndr_basic.c:951:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘tt’
samba-4.22.1/bin/default/../../librpc/ndr/ndr_basic.c:950:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../librpc/ndr/ndr_basic.c:951:9: branch_false: ...to here
samba-4.22.1/bin/default/../../librpc/ndr/ndr_basic.c:951:9: danger: use of uninitialized value ‘tt’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def196]
samba-4.22.1/bin/default/../../librpc/ndr/ndr_basic.c:1060:69: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘addr[i]’
samba-4.22.1/bin/default/../../librpc/ndr/ndr_basic.c:1052:28: enter_function: entry to ‘ndr_pull_ipv6address’
samba-4.22.1/bin/default/../../librpc/ndr/ndr_basic.c:1057:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../librpc/ndr/ndr_basic.c:1058:9: branch_false: ...to here
samba-4.22.1/bin/default/../../librpc/ndr/ndr_basic.c:1058:9: call_function: calling ‘ndr_pull_array_uint8’ from ‘ndr_pull_ipv6address’
samba-4.22.1/bin/default/../../librpc/ndr/ndr_basic.c:1058:9: return_function: returning to ‘ndr_pull_ipv6address’ from ‘ndr_pull_array_uint8’
samba-4.22.1/bin/default/../../librpc/ndr/ndr_basic.c:1058:9: branch_false: following ‘false’ branch...
branch_false: ...to here
samba-4.22.1/bin/default/../../librpc/ndr/ndr_basic.c:1059:21: branch_true: following ‘true’ branch (when ‘i != 16’)...
samba-4.22.1/bin/default/../../librpc/ndr/ndr_basic.c:1060:69: branch_true: ...to here
samba-4.22.1/bin/default/../../librpc/ndr/ndr_basic.c:1060:69: danger: use of uninitialized value ‘addr[i]’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def197]
samba-4.22.1/bin/default/../../librpc/ndr/ndr_string.c:715:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘s’
samba-4.22.1/bin/default/../../librpc/ndr/ndr_string.c:674:28: enter_function: entry to ‘ndr_pull_string_array’
samba-4.22.1/bin/default/../../librpc/ndr/ndr_string.c:682:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../librpc/ndr/ndr_string.c:686:9: branch_false: ...to here
samba-4.22.1/bin/default/../../librpc/ndr/ndr_string.c:688:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../librpc/ndr/ndr_string.c:690:17: branch_false: ...to here
samba-4.22.1/bin/default/../../librpc/ndr/ndr_string.c:699:37: release_memory: ‘s’ is NULL
samba-4.22.1/bin/default/../../librpc/ndr/ndr_string.c:699:37: release_memory: ‘s’ is NULL
samba-4.22.1/bin/default/../../librpc/ndr/ndr_string.c:700:28: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../librpc/ndr/ndr_string.c:706:25: branch_false: ...to here
samba-4.22.1/bin/default/../../librpc/ndr/ndr_string.c:708:25: call_function: calling ‘ndr_pull_string’ from ‘ndr_pull_string_array’
samba-4.22.1/bin/default/../../librpc/ndr/ndr_string.c:708:25: return_function: returning to ‘ndr_pull_string_array’ from ‘ndr_pull_string’
samba-4.22.1/bin/default/../../librpc/ndr/ndr_string.c:708:25: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../librpc/ndr/ndr_string.c:709:25: branch_false: ...to here
samba-4.22.1/bin/default/../../librpc/ndr/ndr_string.c:715:29: release_memory: ‘s’ is NULL
samba-4.22.1/bin/default/../../librpc/ndr/ndr_string.c:715:29: danger: dereference of NULL ‘s’
Error: COMPILER_WARNING (CWE-477): [#def198]
samba-4.22.1/bin/default/../../nsswitch/pam_winbind.c:735:17: warning[-Wdeprecated-declarations]: ‘reply_i’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def199]
samba-4.22.1/bin/default/../../nsswitch/pam_winbind.c:735:17: warning[-Wdeprecated-declarations]: ‘xx_’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def200]
samba-4.22.1/bin/default/../../nsswitch/pam_winbind.c:906:9: warning[-Wdeprecated-declarations]: ‘reply_i’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def201]
samba-4.22.1/bin/default/../../nsswitch/pam_winbind.c:906:9: warning[-Wdeprecated-declarations]: ‘xx_’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def202]
samba-4.22.1/bin/default/../../nsswitch/pam_winbind.c:2159:9: warning[-Wdeprecated-declarations]: ‘xx_’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def203]
samba-4.22.1/bin/default/../../nsswitch/pam_winbind.c:2269:25: warning[-Wdeprecated-declarations]: ‘reply_i’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def204]
samba-4.22.1/bin/default/../../nsswitch/pam_winbind.c:2269:25: warning[-Wdeprecated-declarations]: ‘xx_’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def205]
samba-4.22.1/bin/default/../../nsswitch/pam_winbind.c:2299:17: warning[-Wdeprecated-declarations]: ‘reply_i’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def206]
samba-4.22.1/bin/default/../../nsswitch/pam_winbind.c:2299:17: warning[-Wdeprecated-declarations]: ‘xx_’ is deprecated
Error: GCC_ANALYZER_WARNING (CWE-476): [#def207]
samba-4.22.1/bin/default/../../source3/auth/auth_generic.c:335:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘session_info’
samba-4.22.1/bin/default/../../source3/auth/auth_generic.c:287:35: release_memory: ‘session_info’ is NULL
samba-4.22.1/bin/default/../../source3/auth/auth_generic.c:293:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/auth/auth_generic.c:297:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/auth/auth_generic.c:328:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/auth/auth_generic.c:335:43: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/auth/auth_generic.c:335:43: release_memory: ‘session_info’ is NULL
samba-4.22.1/bin/default/../../source3/auth/auth_generic.c:335:31: danger: dereference of NULL ‘session_info’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def208]
samba-4.22.1/bin/default/../../source3/auth/auth_util.c:1700:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src’
samba-4.22.1/bin/default/../../source3/auth/auth_util.c:1772:6: enter_function: entry to ‘init_guest_session_info’
samba-4.22.1/bin/default/../../source3/auth/auth_util.c:1776:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/auth/auth_util.c:1779:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/auth/auth_util.c:1779:18: call_function: calling ‘make_new_session_info_guest’ from ‘init_guest_session_info’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def209]
samba-4.22.1/bin/default/../../source3/auth/pampass.c:447:13: warning[-Wanalyzer-malloc-leak]: leak of ‘smb_setup_pam_conv(&smb_pam_conv, user, password, 0)’
samba-4.22.1/bin/default/../../source3/auth/pampass.c:821:10: enter_function: entry to ‘smb_pam_passcheck’
samba-4.22.1/bin/default/../../source3/auth/pampass.c:834:22: call_function: calling ‘smb_setup_pam_conv’ from ‘smb_pam_passcheck’
samba-4.22.1/bin/default/../../source3/auth/pampass.c:834:22: return_function: returning to ‘smb_pam_passcheck’ from ‘smb_setup_pam_conv’
samba-4.22.1/bin/default/../../source3/auth/pampass.c:834:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/auth/pampass.c:837:14: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/auth/pampass.c:837:14: call_function: calling ‘smb_pam_start’ from ‘smb_pam_passcheck’
samba-4.22.1/bin/default/../../source3/auth/pampass.c:837:14: return_function: returning to ‘smb_pam_passcheck’ from ‘smb_pam_start’
samba-4.22.1/bin/default/../../source3/auth/pampass.c:447:13: danger: ‘smb_setup_pam_conv(&smb_pam_conv, user, password, 0)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def210]
samba-4.22.1/bin/default/../../source3/auth/pampass.c:447:13: warning[-Wanalyzer-malloc-leak]: leak of ‘smb_setup_pam_conv(&smb_pam_conv, user, 0, 0)’
samba-4.22.1/bin/default/../../source3/auth/pampass.c:793:10: enter_function: entry to ‘smb_pam_accountcheck’
samba-4.22.1/bin/default/../../source3/auth/pampass.c:801:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/auth/pampass.c:804:22: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/auth/pampass.c:804:22: call_function: calling ‘smb_setup_pam_conv’ from ‘smb_pam_accountcheck’
samba-4.22.1/bin/default/../../source3/auth/pampass.c:804:22: return_function: returning to ‘smb_pam_accountcheck’ from ‘smb_setup_pam_conv’
samba-4.22.1/bin/default/../../source3/auth/pampass.c:804:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/auth/pampass.c:807:14: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/auth/pampass.c:807:14: call_function: calling ‘smb_pam_start’ from ‘smb_pam_accountcheck’
samba-4.22.1/bin/default/../../source3/auth/pampass.c:807:14: return_function: returning to ‘smb_pam_accountcheck’ from ‘smb_pam_start’
samba-4.22.1/bin/default/../../source3/auth/pampass.c:447:13: danger: ‘smb_setup_pam_conv(&smb_pam_conv, user, 0, 0)’ leaks here; was allocated at [(6)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/5)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def211]
samba-4.22.1/bin/default/../../source3/auth/pampass.c:447:13: warning[-Wanalyzer-malloc-leak]: leak of ‘smb_setup_pam_conv(&smb_pam_passchange_conv, user, oldpassword, newpassword)’
samba-4.22.1/bin/default/../../source3/auth/pampass.c:866:6: enter_function: entry to ‘smb_pam_passchange’
samba-4.22.1/bin/default/../../source3/auth/pampass.c:873:22: call_function: calling ‘smb_setup_pam_conv’ from ‘smb_pam_passchange’
samba-4.22.1/bin/default/../../source3/auth/pampass.c:873:22: return_function: returning to ‘smb_pam_passchange’ from ‘smb_setup_pam_conv’
samba-4.22.1/bin/default/../../source3/auth/pampass.c:873:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/auth/pampass.c:876:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/auth/pampass.c:876:13: call_function: calling ‘smb_pam_start’ from ‘smb_pam_passchange’
samba-4.22.1/bin/default/../../source3/auth/pampass.c:876:13: return_function: returning to ‘smb_pam_passchange’ from ‘smb_pam_start’
samba-4.22.1/bin/default/../../source3/auth/pampass.c:447:13: danger: ‘smb_setup_pam_conv(&smb_pam_passchange_conv, user, oldpassword, newpassword)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def212]
samba-4.22.1/bin/default/../../source3/client/client.c:5868:17: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(*f.name)’
samba-4.22.1/bin/default/../../source3/client/client.c:5857:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/client/client.c:5860:42: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/client/client.c:5860:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/client/client.c:5863:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/client/client.c:5867:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/client/client.c:5868:46: acquire_memory: allocated here
samba-4.22.1/bin/default/../../source3/client/client.c:5868:17: danger: ‘strdup(*f.name)’ leaks here; was allocated at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def213]
samba-4.22.1/bin/default/../../source3/client/client.c:6022:22: warning[-Wanalyzer-malloc-leak]: leak of ‘strndup(info.matches[1], (long unsigned int)info.samelen)’
samba-4.22.1/bin/default/../../source3/client/client.c:5913:15: enter_function: entry to ‘remote_completion’
samba-4.22.1/bin/default/../../source3/client/client.c:5931:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/client/client.c:5941:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/client/client.c:5967:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/client/client.c:5970:27: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/client/client.c:5974:12: branch_false: following ‘false’ branch (when ‘dirmask’ is non-NULL)...
samba-4.22.1/bin/default/../../source3/client/client.c:5977:19: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/client/client.c:5977:19: call_function: calling ‘client_clean_name’ from ‘remote_completion’
samba-4.22.1/bin/default/../../source3/client/client.c:5977:19: return_function: returning to ‘remote_completion’ from ‘client_clean_name’
samba-4.22.1/bin/default/../../source3/client/client.c:5978:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/client/client.c:5982:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/client/client.c:5985:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/client/client.c:5988:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/client/client.c:5990:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/client/client.c:5994:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/client/client.c:5994:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/client/client.c:6004:12: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/client/client.c:6004:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/client/client.c:6021:27: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/client/client.c:6021:27: acquire_memory: allocated here
samba-4.22.1/bin/default/../../source3/client/client.c:6022:22: danger: ‘strndup(info.matches[1], (long unsigned int)info.samelen)’ leaks here; was allocated at [(27)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/26)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def214]
samba-4.22.1/bin/default/../../source3/client/client.c:6107:25: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
samba-4.22.1/bin/default/../../source3/client/client.c:6040:12: branch_false: following ‘false’ branch (when ‘start == 0’)...
samba-4.22.1/bin/default/../../source3/client/client.c:6078:27: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/client/client.c:6079:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/client/client.c:6082:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/client/client.c:6085:26: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/client/client.c:6088:36: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/client/client.c:6090:36: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/client/client.c:6090:36: branch_true: following ‘true’ branch (when ‘count == 1’)...
samba-4.22.1/bin/default/../../source3/client/client.c:6091:51: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/client/client.c:6085:26: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/client/client.c:6087:50: acquire_memory: allocated here
samba-4.22.1/bin/default/../../source3/client/client.c:6088:36: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/client/client.c:6090:36: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/client/client.c:6090:36: branch_false: following ‘false’ branch (when ‘count != 1’)...
branch_false: ...to here
samba-4.22.1/bin/default/../../source3/client/client.c:6107:25: danger: ‘<unknown>’ leaks here; was allocated at [(13)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def215]
samba-4.22.1/bin/default/../../source3/client/smbspool.c:238:20: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(print_file, "rb")’
samba-4.22.1/bin/default/../../source3/client/smbspool.c:118:12: branch_false: following ‘false’ branch (when ‘argc != 1’)...
samba-4.22.1/bin/default/../../source3/client/smbspool.c:137:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/client/smbspool.c:137:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/client/smbspool.c:154:12: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/client/smbspool.c:226:12: branch_true: following ‘true’ branch (when ‘print_file’ is non-NULL)...
samba-4.22.1/bin/default/../../source3/client/smbspool.c:229:22: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/client/smbspool.c:229:22: acquire_resource: opened here
samba-4.22.1/bin/default/../../source3/client/smbspool.c:230:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/client/smbspool.c:237:26: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/client/smbspool.c:238:20: danger: ‘fopen(print_file, "rb")’ leaks here; was opened at [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def216]
samba-4.22.1/bin/default/../../source3/client/smbspool.c:238:20: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(print_file, "rb")’
samba-4.22.1/bin/default/../../source3/client/smbspool.c:118:12: branch_false: following ‘false’ branch (when ‘argc != 1’)...
samba-4.22.1/bin/default/../../source3/client/smbspool.c:137:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/client/smbspool.c:137:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/client/smbspool.c:154:12: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/client/smbspool.c:226:12: branch_true: following ‘true’ branch (when ‘print_file’ is non-NULL)...
samba-4.22.1/bin/default/../../source3/client/smbspool.c:229:22: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/client/smbspool.c:229:22: acquire_memory: allocated here
samba-4.22.1/bin/default/../../source3/client/smbspool.c:230:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/client/smbspool.c:237:26: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/client/smbspool.c:238:20: danger: ‘fopen(print_file, "rb")’ leaks here; was allocated at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def217]
samba-4.22.1/bin/default/../../source3/lib/adouble.c:2129:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘smb_fname’
samba-4.22.1/bin/default/../../source3/lib/adouble.c:2657:17: enter_function: entry to ‘ad_fget’
samba-4.22.1/bin/default/../../source3/lib/adouble.c:2660:16: call_function: calling ‘ad_get_internal’ from ‘ad_fget’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def218]
samba-4.22.1/bin/default/../../source3/lib/adouble.c:2311:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘smb_fname’
samba-4.22.1/bin/default/../../source3/lib/adouble.c:2657:17: enter_function: entry to ‘ad_fget’
samba-4.22.1/bin/default/../../source3/lib/adouble.c:2660:16: call_function: calling ‘ad_get_internal’ from ‘ad_fget’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def219]
samba-4.22.1/bin/default/../../source3/lib/adouble.c:2604:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘smb_fname’
samba-4.22.1/bin/default/../../source3/lib/adouble.c:2657:17: enter_function: entry to ‘ad_fget’
samba-4.22.1/bin/default/../../source3/lib/adouble.c:2660:16: call_function: calling ‘ad_get_internal’ from ‘ad_fget’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def220]
samba-4.22.1/bin/default/../../source3/lib/adouble.c:2619:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘smb_fname’
samba-4.22.1/bin/default/../../source3/lib/adouble.c:2657:17: enter_function: entry to ‘ad_fget’
samba-4.22.1/bin/default/../../source3/lib/adouble.c:2660:16: call_function: calling ‘ad_get_internal’ from ‘ad_fget’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def221]
samba-4.22.1/bin/default/../../source3/lib/adouble.c:2759:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘smb_fname_in’
samba-4.22.1/bin/default/../../source3/lib/adouble.c:2657:17: enter_function: entry to ‘ad_fget’
samba-4.22.1/bin/default/../../source3/lib/adouble.c:2660:16: call_function: calling ‘ad_get_internal’ from ‘ad_fget’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def222]
samba-4.22.1/bin/default/../../source3/lib/ctdbd_conn.c:2107:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘state’
samba-4.22.1/bin/default/../../source3/lib/ctdbd_conn.c:2080:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/ctdbd_conn.c:2081:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/ctdbd_conn.c:2085:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/ctdbd_conn.c:2089:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/ctdbd_conn.c:2093:19: branch_false: following ‘false’ branch (when ‘i >= num_pending’)...
samba-4.22.1/bin/default/../../source3/lib/ctdbd_conn.c:2101:12: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/ctdbd_conn.c:2101:12: branch_false: following ‘false’ branch (when ‘i != num_pending’)...
samba-4.22.1/bin/default/../../source3/lib/ctdbd_conn.c:2107:24: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/ctdbd_conn.c:2107:9: danger: dereference of NULL ‘state’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def223]
samba-4.22.1/bin/default/../../source3/lib/g_lock.c:129:17: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
samba-4.22.1/bin/default/../../source3/lib/g_lock.c:1337:13: enter_function: entry to ‘g_lock_unlock_fn’
samba-4.22.1/bin/default/../../source3/lib/g_lock.c:1348:14: call_function: calling ‘g_lock_parse’ from ‘g_lock_unlock_fn’
samba-4.22.1/bin/default/../../source3/lib/g_lock.c:1348:14: return_function: returning to ‘g_lock_unlock_fn’ from ‘g_lock_parse’
samba-4.22.1/bin/default/../../source3/lib/g_lock.c:1349:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/lib/g_lock.c:1355:37: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/g_lock.c:1359:17: call_function: calling ‘g_lock_get_shared’ from ‘g_lock_unlock_fn’
samba-4.22.1/bin/default/../../source3/lib/g_lock.c:1359:17: return_function: returning to ‘g_lock_unlock_fn’ from ‘g_lock_get_shared’
samba-4.22.1/bin/default/../../source3/lib/g_lock.c:1360:20: branch_true: following ‘true’ branch...
branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/g_lock.c:1365:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/lib/g_lock.c:1366:20: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/g_lock.c:1366:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/g_lock.c:1373:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/g_lock.c:1373:17: call_function: calling ‘g_lock_del_shared’ from ‘g_lock_unlock_fn’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def224]
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:67:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘max_n’
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:148:5: enter_function: entry to ‘ms_fnmatch’
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:164:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:174:14: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:174:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:178:14: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:178:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:183:12: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:207:12: branch_false: following ‘false’ branch (when ‘count == 0’)...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:226:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:226:15: call_function: calling ‘ms_fnmatch_core’ from ‘ms_fnmatch’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def225]
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:67:29: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:148:5: enter_function: entry to ‘ms_fnmatch’
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:164:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:174:14: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:174:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:178:14: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:178:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:183:12: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:207:12: branch_true: following ‘true’ branch (when ‘count != 0’)...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:208:20: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:208:20: branch_true: following ‘true’ branch (when ‘count == 1’)...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:212:25: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:226:15: call_function: calling ‘ms_fnmatch_core’ from ‘ms_fnmatch’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def226]
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:75:30: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:148:5: enter_function: entry to ‘ms_fnmatch’
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:164:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:174:14: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:174:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:178:14: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:178:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:183:12: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:207:12: branch_true: following ‘true’ branch (when ‘count != 0’)...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:208:20: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:208:20: branch_true: following ‘true’ branch (when ‘count == 1’)...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:212:25: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:226:15: call_function: calling ‘ms_fnmatch_core’ from ‘ms_fnmatch’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def227]
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:75:66: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:148:5: enter_function: entry to ‘ms_fnmatch’
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:164:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:174:14: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:174:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:178:14: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:178:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:183:12: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:207:12: branch_true: following ‘true’ branch (when ‘count != 0’)...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:208:20: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:208:20: branch_true: following ‘true’ branch (when ‘count == 1’)...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:212:25: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:226:15: call_function: calling ‘ms_fnmatch_core’ from ‘ms_fnmatch’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def228]
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:82:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘max_n’
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:148:5: enter_function: entry to ‘ms_fnmatch’
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:164:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:174:14: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:174:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:178:14: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:178:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:183:12: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:207:12: branch_false: following ‘false’ branch (when ‘count == 0’)...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:226:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:226:15: call_function: calling ‘ms_fnmatch_core’ from ‘ms_fnmatch’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def229]
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:82:29: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:148:5: enter_function: entry to ‘ms_fnmatch’
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:164:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:174:14: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:174:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:178:14: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:178:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:183:12: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:207:12: branch_true: following ‘true’ branch (when ‘count != 0’)...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:208:20: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:208:20: branch_true: following ‘true’ branch (when ‘count == 1’)...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:212:25: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:226:15: call_function: calling ‘ms_fnmatch_core’ from ‘ms_fnmatch’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def230]
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:85:29: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:148:5: enter_function: entry to ‘ms_fnmatch’
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:164:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:174:14: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:174:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:178:14: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:178:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:183:12: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:207:12: branch_true: following ‘true’ branch (when ‘count != 0’)...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:208:20: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:208:20: branch_true: following ‘true’ branch (when ‘count == 1’)...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:212:25: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:226:15: call_function: calling ‘ms_fnmatch_core’ from ‘ms_fnmatch’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def231]
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:96:30: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:148:5: enter_function: entry to ‘ms_fnmatch’
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:164:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:174:14: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:174:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:178:14: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:178:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:183:12: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:207:12: branch_true: following ‘true’ branch (when ‘count != 0’)...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:208:20: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:208:20: branch_true: following ‘true’ branch (when ‘count == 1’)...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:212:25: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:226:15: call_function: calling ‘ms_fnmatch_core’ from ‘ms_fnmatch’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def232]
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:96:66: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:148:5: enter_function: entry to ‘ms_fnmatch’
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:164:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:174:14: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:174:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:178:14: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:178:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:183:12: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:207:12: branch_true: following ‘true’ branch (when ‘count != 0’)...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:208:20: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:208:20: branch_true: following ‘true’ branch (when ‘count == 1’)...
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:212:25: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/ms_fnmatch.c:226:15: call_function: calling ‘ms_fnmatch_core’ from ‘ms_fnmatch’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def233]
samba-4.22.1/bin/default/../../source3/lib/netapi/examples/common.c:44:34: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘puser’ where non-null expected
samba-4.22.1/bin/default/../../source3/lib/netapi/examples/common.c:36:12: branch_false: following ‘false’ branch (when ‘opt’ is non-NULL)...
samba-4.22.1/bin/default/../../source3/lib/netapi/examples/common.c:39:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/examples/common.c:41:39: acquire_memory: this call could return NULL
samba-4.22.1/bin/default/../../source3/lib/netapi/examples/common.c:44:34: danger: argument 1 (‘puser’) from [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-401): [#def234]
samba-4.22.1/bin/default/../../source3/lib/netapi/examples/common.c:227:12: warning[-Wanalyzer-malloc-leak]: leak of ‘iconv_open("UTF-16LE", "ASCII")’
samba-4.22.1/bin/default/../../source3/lib/netapi/examples/common.c:212:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/examples/common.c:217:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/examples/common.c:226:14: acquire_memory: allocated here
samba-4.22.1/bin/default/../../source3/lib/netapi/examples/common.c:227:12: danger: ‘iconv_open("UTF-16LE", "ASCII")’ leaks here; was allocated at [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def235]
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:101:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info0’
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:56:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:60:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:81:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:85:21: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:95:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:99:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:101:25: danger: dereference of NULL ‘info0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def236]
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:104:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info1’
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:56:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:60:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:81:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:85:21: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:95:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:99:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:104:25: danger: dereference of NULL ‘info1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def237]
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:107:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info2’
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:56:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:60:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:81:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:85:21: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:95:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:99:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:107:25: danger: dereference of NULL ‘info2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def238]
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:110:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info3’
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:56:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:60:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:81:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:85:21: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:95:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:99:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:110:25: danger: dereference of NULL ‘info3’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def239]
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:130:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info1’
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:56:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:60:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:81:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:85:21: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:95:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:99:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:123:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:128:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:130:29: danger: dereference of NULL ‘info1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def240]
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:142:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info2’
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:56:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:60:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:81:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:85:21: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:95:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:99:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:123:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:128:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:142:29: danger: dereference of NULL ‘info2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def241]
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:169:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info3’
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:56:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:60:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:81:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:85:21: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:95:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:99:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:123:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:128:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:169:29: danger: dereference of NULL ‘info3’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def242]
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1717:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘i0’
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1620:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1624:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1624:9: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1632:16: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1635:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1639:21: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1648:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1652:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1661:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1665:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1665:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1669:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1669:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1680:40: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1683:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1688:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1693:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1698:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1708:12: branch_false: following ‘false’ branch...
branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1713:19: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1715:25: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1717:33: danger: dereference of NULL ‘i0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def243]
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1721:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘i1’
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1620:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1624:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1624:9: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1632:16: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1635:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1639:21: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1648:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1652:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1661:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1665:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1665:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1669:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1669:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1680:40: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1683:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1688:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1693:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1698:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1708:12: branch_false: following ‘false’ branch...
branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1713:19: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1715:25: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/group.c:1721:33: danger: dereference of NULL ‘i1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def244]
samba-4.22.1/bin/default/../../source3/lib/netapi/localgroup.c:1117:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info3’
samba-4.22.1/bin/default/../../source3/lib/netapi/localgroup.c:1377:8: enter_function: entry to ‘NetLocalGroupSetMembers_r’
samba-4.22.1/bin/default/../../source3/lib/netapi/localgroup.c:1380:16: call_function: calling ‘NetLocalGroupModifyMembers_r’ from ‘NetLocalGroupSetMembers_r’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def245]
samba-4.22.1/bin/default/../../source3/lib/netapi/share.c:97:59: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘s501’
samba-4.22.1/bin/default/../../source3/lib/netapi/share.c:319:8: enter_function: entry to ‘NetShareEnum_r’
samba-4.22.1/bin/default/../../source3/lib/netapi/share.c:352:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/share.c:356:26: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/share.c:379:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/share.c:384:14: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/share.c:384:12: branch_false: following ‘false’ branch...
branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/share.c:388:19: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/share.c:389:43: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/share.c:389:43: release_memory: ‘_i.info0’ is NULL
samba-4.22.1/bin/default/../../source3/lib/netapi/share.c:402:26: call_function: calling ‘map_srvsvc_share_info_to_SHARE_INFO_buffer’ from ‘NetShareEnum_r’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def246]
samba-4.22.1/bin/default/../../source3/lib/netapi/share.c:110:59: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘s1005’
samba-4.22.1/bin/default/../../source3/lib/netapi/share.c:319:8: enter_function: entry to ‘NetShareEnum_r’
samba-4.22.1/bin/default/../../source3/lib/netapi/share.c:352:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/share.c:356:26: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/share.c:379:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/share.c:384:14: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/share.c:384:12: branch_false: following ‘false’ branch...
branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/share.c:388:19: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/share.c:389:43: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/share.c:389:43: release_memory: ‘_i.info0’ is NULL
samba-4.22.1/bin/default/../../source3/lib/netapi/share.c:402:26: call_function: calling ‘map_srvsvc_share_info_to_SHARE_INFO_buffer’ from ‘NetShareEnum_r’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def247]
samba-4.22.1/bin/default/../../source3/lib/netapi/tests/common.c:53:34: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘puser’ where non-null expected
samba-4.22.1/bin/default/../../source3/lib/netapi/tests/common.c:45:12: branch_false: following ‘false’ branch (when ‘opt’ is non-NULL)...
samba-4.22.1/bin/default/../../source3/lib/netapi/tests/common.c:48:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/tests/common.c:50:39: acquire_memory: this call could return NULL
samba-4.22.1/bin/default/../../source3/lib/netapi/tests/common.c:53:34: danger: argument 1 (‘puser’) from [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def248]
samba-4.22.1/bin/default/../../source3/lib/netapi/tests/netgroup.c:182:49: warning[-Wanalyzer-null-argument]: use of NULL ‘current_name’ where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def249]
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:849:64: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘i21’
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1679:8: enter_function: entry to ‘NetUserGetInfo_r’
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1698:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1702:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1721:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1725:21: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1734:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1738:16: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1745:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1749:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1758:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1762:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1762:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1766:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1766:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1771:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1771:18: call_function: calling ‘libnetapi_samr_lookup_user_map_USER_INFO’ from ‘NetUserGetInfo_r’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def250]
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:872:64: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘i21’
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1679:8: enter_function: entry to ‘NetUserGetInfo_r’
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1698:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1702:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1721:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1725:21: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1734:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1738:16: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1745:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1749:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1758:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1762:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1762:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1766:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1766:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1771:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1771:18: call_function: calling ‘libnetapi_samr_lookup_user_map_USER_INFO’ from ‘NetUserGetInfo_r’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def251]
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:910:64: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘i21’
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1679:8: enter_function: entry to ‘NetUserGetInfo_r’
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1698:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1702:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1721:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1725:21: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1734:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1738:16: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1745:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1749:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1758:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1762:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1762:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1766:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1766:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1771:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1771:18: call_function: calling ‘libnetapi_samr_lookup_user_map_USER_INFO’ from ‘NetUserGetInfo_r’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def252]
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:956:64: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘i21’
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1679:8: enter_function: entry to ‘NetUserGetInfo_r’
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1698:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1702:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1721:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1725:21: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1734:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1738:16: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1745:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1749:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1758:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1762:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1762:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1766:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1766:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1771:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1771:18: call_function: calling ‘libnetapi_samr_lookup_user_map_USER_INFO’ from ‘NetUserGetInfo_r’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def253]
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1024:58: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘i21’
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1679:8: enter_function: entry to ‘NetUserGetInfo_r’
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1698:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1702:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1721:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1725:21: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1734:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1738:16: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1745:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1749:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1758:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1762:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1762:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1766:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1766:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1771:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1771:18: call_function: calling ‘libnetapi_samr_lookup_user_map_USER_INFO’ from ‘NetUserGetInfo_r’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def254]
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1057:66: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘i21’
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1679:8: enter_function: entry to ‘NetUserGetInfo_r’
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1698:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1702:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1721:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1725:21: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1734:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1738:16: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1745:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1749:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1758:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1762:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1762:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1766:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1766:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1771:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1771:18: call_function: calling ‘libnetapi_samr_lookup_user_map_USER_INFO’ from ‘NetUserGetInfo_r’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def255]
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1079:66: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘i21’
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1679:8: enter_function: entry to ‘NetUserGetInfo_r’
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1698:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1702:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1721:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1725:21: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1734:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1738:16: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1745:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1749:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1758:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1762:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1762:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1766:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1766:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1771:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:1771:18: call_function: calling ‘libnetapi_samr_lookup_user_map_USER_INFO’ from ‘NetUserGetInfo_r’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def256]
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3209:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘i0’
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3125:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3129:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3129:9: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3137:16: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3140:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3144:21: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3153:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3157:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3166:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3170:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3170:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3174:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3174:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3182:39: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3185:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3190:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3200:12: branch_false: following ‘false’ branch...
branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3205:19: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3207:25: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3209:33: danger: dereference of NULL ‘i0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def257]
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3213:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘i1’
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3125:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3129:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3129:9: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3137:16: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3140:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3144:21: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3153:12: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3157:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3166:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3170:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3170:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3174:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3174:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3182:39: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3185:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3190:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3200:12: branch_false: following ‘false’ branch...
branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3205:19: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3207:25: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/netapi/user.c:3213:33: danger: dereference of NULL ‘i1’
Error: GCC_ANALYZER_WARNING: [#def258]
samba-4.22.1/bin/default/../../source3/lib/smbrun.c:162:21: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘1’
samba-4.22.1/bin/default/../../source3/lib/smbrun.c:87:13: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/smbrun.c:99:25: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/smbrun.c:101:12: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
samba-4.22.1/bin/default/../../source3/lib/smbrun.c:111:12: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/smbrun.c:111:12: branch_false: following ‘false’ branch (when ‘pid == 0’)...
samba-4.22.1/bin/default/../../source3/lib/smbrun.c:153:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/smbrun.c:160:12: branch_true: following ‘true’ branch (when ‘outfd’ is non-NULL)...
samba-4.22.1/bin/default/../../source3/lib/smbrun.c:161:17: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/smbrun.c:161:17: release_resource: closed here
samba-4.22.1/bin/default/../../source3/lib/smbrun.c:162:21: danger: ‘1’ could be invalid
Error: GCC_ANALYZER_WARNING (CWE-775): [#def259]
samba-4.22.1/bin/default/../../source3/lib/smbrun.c:253:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ifd[0]’
samba-4.22.1/bin/default/../../source3/lib/smbrun.c:252:11: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/smbrun.c:264:25: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/smbrun.c:266:12: branch_true: following ‘true’ branch (when ‘pid < 0’)...
samba-4.22.1/bin/default/../../source3/lib/smbrun.c:267:17: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/smbrun.c:253:24: danger: ‘ifd[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def260]
samba-4.22.1/bin/default/../../source3/lib/smbrun.c:253:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ifd[1]’
samba-4.22.1/bin/default/../../source3/lib/smbrun.c:252:11: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/smbrun.c:264:25: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/smbrun.c:266:12: branch_true: following ‘true’ branch (when ‘pid < 0’)...
samba-4.22.1/bin/default/../../source3/lib/smbrun.c:267:17: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/smbrun.c:253:24: danger: ‘ifd[1]’ leaks here
Error: GCC_ANALYZER_WARNING: [#def261]
samba-4.22.1/bin/default/../../source3/lib/smbrun.c:324:13: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘0’
samba-4.22.1/bin/default/../../source3/lib/smbrun.c:252:11: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/smbrun.c:264:25: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/smbrun.c:266:12: branch_false: following ‘false’ branch (when ‘pid >= 0’)...
samba-4.22.1/bin/default/../../source3/lib/smbrun.c:272:12: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/smbrun.c:272:12: branch_false: following ‘false’ branch (when ‘pid == 0’)...
samba-4.22.1/bin/default/../../source3/lib/smbrun.c:316:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/smbrun.c:323:9: release_resource: closed here
samba-4.22.1/bin/default/../../source3/lib/smbrun.c:324:13: danger: ‘0’ could be invalid
Error: GCC_ANALYZER_WARNING (CWE-457): [#def262]
samba-4.22.1/bin/default/../../source3/lib/util_sock.c:208:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘len’
samba-4.22.1/bin/default/../../source3/lib/util_sock.c:194:10: enter_function: entry to ‘receive_smb_raw’
samba-4.22.1/bin/default/../../source3/lib/util_sock.c:200:18: call_function: calling ‘read_smb_length_return_keepalive’ from ‘receive_smb_raw’
samba-4.22.1/bin/default/../../source3/lib/util_sock.c:200:18: return_function: returning to ‘receive_smb_raw’ from ‘read_smb_length_return_keepalive’
samba-4.22.1/bin/default/../../source3/lib/util_sock.c:202:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/lib/util_sock.c:208:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/util_sock.c:208:13: danger: use of uninitialized value ‘len’ here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def263]
samba-4.22.1/bin/default/../../source3/lib/util_tdb.c:191:25: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
samba-4.22.1/bin/default/../../source3/lib/util_tdb.c:154:16: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/lib/util_tdb.c:155:29: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/util_tdb.c:154:16: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/lib/util_tdb.c:155:29: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/util_tdb.c:193:28: branch_false: following ‘false’ branch (when ‘bufsize >= len’)...
samba-4.22.1/bin/default/../../source3/lib/util_tdb.c:195:28: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/util_tdb.c:195:28: branch_true: following ‘true’ branch (when ‘ps’ is non-NULL)...
samba-4.22.1/bin/default/../../source3/lib/util_tdb.c:196:39: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/util_tdb.c:196:39: acquire_memory: allocated here
samba-4.22.1/bin/default/../../source3/lib/util_tdb.c:197:36: branch_false: following ‘false’ branch...
branch_false: ...to here
samba-4.22.1/bin/default/../../source3/lib/util_tdb.c:154:16: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/lib/util_tdb.c:155:29: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/lib/util_tdb.c:191:25: danger: ‘<unknown>’ leaks here; was allocated at [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def264]
samba-4.22.1/bin/default/../../source3/libads/ldap_schema.c:289:19: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘num_names’
samba-4.22.1/bin/default/../../source3/libads/ldap_schema.c:247:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libads/ldap_schema.c:251:24: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libads/ldap_schema.c:251:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libads/ldap_schema.c:256:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libads/ldap_schema.c:257:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libads/ldap_schema.c:262:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libads/ldap_schema.c:283:12: branch_false: following ‘false’ branch...
branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libads/ldap_schema.c:289:19: danger: use of uninitialized value ‘num_names’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def265]
samba-4.22.1/bin/default/../../source3/libnet/libnet_dssync.c:555:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘new_utdv’
samba-4.22.1/bin/default/../../source3/libnet/libnet_dssync.c:629:17: enter_function: entry to ‘libnet_dssync_process’
samba-4.22.1/bin/default/../../source3/libnet/libnet_dssync.c:636:40: release_memory: ‘old_utdv’ is NULL
samba-4.22.1/bin/default/../../source3/libnet/libnet_dssync.c:637:40: release_memory: ‘old_utdv’ is NULL
samba-4.22.1/bin/default/../../source3/libnet/libnet_dssync.c:642:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/libnet/libnet_dssync.c:643:26: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/libnet/libnet_dssync.c:644:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libnet/libnet_dssync.c:652:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libnet/libnet_dssync.c:662:23: branch_true: following ‘true’ branch (when ‘dn_count > count’)...
samba-4.22.1/bin/default/../../source3/libnet/libnet_dssync.c:663:26: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/libnet/libnet_dssync.c:663:26: call_function: calling ‘libnet_dssync_build_request’ from ‘libnet_dssync_process’
samba-4.22.1/bin/default/../../source3/libnet/libnet_dssync.c:663:26: return_function: returning to ‘libnet_dssync_process’ from ‘libnet_dssync_build_request’
samba-4.22.1/bin/default/../../source3/libnet/libnet_dssync.c:667:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libnet/libnet_dssync.c:671:26: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libnet/libnet_dssync.c:671:26: call_function: calling ‘libnet_dssync_getncchanges’ from ‘libnet_dssync_process’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def266]
samba-4.22.1/bin/default/../../source3/libnet/libnet_dssync.c:580:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘new_utdv’
samba-4.22.1/bin/default/../../source3/libnet/libnet_dssync.c:629:17: enter_function: entry to ‘libnet_dssync_process’
samba-4.22.1/bin/default/../../source3/libnet/libnet_dssync.c:636:40: release_memory: ‘old_utdv’ is NULL
samba-4.22.1/bin/default/../../source3/libnet/libnet_dssync.c:637:40: release_memory: ‘old_utdv’ is NULL
samba-4.22.1/bin/default/../../source3/libnet/libnet_dssync.c:642:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/libnet/libnet_dssync.c:643:26: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/libnet/libnet_dssync.c:644:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libnet/libnet_dssync.c:652:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libnet/libnet_dssync.c:662:23: branch_true: following ‘true’ branch (when ‘dn_count > count’)...
samba-4.22.1/bin/default/../../source3/libnet/libnet_dssync.c:663:26: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/libnet/libnet_dssync.c:663:26: call_function: calling ‘libnet_dssync_build_request’ from ‘libnet_dssync_process’
samba-4.22.1/bin/default/../../source3/libnet/libnet_dssync.c:663:26: return_function: returning to ‘libnet_dssync_process’ from ‘libnet_dssync_build_request’
samba-4.22.1/bin/default/../../source3/libnet/libnet_dssync.c:667:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libnet/libnet_dssync.c:671:26: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libnet/libnet_dssync.c:671:26: call_function: calling ‘libnet_dssync_getncchanges’ from ‘libnet_dssync_process’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def267]
samba-4.22.1/bin/default/../../source3/librpc/crypto/gse.c:1000:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ccache’
samba-4.22.1/bin/default/../../source3/librpc/crypto/gse.c:916:17: enter_function: entry to ‘gensec_gse_client_prepare_ccache’
samba-4.22.1/bin/default/../../source3/librpc/crypto/gse.c:931:55: release_memory: ‘ccache’ is NULL
samba-4.22.1/bin/default/../../source3/librpc/crypto/gse.c:972:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/librpc/crypto/gse.c:977:16: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/librpc/crypto/gse.c:978:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/librpc/crypto/gse.c:989:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/librpc/crypto/gse.c:989:18: call_function: calling ‘gensec_gse_client_prepare_krb5_ccache_create’ from ‘gensec_gse_client_prepare_ccache’
samba-4.22.1/bin/default/../../source3/librpc/crypto/gse.c:989:18: return_function: returning to ‘gensec_gse_client_prepare_ccache’ from ‘gensec_gse_client_prepare_krb5_ccache_create’
samba-4.22.1/bin/default/../../source3/librpc/crypto/gse.c:991:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/librpc/crypto/gse.c:998:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/librpc/crypto/gse.c:998:9: release_memory: ‘ccache’ is NULL
samba-4.22.1/bin/default/../../source3/librpc/crypto/gse.c:1000:9: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/librpc/crypto/gse.c:1000:9: release_memory: ‘ccache’ is NULL
samba-4.22.1/bin/default/../../source3/librpc/crypto/gse.c:1000:9: danger: dereference of NULL ‘ccache’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def268]
samba-4.22.1/bin/default/../../source3/librpc/crypto/gse.c:1008:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ccache’
samba-4.22.1/bin/default/../../source3/librpc/crypto/gse.c:916:17: enter_function: entry to ‘gensec_gse_client_prepare_ccache’
samba-4.22.1/bin/default/../../source3/librpc/crypto/gse.c:931:55: release_memory: ‘ccache’ is NULL
samba-4.22.1/bin/default/../../source3/librpc/crypto/gse.c:972:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/librpc/crypto/gse.c:977:16: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/librpc/crypto/gse.c:978:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/librpc/crypto/gse.c:989:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/librpc/crypto/gse.c:989:18: call_function: calling ‘gensec_gse_client_prepare_krb5_ccache_create’ from ‘gensec_gse_client_prepare_ccache’
samba-4.22.1/bin/default/../../source3/librpc/crypto/gse.c:989:18: return_function: returning to ‘gensec_gse_client_prepare_ccache’ from ‘gensec_gse_client_prepare_krb5_ccache_create’
samba-4.22.1/bin/default/../../source3/librpc/crypto/gse.c:991:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/librpc/crypto/gse.c:998:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/librpc/crypto/gse.c:998:9: release_memory: ‘ccache’ is NULL
samba-4.22.1/bin/default/../../source3/librpc/crypto/gse.c:1008:49: release_memory: ‘ccache’ is NULL
samba-4.22.1/bin/default/../../source3/librpc/crypto/gse.c:1008:43: danger: dereference of NULL ‘ccache’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def269]
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:700:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ph’
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:674:20: enter_function: entry to ‘cli_smb2_set_info_fnum_send’
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:686:26: release_memory: ‘ph’ is NULL
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:691:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:695:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:695:18: call_function: calling ‘map_fnum_to_smb2_handle’ from ‘cli_smb2_set_info_fnum_send’
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:695:18: return_function: returning to ‘cli_smb2_set_info_fnum_send’ from ‘map_fnum_to_smb2_handle’
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:696:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:712:19: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:712:19: release_memory: ‘ph’ is NULL
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:700:18: danger: dereference of NULL ‘ph’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def270]
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:1921:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ph’
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:1893:20: enter_function: entry to ‘cli_smb2_query_info_fnum_send’
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:1907:26: release_memory: ‘ph’ is NULL
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:1912:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:1916:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:1916:18: call_function: calling ‘map_fnum_to_smb2_handle’ from ‘cli_smb2_query_info_fnum_send’
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:1916:18: return_function: returning to ‘cli_smb2_query_info_fnum_send’ from ‘map_fnum_to_smb2_handle’
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:1917:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:1935:19: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:1935:19: release_memory: ‘ph’ is NULL
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:1921:18: danger: dereference of NULL ‘ph’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def271]
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:4797:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ph’
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:4772:20: enter_function: entry to ‘cli_smb2_notify_send’
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:4783:26: release_memory: ‘ph’ is NULL
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:4788:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:4792:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:4792:18: call_function: calling ‘map_fnum_to_smb2_handle’ from ‘cli_smb2_notify_send’
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:4792:18: return_function: returning to ‘cli_smb2_notify_send’ from ‘map_fnum_to_smb2_handle’
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:4793:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:4797:25: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:4806:19: release_memory: ‘ph’ is NULL
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:4797:25: danger: dereference of NULL ‘ph’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def272]
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:4992:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ph’
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:4968:20: enter_function: entry to ‘cli_smb2_fsctl_send’
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:4979:26: release_memory: ‘ph’ is NULL
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:4983:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:4987:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:4987:18: call_function: calling ‘map_fnum_to_smb2_handle’ from ‘cli_smb2_fsctl_send’
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:4987:18: return_function: returning to ‘cli_smb2_fsctl_send’ from ‘map_fnum_to_smb2_handle’
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:4988:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:5000:19: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:5000:19: release_memory: ‘ph’ is NULL
samba-4.22.1/bin/default/../../source3/libsmb/cli_smb2_fnum.c:4992:18: danger: dereference of NULL ‘ph’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def273]
samba-4.22.1/bin/default/../../source3/libsmb/clidfs.c:1338:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘refs’
samba-4.22.1/bin/default/../../source3/libsmb/clidfs.c:1248:6: enter_function: entry to ‘cli_check_msdfs_proxy’
samba-4.22.1/bin/default/../../source3/libsmb/clidfs.c:1255:37: release_memory: ‘refs’ is NULL
samba-4.22.1/bin/default/../../source3/libsmb/clidfs.c:1268:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/clidfs.c:1272:23: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clidfs.c:1276:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/clidfs.c:1282:20: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clidfs.c:1283:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/clidfs.c:1288:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clidfs.c:1294:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/clidfs.c:1299:12: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clidfs.c:1322:18: call_function: calling ‘cli_dfs_get_referral’ from ‘cli_check_msdfs_proxy’
samba-4.22.1/bin/default/../../source3/libsmb/clidfs.c:1322:18: return_function: returning to ‘cli_check_msdfs_proxy’ from ‘cli_dfs_get_referral’
samba-4.22.1/bin/default/../../source3/libsmb/clidfs.c:1330:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/clidfs.c:1334:12: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clidfs.c:1334:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/clidfs.c:1338:14: release_memory: ‘refs’ is NULL
samba-4.22.1/bin/default/../../source3/libsmb/clidfs.c:1338:14: danger: dereference of NULL ‘refs’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def274]
samba-4.22.1/bin/default/../../source3/libsmb/clilist.c:856:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘finfo’
samba-4.22.1/bin/default/../../source3/libsmb/clilist.c:755:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/clilist.c:763:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clilist.c:776:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/clilist.c:779:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clilist.c:842:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/clilist.c:845:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clilist.c:849:12: branch_false: following ‘false’ branch (when ‘ff_eos == 0’)...
samba-4.22.1/bin/default/../../source3/libsmb/clilist.c:855:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clilist.c:855:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/clilist.c:856:44: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clilist.c:856:44: danger: dereference of NULL ‘finfo’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def275]
samba-4.22.1/bin/default/../../source3/libsmb/cliprint.c:73:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
Error: GCC_ANALYZER_WARNING (CWE-121): [#def276]
samba-4.22.1/bin/default/../../source3/libsmb/cliprint.c:169:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
Error: GCC_ANALYZER_WARNING (CWE-121): [#def277]
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:62:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
Error: GCC_ANALYZER_WARNING (CWE-121): [#def278]
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:214:25: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:213:20: branch_false: following ‘false’ branch (when ‘func != 215’)...
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:216:25: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:237:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:241:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:243:20: branch_false: following ‘false’ branch (when ‘func != 215’)...
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:270:36: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:285:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:291:29: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:308:28: branch_true: following ‘true’ branch (when ‘total_cnt == 0’)...
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:309:45: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:328:28: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:335:25: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:384:28: branch_false: following ‘false’ branch (when ‘last_entry’ is NULL)...
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:389:28: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:389:28: branch_true: following ‘true’ branch (when ‘sname’ is non-NULL)...
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:390:46: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:394:28: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:400:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:400:17: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:401:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:401:17: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:402:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:402:18: branch_true: following ‘true’ branch...
branch_true: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:213:20: branch_true: following ‘true’ branch (when ‘func == 215’)...
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:214:25: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:214:25: danger: out-of-bounds write from byte 1024 till byte 1025 but ‘param’ ends at byte 1024
Error: GCC_ANALYZER_WARNING (CWE-121): [#def279]
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:216:25: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:213:20: branch_false: following ‘false’ branch (when ‘func != 215’)...
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:216:25: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:216:25: danger: out-of-bounds write from byte 1024 till byte 1025 but ‘param’ ends at byte 1024
Error: GCC_ANALYZER_WARNING (CWE-476): [#def280]
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:349:51: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p’
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:187:18: release_memory: ‘rparam’ is NULL
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:188:18: release_memory: ‘rparam’ is NULL
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:213:20: branch_false: following ‘false’ branch (when ‘func != 215’)...
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:216:25: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:237:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:241:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:243:20: branch_false: following ‘false’ branch (when ‘func != 215’)...
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:270:36: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:285:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:291:29: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:308:28: branch_true: following ‘true’ branch (when ‘total_cnt == 0’)...
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:309:45: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:328:28: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:335:25: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:384:28: branch_false: following ‘false’ branch (when ‘last_entry’ is NULL)...
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:389:28: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:389:28: branch_true: following ‘true’ branch (when ‘sname’ is non-NULL)...
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:390:46: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:394:28: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:400:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:401:17: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:402:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:402:18: branch_true: following ‘true’ branch...
branch_true: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:213:20: branch_true: following ‘true’ branch (when ‘func == 215’)...
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:214:25: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:237:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:241:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:243:20: branch_true: following ‘true’ branch (when ‘func == 215’)...
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:246:57: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:249:28: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:253:25: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:285:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:291:29: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:295:20: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:298:39: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:328:28: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:328:29: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:328:29: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:335:25: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:335:37: branch_true: following ‘true’ branch (when ‘i < count’)...
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:340:53: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:343:36: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:349:51: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:349:51: danger: dereference of NULL ‘p’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def281]
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:446:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:439:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:444:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clirap.c:446:9: danger: out-of-bounds write from byte 1024 till byte 1025 but ‘param’ ends at byte 1024
Error: GCC_ANALYZER_WARNING (CWE-457): [#def282]
samba-4.22.1/bin/default/../../source3/libsmb/clireadwrite.c:1817:26: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘nread’
samba-4.22.1/bin/default/../../source3/libsmb/clireadwrite.c:1791:17: enter_function: entry to ‘cli_splice_fallback’
samba-4.22.1/bin/default/../../source3/libsmb/clireadwrite.c:1807:16: branch_true: following ‘true’ branch (when ‘remaining != 0’)...
samba-4.22.1/bin/default/../../source3/libsmb/clireadwrite.c:1808:34: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clireadwrite.c:1810:26: call_function: calling ‘cli_read’ from ‘cli_splice_fallback’
samba-4.22.1/bin/default/../../source3/libsmb/clireadwrite.c:1810:26: return_function: returning to ‘cli_splice_fallback’ from ‘cli_read’
samba-4.22.1/bin/default/../../source3/libsmb/clireadwrite.c:1813:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/clireadwrite.c:1817:26: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/clireadwrite.c:1817:26: danger: use of uninitialized value ‘nread’ here
Error: GCC_ANALYZER_WARNING (CWE-465): [#def283]
samba-4.22.1/bin/default/../../source3/libsmb/libsmb_dir.c:55:17: warning[-Wanalyzer-deref-before-check]: check of ‘*d.smb_finfo’ for NULL after already dereferencing it
samba-4.22.1/bin/default/../../source3/libsmb/libsmb_dir.c:49:16: branch_true: following ‘true’ branch (when ‘d’ is non-NULL)...
samba-4.22.1/bin/default/../../source3/libsmb/libsmb_dir.c:51:17: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/libsmb_dir.c:54:17: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/libsmb_dir.c:55:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/libsmb_dir.c:55:17: danger: pointer ‘*d.smb_finfo’ is checked for NULL here but it was already dereferenced at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def284]
samba-4.22.1/bin/default/../../source3/libsmb/libsmb_dir.c:258:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dir_list’
samba-4.22.1/bin/default/../../source3/libsmb/libsmb_dir.c:230:1: enter_function: entry to ‘list_unique_wg_fn’
samba-4.22.1/bin/default/../../source3/libsmb/libsmb_dir.c:243:13: call_function: calling ‘add_dirent’ from ‘list_unique_wg_fn’
samba-4.22.1/bin/default/../../source3/libsmb/libsmb_dir.c:243:13: return_function: return of NULL to ‘list_unique_wg_fn’ from ‘add_dirent’
samba-4.22.1/bin/default/../../source3/libsmb/libsmb_dir.c:255:14: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/libsmb_dir.c:257:20: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/libsmb_dir.c:257:20: branch_true: following ‘true’ branch (when ‘do_remove == 0’)...
samba-4.22.1/bin/default/../../source3/libsmb/libsmb_dir.c:258:52: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/libsmb_dir.c:258:28: danger: dereference of NULL ‘dir_list’
Error: COMPILER_WARNING (CWE-477): [#def285]
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:274:9: warning[-Wdeprecated-declarations]: ‘PyEval_InitThreads’ is deprecated
Error: GCC_ANALYZER_WARNING (CWE-457): [#def286]
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:645:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘share’
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:537:12: enter_function: entry to ‘py_cli_state_init’
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:568:45: call_function: calling ‘get_pytype’ from ‘py_cli_state_init’
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:568:45: return_function: returning to ‘py_cli_state_init’ from ‘get_pytype’
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:570:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:574:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:584:9: call_function: inlined call to ‘Py_DECREF’ from ‘py_cli_state_init’
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:586:12: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:586:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:590:26: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:613:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:621:12: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:621:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:633:23: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:633:23: call_function: calling ‘py_cli_state_setup_ev’ from ‘py_cli_state_init’
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:633:23: return_function: returning to ‘py_cli_state_init’ from ‘py_cli_state_setup_ev’
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:634:20: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:639:13: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:639:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:640:29: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:645:15: danger: use of uninitialized value ‘share’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def287]
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:1664:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘buflen’
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:1658:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:1664:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:1664:15: danger: use of uninitialized value ‘buflen’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def288]
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:1807:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘size’
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:1801:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:1807:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:1807:18: danger: use of uninitialized value ‘size’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def289]
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:1861:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘size’
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:1856:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:1861:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:1861:15: danger: use of uninitialized value ‘size’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def290]
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:1891:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘flag’
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:1886:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:1891:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:1891:15: danger: use of uninitialized value ‘flag’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def291]
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:2918:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘buflen’
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:2914:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:2918:36: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:2918:9: danger: use of uninitialized value ‘buflen’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def292]
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:2987:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘dst_offset’
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:2967:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:2973:14: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:2983:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:2987:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/pylibsmb.c:2987:15: danger: use of uninitialized value ‘dst_offset’ here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def293]
samba-4.22.1/bin/default/../../source3/libsmb/unexpected.c:94:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘create_pipe_sock(nmbd_socket_dir, "unexpected", 493)’
samba-4.22.1/bin/default/../../source3/libsmb/unexpected.c:80:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/unexpected.c:84:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/unexpected.c:89:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/libsmb/unexpected.c:93:14: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/libsmb/unexpected.c:94:12: danger: ‘create_pipe_sock(nmbd_socket_dir, "unexpected", 493)’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def294]
samba-4.22.1/bin/default/../../source3/modules/vfs_crossrename.c:165:23: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘openat(fsp_get_pathref_fd(srcfsp), *source.base_name, 0, 0)’
samba-4.22.1/bin/default/../../source3/modules/vfs_crossrename.c:64:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/modules/vfs_crossrename.c:68:14: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/modules/vfs_crossrename.c:68:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/modules/vfs_crossrename.c:73:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/modules/vfs_crossrename.c:73:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/modules/vfs_crossrename.c:84:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/modules/vfs_crossrename.c:97:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/modules/vfs_crossrename.c:103:22: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/modules/vfs_crossrename.c:106:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/modules/vfs_crossrename.c:111:39: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/modules/vfs_crossrename.c:112:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/modules/vfs_crossrename.c:117:49: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/modules/vfs_crossrename.c:144:15: release_resource: first ‘close’ here
samba-4.22.1/bin/default/../../source3/modules/vfs_crossrename.c:145:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/modules/vfs_crossrename.c:146:49: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/modules/vfs_crossrename.c:164:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/modules/vfs_crossrename.c:165:23: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/modules/vfs_crossrename.c:165:23: danger: second ‘close’ here; first ‘close’ was at [(13)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/12)
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def295]
samba-4.22.1/bin/default/../../source3/modules/vfs_crossrename.c:174:23: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘ofd’
samba-4.22.1/bin/default/../../source3/modules/vfs_crossrename.c:64:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/modules/vfs_crossrename.c:68:14: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/modules/vfs_crossrename.c:68:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/modules/vfs_crossrename.c:73:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/modules/vfs_crossrename.c:73:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/modules/vfs_crossrename.c:84:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/modules/vfs_crossrename.c:97:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/modules/vfs_crossrename.c:103:22: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/modules/vfs_crossrename.c:106:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/modules/vfs_crossrename.c:111:39: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/modules/vfs_crossrename.c:112:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/modules/vfs_crossrename.c:117:49: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/modules/vfs_crossrename.c:145:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/modules/vfs_crossrename.c:151:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/modules/vfs_crossrename.c:151:15: release_resource: first ‘close’ here
samba-4.22.1/bin/default/../../source3/modules/vfs_crossrename.c:152:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/modules/vfs_crossrename.c:153:49: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/modules/vfs_crossrename.c:173:12: branch_true: following ‘true’ branch (when ‘ofd != -1’)...
samba-4.22.1/bin/default/../../source3/modules/vfs_crossrename.c:174:23: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/modules/vfs_crossrename.c:174:23: danger: second ‘close’ here; first ‘close’ was at [(15)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/14)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def296]
samba-4.22.1/bin/default/../../source3/modules/vfs_dirsort.c:150:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘handle’
samba-4.22.1/bin/default/../../source3/modules/vfs_dirsort.c:143:12: branch_false: following ‘false’ branch (when ‘handle’ is NULL)...
samba-4.22.1/bin/default/../../source3/modules/vfs_dirsort.c:150:16: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/modules/vfs_dirsort.c:150:16: danger: dereference of NULL ‘handle’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def297]
samba-4.22.1/bin/default/../../source3/modules/vfs_fileid.c:180:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*data.mount_entries’
samba-4.22.1/bin/default/../../source3/modules/vfs_fileid.c:370:17: enter_function: entry to ‘fileid_device_mapping_fsid’
samba-4.22.1/bin/default/../../source3/modules/vfs_fileid.c:375:13: call_function: calling ‘fileid_find_mount_entry’ from ‘fileid_device_mapping_fsid’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def298]
samba-4.22.1/bin/default/../../source3/modules/vfs_fileid.c:187:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*data.mount_entries’
samba-4.22.1/bin/default/../../source3/modules/vfs_fileid.c:171:35: enter_function: entry to ‘fileid_find_mount_entry’
samba-4.22.1/bin/default/../../source3/modules/vfs_fileid.c:185:9: call_function: calling ‘fileid_load_mount_entries’ from ‘fileid_find_mount_entry’
samba-4.22.1/bin/default/../../source3/modules/vfs_fileid.c:185:9: return_function: returning to ‘fileid_find_mount_entry’ from ‘fileid_load_mount_entries’
samba-4.22.1/bin/default/../../source3/modules/vfs_fileid.c:186:18: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/modules/vfs_fileid.c:187:21: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/modules/vfs_fileid.c:187:21: release_memory: ‘*data.mount_entries’ is NULL
samba-4.22.1/bin/default/../../source3/modules/vfs_fileid.c:187:40: release_memory: ‘*data.mount_entries’ is NULL
samba-4.22.1/bin/default/../../source3/modules/vfs_fileid.c:187:21: danger: dereference of NULL ‘*data.mount_entries + (long unsigned int)i * 32’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def299]
samba-4.22.1/bin/default/../../source3/nmbd/asyncdns.c:148:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd1[0]’
samba-4.22.1/bin/default/../../source3/nmbd/asyncdns.c:146:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/nmbd/asyncdns.c:146:26: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/nmbd/asyncdns.c:146:13: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/nmbd/asyncdns.c:147:17: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/nmbd/asyncdns.c:148:17: danger: ‘fd1[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def300]
samba-4.22.1/bin/default/../../source3/nmbd/asyncdns.c:148:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd1[1]’
samba-4.22.1/bin/default/../../source3/nmbd/asyncdns.c:146:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/nmbd/asyncdns.c:146:26: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/nmbd/asyncdns.c:146:13: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/nmbd/asyncdns.c:147:17: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/nmbd/asyncdns.c:148:17: danger: ‘fd1[1]’ leaks here
Error: COMPILER_WARNING: [#def301]
samba-4.22.1/bin/default/../../source3/nmbd/nmbd_become_lmb.c:549:9: warning[-Wstringop-overflow=]: ‘strlcpy’ writing 257 bytes into a region of size 16 overflows the destination
Error: COMPILER_WARNING: [#def302]
samba-4.22.1/bin/default/../../source3/nmbd/nmbd_browsesync.c:337:9: warning[-Wstringop-overflow=]: ‘strlcpy’ writing 257 bytes into a region of size 16 overflows the destination
Error: GCC_ANALYZER_WARNING (CWE-476): [#def303]
samba-4.22.1/bin/default/../../source3/passdb/pdb_samba_dsdb.c:891:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
samba-4.22.1/bin/default/../../source3/passdb/pdb_samba_dsdb.c:882:17: enter_function: entry to ‘pdb_samba_dsdb_update_sam_account’
samba-4.22.1/bin/default/../../source3/passdb/pdb_samba_dsdb.c:887:35: call_function: calling ‘pdb_samba_dsdb_get_samu_private’ from ‘pdb_samba_dsdb_update_sam_account’
samba-4.22.1/bin/default/../../source3/passdb/pdb_samba_dsdb.c:887:35: return_function: returning to ‘pdb_samba_dsdb_update_sam_account’ from ‘pdb_samba_dsdb_get_samu_private’
samba-4.22.1/bin/default/../../source3/passdb/pdb_samba_dsdb.c:891:15: danger: dereference of NULL ‘pdb_samba_dsdb_get_samu_private(m, sam)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def304]
samba-4.22.1/bin/default/../../source3/printing/queue_process.c:368:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ready_fds[0]’
samba-4.22.1/bin/default/../../source3/printing/queue_process.c:367:12: branch_false: following ‘false’ branch (when ‘ret != -1’)...
samba-4.22.1/bin/default/../../source3/printing/queue_process.c:371:16: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/printing/queue_process.c:368:24: danger: ‘ready_fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def305]
samba-4.22.1/bin/default/../../source3/registry/reg_parse_internal.c:237:20: warning[-Wanalyzer-malloc-leak]: leak of ‘iconv_open(smbreg_get_charset(to), smbreg_get_charset(from))’
samba-4.22.1/bin/default/../../source3/registry/reg_parse_internal.c:233:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/registry/reg_parse_internal.c:234:24: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/registry/reg_parse_internal.c:236:24: acquire_memory: allocated here
samba-4.22.1/bin/default/../../source3/registry/reg_parse_internal.c:237:20: danger: ‘iconv_open(smbreg_get_charset(to), smbreg_get_charset(from))’ leaks here; was allocated at [(3)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def306]
samba-4.22.1/bin/default/../../source3/registry/reg_parse_prs.c:386:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*data32’
samba-4.22.1/bin/default/../../source3/registry/reg_parse_prs.c:401:6: enter_function: entry to ‘prs_uint64’
samba-4.22.1/bin/default/../../source3/registry/reg_parse_prs.c:403:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/registry/reg_parse_prs.c:406:22: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/registry/reg_parse_prs.c:406:22: call_function: calling ‘prs_uint32’ from ‘prs_uint64’
samba-4.22.1/bin/default/../../source3/registry/reg_parse_prs.c:406:22: return_function: returning to ‘prs_uint64’ from ‘prs_uint32’
samba-4.22.1/bin/default/../../source3/registry/reg_parse_prs.c:406:20: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/registry/reg_parse_prs.c:409:22: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/registry/reg_parse_prs.c:409:22: call_function: calling ‘prs_uint32’ from ‘prs_uint64’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def307]
samba-4.22.1/bin/default/../../source3/registry/reg_parse_prs.c:388:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*data32’
samba-4.22.1/bin/default/../../source3/registry/reg_parse_prs.c:401:6: enter_function: entry to ‘prs_uint64’
samba-4.22.1/bin/default/../../source3/registry/reg_parse_prs.c:403:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/registry/reg_parse_prs.c:406:22: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/registry/reg_parse_prs.c:406:22: call_function: calling ‘prs_uint32’ from ‘prs_uint64’
samba-4.22.1/bin/default/../../source3/registry/reg_parse_prs.c:406:22: return_function: returning to ‘prs_uint64’ from ‘prs_uint32’
samba-4.22.1/bin/default/../../source3/registry/reg_parse_prs.c:406:20: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/registry/reg_parse_prs.c:409:22: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/registry/reg_parse_prs.c:409:22: call_function: calling ‘prs_uint32’ from ‘prs_uint64’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def308]
samba-4.22.1/bin/default/../../source3/rpc_client/cli_winreg_spoolss.c:1705:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘v’
samba-4.22.1/bin/default/../../source3/rpc_client/cli_winreg_spoolss.c:1501:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/rpc_client/cli_winreg_spoolss.c:1506:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/rpc_client/cli_winreg_spoolss.c:1514:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/rpc_client/cli_winreg_spoolss.c:1520:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/rpc_client/cli_winreg_spoolss.c:1532:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/rpc_client/cli_winreg_spoolss.c:1538:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/rpc_client/cli_winreg_spoolss.c:1541:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/rpc_client/cli_winreg_spoolss.c:1545:29: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/rpc_client/cli_winreg_spoolss.c:1546:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/rpc_client/cli_winreg_spoolss.c:1549:30: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/rpc_client/cli_winreg_spoolss.c:1550:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/rpc_client/cli_winreg_spoolss.c:1553:28: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/rpc_client/cli_winreg_spoolss.c:1554:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/rpc_client/cli_winreg_spoolss.c:1557:27: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/rpc_client/cli_winreg_spoolss.c:1558:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/rpc_client/cli_winreg_spoolss.c:1561:29: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/rpc_client/cli_winreg_spoolss.c:1562:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/rpc_client/cli_winreg_spoolss.c:1565:26: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/rpc_client/cli_winreg_spoolss.c:1566:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/rpc_client/cli_winreg_spoolss.c:1569:27: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/rpc_client/cli_winreg_spoolss.c:1570:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/rpc_client/cli_winreg_spoolss.c:1573:26: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/rpc_client/cli_winreg_spoolss.c:1574:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/rpc_client/cli_winreg_spoolss.c:1577:33: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/rpc_client/cli_winreg_spoolss.c:1578:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/rpc_client/cli_winreg_spoolss.c:1581:27: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/rpc_client/cli_winreg_spoolss.c:1582:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/rpc_client/cli_winreg_spoolss.c:1585:29: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/rpc_client/cli_winreg_spoolss.c:1586:12: branch_false: following ‘false’ branch...
branch_false: ...to here
samba-4.22.1/bin/default/../../source3/rpc_client/cli_winreg_spoolss.c:1590:21: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/rpc_client/cli_winreg_spoolss.c:1704:14: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/rpc_client/cli_winreg_spoolss.c:1704:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/rpc_client/cli_winreg_spoolss.c:1705:17: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/rpc_client/cli_winreg_spoolss.c:1705:17: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/rpc_client/cli_winreg_spoolss.c:1705:17: danger: dereference of NULL ‘v’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def309]
samba-4.22.1/bin/default/../../source3/rpc_client/wsp_cli.c:1420:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘crestr’
samba-4.22.1/bin/default/../../source3/rpc_client/wsp_cli.c:1460:13: enter_function: entry to ‘process_query_node’
samba-4.22.1/bin/default/../../source3/rpc_client/wsp_cli.c:1464:34: release_memory: ‘left’ is NULL
samba-4.22.1/bin/default/../../source3/rpc_client/wsp_cli.c:1464:48: release_memory: ‘left’ is NULL
samba-4.22.1/bin/default/../../source3/rpc_client/wsp_cli.c:1465:12: branch_false: following ‘false’ branch (when ‘node’ is non-NULL)...
samba-4.22.1/bin/default/../../source3/rpc_client/wsp_cli.c:1468:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/rpc_client/wsp_cli.c:1483:14: release_memory: ‘left’ is NULL
samba-4.22.1/bin/default/../../source3/rpc_client/wsp_cli.c:1483:14: release_memory: ‘left’ is NULL
samba-4.22.1/bin/default/../../source3/rpc_client/wsp_cli.c:1483:14: call_function: calling ‘process_query_node’ from ‘process_query_node’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def310]
samba-4.22.1/bin/default/../../source3/rpc_client/wsp_cli.c:1457:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘crestriction’
samba-4.22.1/bin/default/../../source3/rpc_client/wsp_cli.c:1460:13: enter_function: entry to ‘process_query_node’
samba-4.22.1/bin/default/../../source3/rpc_client/wsp_cli.c:1464:34: release_memory: ‘left’ is NULL
samba-4.22.1/bin/default/../../source3/rpc_client/wsp_cli.c:1464:48: release_memory: ‘left’ is NULL
samba-4.22.1/bin/default/../../source3/rpc_client/wsp_cli.c:1465:12: branch_false: following ‘false’ branch (when ‘node’ is non-NULL)...
samba-4.22.1/bin/default/../../source3/rpc_client/wsp_cli.c:1468:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/rpc_client/wsp_cli.c:1483:14: release_memory: ‘left’ is NULL
samba-4.22.1/bin/default/../../source3/rpc_client/wsp_cli.c:1483:14: release_memory: ‘left’ is NULL
samba-4.22.1/bin/default/../../source3/rpc_client/wsp_cli.c:1483:14: call_function: calling ‘process_query_node’ from ‘process_query_node’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def311]
samba-4.22.1/bin/default/../../source3/rpc_server/dfs/srv_dfs_nt.c:239:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘j’
samba-4.22.1/bin/default/../../source3/rpc_server/dfs/srv_dfs_nt.c:319:8: enter_function: entry to ‘_dfs_Enum’
samba-4.22.1/bin/default/../../source3/rpc_server/dfs/srv_dfs_nt.c:376:21: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/rpc_server/dfs/srv_dfs_nt.c:377:25: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/rpc_server/dfs/srv_dfs_nt.c:379:25: release_memory: ‘jn’ is NULL
samba-4.22.1/bin/default/../../source3/rpc_server/dfs/srv_dfs_nt.c:379:25: call_function: calling ‘init_reply_dfs_info_1’ from ‘_dfs_Enum’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def312]
samba-4.22.1/bin/default/../../source3/rpc_server/dfs/srv_dfs_nt.c:251:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘j’
samba-4.22.1/bin/default/../../source3/rpc_server/dfs/srv_dfs_nt.c:319:8: enter_function: entry to ‘_dfs_Enum’
samba-4.22.1/bin/default/../../source3/rpc_server/dfs/srv_dfs_nt.c:376:21: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/rpc_server/dfs/srv_dfs_nt.c:377:25: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/rpc_server/dfs/srv_dfs_nt.c:382:25: release_memory: ‘jn’ is NULL
samba-4.22.1/bin/default/../../source3/rpc_server/dfs/srv_dfs_nt.c:382:25: call_function: calling ‘init_reply_dfs_info_2’ from ‘_dfs_Enum’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def313]
samba-4.22.1/bin/default/../../source3/rpc_server/dfs/srv_dfs_nt.c:264:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘j’
samba-4.22.1/bin/default/../../source3/rpc_server/dfs/srv_dfs_nt.c:319:8: enter_function: entry to ‘_dfs_Enum’
samba-4.22.1/bin/default/../../source3/rpc_server/dfs/srv_dfs_nt.c:376:21: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/rpc_server/dfs/srv_dfs_nt.c:377:25: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/rpc_server/dfs/srv_dfs_nt.c:385:25: release_memory: ‘jn’ is NULL
samba-4.22.1/bin/default/../../source3/rpc_server/dfs/srv_dfs_nt.c:385:25: call_function: calling ‘init_reply_dfs_info_3’ from ‘_dfs_Enum’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def314]
samba-4.22.1/bin/default/../../source3/rpc_server/dfs/srv_dfs_nt.c:306:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘stor’
samba-4.22.1/bin/default/../../source3/rpc_server/dfs/srv_dfs_nt.c:271:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/rpc_server/dfs/srv_dfs_nt.c:274:25: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/rpc_server/dfs/srv_dfs_nt.c:279:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/rpc_server/dfs/srv_dfs_nt.c:285:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/rpc_server/dfs/srv_dfs_nt.c:285:17: release_memory: ‘*dfs3.stores’ is NULL
samba-4.22.1/bin/default/../../source3/rpc_server/dfs/srv_dfs_nt.c:288:18: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/rpc_server/dfs/srv_dfs_nt.c:291:50: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/rpc_server/dfs/srv_dfs_nt.c:291:50: release_memory: ‘*dfs3.stores’ is NULL
samba-4.22.1/bin/default/../../source3/rpc_server/dfs/srv_dfs_nt.c:291:41: release_memory: ‘stor’ is NULL
samba-4.22.1/bin/default/../../source3/rpc_server/dfs/srv_dfs_nt.c:295:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/rpc_server/dfs/srv_dfs_nt.c:298:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/rpc_server/dfs/srv_dfs_nt.c:300:19: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/rpc_server/dfs/srv_dfs_nt.c:304:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/rpc_server/dfs/srv_dfs_nt.c:306:17: danger: dereference of NULL ‘stor’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def315]
samba-4.22.1/bin/default/../../source3/rpc_server/lsa/srv_lsa_nt.c:998:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘names’
samba-4.22.1/bin/default/./librpc/gen_ndr/ndr_lsa_scompat.c:1570:10: enter_function: entry to ‘lsarpc__op_dispatch’
samba-4.22.1/bin/default/./librpc/gen_ndr/ndr_lsa_scompat.c:1572:16: call_function: calling ‘lsarpc__op_dispatch_internal’ from ‘lsarpc__op_dispatch’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def316]
samba-4.22.1/bin/default/../../source3/rpc_server/lsa/srv_lsa_nt.c:1657:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info’
samba-4.22.1/bin/default/./librpc/gen_ndr/ndr_lsa_scompat.c:58:17: enter_function: entry to ‘lsarpc__op_dispatch_internal’
samba-4.22.1/bin/default/./librpc/gen_ndr/ndr_lsa_scompat.c:411:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/./librpc/gen_ndr/ndr_lsa_scompat.c:417:34: branch_false: ...to here
samba-4.22.1/bin/default/./librpc/gen_ndr/ndr_lsa_scompat.c:417:34: call_function: calling ‘_lsa_OpenTrustedDomain’ from ‘lsarpc__op_dispatch_internal’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def317]
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:1554:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘map’
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:1501:12: branch_false: following ‘false’ branch...
branch_false: ...to here
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:1505:19: branch_true: following ‘true’ branch (when ‘i < num_ifaces’)...
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:1506:54: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:1511:20: branch_false: following ‘false’ branch...
branch_false: ...to here
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:1519:27: branch_false: following ‘false’ branch (when ‘j >= num_maps’)...
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:1526:20: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:1526:20: branch_false: following ‘false’ branch (when ‘j != num_maps’)...
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:1554:21: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:1554:21: danger: dereference of NULL ‘map’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def318]
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:1611:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘map’
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:1593:39: release_memory: ‘maps’ is NULL
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:1600:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:1604:20: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:1604:20: release_memory: ‘maps’ is NULL
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:1606:19: branch_true: following ‘true’ branch (when ‘i < num_maps’)...
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:1607:58: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:1607:47: release_memory: ‘maps’ is NULL
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:1611:44: danger: dereference of NULL ‘map’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def319]
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:2156:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:2133:13: enter_function: entry to ‘rpc_host_endpoint_accept_got_bind’
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:2142:33: release_memory: ‘client’ is NULL
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:2142:33: release_memory: ‘client’ is NULL
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:2142:33: release_memory: ‘client’ is NULL
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:2142:33: release_memory: ‘client’ is NULL
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:2147:15: call_function: calling ‘rpc_host_bind_read_recv’ from ‘rpc_host_endpoint_accept_got_bind’
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:2147:15: return_function: returning to ‘rpc_host_endpoint_accept_got_bind’ from ‘rpc_host_bind_read_recv’
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:2150:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:2156:57: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:2156:27: release_memory: ‘client’ is NULL
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:2156:9: danger: dereference of NULL ‘client’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def320]
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:2543:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:2519:13: enter_function: entry to ‘rpc_host_server_setup_done’
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:2525:28: release_memory: ‘server’ is NULL
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:2530:18: call_function: calling ‘rpc_server_setup_recv’ from ‘rpc_host_server_setup_done’
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:2530:18: return_function: returning to ‘rpc_host_server_setup_done’ from ‘rpc_server_setup_recv’
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:2532:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:2543:32: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:2543:15: release_memory: ‘server’ is NULL
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:2544:9: release_memory: ‘0’ is NULL
samba-4.22.1/bin/default/../../source3/rpc_server/rpc_host.c:2543:9: danger: dereference of NULL ‘server’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def321]
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_chgpasswd.c:204:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(open(slavedev, 2, 0), 0)’
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_chgpasswd.c:1075:10: enter_function: entry to ‘change_oem_password’
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_chgpasswd.c:1094:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_chgpasswd.c:1105:13: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_chgpasswd.c:1142:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_chgpasswd.c:1149:16: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_chgpasswd.c:1150:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_chgpasswd.c:1155:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_chgpasswd.c:1159:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_chgpasswd.c:1176:12: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_chgpasswd.c:1176:11: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_chgpasswd.c:1177:13: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_chgpasswd.c:1177:13: call_function: calling ‘chgpasswd’ from ‘change_oem_password’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def322]
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_chgpasswd.c:209:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(open(slavedev, 2, 0), 1)’
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_chgpasswd.c:1075:10: enter_function: entry to ‘change_oem_password’
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_chgpasswd.c:1094:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_chgpasswd.c:1105:13: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_chgpasswd.c:1142:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_chgpasswd.c:1149:16: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_chgpasswd.c:1150:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_chgpasswd.c:1155:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_chgpasswd.c:1159:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_chgpasswd.c:1176:12: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_chgpasswd.c:1176:11: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_chgpasswd.c:1177:13: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_chgpasswd.c:1177:13: call_function: calling ‘chgpasswd’ from ‘change_oem_password’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def323]
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_chgpasswd.c:214:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(open(slavedev, 2, 0), 2)’
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_chgpasswd.c:1075:10: enter_function: entry to ‘change_oem_password’
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_chgpasswd.c:1094:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_chgpasswd.c:1105:13: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_chgpasswd.c:1142:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_chgpasswd.c:1149:16: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_chgpasswd.c:1150:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_chgpasswd.c:1155:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_chgpasswd.c:1159:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_chgpasswd.c:1176:12: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_chgpasswd.c:1176:11: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_chgpasswd.c:1177:13: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_chgpasswd.c:1177:13: call_function: calling ‘chgpasswd’ from ‘change_oem_password’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def324]
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_nt.c:2186:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘names’
samba-4.22.1/bin/default/./librpc/gen_ndr/ndr_samr_scompat.c:2185:10: enter_function: entry to ‘samr__op_local’
samba-4.22.1/bin/default/./librpc/gen_ndr/ndr_samr_scompat.c:2187:16: call_function: calling ‘samr__op_dispatch_internal’ from ‘samr__op_local’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def325]
samba-4.22.1/bin/default/../../source3/rpc_server/samr/srv_samr_nt.c:2187:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘names’
samba-4.22.1/bin/default/./librpc/gen_ndr/ndr_samr_scompat.c:2185:10: enter_function: entry to ‘samr__op_local’
samba-4.22.1/bin/default/./librpc/gen_ndr/ndr_samr_scompat.c:2187:16: call_function: calling ‘samr__op_dispatch_internal’ from ‘samr__op_local’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def326]
samba-4.22.1/bin/default/../../source3/smbd/dir.c:490:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dir_hnd’
samba-4.22.1/bin/default/../../source3/smbd/dir.c:1664:10: enter_function: entry to ‘can_delete_directory_fsp’
samba-4.22.1/bin/default/../../source3/smbd/dir.c:1666:25: release_memory: ‘dir_hnd’ is NULL
samba-4.22.1/bin/default/../../source3/smbd/dir.c:1669:18: call_function: calling ‘OpenDir_from_pathref’ from ‘can_delete_directory_fsp’
samba-4.22.1/bin/default/../../source3/smbd/dir.c:1669:18: return_function: returning to ‘can_delete_directory_fsp’ from ‘OpenDir_from_pathref’
samba-4.22.1/bin/default/../../source3/smbd/dir.c:1670:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/smbd/dir.c:1673:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/smbd/dir.c:1673:18: release_memory: ‘dir_hnd’ is NULL
samba-4.22.1/bin/default/../../source3/smbd/dir.c:1673:18: call_function: calling ‘can_delete_directory_hnd’ from ‘can_delete_directory_fsp’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def327]
samba-4.22.1/bin/default/../../source3/smbd/msdfs.c:750:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘parent_smb_fname’
samba-4.22.1/bin/default/../../source3/smbd/msdfs.c:655:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/smbd/msdfs.c:661:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/smbd/msdfs.c:682:38: release_memory: ‘smb_fname_walk’ is NULL
samba-4.22.1/bin/default/../../source3/smbd/msdfs.c:684:17: branch_false: following ‘false’ branch (when ‘parent_smb_fname’ is NULL)...
samba-4.22.1/bin/default/../../source3/smbd/msdfs.c:692:25: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/smbd/msdfs.c:701:21: release_memory: ‘smb_fname_walk’ is NULL
samba-4.22.1/bin/default/../../source3/smbd/msdfs.c:701:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/smbd/msdfs.c:704:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/smbd/msdfs.c:706:20: branch_true: following ‘true’ branch (when ‘<unknown> != 3221226071’)...
samba-4.22.1/bin/default/../../source3/smbd/msdfs.c:742:14: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/smbd/msdfs.c:742:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/smbd/msdfs.c:750:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/smbd/msdfs.c:750:13: danger: dereference of NULL ‘parent_smb_fname’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def328]
samba-4.22.1/bin/default/../../source3/smbd/notifyd/notifyd.c:427:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘instance’
samba-4.22.1/bin/default/../../source3/smbd/notifyd/notifyd.c:625:13: enter_function: entry to ‘notifyd_rec_change’
samba-4.22.1/bin/default/../../source3/smbd/notifyd/notifyd.c:642:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/smbd/notifyd/notifyd.c:646:31: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/smbd/notifyd/notifyd.c:648:14: call_function: calling ‘notifyd_apply_rec_change’ from ‘notifyd_rec_change’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def329]
samba-4.22.1/bin/default/../../source3/smbd/server.c:1115:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*<unknown>.fd’
samba-4.22.1/bin/default/../../source3/smbd/server.c:1090:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/smbd/server.c:1094:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/smbd/server.c:1097:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/smbd/server.c:1108:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/smbd/server.c:1115:12: danger: ‘*<unknown>.fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def330]
samba-4.22.1/bin/default/../../source3/smbd/smb1_process.c:2568:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘listener_pipe[0]’
samba-4.22.1/bin/default/../../source3/smbd/smb1_process.c:2566:12: branch_false: following ‘false’ branch (when ‘res != -1’)...
samba-4.22.1/bin/default/../../source3/smbd/smb1_process.c:2572:21: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/smbd/smb1_process.c:2626:20: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/smbd/smb1_process.c:2627:25: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/smbd/smb1_process.c:2678:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/smbd/smb1_process.c:2681:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/smbd/smb1_process.c:2681:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/smbd/smb1_process.c:2684:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/smbd/smb1_process.c:2568:24: danger: ‘listener_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def331]
samba-4.22.1/bin/default/../../source3/smbd/smb1_process.c:2568:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘listener_pipe[1]’
samba-4.22.1/bin/default/../../source3/smbd/smb1_process.c:2566:12: branch_false: following ‘false’ branch (when ‘res != -1’)...
samba-4.22.1/bin/default/../../source3/smbd/smb1_process.c:2572:21: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/smbd/smb1_process.c:2626:20: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/smbd/smb1_process.c:2627:25: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/smbd/smb1_process.c:2678:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/smbd/smb1_process.c:2681:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/smbd/smb1_process.c:2681:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/smbd/smb1_process.c:2684:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/smbd/smb1_process.c:2568:24: danger: ‘listener_pipe[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def332]
samba-4.22.1/bin/default/../../source3/smbd/smb2_create.c:335:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘symlink_reparse’
samba-4.22.1/bin/default/../../source3/smbd/smb2_create.c:438:13: enter_function: entry to ‘smbd_smb2_request_create_done’
samba-4.22.1/bin/default/../../source3/smbd/smb2_create.c:459:37: release_memory: ‘symlink_reparse’ is NULL
samba-4.22.1/bin/default/../../source3/smbd/smb2_create.c:459:37: release_memory: ‘symlink_reparse’ is NULL
samba-4.22.1/bin/default/../../source3/smbd/smb2_create.c:459:37: release_memory: ‘symlink_reparse’ is NULL
samba-4.22.1/bin/default/../../source3/smbd/smb2_create.c:459:37: release_memory: ‘symlink_reparse’ is NULL
samba-4.22.1/bin/default/../../source3/smbd/smb2_create.c:478:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/smbd/smb2_create.c:479:21: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/smbd/smb2_create.c:479:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/smbd/smb2_create.c:482:25: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/smbd/smb2_create.c:482:25: release_memory: ‘symlink_reparse’ is NULL
samba-4.22.1/bin/default/../../source3/smbd/smb2_create.c:482:25: call_function: calling ‘smbd_smb2_create_error’ from ‘smbd_smb2_request_create_done’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def333]
samba-4.22.1/bin/default/../../source3/smbd/smb2_create.c:493:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘out_context_blobs’
samba-4.22.1/bin/default/../../source3/smbd/smb2_create.c:438:13: enter_function: entry to ‘smbd_smb2_request_create_done’
samba-4.22.1/bin/default/../../source3/smbd/smb2_create.c:463:18: call_function: calling ‘smbd_smb2_create_recv’ from ‘smbd_smb2_request_create_done’
samba-4.22.1/bin/default/../../source3/smbd/smb2_create.c:463:18: return_function: returning to ‘smbd_smb2_request_create_done’ from ‘smbd_smb2_create_recv’
samba-4.22.1/bin/default/../../source3/smbd/smb2_create.c:478:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/smbd/smb2_create.c:493:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/smbd/smb2_create.c:493:18: danger: use of uninitialized value ‘out_context_blobs’ here
Error: GCC_ANALYZER_WARNING (CWE-465): [#def334]
samba-4.22.1/bin/default/../../source3/smbd/smb2_ioctl_filesys.c:489:42: warning[-Wanalyzer-deref-before-check]: check of ‘((struct files_struct)*((files_struct *)fsp)).conn’ for NULL after already dereferencing it
samba-4.22.1/bin/default/../../source3/smbd/smb2_ioctl_filesys.c:731:20: enter_function: entry to ‘smb2_ioctl_filesys’
samba-4.22.1/bin/default/../../source3/smbd/smb2_ioctl_filesys.c:757:26: call_function: calling ‘fsctl_zero_data’ from ‘smb2_ioctl_filesys’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def335]
samba-4.22.1/bin/default/../../source3/smbd/smb2_posix.c:46:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
samba-4.22.1/bin/default/../../source3/smbd/smb2_posix.c:37:12: branch_false: following ‘false’ branch (when ‘reparse_tag != 2684354572’)...
samba-4.22.1/bin/default/../../source3/smbd/smb2_posix.c:41:12: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/smbd/smb2_posix.c:41:12: branch_true: following ‘true’ branch (when ‘reparse_tag != 2147483668’)...
samba-4.22.1/bin/default/../../source3/smbd/smb2_posix.c:46:17: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/smbd/smb2_posix.c:46:17: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/smbd/smb2_posix.c:46:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def336]
samba-4.22.1/bin/default/../../source3/smbd/smb2_read.c:238:25: warning[-Wanalyzer-deref-before-check]: check of ‘*fsp.conn’ for NULL after already dereferencing it
samba-4.22.1/bin/default/../../source3/smbd/smb2_read.c:227:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/smbd/smb2_read.c:228:31: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/smbd/smb2_read.c:233:20: branch_false: following ‘false’ branch (when ‘saved_errno != 38’)...
samba-4.22.1/bin/default/../../source3/smbd/smb2_read.c:237:20: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/smbd/smb2_read.c:237:20: branch_true: following ‘true’ branch (when ‘saved_errno == 95’)...
samba-4.22.1/bin/default/../../source3/smbd/smb2_read.c:238:42: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/smbd/smb2_read.c:238:25: danger: pointer ‘*fsp.conn’ is checked for NULL here but it was already dereferenced at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-465): [#def337]
samba-4.22.1/bin/default/../../source3/smbd/smb2_read.c:250:25: warning[-Wanalyzer-deref-before-check]: check of ‘*fsp.conn’ for NULL after already dereferencing it
samba-4.22.1/bin/default/../../source3/smbd/smb2_read.c:227:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/smbd/smb2_read.c:228:31: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/smbd/smb2_read.c:233:20: branch_false: following ‘false’ branch (when ‘saved_errno != 38’)...
samba-4.22.1/bin/default/../../source3/smbd/smb2_read.c:237:20: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/smbd/smb2_read.c:237:20: branch_false: following ‘false’ branch (when ‘saved_errno != 95’)...
samba-4.22.1/bin/default/../../source3/smbd/smb2_read.c:244:20: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/smbd/smb2_read.c:244:20: branch_true: following ‘true’ branch (when ‘saved_errno == 4’)...
samba-4.22.1/bin/default/../../source3/smbd/smb2_read.c:250:42: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/smbd/smb2_read.c:250:25: danger: pointer ‘*fsp.conn’ is checked for NULL here but it was already dereferenced at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def338]
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_open.c:291:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_open.c:1169:13: enter_function: entry to ‘smb2srv_open_recreate_fn’
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_open.c:1176:25: call_function: calling ‘smbXsrv_open_global_verify_record’ from ‘smb2srv_open_recreate_fn’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def339]
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_open.c:291:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘global0’
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_open.c:266:38: release_memory: ‘global0’ is NULL
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_open.c:270:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_open.c:274:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_open.c:275:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_open.c:282:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_open.c:282:9: release_memory: ‘global0’ is NULL
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_open.c:282:9: release_memory: ‘global0’ is NULL
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_open.c:284:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_open.c:287:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_open.c:287:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_open.c:291:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_open.c:291:9: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_open.c:291:9: danger: dereference of NULL ‘global0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def340]
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_open.c:1437:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘global’
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_open.c:1405:38: release_memory: ‘global’ is NULL
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_open.c:1409:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_open.c:1418:25: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_open.c:1420:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_open.c:1431:46: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_open.c:1431:46: release_memory: ‘global’ is NULL
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_open.c:1431:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_open.c:1432:38: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_open.c:1437:17: danger: dereference of NULL ‘global’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def341]
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_open.c:1454:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘global’
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_open.c:1405:38: release_memory: ‘global’ is NULL
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_open.c:1409:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_open.c:1418:25: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_open.c:1420:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_open.c:1431:46: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_open.c:1431:46: release_memory: ‘global’ is NULL
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_open.c:1431:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_open.c:1452:21: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_open.c:1452:19: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_open.c:1454:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_open.c:1454:17: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_open.c:1454:17: danger: dereference of NULL ‘global’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def342]
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_session.c:1882:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*session.client’
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_session.c:1227:17: enter_function: entry to ‘smbXsrv_session_clear_and_logoff’
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_session.c:1232:12: branch_false: following ‘false’ branch...
branch_false: ...to here
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_session.c:1236:16: branch_false: following ‘false’ branch (when ‘xconn’ is NULL)...
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_session.c:1255:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/smbd/smbXsrv_session.c:1255:18: call_function: calling ‘smbXsrv_session_logoff’ from ‘smbXsrv_session_clear_and_logoff’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def343]
samba-4.22.1/bin/default/../../source3/utils/log2pcaphex.c:173:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘newdata’
samba-4.22.1/bin/default/../../source3/utils/log2pcaphex.c:167:36: acquire_memory: this call could return NULL
samba-4.22.1/bin/default/../../source3/utils/log2pcaphex.c:173:9: danger: ‘newdata’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def344]
samba-4.22.1/bin/default/../../source3/utils/log2pcaphex.c:219:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘buffer’
samba-4.22.1/bin/default/../../source3/utils/log2pcaphex.c:215:9: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/utils/log2pcaphex.c:215:56: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/utils/log2pcaphex.c:216:35: acquire_memory: this call could return NULL
samba-4.22.1/bin/default/../../source3/utils/log2pcaphex.c:219:9: danger: ‘buffer’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def345]
samba-4.22.1/bin/default/../../source3/utils/net_idmap.c:359:24: warning[-Wanalyzer-file-leak]: leak of FILE ‘input’
samba-4.22.1/bin/default/../../source3/utils/net_idmap.c:342:12: enter_function: entry to ‘net_idmap_restore’
samba-4.22.1/bin/default/../../source3/utils/net_idmap.c:351:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/utils/net_idmap.c:362:19: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/utils/net_idmap.c:364:18: call_function: calling ‘net_idmap_dbfile’ from ‘net_idmap_restore’
samba-4.22.1/bin/default/../../source3/utils/net_idmap.c:364:18: return_function: returning to ‘net_idmap_restore’ from ‘net_idmap_dbfile’
samba-4.22.1/bin/default/../../source3/utils/net_idmap.c:366:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/utils/net_idmap.c:371:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/utils/net_idmap.c:371:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/utils/net_idmap.c:378:27: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/utils/net_idmap.c:380:12: branch_true: following ‘true’ branch (when ‘argc == 1’)...
samba-4.22.1/bin/default/../../source3/utils/net_idmap.c:381:25: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/utils/net_idmap.c:381:25: acquire_resource: opened here
samba-4.22.1/bin/default/../../source3/utils/net_idmap.c:382:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/utils/net_idmap.c:392:14: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/utils/net_idmap.c:472:12: branch_true: following ‘true’ branch (when ‘input’ is non-NULL)...
samba-4.22.1/bin/default/../../source3/utils/net_idmap.c:472:32: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/utils/net_idmap.c:472:13: branch_false: following ‘false’ branch...
branch_false: ...to here
samba-4.22.1/bin/default/../../source3/utils/net_idmap.c:359:24: danger: ‘input’ leaks here; was opened at [(17)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def346]
samba-4.22.1/bin/default/../../source3/utils/net_idmap.c:359:24: warning[-Wanalyzer-malloc-leak]: leak of ‘input’
samba-4.22.1/bin/default/../../source3/utils/net_idmap.c:342:12: enter_function: entry to ‘net_idmap_restore’
samba-4.22.1/bin/default/../../source3/utils/net_idmap.c:351:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/utils/net_idmap.c:362:19: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/utils/net_idmap.c:364:18: call_function: calling ‘net_idmap_dbfile’ from ‘net_idmap_restore’
samba-4.22.1/bin/default/../../source3/utils/net_idmap.c:364:18: return_function: returning to ‘net_idmap_restore’ from ‘net_idmap_dbfile’
samba-4.22.1/bin/default/../../source3/utils/net_idmap.c:366:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/utils/net_idmap.c:371:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/utils/net_idmap.c:371:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/utils/net_idmap.c:378:27: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/utils/net_idmap.c:380:12: branch_true: following ‘true’ branch (when ‘argc == 1’)...
samba-4.22.1/bin/default/../../source3/utils/net_idmap.c:381:25: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/utils/net_idmap.c:381:25: acquire_memory: allocated here
samba-4.22.1/bin/default/../../source3/utils/net_idmap.c:382:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/utils/net_idmap.c:392:14: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/utils/net_idmap.c:472:12: branch_true: following ‘true’ branch (when ‘input’ is non-NULL)...
samba-4.22.1/bin/default/../../source3/utils/net_idmap.c:472:32: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/utils/net_idmap.c:472:13: branch_false: following ‘false’ branch...
branch_false: ...to here
samba-4.22.1/bin/default/../../source3/utils/net_idmap.c:359:24: danger: ‘input’ leaks here; was allocated at [(17)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/16)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def347]
samba-4.22.1/bin/default/../../source3/utils/net_idmap_check.c:815:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ctx’
samba-4.22.1/bin/default/../../source3/utils/net_idmap_check.c:935:5: enter_function: entry to ‘net_idmap_check_db’
samba-4.22.1/bin/default/../../source3/utils/net_idmap_check.c:945:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/utils/net_idmap_check.c:946:21: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/utils/net_idmap_check.c:946:21: call_function: calling ‘check_open_db’ from ‘net_idmap_check_db’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def348]
samba-4.22.1/bin/default/../../source3/utils/net_rap.c:246:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘sharename’ where non-null expected
samba-4.22.1/bin/default/../../source3/utils/net_rap.c:242:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/utils/net_rap.c:245:21: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/utils/net_rap.c:245:21: acquire_memory: this call could return NULL
samba-4.22.1/bin/default/../../source3/utils/net_rap.c:246:13: danger: argument 1 (‘sharename’) 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-476): [#def349]
samba-4.22.1/bin/default/../../source3/utils/net_registry_check.c:377:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ctx’
samba-4.22.1/bin/default/../../source3/utils/net_registry_check.c:1261:5: enter_function: entry to ‘net_registry_check_db’
samba-4.22.1/bin/default/../../source3/utils/net_registry_check.c:1265:33: call_function: calling ‘check_ctx_create’ from ‘net_registry_check_db’
samba-4.22.1/bin/default/../../source3/utils/net_registry_check.c:1265:33: return_function: returning to ‘net_registry_check_db’ from ‘check_ctx_create’
samba-4.22.1/bin/default/../../source3/utils/net_registry_check.c:1266:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/utils/net_registry_check.c:1267:17: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/utils/net_registry_check.c:1316:9: call_function: calling ‘check_ctx_transaction_stop’ from ‘net_registry_check_db’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def350]
samba-4.22.1/bin/default/../../source3/utils/net_rpc.c:198:37: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘domain_name’
samba-4.22.1/bin/default/../../source3/utils/net_rpc.c:3401:12: enter_function: entry to ‘rpc_group_members’
samba-4.22.1/bin/default/../../source3/utils/net_rpc.c:3407:16: call_function: calling ‘run_rpc_command’ from ‘rpc_group_members’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def351]
samba-4.22.1/bin/default/../../source3/utils/net_rpc_conf.c:1244:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘services’
samba-4.22.1/bin/default/../../source3/utils/net_rpc_conf.c:1141:17: enter_function: entry to ‘rpc_conf_import_internal’
samba-4.22.1/bin/default/../../source3/utils/net_rpc_conf.c:1161:34: release_memory: ‘services’ is NULL
samba-4.22.1/bin/default/../../source3/utils/net_rpc_conf.c:1161:34: release_memory: ‘services’ is NULL
samba-4.22.1/bin/default/../../source3/utils/net_rpc_conf.c:1173:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/utils/net_rpc_conf.c:1179:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/utils/net_rpc_conf.c:1187:28: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/utils/net_rpc_conf.c:1194:25: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/utils/net_rpc_conf.c:1202:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/utils/net_rpc_conf.c:1207:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/utils/net_rpc_conf.c:1208:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/utils/net_rpc_conf.c:1214:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/utils/net_rpc_conf.c:1219:12: branch_true: following ‘true’ branch (when ‘servicename’ is non-NULL)...
samba-4.22.1/bin/default/../../source3/utils/net_rpc_conf.c:1220:23: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/utils/net_rpc_conf.c:1223:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/utils/net_rpc_conf.c:1227:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/utils/net_rpc_conf.c:1239:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/utils/net_rpc_conf.c:1240:20: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/utils/net_rpc_conf.c:1240:20: branch_true: following ‘true’ branch (when ‘servicename’ is non-NULL)...
samba-4.22.1/bin/default/../../source3/utils/net_rpc_conf.c:1241:25: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/utils/net_rpc_conf.c:1241:25: call_function: inlined call to ‘rpc_conf_print_shares’ from ‘rpc_conf_import_internal’
samba-4.22.1/bin/default/../../source3/utils/net_rpc_conf.c:1241:25: call_function: inlined call to ‘rpc_conf_print_shares’ from ‘rpc_conf_import_internal’
samba-4.22.1/bin/default/../../source3/utils/net_rpc_conf.c:1243:29: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/utils/net_rpc_conf.c:1244:58: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/utils/net_rpc_conf.c:1244:58: release_memory: ‘services’ is NULL
samba-4.22.1/bin/default/../../source3/utils/net_rpc_conf.c:1244:58: release_memory: ‘services’ is NULL
samba-4.22.1/bin/default/../../source3/utils/net_rpc_conf.c:1244:25: danger: dereference of NULL ‘services + (long unsigned int)i * 8’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def352]
samba-4.22.1/bin/default/../../source3/utils/net_rpc_trust.c:652:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
samba-4.22.1/bin/default/../../source3/utils/net_rpc_trust.c:707:12: enter_function: entry to ‘rpc_trust_delete’
samba-4.22.1/bin/default/../../source3/utils/net_rpc_trust.c:710:16: call_function: calling ‘rpc_trust_common’ from ‘rpc_trust_delete’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def353]
samba-4.22.1/bin/default/../../source3/utils/net_util.c:433:16: warning[-Wanalyzer-malloc-leak]: leak of ‘server_name’
samba-4.22.1/bin/default/../../source3/utils/net_util.c:384:10: enter_function: entry to ‘net_make_ipc_connection_ex’
samba-4.22.1/bin/default/../../source3/utils/net_util.c:394:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source3/utils/net_util.c:395:22: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/utils/net_util.c:395:22: call_function: calling ‘net_find_server’ from ‘net_make_ipc_connection_ex’
samba-4.22.1/bin/default/../../source3/utils/net_util.c:395:22: return_function: returning to ‘net_make_ipc_connection_ex’ from ‘net_find_server’
samba-4.22.1/bin/default/../../source3/utils/net_util.c:395:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/utils/net_util.c:397:43: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/utils/net_util.c:430:12: branch_false: following ‘false’ branch (when ‘pcli’ is NULL)...
samba-4.22.1/bin/default/../../source3/utils/net_util.c:433:16: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/utils/net_util.c:433:16: danger: ‘server_name’ leaks here; was allocated at [(8)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/7)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def354]
samba-4.22.1/bin/default/../../source3/utils/regedit_dialog.c:102:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dia’
samba-4.22.1/bin/default/../../source3/utils/regedit_dialog.c:2276:5: enter_function: entry to ‘dialog_search_input’
samba-4.22.1/bin/default/../../source3/utils/regedit_dialog.c:2303:9: call_function: calling ‘dialog_set_submit_cb’ from ‘dialog_search_input’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def355]
samba-4.22.1/bin/default/../../source3/utils/regedit_dialog.c:157:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘section’
samba-4.22.1/bin/default/../../source3/utils/regedit_dialog.c:2276:5: enter_function: entry to ‘dialog_search_input’
samba-4.22.1/bin/default/../../source3/utils/regedit_dialog.c:2302:15: call_function: calling ‘dialog_new’ from ‘dialog_search_input’
samba-4.22.1/bin/default/../../source3/utils/regedit_dialog.c:2302:15: return_function: returning to ‘dialog_search_input’ from ‘dialog_new’
samba-4.22.1/bin/default/../../source3/utils/regedit_dialog.c:2304:19: call_function: calling ‘dialog_section_label_new’ from ‘dialog_search_input’
samba-4.22.1/bin/default/../../source3/utils/regedit_dialog.c:2304:19: return_function: returning to ‘dialog_search_input’ from ‘dialog_section_label_new’
samba-4.22.1/bin/default/../../source3/utils/regedit_dialog.c:2305:9: call_function: calling ‘dialog_append_section’ from ‘dialog_search_input’
samba-4.22.1/bin/default/../../source3/utils/regedit_dialog.c:2305:9: return_function: returning to ‘dialog_search_input’ from ‘dialog_append_section’
samba-4.22.1/bin/default/../../source3/utils/regedit_dialog.c:2306:17: call_function: calling ‘dialog_section_text_field_new’ from ‘dialog_search_input’
samba-4.22.1/bin/default/../../source3/utils/regedit_dialog.c:2306:17: return_function: returning to ‘dialog_search_input’ from ‘dialog_section_text_field_new’
samba-4.22.1/bin/default/../../source3/utils/regedit_dialog.c:2307:9: call_function: calling ‘dialog_section_set_name’ from ‘dialog_search_input’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def356]
samba-4.22.1/bin/default/../../source3/utils/regedit_dialog.c:164:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘section’
samba-4.22.1/bin/default/../../source3/utils/regedit_dialog.c:2183:5: enter_function: entry to ‘dialog_select_type’
samba-4.22.1/bin/default/../../source3/utils/regedit_dialog.c:2207:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
samba-4.22.1/bin/default/../../source3/utils/regedit_dialog.c:2208:34: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/utils/regedit_dialog.c:2212:15: call_function: calling ‘dialog_new’ from ‘dialog_select_type’
samba-4.22.1/bin/default/../../source3/utils/regedit_dialog.c:2212:15: return_function: returning to ‘dialog_select_type’ from ‘dialog_new’
samba-4.22.1/bin/default/../../source3/utils/regedit_dialog.c:2214:19: call_function: calling ‘dialog_section_label_new’ from ‘dialog_select_type’
samba-4.22.1/bin/default/../../source3/utils/regedit_dialog.c:2214:19: return_function: returning to ‘dialog_select_type’ from ‘dialog_section_label_new’
samba-4.22.1/bin/default/../../source3/utils/regedit_dialog.c:2215:9: call_function: calling ‘dialog_append_section’ from ‘dialog_select_type’
samba-4.22.1/bin/default/../../source3/utils/regedit_dialog.c:2215:9: return_function: returning to ‘dialog_select_type’ from ‘dialog_append_section’
samba-4.22.1/bin/default/../../source3/utils/regedit_dialog.c:2217:9: call_function: calling ‘dialog_append_section’ from ‘dialog_select_type’
samba-4.22.1/bin/default/../../source3/utils/regedit_dialog.c:2217:9: return_function: returning to ‘dialog_select_type’ from ‘dialog_append_section’
samba-4.22.1/bin/default/../../source3/utils/regedit_dialog.c:2218:19: call_function: calling ‘dialog_section_options_new’ from ‘dialog_select_type’
samba-4.22.1/bin/default/../../source3/utils/regedit_dialog.c:2218:19: return_function: returning to ‘dialog_select_type’ from ‘dialog_section_options_new’
samba-4.22.1/bin/default/../../source3/utils/regedit_dialog.c:2219:9: call_function: calling ‘dialog_append_section’ from ‘dialog_select_type’
samba-4.22.1/bin/default/../../source3/utils/regedit_dialog.c:2219:9: return_function: returning to ‘dialog_select_type’ from ‘dialog_append_section’
samba-4.22.1/bin/default/../../source3/utils/regedit_dialog.c:2221:9: call_function: calling ‘dialog_append_section’ from ‘dialog_select_type’
samba-4.22.1/bin/default/../../source3/utils/regedit_dialog.c:2221:9: return_function: returning to ‘dialog_select_type’ from ‘dialog_append_section’
samba-4.22.1/bin/default/../../source3/utils/regedit_dialog.c:2223:9: call_function: calling ‘dialog_section_set_justify’ from ‘dialog_select_type’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def357]
samba-4.22.1/bin/default/../../source3/utils/regedit_dialog.c:173:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dia’
samba-4.22.1/bin/default/../../source3/utils/regedit_dialog.c:2183:5: enter_function: entry to ‘dialog_select_type’
samba-4.22.1/bin/default/../../source3/utils/regedit_dialog.c:2207:21: branch_true: following ‘true’ branch (when ‘i != 5’)...
samba-4.22.1/bin/default/../../source3/utils/regedit_dialog.c:2208:34: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/utils/regedit_dialog.c:2214:19: call_function: calling ‘dialog_section_label_new’ from ‘dialog_select_type’
samba-4.22.1/bin/default/../../source3/utils/regedit_dialog.c:2214:19: return_function: returning to ‘dialog_select_type’ from ‘dialog_section_label_new’
samba-4.22.1/bin/default/../../source3/utils/regedit_dialog.c:2215:9: call_function: calling ‘dialog_append_section’ from ‘dialog_select_type’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def358]
samba-4.22.1/bin/default/../../source3/utils/regedit_treeview.c:113:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘left’
samba-4.22.1/bin/default/../../source3/utils/regedit_treeview.c:121:6: enter_function: entry to ‘tree_node_append_last’
samba-4.22.1/bin/default/../../source3/utils/regedit_treeview.c:123:9: call_function: calling ‘tree_node_last’ from ‘tree_node_append_last’
samba-4.22.1/bin/default/../../source3/utils/regedit_treeview.c:123:9: return_function: returning to ‘tree_node_append_last’ from ‘tree_node_last’
samba-4.22.1/bin/default/../../source3/utils/regedit_treeview.c:123:9: call_function: calling ‘tree_node_append’ from ‘tree_node_append_last’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def359]
samba-4.22.1/bin/default/../../source3/utils/regedit_treeview.c:312:16: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘rv.w’
samba-4.22.1/bin/default/../../source3/utils/regedit_treeview.c:263:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/utils/regedit_treeview.c:266:20: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/utils/regedit_treeview.c:267:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/utils/regedit_treeview.c:270:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/utils/regedit_treeview.c:271:12: branch_false: following ‘false’ branch...
branch_false: ...to here
samba-4.22.1/bin/default/../../source3/utils/regedit_treeview.c:275:32: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/utils/regedit_treeview.c:296:12: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/utils/regedit_treeview.c:296:12: branch_false: following ‘false’ branch (when ‘count == 0’)...
samba-4.22.1/bin/default/../../source3/utils/regedit_treeview.c:309:1: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/utils/regedit_treeview.c:312:16: danger: use of uninitialized value ‘rv.w’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def360]
samba-4.22.1/bin/default/../../source3/utils/regedit_treeview.c:696:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘path’
samba-4.22.1/bin/default/../../source3/utils/regedit_treeview.c:684:12: branch_false: following ‘false’ branch (when ‘node’ is non-NULL)...
samba-4.22.1/bin/default/../../source3/utils/regedit_treeview.c:687:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/utils/regedit_treeview.c:690:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/utils/regedit_treeview.c:693:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/utils/regedit_treeview.c:696:16: danger: dereference of NULL ‘path’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def361]
samba-4.22.1/bin/default/../../source3/utils/smbfilter.c:298:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open_socket_in(1, &my_ss, 445, 1)’
samba-4.22.1/bin/default/../../source3/utils/smbfilter.c:289:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/utils/smbfilter.c:294:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/utils/smbfilter.c:294:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/utils/smbfilter.c:298:14: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/utils/smbfilter.c:298:12: danger: ‘open_socket_in(1, &my_ss, 445, 1)’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def362]
samba-4.22.1/bin/default/../../source3/winbindd/idmap_ad.c:664:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ctx’
samba-4.22.1/bin/default/../../source3/winbindd/idmap_ad.c:1264:17: enter_function: entry to ‘idmap_ad_sids_to_unixids_retry’
samba-4.22.1/bin/default/../../source3/winbindd/idmap_ad.c:1271:18: call_function: calling ‘idmap_ad_sids_to_unixids’ from ‘idmap_ad_sids_to_unixids_retry’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def363]
samba-4.22.1/bin/default/../../source3/winbindd/winbindd.c:1039:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘create_pipe_sock(lp_winbindd_socket_directory(), "pipe", 493)’
samba-4.22.1/bin/default/../../source3/winbindd/winbindd.c:1028:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/winbindd/winbindd.c:1032:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/winbindd/winbindd.c:1035:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/winbindd/winbindd.c:1038:14: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/winbindd/winbindd.c:1039:12: danger: ‘create_pipe_sock(lp_winbindd_socket_directory(), "pipe", 493)’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def364]
samba-4.22.1/bin/default/../../source3/winbindd/winbindd.c:1071:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*<unknown>.fd’
samba-4.22.1/bin/default/../../source3/winbindd/winbindd.c:1028:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/winbindd/winbindd.c:1032:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/winbindd/winbindd.c:1035:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/winbindd/winbindd.c:1038:14: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/winbindd/winbindd.c:1039:12: branch_false: following ‘false’ branch (when ‘rc >= 0’)...
samba-4.22.1/bin/default/../../source3/winbindd/winbindd.c:1043:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/winbindd/winbindd.c:1046:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/winbindd/winbindd.c:1050:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/winbindd/winbindd.c:1054:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/winbindd/winbindd.c:1058:23: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/winbindd/winbindd.c:1059:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/winbindd/winbindd.c:1063:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/winbindd/winbindd.c:1067:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/winbindd/winbindd.c:1070:14: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/winbindd/winbindd.c:1071:12: danger: ‘*<unknown>.fd’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-688): [#def365]
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_dual.c:1191:51: warning[-Wanalyzer-null-argument]: use of NULL ‘s’ where non-null expected
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_dual.c:1144:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_dual.c:1148:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_dual.c:1175:35: branch_false: following ‘false’ branch (when ‘dom’ is NULL)...
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_dual.c:1191:51: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_dual.c:1191:51: danger: argument 1 (‘s’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def366]
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_msrpc.c:275:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘domains’
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_msrpc.c:216:17: enter_function: entry to ‘msrpc_name_to_sid’
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_msrpc.c:230:22: release_memory: ‘domains’ is NULL
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_msrpc.c:241:12: branch_false: following ‘false’ branch (when ‘full_name’ is non-NULL)...
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_msrpc.c:246:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_msrpc.c:264:18: call_function: calling ‘winbindd_lookup_names’ from ‘msrpc_name_to_sid’
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_msrpc.c:264:18: return_function: returning to ‘msrpc_name_to_sid’ from ‘winbindd_lookup_names’
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_msrpc.c:267:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_msrpc.c:272:12: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_msrpc.c:272:12: branch_true: following ‘true’ branch (when ‘pdom_name’ is non-NULL)...
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_msrpc.c:275:21: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_msrpc.c:275:21: release_memory: ‘domains’ is NULL
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_msrpc.c:275:21: danger: dereference of NULL ‘domains’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def367]
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_msrpc.c:285:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘types’
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_msrpc.c:216:17: enter_function: entry to ‘msrpc_name_to_sid’
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_msrpc.c:227:27: release_memory: ‘types’ is NULL
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_msrpc.c:241:12: branch_false: following ‘false’ branch (when ‘full_name’ is non-NULL)...
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_msrpc.c:246:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_msrpc.c:264:18: call_function: calling ‘winbindd_lookup_names’ from ‘msrpc_name_to_sid’
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_msrpc.c:264:18: return_function: returning to ‘msrpc_name_to_sid’ from ‘winbindd_lookup_names’
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_msrpc.c:267:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_msrpc.c:272:12: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_msrpc.c:272:12: branch_false: following ‘false’ branch (when ‘pdom_name’ is NULL)...
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_msrpc.c:284:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_msrpc.c:285:17: release_memory: ‘types’ is NULL
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_msrpc.c:285:17: release_memory: ‘types’ is NULL
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_msrpc.c:285:17: danger: dereference of NULL ‘types’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def368]
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_msrpc.c:326:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘types’
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_msrpc.c:293:17: enter_function: entry to ‘msrpc_sid_to_name’
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_msrpc.c:302:27: release_memory: ‘types’ is NULL
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_msrpc.c:312:18: call_function: calling ‘winbindd_lookup_sids’ from ‘msrpc_sid_to_name’
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_msrpc.c:312:18: return_function: returning to ‘msrpc_sid_to_name’ from ‘winbindd_lookup_sids’
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_msrpc.c:319:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_msrpc.c:326:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_msrpc.c:326:17: release_memory: ‘types’ is NULL
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_msrpc.c:326:17: danger: dereference of NULL ‘types’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def369]
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_msrpc.c:1054:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_msrpc.c:1053:12: branch_true: following ‘true’ branch (when ‘domains’ is NULL)...
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_msrpc.c:1054:17: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_msrpc.c:1054:17: danger: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def370]
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_pam.c:3500:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pac_data’
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_pam.c:3457:26: release_memory: ‘pac_data’ is NULL
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_pam.c:3457:26: release_memory: ‘pac_data’ is NULL
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_pam.c:3470:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_pam.c:3474:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_pam.c:3483:12: branch_false: following ‘false’ branch (when ‘<unknown> != 3221225506’)...
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_pam.c:3494:14: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_pam.c:3494:12: branch_false: following ‘false’ branch...
branch_false: ...to here
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_pam.c:3500:31: release_memory: ‘pac_data’ is NULL
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_pam.c:3500:23: danger: dereference of NULL ‘pac_data’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def371]
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_rpc.c:358:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_rpc.c:348:20: branch_false: following ‘false’ branch (when ‘total_sids == num_sids’)...
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_rpc.c:354:25: branch_false: ...to here
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_rpc.c:354:25: release_memory: ‘sid_array.sids’ is NULL
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_rpc.c:357:29: branch_true: following ‘true’ branch (when ‘i < num_query_sids’)...
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_rpc.c:358:76: branch_true: ...to here
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_rpc.c:358:25: release_memory: ‘sid_array.sids’ is NULL
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_rpc.c:358:39: release_memory: ‘sid_array.sids’ is NULL
samba-4.22.1/bin/default/../../source3/winbindd/winbindd_rpc.c:358:25: danger: dereference of NULL ‘sid_array.sids + (long unsigned int)i * 8’
Error: GCC_ANALYZER_WARNING (CWE-686): [#def372]
samba-4.22.1/bin/default/../../source4/client/cifsdd.c:244:45: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘int’ but received ‘long unsigned int’ for variadic argument 1 of ‘ap’
samba-4.22.1/bin/default/../../source4/client/cifsdd.c:609:5: enter_function: entry to ‘main’
samba-4.22.1/bin/default/../../source4/client/cifsdd.c:634:9: call_function: calling ‘set_arg_val’ from ‘main’ with 1 variadic argument
Error: GCC_ANALYZER_WARNING (CWE-686): [#def373]
samba-4.22.1/bin/default/../../source4/client/cifsdd.c:247:45: warning[-Wanalyzer-va-arg-type-mismatch]: ‘va_arg’ expected ‘char *’ but received ‘long unsigned int’ for variadic argument 1 of ‘ap’
samba-4.22.1/bin/default/../../source4/client/cifsdd.c:609:5: enter_function: entry to ‘main’
samba-4.22.1/bin/default/../../source4/client/cifsdd.c:634:9: call_function: calling ‘set_arg_val’ from ‘main’ with 1 variadic argument
Error: GCC_ANALYZER_WARNING (CWE-775): [#def374]
samba-4.22.1/bin/default/../../source4/client/client.c:1134:40: warning[-Wanalyzer-file-leak]: leak of FILE ‘f’
samba-4.22.1/bin/default/../../source4/client/client.c:1142:12: branch_false: following ‘false’ branch (when ‘fnum != -1’)...
samba-4.22.1/bin/default/../../source4/client/client.c:1152:14: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/client/client.c:1152:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
samba-4.22.1/bin/default/../../source4/client/client.c:1156:21: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/client/client.c:1156:21: acquire_resource: opened here
samba-4.22.1/bin/default/../../source4/client/client.c:1166:12: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
samba-4.22.1/bin/default/../../source4/client/client.c:1172:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/client/client.c:1176:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
branch_false: ...to here
samba-4.22.1/bin/default/../../source4/client/client.c:1205:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/client/client.c:1213:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/client/client.c:1213:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/client/client.c:1217:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/client/client.c:1235:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/client/client.c:1134:40: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/client/client.c:1134:40: danger: ‘f’ leaks here; was opened at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def375]
samba-4.22.1/bin/default/../../source4/client/client.c:1134:40: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
samba-4.22.1/bin/default/../../source4/client/client.c:1142:12: branch_false: following ‘false’ branch (when ‘fnum != -1’)...
samba-4.22.1/bin/default/../../source4/client/client.c:1152:14: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/client/client.c:1152:12: branch_false: following ‘false’ branch (when the strings are non-equal)...
samba-4.22.1/bin/default/../../source4/client/client.c:1156:21: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/client/client.c:1156:21: acquire_memory: allocated here
samba-4.22.1/bin/default/../../source4/client/client.c:1166:12: branch_false: following ‘false’ branch (when ‘f’ is non-NULL)...
samba-4.22.1/bin/default/../../source4/client/client.c:1172:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/client/client.c:1176:12: branch_false: following ‘false’ branch (when ‘buf’ is non-NULL)...
branch_false: ...to here
samba-4.22.1/bin/default/../../source4/client/client.c:1205:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/client/client.c:1213:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/client/client.c:1213:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/client/client.c:1217:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/client/client.c:1235:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/client/client.c:1134:40: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/client/client.c:1134:40: danger: ‘f’ leaks here; was allocated at [(5)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def376]
samba-4.22.1/bin/default/../../source4/client/client.c:2927:25: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(*f.name)’
samba-4.22.1/bin/default/../../source4/client/client.c:2925:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/client/client.c:2926:20: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/client/client.c:2927:54: acquire_memory: allocated here
samba-4.22.1/bin/default/../../source4/client/client.c:2927:25: danger: ‘strdup(*f.name)’ leaks here; was allocated at [(5)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def377]
samba-4.22.1/bin/default/../../source4/client/client.c:2996:17: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(info.matches[1])’
samba-4.22.1/bin/default/../../source4/client/client.c:2965:12: branch_false: following ‘false’ branch (when ‘len <= 4095’)...
samba-4.22.1/bin/default/../../source4/client/client.c:2968:24: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/client/client.c:2969:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/client/client.c:2970:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/client/client.c:2986:12: branch_false: following ‘false’ branch (when ‘ret >= 0’)...
samba-4.22.1/bin/default/../../source4/client/client.c:2990:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/client/client.c:2990:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/client/client.c:2995:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/client/client.c:2995:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/client/client.c:2996:42: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/client/client.c:2996:35: acquire_memory: allocated here
samba-4.22.1/bin/default/../../source4/client/client.c:2996:17: danger: ‘strdup(info.matches[1])’ leaks here; was allocated at [(11)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def378]
samba-4.22.1/bin/default/../../source4/dns_server/dns_query.c:772:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tkey’
samba-4.22.1/bin/default/../../source4/dns_server/dns_query.c:953:20: enter_function: entry to ‘dns_server_process_query_send’
samba-4.22.1/bin/default/../../source4/dns_server/dns_query.c:965:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dns_server/dns_query.c:968:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dns_server/dns_query.c:968:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dns_server/dns_query.c:974:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dns_server/dns_query.c:974:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dns_server/dns_query.c:979:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dns_server/dns_query.c:979:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dns_server/dns_query.c:983:58: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dns_server/dns_query.c:982:23: call_function: calling ‘handle_tkey’ from ‘dns_server_process_query_send’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def379]
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:1928:56: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘res’
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2016:5: enter_function: entry to ‘samdb_rid_manager_dn’
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2018:16: call_function: calling ‘samdb_reference_dn’ from ‘samdb_rid_manager_dn’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def380]
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2782:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘user_msg’
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2754:29: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2759:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2765:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2769:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2779:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2779:15: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2780:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2781:17: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2782:17: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2782:17: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2782:17: danger: dereference of NULL ‘user_msg’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def381]
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2820:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘user_msg’
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2754:29: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2759:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2765:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2769:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2779:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2779:15: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2780:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2791:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2791:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2797:37: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2797:37: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2818:20: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2819:25: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2820:25: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2820:25: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2820:25: danger: dereference of NULL ‘user_msg’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def382]
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2832:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘user_msg’
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2754:29: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2759:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2765:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2769:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2779:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2779:15: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2780:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2791:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2791:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2797:37: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2797:37: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2818:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2830:21: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2830:20: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2831:25: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2832:25: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2832:25: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2832:25: danger: dereference of NULL ‘user_msg’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def383]
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2844:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘user_msg’
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2754:29: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2759:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2765:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2769:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2779:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2779:15: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2780:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2791:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2791:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2797:37: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2797:37: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2818:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2830:21: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2830:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2842:20: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2842:20: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2844:25: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2844:25: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2844:25: danger: dereference of NULL ‘user_msg’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def384]
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2857:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘user_msg’
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2754:29: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2759:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2765:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2769:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2779:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2779:15: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2780:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2791:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2791:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2797:37: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2797:37: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2818:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2830:21: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2830:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2842:20: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2842:20: branch_true: following ‘true’ branch (when ‘new_password’ is non-NULL)...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2842:46: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2842:21: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2855:21: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2855:21: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2856:25: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2857:25: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2857:25: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2857:25: danger: dereference of NULL ‘user_msg’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def385]
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2872:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘user_msg’
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2754:29: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2759:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2765:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2769:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2779:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2779:15: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2780:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2791:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2791:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2797:37: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2797:37: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2818:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2830:21: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2830:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2842:20: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2868:32: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2870:20: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2871:25: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2872:25: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2872:25: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2872:25: danger: dereference of NULL ‘user_msg’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def386]
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2888:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘user_msg’
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2754:29: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2759:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2765:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2769:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2779:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2779:15: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2780:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2791:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2791:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2797:37: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2797:37: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2818:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2830:21: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2830:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2842:20: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2868:32: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2870:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2881:29: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2886:20: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2887:25: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2888:25: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2888:25: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2888:25: danger: dereference of NULL ‘user_msg’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def387]
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2902:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘user_msg’
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2754:29: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2759:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2765:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2769:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2779:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2779:15: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2780:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2791:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2791:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2797:37: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2797:37: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2818:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2830:21: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2830:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2842:20: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2868:32: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2870:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2881:29: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2886:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2898:35: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2900:20: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2901:25: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2902:25: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2902:25: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2902:25: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2902:25: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2902:25: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2902:25: danger: dereference of NULL ‘user_msg’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def388]
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2920:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘user_msg’
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2754:29: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2759:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2765:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2769:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2779:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2779:15: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2780:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2791:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2791:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2797:37: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2797:37: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2818:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2830:21: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2830:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2842:20: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2868:32: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2870:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2881:29: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2886:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2898:35: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2900:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2914:27: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2915:20: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2916:35: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2918:28: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2919:33: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2920:33: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2920:33: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2920:33: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2920:33: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2920:33: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2920:33: danger: dereference of NULL ‘user_msg’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def389]
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:3056:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘user_msg’
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2754:29: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2759:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2765:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2769:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2779:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2779:15: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2780:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2791:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2791:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2797:37: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2797:37: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2818:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2830:21: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2830:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2842:20: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2868:32: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2870:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2881:29: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2886:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2898:35: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2900:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2914:27: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2918:28: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2935:22: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2968:20: branch_false: following ‘false’ branch (when ‘old_version_a’ is NULL)...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2973:34: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2977:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2982:43: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2985:20: branch_false: following ‘false’ branch...
branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2991:29: branch_false: following ‘false’ branch...
branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:3018:29: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:3047:21: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:3047:20: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:3048:25: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:3054:20: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:3055:25: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:3056:25: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:3056:25: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:3056:25: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:3056:25: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:3056:25: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:3056:25: danger: dereference of NULL ‘user_msg’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def390]
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:3098:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘user_msg’
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2754:29: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2759:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2765:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2769:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2779:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2779:15: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2780:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2791:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:2791:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:3099:57: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:3099:57: release_memory: ‘user_msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:3098:21: danger: dereference of NULL ‘user_msg’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def391]
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:3390:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘res’
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:3369:5: enter_function: entry to ‘dsdb_find_dn_by_guid’
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:3381:15: call_function: calling ‘dsdb_search’ from ‘dsdb_find_dn_by_guid’
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:3381:15: return_function: returning to ‘dsdb_find_dn_by_guid’ from ‘dsdb_search’
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:3386:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:3390:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:3390:15: danger: use of uninitialized value ‘res’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def392]
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:3544:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘res’
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:3521:5: enter_function: entry to ‘dsdb_find_dn_by_sid’
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:3530:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:3534:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:3534:15: call_function: calling ‘dsdb_search’ from ‘dsdb_find_dn_by_sid’
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:3534:15: return_function: returning to ‘dsdb_find_dn_by_sid’ from ‘dsdb_search’
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:3540:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:3544:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:3544:15: danger: use of uninitialized value ‘res’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def393]
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:3813:24: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘res’
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:4204:5: enter_function: entry to ‘dsdb_check_and_update_fl’
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:4220:34: call_function: calling ‘dsdb_dc_functional_level’ from ‘dsdb_check_and_update_fl’
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:4220:34: return_function: returning to ‘dsdb_check_and_update_fl’ from ‘dsdb_dc_functional_level’
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:4224:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:4232:12: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:4232:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:4241:12: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:4241:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:4255:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:4255:15: call_function: calling ‘samdb_rodc’ from ‘dsdb_check_and_update_fl’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def394]
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:3858:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘msg’
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:4204:5: enter_function: entry to ‘dsdb_check_and_update_fl’
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:4220:34: call_function: calling ‘dsdb_dc_functional_level’ from ‘dsdb_check_and_update_fl’
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:4220:34: return_function: returning to ‘dsdb_check_and_update_fl’ from ‘dsdb_dc_functional_level’
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:4224:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:4232:12: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:4232:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:4241:12: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:4241:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:4255:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:4255:15: call_function: calling ‘samdb_rodc’ from ‘dsdb_check_and_update_fl’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def395]
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:5103:17: warning[-Wanalyzer-null-argument]: use of NULL ‘v2’ where non-null expected
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:5135:5: enter_function: entry to ‘dsdb_load_udv_v1’
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:5138:42: release_memory: ‘v2’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:5142:15: call_function: calling ‘dsdb_load_udv_v2’ from ‘dsdb_load_udv_v1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def396]
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:5109:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:5135:5: enter_function: entry to ‘dsdb_load_udv_v1’
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:5138:42: release_memory: ‘v2’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:5142:15: call_function: calling ‘dsdb_load_udv_v2’ from ‘dsdb_load_udv_v1’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def397]
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:5111:25: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:5135:5: enter_function: entry to ‘dsdb_load_udv_v1’
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:5138:42: release_memory: ‘v2’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/common/util.c:5142:15: call_function: calling ‘dsdb_load_udv_v2’ from ‘dsdb_load_udv_v1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def398]
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:696:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘msg’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1867:12: enter_function: entry to ‘acl_modify’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1894:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1898:23: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1902:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1907:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1910:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1915:19: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1916:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1920:64: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1927:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1931:24: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1934:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1940:65: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1941:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1947:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1947:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1951:70: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1952:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1957:48: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1958:19: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1959:57: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1981:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2036:28: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2036:27: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2047:28: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2047:27: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2051:28: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2051:27: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2051:28: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2051:28: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2077:28: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2077:27: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2078:31: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2078:31: call_function: calling ‘acl_check_spn’ from ‘acl_modify’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def399]
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:722:55: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘msg’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1867:12: enter_function: entry to ‘acl_modify’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1894:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1898:23: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1902:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1907:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1910:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1915:19: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1916:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1920:64: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1927:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1931:24: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1934:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1940:65: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1941:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1947:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1947:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1951:70: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1952:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1957:48: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1958:19: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1959:57: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1981:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2036:28: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2036:27: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2047:28: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2047:27: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2051:28: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2051:27: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2051:28: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2051:28: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2077:28: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2077:27: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2078:31: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2078:31: call_function: calling ‘acl_check_spn’ from ‘acl_modify’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def400]
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:791:62: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘msg’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1867:12: enter_function: entry to ‘acl_modify’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1894:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1898:23: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1902:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1907:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1910:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1915:19: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1916:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1920:64: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1927:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1931:24: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1934:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1940:65: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1941:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1947:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1947:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1951:70: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1952:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1957:48: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1958:19: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1959:57: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1981:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2036:28: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2036:27: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2047:28: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2047:27: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2051:28: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2051:27: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2051:28: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2051:28: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2077:28: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2077:27: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2078:31: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2078:31: call_function: calling ‘acl_check_spn’ from ‘acl_modify’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def401]
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:898:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘msg’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1867:12: enter_function: entry to ‘acl_modify’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1894:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1898:23: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1902:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1907:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1910:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1915:19: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1916:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1920:64: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1927:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1931:24: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1934:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1940:65: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1941:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1947:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1947:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1951:70: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1952:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1957:48: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1958:19: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1959:57: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1981:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2036:28: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2036:27: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2047:28: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2047:27: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2051:28: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2051:27: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2051:28: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2051:28: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2077:28: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2077:27: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2090:28: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2090:27: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2091:31: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2091:31: call_function: calling ‘acl_check_dns_host_name’ from ‘acl_modify’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def402]
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:931:55: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘msg’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1867:12: enter_function: entry to ‘acl_modify’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1894:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1898:23: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1902:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1907:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1910:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1915:19: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1916:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1920:64: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1927:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1931:24: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1934:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1940:65: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1941:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1947:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1947:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1951:70: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1952:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1957:48: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1958:19: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1959:57: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1981:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2036:28: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2036:27: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2047:28: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2047:27: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2051:28: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2051:27: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2051:28: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2051:28: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2077:28: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2077:27: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2090:28: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2090:27: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2091:31: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2091:31: call_function: calling ‘acl_check_dns_host_name’ from ‘acl_modify’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def403]
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1042:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘search_res’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1867:12: enter_function: entry to ‘acl_modify’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1894:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1898:23: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1902:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1907:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1910:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1915:19: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1916:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1920:64: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1927:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1931:24: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1934:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1940:65: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1941:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1947:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1947:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1951:70: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1952:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1957:48: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1958:19: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1959:57: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:1981:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2036:28: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2036:27: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2047:28: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2047:27: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2051:28: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2051:27: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2051:28: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2051:28: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2077:28: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2077:27: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2090:28: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2090:27: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2091:31: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/acl.c:2091:31: call_function: calling ‘acl_check_dns_host_name’ from ‘acl_modify’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def404]
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/count_attrs.c:484:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/count_attrs.c:412:12: enter_function: entry to ‘count_attrs_search’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/count_attrs.c:429:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/count_attrs.c:439:31: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/count_attrs.c:444:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/count_attrs.c:448:12: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/count_attrs.c:448:12: branch_false: following ‘false’ branch (when ‘attrs’ is non-NULL)...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/count_attrs.c:455:20: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/count_attrs.c:455:19: branch_false: following ‘false’ branch...
branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/count_attrs.c:463:29: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/count_attrs.c:464:31: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/count_attrs.c:464:31: call_function: calling ‘increment_attr_count’ from ‘count_attrs_search’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/count_attrs.c:464:31: return_function: returning to ‘count_attrs_search’ from ‘increment_attr_count’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/count_attrs.c:465:28: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/count_attrs.c:469:29: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/count_attrs.c:474:32: call_function: calling ‘get_sorted_attrs’ from ‘count_attrs_search’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/count_attrs.c:474:32: return_function: returning to ‘count_attrs_search’ from ‘get_sorted_attrs’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/count_attrs.c:483:29: branch_true: following ‘true’ branch (when ‘i > i’)...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/count_attrs.c:485:52: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/count_attrs.c:485:52: release_memory: ‘0’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/count_attrs.c:484:29: danger: dereference of NULL ‘get_sorted_attrs(req, attrs, i) + j * 8’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def405]
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/dirsync.c:465:73: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tab’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/dirsync.c:768:12: enter_function: entry to ‘dirsync_search_callback’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/dirsync.c:787:12: branch_false: following ‘false’ branch (when ‘ares’ is non-NULL)...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/dirsync.c:791:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/dirsync.c:791:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/dirsync.c:796:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/dirsync.c:798:24: call_function: calling ‘dirsync_filter_entry’ from ‘dirsync_search_callback’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def406]
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/group_audit.c:346:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dn1’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/group_audit.c:985:13: enter_function: entry to ‘log_group_membership_changes’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/group_audit.c:994:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/group_audit.c:995:36: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/group_audit.c:1006:20: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/group_audit.c:1007:59: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/group_audit.c:1010:25: call_function: calling ‘log_membership_changes’ from ‘log_group_membership_changes’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def407]
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/group_audit.c:346:35: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dn2’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/group_audit.c:985:13: enter_function: entry to ‘log_group_membership_changes’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/group_audit.c:994:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/group_audit.c:995:36: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/group_audit.c:1006:20: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/group_audit.c:1007:59: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/group_audit.c:1010:25: call_function: calling ‘log_membership_changes’ from ‘log_group_membership_changes’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def408]
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/group_audit.c:742:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘old_val’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/group_audit.c:985:13: enter_function: entry to ‘log_group_membership_changes’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/group_audit.c:994:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/group_audit.c:995:36: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/group_audit.c:1006:20: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/group_audit.c:1007:59: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/group_audit.c:1010:25: call_function: calling ‘log_membership_changes’ from ‘log_group_membership_changes’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def409]
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/group_audit.c:839:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘new_val’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/group_audit.c:985:13: enter_function: entry to ‘log_group_membership_changes’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/group_audit.c:994:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/group_audit.c:995:36: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/group_audit.c:1006:20: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/group_audit.c:1007:59: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/group_audit.c:1010:25: call_function: calling ‘log_membership_changes’ from ‘log_group_membership_changes’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def410]
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/operational.c:1241:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘res’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/operational.c:1227:28: release_memory: ‘res’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/operational.c:1235:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/operational.c:1241:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/operational.c:1241:9: release_memory: ‘res’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/operational.c:1241:9: danger: dereference of NULL ‘res’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def411]
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/paged_results.c:273:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘result’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/paged_results.c:242:41: branch_false: following ‘false’ branch (when ‘ares’ is NULL)...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/paged_results.c:247:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/paged_results.c:247:12: branch_false: following ‘false’ branch...
branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/paged_results.c:253:16: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/paged_results.c:255:36: release_memory: ‘result’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/paged_results.c:272:21: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/paged_results.c:273:50: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/paged_results.c:273:50: release_memory: ‘result’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/paged_results.c:273:44: danger: dereference of NULL ‘result’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def412]
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:873:31: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ext_res’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8696:12: enter_function: entry to ‘replmd_prepare_commit’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8718:14: branch_false: following ‘false’ branch (when ‘la_group’ is NULL)...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8731:9: call_function: inlined call to ‘replmd_txn_cleanup’ from ‘replmd_prepare_commit’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8734:15: call_function: calling ‘replmd_notify_store’ from ‘replmd_prepare_commit’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def413]
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:2297:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘el’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:5664:12: enter_function: entry to ‘replmd_op_add_callback’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:5675:16: call_function: calling ‘replmd_op_possible_conflict_callback’ from ‘replmd_op_add_callback’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def414]
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:2378:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dns’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8498:12: enter_function: entry to ‘replmd_process_la_group’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8506:37: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8506:26: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8512:27: release_memory: ‘pdn_list’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8519:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8527:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8527:15: call_function: calling ‘replmd_get_la_entry_source’ from ‘replmd_process_la_group’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8527:15: return_function: returning to ‘replmd_process_la_group’ from ‘replmd_get_la_entry_source’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8530:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8544:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8544:9: call_function: inlined call to ‘replmd_deletion_state’ from ‘replmd_process_la_group’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8544:9: call_function: inlined call to ‘replmd_deletion_state’ from ‘replmd_process_la_group’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8546:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8565:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8570:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8578:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8590:19: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8592:17: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8592:17: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8592:17: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8598:21: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8598:20: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8603:57: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8599:31: call_function: calling ‘get_parsed_dns_trusted_fallback’ from ‘replmd_process_la_group’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def415]
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:2433:9: warning[-Wanalyzer-null-argument]: use of NULL ‘dns’ where non-null expected
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8498:12: enter_function: entry to ‘replmd_process_la_group’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8506:37: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8506:26: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8512:27: release_memory: ‘pdn_list’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8519:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8527:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8527:15: call_function: calling ‘replmd_get_la_entry_source’ from ‘replmd_process_la_group’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8527:15: return_function: returning to ‘replmd_process_la_group’ from ‘replmd_get_la_entry_source’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8530:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8544:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8544:9: call_function: inlined call to ‘replmd_deletion_state’ from ‘replmd_process_la_group’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8544:9: call_function: inlined call to ‘replmd_deletion_state’ from ‘replmd_process_la_group’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8546:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8565:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8570:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8578:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8590:19: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8592:17: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8592:17: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8592:17: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8598:21: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8598:20: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8603:57: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8599:31: call_function: calling ‘get_parsed_dns_trusted_fallback’ from ‘replmd_process_la_group’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def416]
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:4240:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ldb_msg_find_element(link_msg, *<unknown>.lDAPDisplayName)’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:5664:12: enter_function: entry to ‘replmd_op_add_callback’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:5675:16: call_function: calling ‘replmd_op_possible_conflict_callback’ from ‘replmd_op_add_callback’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def417]
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:7848:50: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘la_entry’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8498:12: enter_function: entry to ‘replmd_process_la_group’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8506:37: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8507:29: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8519:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8527:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/repl_meta_data.c:8527:15: call_function: calling ‘replmd_get_la_entry_source’ from ‘replmd_process_la_group’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def418]
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/samldb.c:2777:39: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘domain_sd’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/samldb.c:2823:12: enter_function: entry to ‘samldb_check_user_account_control_rules’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/samldb.c:2845:15: call_function: calling ‘samldb_check_user_account_control_acl’ from ‘samldb_check_user_account_control_rules’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def419]
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/samldb.c:2814:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘domain_sd’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/samldb.c:2823:12: enter_function: entry to ‘samldb_check_user_account_control_rules’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/samldb.c:2845:15: call_function: calling ‘samldb_check_user_account_control_acl’ from ‘samldb_check_user_account_control_rules’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def420]
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/samldb.c:4827:23: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘domain_sd’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/samldb.c:4787:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/samldb.c:4791:22: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/samldb.c:4792:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/samldb.c:4796:35: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/samldb.c:4797:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/samldb.c:4814:35: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/samldb.c:4815:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/samldb.c:4817:42: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/samldb.c:4824:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/samldb.c:4827:23: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/samldb.c:4827:23: danger: use of uninitialized value ‘domain_sd’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def421]
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/util.c:332:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘msg’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/util.c:312:5: enter_function: entry to ‘dsdb_module_dn_by_guid’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/util.c:316:29: release_memory: ‘msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/util.c:321:15: call_function: calling ‘dsdb_module_obj_by_guid’ from ‘dsdb_module_dn_by_guid’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/util.c:321:15: return_function: returning to ‘dsdb_module_dn_by_guid’ from ‘dsdb_module_obj_by_guid’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/util.c:327:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/util.c:332:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/util.c:332:15: release_memory: ‘msg’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/util.c:332:15: danger: dereference of NULL ‘msg’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def422]
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/vlv_pagination.c:254:35: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘result’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/vlv_pagination.c:390:12: enter_function: entry to ‘vlv_results’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/vlv_pagination.c:392:41: branch_true: following ‘true’ branch (when ‘ares’ is non-NULL)...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/vlv_pagination.c:392:30: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/vlv_pagination.c:400:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/vlv_pagination.c:406:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/vlv_pagination.c:423:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/vlv_pagination.c:424:21: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/vlv_pagination.c:424:20: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/vlv_pagination.c:425:34: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/vlv_pagination.c:425:34: call_function: calling ‘vlv_gt_eq_to_index’ from ‘vlv_results’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def423]
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/vlv_pagination.c:462:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘result’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/vlv_pagination.c:571:12: enter_function: entry to ‘vlv_search_callback’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/vlv_pagination.c:580:12: branch_false: following ‘false’ branch (when ‘ares’ is non-NULL)...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/vlv_pagination.c:584:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/vlv_pagination.c:584:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/vlv_pagination.c:589:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/vlv_pagination.c:635:23: call_function: calling ‘vlv_results’ from ‘vlv_search_callback’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def424]
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/vlv_pagination.c:654:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘store’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/vlv_pagination.c:763:12: enter_function: entry to ‘vlv_search’
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/vlv_pagination.c:778:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/vlv_pagination.c:782:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/vlv_pagination.c:786:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/vlv_pagination.c:791:20: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/vlv_pagination.c:792:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/vlv_pagination.c:796:21: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/vlv_pagination.c:797:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/vlv_pagination.c:801:16: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/vlv_pagination.c:805:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/vlv_pagination.c:810:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/vlv_pagination.c:817:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/vlv_pagination.c:862:26: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/vlv_pagination.c:864:20: branch_false: following ‘false’ branch...
branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/vlv_pagination.c:868:29: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/vlv_pagination.c:878:26: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/vlv_pagination.c:878:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/vlv_pagination.c:887:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/vlv_pagination.c:887:17: release_memory: ‘current’ is NULL
samba-4.22.1/bin/default/../../source4/dsdb/samdb/ldb_modules/vlv_pagination.c:888:23: call_function: calling ‘copy_search_details’ from ‘vlv_search’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def425]
samba-4.22.1/bin/default/../../source4/dsdb/schema/schema_query.c:280:65: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sclass’
samba-4.22.1/bin/default/../../source4/dsdb/schema/schema_query.c:426:14: enter_function: entry to ‘dsdb_full_attribute_list’
samba-4.22.1/bin/default/../../source4/dsdb/schema/schema_query.c:431:34: call_function: calling ‘dsdb_full_attribute_list_internal_el’ from ‘dsdb_full_attribute_list’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def426]
samba-4.22.1/bin/default/../../source4/dsdb/schema/schema_query.c:285:65: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sclass’
samba-4.22.1/bin/default/../../source4/dsdb/schema/schema_query.c:426:14: enter_function: entry to ‘dsdb_full_attribute_list’
samba-4.22.1/bin/default/../../source4/dsdb/schema/schema_query.c:431:34: call_function: calling ‘dsdb_full_attribute_list_internal_el’ from ‘dsdb_full_attribute_list’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def427]
samba-4.22.1/bin/default/../../source4/dsdb/schema/schema_query.c:290:65: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sclass’
samba-4.22.1/bin/default/../../source4/dsdb/schema/schema_query.c:426:14: enter_function: entry to ‘dsdb_full_attribute_list’
samba-4.22.1/bin/default/../../source4/dsdb/schema/schema_query.c:431:34: call_function: calling ‘dsdb_full_attribute_list_internal_el’ from ‘dsdb_full_attribute_list’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def428]
samba-4.22.1/bin/default/../../source4/dsdb/schema/schema_query.c:294:65: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sclass’
samba-4.22.1/bin/default/../../source4/dsdb/schema/schema_query.c:426:14: enter_function: entry to ‘dsdb_full_attribute_list’
samba-4.22.1/bin/default/../../source4/dsdb/schema/schema_query.c:431:34: call_function: calling ‘dsdb_full_attribute_list_internal_el’ from ‘dsdb_full_attribute_list’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def429]
samba-4.22.1/bin/default/../../source4/dsdb/schema/schema_query.c:298:65: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sclass’
samba-4.22.1/bin/default/../../source4/dsdb/schema/schema_query.c:426:14: enter_function: entry to ‘dsdb_full_attribute_list’
samba-4.22.1/bin/default/../../source4/dsdb/schema/schema_query.c:431:34: call_function: calling ‘dsdb_full_attribute_list_internal_el’ from ‘dsdb_full_attribute_list’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def430]
samba-4.22.1/bin/default/../../source4/dsdb/schema/schema_query.c:302:65: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sclass’
samba-4.22.1/bin/default/../../source4/dsdb/schema/schema_query.c:426:14: enter_function: entry to ‘dsdb_full_attribute_list’
samba-4.22.1/bin/default/../../source4/dsdb/schema/schema_query.c:431:34: call_function: calling ‘dsdb_full_attribute_list_internal_el’ from ‘dsdb_full_attribute_list’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def431]
samba-4.22.1/bin/default/../../source4/dsdb/schema/schema_query.c:306:65: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sclass’
samba-4.22.1/bin/default/../../source4/dsdb/schema/schema_query.c:426:14: enter_function: entry to ‘dsdb_full_attribute_list’
samba-4.22.1/bin/default/../../source4/dsdb/schema/schema_query.c:431:34: call_function: calling ‘dsdb_full_attribute_list_internal_el’ from ‘dsdb_full_attribute_list’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def432]
samba-4.22.1/bin/default/../../source4/kdc/db-glue.c:4437:24: warning[-Wanalyzer-malloc-leak]: leak of ‘sentry.keys.val’
samba-4.22.1/bin/default/../../source4/kdc/db-glue.c:4392:17: enter_function: entry to ‘dsdb_extract_aes_256_key’
samba-4.22.1/bin/default/../../source4/kdc/db-glue.c:4411:20: call_function: calling ‘samba_kdc_message2entry_keys’ from ‘dsdb_extract_aes_256_key’
samba-4.22.1/bin/default/../../source4/kdc/db-glue.c:4411:20: return_function: returning to ‘dsdb_extract_aes_256_key’ from ‘samba_kdc_message2entry_keys’
samba-4.22.1/bin/default/../../source4/kdc/db-glue.c:4424:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/kdc/db-glue.c:4425:40: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/kdc/db-glue.c:4437:24: danger: ‘sentry.keys.val’ leaks here; was allocated at [(14)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/13)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def433]
samba-4.22.1/bin/default/../../source4/kdc/mit-kdb/kdb_samba_principals.c:173:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘calloc(1, 32)’
samba-4.22.1/bin/default/../../source4/kdc/mit-kdb/kdb_samba_principals.c:137:12: branch_false: following ‘false’ branch (when ‘kentry’ is non-NULL)...
samba-4.22.1/bin/default/../../source4/kdc/mit-kdb/kdb_samba_principals.c:141:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/kdc/mit-kdb/kdb_samba_principals.c:150:12: branch_false: following ‘false’ branch (when ‘code == 0’)...
samba-4.22.1/bin/default/../../source4/kdc/mit-kdb/kdb_samba_principals.c:155:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/kdc/mit-kdb/kdb_samba_principals.c:158:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/kdc/mit-kdb/kdb_samba_principals.c:164:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/kdc/mit-kdb/kdb_samba_principals.c:165:28: acquire_memory: this call could return NULL
samba-4.22.1/bin/default/../../source4/kdc/mit-kdb/kdb_samba_principals.c:173:9: danger: ‘calloc(1, 32)’ could be NULL: unchecked value from [(7)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def434]
samba-4.22.1/bin/default/../../source4/kdc/mit-kdb/kdb_samba_principals.c:273:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘calloc(1, 32)’
samba-4.22.1/bin/default/../../source4/kdc/mit-kdb/kdb_samba_principals.c:203:12: branch_false: following ‘false’ branch (when ‘princ’ is non-NULL)...
samba-4.22.1/bin/default/../../source4/kdc/mit-kdb/kdb_samba_principals.c:207:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/kdc/mit-kdb/kdb_samba_principals.c:210:12: branch_false: following ‘false’ branch (when ‘kentry’ is non-NULL)...
samba-4.22.1/bin/default/../../source4/kdc/mit-kdb/kdb_samba_principals.c:214:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/kdc/mit-kdb/kdb_samba_principals.c:226:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/kdc/mit-kdb/kdb_samba_principals.c:231:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/kdc/mit-kdb/kdb_samba_principals.c:234:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/kdc/mit-kdb/kdb_samba_principals.c:239:16: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/kdc/mit-kdb/kdb_samba_principals.c:240:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/kdc/mit-kdb/kdb_samba_principals.c:245:12: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/kdc/mit-kdb/kdb_samba_principals.c:251:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/kdc/mit-kdb/kdb_samba_principals.c:257:16: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/kdc/mit-kdb/kdb_samba_principals.c:258:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/kdc/mit-kdb/kdb_samba_principals.c:259:12: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/kdc/mit-kdb/kdb_samba_principals.c:259:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/kdc/mit-kdb/kdb_samba_principals.c:264:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/kdc/mit-kdb/kdb_samba_principals.c:265:28: acquire_memory: this call could return NULL
samba-4.22.1/bin/default/../../source4/kdc/mit-kdb/kdb_samba_principals.c:273:9: danger: ‘calloc(1, 32)’ could be NULL: unchecked value from [(17)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/16)
Error: COMPILER_WARNING (CWE-477): [#def435]
samba-4.22.1/bin/default/../../source4/kdc/mit_samba.c:94:9: warning[-Wdeprecated-declarations]: ‘tevent_loop_allow_nesting’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def436]
samba-4.22.1/bin/default/../../source4/lib/events/tevent_s4.c:37:17: warning[-Wdeprecated-declarations]: ‘tevent_loop_allow_nesting’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def437]
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/irpc.c:109:9: warning[-Wdeprecated-declarations]: ‘dcerpc_binding_handle_set_sync_ev’ is deprecated
Error: COMPILER_WARNING (CWE-477): [#def438]
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/irpc.c:148:9: warning[-Wdeprecated-declarations]: ‘dcerpc_binding_handle_set_sync_ev’ is deprecated
Error: GCC_ANALYZER_WARNING (CWE-775): [#def439]
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:184:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘down_pipe[0]’
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:184:9: branch_false: following ‘false’ branch (when ‘ret == 0’)...
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:185:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:186:9: branch_false: following ‘false’ branch (when ‘ret == 0’)...
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:188:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:184:9: danger: ‘down_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def440]
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:184:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘down_pipe[1]’
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:184:9: branch_false: following ‘false’ branch (when ‘ret == 0’)...
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:185:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:186:9: branch_false: following ‘false’ branch (when ‘ret == 0’)...
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:188:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:184:9: danger: ‘down_pipe[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def441]
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:184:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘up_pipe[0]’
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:184:9: branch_false: following ‘false’ branch (when ‘ret == 0’)...
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:185:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:186:9: branch_true: following ‘true’ branch (when ‘ret != 0’)...
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:186:9: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:184:9: danger: ‘up_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def442]
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:184:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘up_pipe[1]’
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:184:9: branch_false: following ‘false’ branch (when ‘ret == 0’)...
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:185:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:186:9: branch_true: following ‘true’ branch (when ‘ret != 0’)...
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:186:9: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:184:9: danger: ‘up_pipe[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def443]
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:320:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘down_pipe[0]’
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:320:9: branch_false: following ‘false’ branch (when ‘ret == 0’)...
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:321:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:322:9: branch_false: following ‘false’ branch (when ‘ret == 0’)...
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:324:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:320:9: danger: ‘down_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def444]
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:320:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘down_pipe[1]’
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:320:9: branch_false: following ‘false’ branch (when ‘ret == 0’)...
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:321:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:322:9: branch_false: following ‘false’ branch (when ‘ret == 0’)...
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:324:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:320:9: danger: ‘down_pipe[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def445]
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:320:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘up_pipe[0]’
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:320:9: branch_false: following ‘false’ branch (when ‘ret == 0’)...
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:321:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:322:9: branch_true: following ‘true’ branch (when ‘ret != 0’)...
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:322:9: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:320:9: danger: ‘up_pipe[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def446]
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:320:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘up_pipe[1]’
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:320:9: branch_false: following ‘false’ branch (when ‘ret == 0’)...
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:321:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:322:9: branch_true: following ‘true’ branch (when ‘ret != 0’)...
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:322:9: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/lib/messaging/tests/messaging.c:320:9: danger: ‘up_pipe[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def447]
samba-4.22.1/bin/default/../../source4/lib/policy/gp_manage.c:228:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘sd’
samba-4.22.1/bin/default/../../source4/lib/policy/gp_manage.c:143:10: enter_function: entry to ‘gp_create_gpo’
samba-4.22.1/bin/default/../../source4/lib/policy/gp_manage.c:155:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/lib/policy/gp_manage.c:158:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/lib/policy/gp_manage.c:159:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/lib/policy/gp_manage.c:165:23: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/lib/policy/gp_manage.c:167:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/lib/policy/gp_manage.c:171:16: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/lib/policy/gp_manage.c:172:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/lib/policy/gp_manage.c:178:12: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/lib/policy/gp_manage.c:183:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/lib/policy/gp_manage.c:188:30: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/lib/policy/gp_manage.c:189:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/lib/policy/gp_manage.c:195:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/lib/policy/gp_manage.c:196:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/lib/policy/gp_manage.c:204:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/lib/policy/gp_manage.c:205:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/lib/policy/gp_manage.c:212:45: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/lib/policy/gp_manage.c:213:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/lib/policy/gp_manage.c:220:64: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/lib/policy/gp_manage.c:220:18: call_function: calling ‘gp_create_gpt_security_descriptor’ from ‘gp_create_gpo’
samba-4.22.1/bin/default/../../source4/lib/policy/gp_manage.c:220:18: return_function: returning to ‘gp_create_gpo’ from ‘gp_create_gpt_security_descriptor’
samba-4.22.1/bin/default/../../source4/lib/policy/gp_manage.c:221:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/lib/policy/gp_manage.c:228:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/lib/policy/gp_manage.c:228:18: danger: use of uninitialized value ‘sd’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def448]
samba-4.22.1/bin/default/../../source4/lib/policy/gp_manage.c:277:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘fs_sd’
samba-4.22.1/bin/default/../../source4/lib/policy/gp_manage.c:241:10: enter_function: entry to ‘gp_set_acl’
samba-4.22.1/bin/default/../../source4/lib/policy/gp_manage.c:250:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/lib/policy/gp_manage.c:253:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/lib/policy/gp_manage.c:254:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/lib/policy/gp_manage.c:261:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/lib/policy/gp_manage.c:262:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/lib/policy/gp_manage.c:269:64: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/lib/policy/gp_manage.c:269:18: call_function: calling ‘gp_create_gpt_security_descriptor’ from ‘gp_set_acl’
samba-4.22.1/bin/default/../../source4/lib/policy/gp_manage.c:269:18: return_function: returning to ‘gp_set_acl’ from ‘gp_create_gpt_security_descriptor’
samba-4.22.1/bin/default/../../source4/lib/policy/gp_manage.c:270:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/lib/policy/gp_manage.c:277:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/lib/policy/gp_manage.c:277:18: danger: use of uninitialized value ‘fs_sd’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def449]
samba-4.22.1/bin/default/../../source4/lib/registry/regf.c:1885:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
samba-4.22.1/bin/default/../../source4/lib/registry/regf.c:1867:15: enter_function: entry to ‘regf_set_value’
samba-4.22.1/bin/default/../../source4/lib/registry/regf.c:1881:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/lib/registry/regf.c:1882:26: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/lib/registry/regf.c:1882:26: call_function: calling ‘hbin_get’ from ‘regf_set_value’
samba-4.22.1/bin/default/../../source4/lib/registry/regf.c:1882:26: return_function: returning to ‘regf_set_value’ from ‘hbin_get’
samba-4.22.1/bin/default/../../source4/lib/registry/regf.c:1884:29: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/lib/registry/regf.c:1885:41: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/lib/registry/regf.c:1885:41: release_memory: ‘0’ is NULL
samba-4.22.1/bin/default/../../source4/lib/registry/regf.c:1885:41: danger: dereference of NULL ‘values.data + (sizetype)(i * 4)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def450]
samba-4.22.1/bin/default/../../source4/lib/registry/tools/regshell.c:459:17: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
samba-4.22.1/bin/default/../../source4/lib/registry/tools/regshell.c:433:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/lib/registry/tools/regshell.c:434:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/lib/registry/tools/regshell.c:437:18: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/lib/registry/tools/regshell.c:440:28: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/lib/registry/tools/regshell.c:442:28: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/lib/registry/tools/regshell.c:442:28: branch_true: following ‘true’ branch (when ‘count == 1’)...
samba-4.22.1/bin/default/../../source4/lib/registry/tools/regshell.c:443:43: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/lib/registry/tools/regshell.c:437:18: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/lib/registry/tools/regshell.c:439:42: acquire_memory: allocated here
samba-4.22.1/bin/default/../../source4/lib/registry/tools/regshell.c:440:28: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/lib/registry/tools/regshell.c:442:28: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/lib/registry/tools/regshell.c:442:28: branch_false: following ‘false’ branch (when ‘count != 1’)...
branch_false: ...to here
samba-4.22.1/bin/default/../../source4/lib/registry/tools/regshell.c:459:17: danger: ‘<unknown>’ leaks here; was allocated at [(11)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-688): [#def451]
samba-4.22.1/bin/default/../../source4/lib/registry/tools/regshell.c:503:48: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘strdup(subkeyname)’ where non-null expected
samba-4.22.1/bin/default/../../source4/lib/registry/tools/regshell.c:485:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/lib/registry/tools/regshell.c:486:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/lib/registry/tools/regshell.c:492:20: branch_true: following ‘true’ branch (when ‘j != 99’)...
samba-4.22.1/bin/default/../../source4/lib/registry/tools/regshell.c:493:26: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/lib/registry/tools/regshell.c:495:19: branch_true: following ‘true’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/lib/registry/tools/regshell.c:496:29: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/lib/registry/tools/regshell.c:496:27: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/lib/registry/tools/regshell.c:497:40: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/lib/registry/tools/regshell.c:497:46: acquire_memory: this call could return NULL
samba-4.22.1/bin/default/../../source4/lib/registry/tools/regshell.c:500:36: branch_false: following ‘false’ branch (when ‘j != 1’)...
branch_false: ...to here
samba-4.22.1/bin/default/../../source4/lib/registry/tools/regshell.c:503:48: danger: argument 2 (‘strdup(subkeyname)’) from [(9)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/8) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-688): [#def452]
samba-4.22.1/bin/default/../../source4/libcli/clideltree.c:43:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘n’ where non-null expected
samba-4.22.1/bin/default/../../source4/libcli/clideltree.c:42:13: acquire_memory: this call could return NULL
samba-4.22.1/bin/default/../../source4/libcli/clideltree.c:43:11: danger: argument 1 (‘n’) from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def453]
samba-4.22.1/bin/default/../../source4/libcli/raw/clisocket.c:429:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
samba-4.22.1/bin/default/../../source4/libcli/raw/clisocket.c:443:10: enter_function: entry to ‘smbcli_sock_connect’
samba-4.22.1/bin/default/../../source4/libcli/raw/clisocket.c:458:16: call_function: calling ‘smbcli_sock_connect_recv’ from ‘smbcli_sock_connect’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def454]
samba-4.22.1/bin/default/../../source4/libcli/raw/rawfile.c:430:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘req’
samba-4.22.1/bin/default/../../source4/libcli/raw/rawfile.c:803:19: enter_function: entry to ‘smb_raw_open’
samba-4.22.1/bin/default/../../source4/libcli/raw/rawfile.c:806:16: call_function: calling ‘smb_raw_open_recv’ from ‘smb_raw_open’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def455]
samba-4.22.1/bin/default/../../source4/libcli/raw/rawfile.c:650:49: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘req’
samba-4.22.1/bin/default/../../source4/libcli/raw/rawfile.c:803:19: enter_function: entry to ‘smb_raw_open’
samba-4.22.1/bin/default/../../source4/libcli/raw/rawfile.c:806:16: call_function: calling ‘smb_raw_open_recv’ from ‘smb_raw_open’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def456]
samba-4.22.1/bin/default/../../source4/libcli/raw/rawfile.c:660:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘req’
samba-4.22.1/bin/default/../../source4/libcli/raw/rawfile.c:803:19: enter_function: entry to ‘smb_raw_open’
samba-4.22.1/bin/default/../../source4/libcli/raw/rawfile.c:806:16: call_function: calling ‘smb_raw_open_recv’ from ‘smb_raw_open’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def457]
samba-4.22.1/bin/default/../../source4/libcli/raw/rawfile.c:722:52: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘req’
samba-4.22.1/bin/default/../../source4/libcli/raw/rawfile.c:803:19: enter_function: entry to ‘smb_raw_open’
samba-4.22.1/bin/default/../../source4/libcli/raw/rawfile.c:806:16: call_function: calling ‘smb_raw_open_recv’ from ‘smb_raw_open’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def458]
samba-4.22.1/bin/default/../../source4/libcli/raw/rawreadwrite.c:158:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘req’
samba-4.22.1/bin/default/../../source4/libcli/raw/rawreadwrite.c:197:19: enter_function: entry to ‘smb_raw_read’
samba-4.22.1/bin/default/../../source4/libcli/raw/rawreadwrite.c:200:16: call_function: calling ‘smb_raw_read_recv’ from ‘smb_raw_read’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def459]
samba-4.22.1/bin/default/../../source4/libcli/resolve/resolve.c:215:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
samba-4.22.1/bin/default/../../source4/libcli/resolve/resolve.c:306:10: enter_function: entry to ‘resolve_name_ex’
samba-4.22.1/bin/default/../../source4/libcli/resolve/resolve.c:314:39: call_function: calling ‘resolve_name_ex_send’ from ‘resolve_name_ex’
samba-4.22.1/bin/default/../../source4/libcli/resolve/resolve.c:314:39: return_function: returning to ‘resolve_name_ex’ from ‘resolve_name_ex_send’
samba-4.22.1/bin/default/../../source4/libcli/resolve/resolve.c:315:16: call_function: calling ‘resolve_name_recv’ from ‘resolve_name_ex’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def460]
samba-4.22.1/bin/default/../../source4/libcli/resolve/resolve.c:254:50: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘addrs’
samba-4.22.1/bin/default/../../source4/libcli/resolve/resolve.c:244:10: enter_function: entry to ‘resolve_name_recv’
samba-4.22.1/bin/default/../../source4/libcli/resolve/resolve.c:249:33: release_memory: ‘addrs’ is NULL
samba-4.22.1/bin/default/../../source4/libcli/resolve/resolve.c:251:18: call_function: calling ‘resolve_name_all_recv’ from ‘resolve_name_recv’
samba-4.22.1/bin/default/../../source4/libcli/resolve/resolve.c:251:18: return_function: returning to ‘resolve_name_recv’ from ‘resolve_name_all_recv’
samba-4.22.1/bin/default/../../source4/libcli/resolve/resolve.c:253:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/libcli/resolve/resolve.c:254:50: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/libcli/resolve/resolve.c:254:50: release_memory: ‘addrs’ is NULL
samba-4.22.1/bin/default/../../source4/libcli/resolve/resolve.c:254:50: danger: dereference of NULL ‘addrs’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def461]
samba-4.22.1/bin/default/../../source4/libcli/resolve/resolve.c:284:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘addrs’
samba-4.22.1/bin/default/../../source4/libcli/resolve/resolve.c:272:10: enter_function: entry to ‘resolve_name_multiple_recv’
samba-4.22.1/bin/default/../../source4/libcli/resolve/resolve.c:277:33: release_memory: ‘addrs’ is NULL
samba-4.22.1/bin/default/../../source4/libcli/resolve/resolve.c:280:18: call_function: calling ‘resolve_name_all_recv’ from ‘resolve_name_multiple_recv’
samba-4.22.1/bin/default/../../source4/libcli/resolve/resolve.c:280:18: return_function: returning to ‘resolve_name_multiple_recv’ from ‘resolve_name_all_recv’
samba-4.22.1/bin/default/../../source4/libcli/resolve/resolve.c:281:9: branch_false: following ‘false’ branch...
branch_false: ...to here
samba-4.22.1/bin/default/../../source4/libcli/resolve/resolve.c:284:24: release_memory: ‘addrs’ is NULL
samba-4.22.1/bin/default/../../source4/libcli/resolve/resolve.c:284:24: release_memory: ‘addrs’ is NULL
samba-4.22.1/bin/default/../../source4/libcli/resolve/resolve.c:284:19: danger: dereference of NULL ‘addrs + (long unsigned int)i * 8’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def462]
samba-4.22.1/bin/default/../../source4/libcli/smb2/ioctl.c:116:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘req’
samba-4.22.1/bin/default/../../source4/libcli/smb2/ioctl.c:148:10: enter_function: entry to ‘smb2_ioctl’
samba-4.22.1/bin/default/../../source4/libcli/smb2/ioctl.c:151:16: call_function: calling ‘smb2_ioctl_recv’ from ‘smb2_ioctl’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def463]
samba-4.22.1/bin/default/../../source4/libcli/smb_composite/appendacl.c:294:49: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
samba-4.22.1/bin/default/../../source4/libcli/smb_composite/appendacl.c:306:10: enter_function: entry to ‘smb_composite_appendacl’
samba-4.22.1/bin/default/../../source4/libcli/smb_composite/appendacl.c:311:16: call_function: calling ‘smb_composite_appendacl_recv’ from ‘smb_composite_appendacl’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def464]
samba-4.22.1/bin/default/../../source4/libcli/smb_composite/fetchfile.c:181:49: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
samba-4.22.1/bin/default/../../source4/libcli/smb_composite/fetchfile.c:189:10: enter_function: entry to ‘smb_composite_fetchfile’
samba-4.22.1/bin/default/../../source4/libcli/smb_composite/fetchfile.c:193:16: call_function: calling ‘smb_composite_fetchfile_recv’ from ‘smb_composite_fetchfile’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def465]
samba-4.22.1/bin/default/../../source4/libcli/smb_composite/fsinfo.c:193:46: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
samba-4.22.1/bin/default/../../source4/libcli/smb_composite/fsinfo.c:205:10: enter_function: entry to ‘smb_composite_fsinfo’
samba-4.22.1/bin/default/../../source4/libcli/smb_composite/fsinfo.c:212:16: call_function: calling ‘smb_composite_fsinfo_recv’ from ‘smb_composite_fsinfo’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def466]
samba-4.22.1/bin/default/../../source4/libcli/smb_composite/loadfile.c:274:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
samba-4.22.1/bin/default/../../source4/libcli/smb_composite/loadfile.c:286:10: enter_function: entry to ‘smb_composite_loadfile’
samba-4.22.1/bin/default/../../source4/libcli/smb_composite/loadfile.c:291:16: call_function: calling ‘smb_composite_loadfile_recv’ from ‘smb_composite_loadfile’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def467]
samba-4.22.1/bin/default/../../source4/libnet/groupinfo.c:356:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
samba-4.22.1/bin/default/../../source4/libnet/groupinfo.c:376:10: enter_function: entry to ‘libnet_rpc_groupinfo’
samba-4.22.1/bin/default/../../source4/libnet/groupinfo.c:383:16: call_function: calling ‘libnet_rpc_groupinfo_recv’ from ‘libnet_rpc_groupinfo’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def468]
samba-4.22.1/bin/default/../../source4/libnet/groupman.c:99:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
samba-4.22.1/bin/default/../../source4/libnet/groupman.c:130:10: enter_function: entry to ‘libnet_rpc_groupadd’
samba-4.22.1/bin/default/../../source4/libnet/groupman.c:138:16: call_function: calling ‘libnet_rpc_groupadd_recv’ from ‘libnet_rpc_groupadd’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def469]
samba-4.22.1/bin/default/../../source4/libnet/libnet_group.c:405:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
samba-4.22.1/bin/default/../../source4/libnet/libnet_group.c:431:10: enter_function: entry to ‘libnet_GroupInfo’
samba-4.22.1/bin/default/../../source4/libnet/libnet_group.c:434:39: call_function: calling ‘libnet_GroupInfo_send’ from ‘libnet_GroupInfo’
samba-4.22.1/bin/default/../../source4/libnet/libnet_group.c:434:39: return_function: returning to ‘libnet_GroupInfo’ from ‘libnet_GroupInfo_send’
samba-4.22.1/bin/default/../../source4/libnet/libnet_group.c:436:16: call_function: calling ‘libnet_GroupInfo_recv’ from ‘libnet_GroupInfo’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def470]
samba-4.22.1/bin/default/../../source4/libnet/libnet_lookup.c:401:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
samba-4.22.1/bin/default/../../source4/libnet/libnet_lookup.c:445:10: enter_function: entry to ‘libnet_LookupName’
samba-4.22.1/bin/default/../../source4/libnet/libnet_lookup.c:450:13: call_function: calling ‘libnet_LookupName_send’ from ‘libnet_LookupName’
samba-4.22.1/bin/default/../../source4/libnet/libnet_lookup.c:450:13: return_function: returning to ‘libnet_LookupName’ from ‘libnet_LookupName_send’
samba-4.22.1/bin/default/../../source4/libnet/libnet_lookup.c:451:16: call_function: calling ‘libnet_LookupName_recv’ from ‘libnet_LookupName’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def471]
samba-4.22.1/bin/default/../../source4/libnet/libnet_user.c:352:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
samba-4.22.1/bin/default/../../source4/libnet/libnet_user.c:368:10: enter_function: entry to ‘libnet_DeleteUser’
samba-4.22.1/bin/default/../../source4/libnet/libnet_user.c:373:13: call_function: calling ‘libnet_DeleteUser_send’ from ‘libnet_DeleteUser’
samba-4.22.1/bin/default/../../source4/libnet/libnet_user.c:373:13: return_function: returning to ‘libnet_DeleteUser’ from ‘libnet_DeleteUser_send’
samba-4.22.1/bin/default/../../source4/libnet/libnet_user.c:374:16: call_function: calling ‘libnet_DeleteUser_recv’ from ‘libnet_DeleteUser’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def472]
samba-4.22.1/bin/default/../../source4/libnet/libnet_user.c:849:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
samba-4.22.1/bin/default/../../source4/libnet/libnet_user.c:903:10: enter_function: entry to ‘libnet_UserInfo’
samba-4.22.1/bin/default/../../source4/libnet/libnet_user.c:908:13: call_function: calling ‘libnet_UserInfo_send’ from ‘libnet_UserInfo’
samba-4.22.1/bin/default/../../source4/libnet/libnet_user.c:908:13: return_function: returning to ‘libnet_UserInfo’ from ‘libnet_UserInfo_send’
samba-4.22.1/bin/default/../../source4/libnet/libnet_user.c:909:16: call_function: calling ‘libnet_UserInfo_recv’ from ‘libnet_UserInfo’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def473]
samba-4.22.1/bin/default/../../source4/libnet/userinfo.c:355:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
samba-4.22.1/bin/default/../../source4/libnet/userinfo.c:375:10: enter_function: entry to ‘libnet_rpc_userinfo’
samba-4.22.1/bin/default/../../source4/libnet/userinfo.c:381:16: call_function: calling ‘libnet_rpc_userinfo_recv’ from ‘libnet_rpc_userinfo’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def474]
samba-4.22.1/bin/default/../../source4/libnet/userman.c:165:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
samba-4.22.1/bin/default/../../source4/libnet/userman.c:183:10: enter_function: entry to ‘libnet_rpc_useradd’
samba-4.22.1/bin/default/../../source4/libnet/userman.c:189:16: call_function: calling ‘libnet_rpc_useradd_recv’ from ‘libnet_rpc_useradd’
Error: COMPILER_WARNING (CWE-477): [#def475]
samba-4.22.1/bin/default/../../source4/librpc/rpc/dcerpc.c:747:9: warning[-Wdeprecated-declarations]: ‘dcerpc_binding_handle_set_sync_ev’ is deprecated
Error: GCC_ANALYZER_WARNING (CWE-476): [#def476]
samba-4.22.1/bin/default/../../source4/librpc/rpc/dcerpc_secondary.c:409:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
samba-4.22.1/bin/default/../../source4/librpc/rpc/dcerpc_secondary.c:419:19: enter_function: entry to ‘dcerpc_secondary_auth_connection’
samba-4.22.1/bin/default/../../source4/librpc/rpc/dcerpc_secondary.c:431:16: call_function: calling ‘dcerpc_secondary_auth_connection_recv’ from ‘dcerpc_secondary_auth_connection’
Error: COMPILER_WARNING (CWE-477): [#def477]
samba-4.22.1/bin/default/../../source4/librpc/rpc/pyrpc_util.c:94:9: warning[-Wdeprecated-declarations]: ‘dcerpc_binding_handle_set_sync_ev’ is deprecated
Error: GCC_ANALYZER_WARNING (CWE-476): [#def478]
samba-4.22.1/bin/default/../../source4/param/share_classic.c:63:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘val’
samba-4.22.1/bin/default/../../source4/param/share_classic.c:57:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/param/share_classic.c:58:24: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/param/share_classic.c:59:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/param/share_classic.c:62:23: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/param/share_classic.c:63:17: danger: dereference of NULL ‘val’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def479]
samba-4.22.1/bin/default/../../source4/param/share_classic.c:121:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘val’
samba-4.22.1/bin/default/../../source4/param/share_classic.c:115:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/param/share_classic.c:116:24: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/param/share_classic.c:117:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/param/share_classic.c:120:23: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/param/share_classic.c:121:17: danger: dereference of NULL ‘val’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def480]
samba-4.22.1/bin/default/../../source4/param/share_classic.c:179:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘val’
samba-4.22.1/bin/default/../../source4/param/share_classic.c:173:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/param/share_classic.c:174:24: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/param/share_classic.c:175:19: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/param/share_classic.c:178:23: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/param/share_classic.c:179:17: danger: dereference of NULL ‘val’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def481]
samba-4.22.1/bin/default/../../source4/param/share_classic.c:277:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘val’
samba-4.22.1/bin/default/../../source4/param/share_classic.c:271:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/param/share_classic.c:272:24: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/param/share_classic.c:273:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/param/share_classic.c:276:23: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/param/share_classic.c:277:17: danger: dereference of NULL ‘val’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def482]
samba-4.22.1/bin/default/../../source4/rpc_server/dnsserver/dnsdata.c:409:17: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
samba-4.22.1/bin/default/../../source4/rpc_server/dnsserver/dnsdata.c:923:8: enter_function: entry to ‘dns_fill_records_array’
samba-4.22.1/bin/default/../../source4/rpc_server/dnsserver/dnsdata.c:944:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/dnsserver/dnsdata.c:947:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/dnsserver/dnsdata.c:966:12: branch_false: following ‘false’ branch (when ‘msg’ is non-NULL)...
samba-4.22.1/bin/default/../../source4/rpc_server/dnsserver/dnsdata.c:971:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/dnsserver/dnsdata.c:971:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/dnsserver/dnsdata.c:975:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/dnsserver/dnsdata.c:976:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/dnsserver/dnsdata.c:982:14: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/dnsserver/dnsdata.c:983:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/dnsserver/dnsdata.c:988:19: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/dnsserver/dnsdata.c:993:49: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/dnsserver/dnsdata.c:995:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/dnsserver/dnsdata.c:1001:20: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/dnsserver/dnsdata.c:1039:36: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/dnsserver/dnsdata.c:1043:65: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/dnsserver/dnsdata.c:1044:33: call_function: calling ‘dnsp_to_dns_copy’ from ‘dns_fill_records_array’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def483]
samba-4.22.1/bin/default/../../source4/rpc_server/lsa/dcesrv_lsa.c:263:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*r.out.result’
samba-4.22.1/bin/default/../../source4/rpc_server/lsa/dcesrv_lsa.c:2415:17: enter_function: entry to ‘dcesrv_lsa_DeleteTrustedDomain’
samba-4.22.1/bin/default/../../source4/rpc_server/lsa/dcesrv_lsa.c:2427:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/lsa/dcesrv_lsa.c:2430:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/lsa/dcesrv_lsa.c:2431:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/lsa/dcesrv_lsa.c:2435:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/lsa/dcesrv_lsa.c:2435:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/lsa/dcesrv_lsa.c:2436:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/lsa/dcesrv_lsa.c:2440:18: call_function: calling ‘dcesrv_lsa_DeleteObject’ from ‘dcesrv_lsa_DeleteTrustedDomain’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def484]
samba-4.22.1/bin/default/../../source4/rpc_server/lsa/dcesrv_lsa.c:330:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*r.out.result’
samba-4.22.1/bin/default/../../source4/rpc_server/lsa/dcesrv_lsa.c:2415:17: enter_function: entry to ‘dcesrv_lsa_DeleteTrustedDomain’
samba-4.22.1/bin/default/../../source4/rpc_server/lsa/dcesrv_lsa.c:2427:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/lsa/dcesrv_lsa.c:2430:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/lsa/dcesrv_lsa.c:2431:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/lsa/dcesrv_lsa.c:2435:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/lsa/dcesrv_lsa.c:2435:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/lsa/dcesrv_lsa.c:2436:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/lsa/dcesrv_lsa.c:2440:18: call_function: calling ‘dcesrv_lsa_DeleteObject’ from ‘dcesrv_lsa_DeleteTrustedDomain’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def485]
samba-4.22.1/bin/default/../../source4/rpc_server/lsa/dcesrv_lsa.c:2489:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*r.out.result’
samba-4.22.1/bin/default/../../source4/rpc_server/lsa/dcesrv_lsa.c:2561:17: enter_function: entry to ‘dcesrv_lsa_QueryTrustedDomainInfoBySid’
samba-4.22.1/bin/default/../../source4/rpc_server/lsa/dcesrv_lsa.c:2573:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/lsa/dcesrv_lsa.c:2576:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/lsa/dcesrv_lsa.c:2577:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/lsa/dcesrv_lsa.c:2582:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/lsa/dcesrv_lsa.c:2582:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/lsa/dcesrv_lsa.c:2583:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/lsa/dcesrv_lsa.c:2588:18: call_function: calling ‘dcesrv_lsa_QueryTrustedDomainInfo’ from ‘dcesrv_lsa_QueryTrustedDomainInfoBySid’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def486]
samba-4.22.1/bin/default/../../source4/rpc_server/lsa/dcesrv_lsa.c:3008:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*r.out.result’
samba-4.22.1/bin/default/../../source4/rpc_server/lsa/dcesrv_lsa.c:3213:17: enter_function: entry to ‘dcesrv_lsa_RemovePrivilegesFromAccount’
samba-4.22.1/bin/default/../../source4/rpc_server/lsa/dcesrv_lsa.c:3221:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/lsa/dcesrv_lsa.c:3227:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/lsa/dcesrv_lsa.c:3228:13: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/lsa/dcesrv_lsa.c:3227:13: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/lsa/dcesrv_lsa.c:3232:33: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/lsa/dcesrv_lsa.c:3236:26: call_function: calling ‘dcesrv_lsa_EnumAccountRights’ from ‘dcesrv_lsa_RemovePrivilegesFromAccount’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def487]
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4701:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘entriesGeneral’
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4493:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4572:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4605:19: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4626:12: branch_false: following ‘false’ branch...
branch_false: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4636:21: branch_true: following ‘true’ branch (when ‘i < results’)...
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4639:38: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4660:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4667:27: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4667:27: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4672:53: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4674:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4681:26: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4685:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4698:24: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4701:39: release_memory: ‘entriesGeneral’ is NULL
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4701:25: danger: dereference of NULL ‘entriesGeneral + (long unsigned int)count * 64’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def488]
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4717:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘entriesFull’
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4493:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4572:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4605:19: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4626:12: branch_false: following ‘false’ branch...
branch_false: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4636:21: branch_true: following ‘true’ branch (when ‘i < results’)...
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4639:38: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4660:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4667:27: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4667:27: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4672:53: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4674:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4681:26: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4685:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4698:24: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4717:36: release_memory: ‘entriesFull’ is NULL
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4717:25: danger: dereference of NULL ‘entriesFull + (long unsigned int)count * 48’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def489]
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4735:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘entriesFullGroup’
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4493:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4572:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4605:19: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4626:12: branch_false: following ‘false’ branch...
branch_false: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4636:21: branch_true: following ‘true’ branch (when ‘i < results’)...
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4639:38: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4660:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4667:27: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4667:27: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4672:53: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4674:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4681:26: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4685:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4698:24: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4735:41: release_memory: ‘entriesFullGroup’ is NULL
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4735:25: danger: dereference of NULL ‘entriesFullGroup + (long unsigned int)count * 48’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def490]
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4751:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘entriesAscii’
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4493:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4572:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4605:19: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4626:12: branch_false: following ‘false’ branch...
branch_false: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4636:21: branch_true: following ‘true’ branch (when ‘i < results’)...
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4639:38: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4660:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4667:27: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4667:27: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4672:53: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4674:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4681:26: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4685:20: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4698:24: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4751:37: release_memory: ‘entriesAscii’ is NULL
samba-4.22.1/bin/default/../../source4/rpc_server/samr/dcesrv_samr.c:4751:25: danger: dereference of NULL ‘entriesAscii + (long unsigned int)count * 24’
Error: COMPILER_WARNING (CWE-477): [#def491]
samba-4.22.1/bin/default/../../source4/samba/service_task.c:49:25: warning[-Wdeprecated-declarations]: ‘dcerpc_binding_handle_set_sync_ev’ is deprecated
Error: GCC_ANALYZER_WARNING (CWE-457): [#def492]
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:103:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘finfo2.basic_info.out.write_time’
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:53:9: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:55:17: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:56:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:59:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:64:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:66:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:70:9: branch_false: following ‘false’ branch (when ‘__got == 1’)...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:73:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:75:16: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:103:9: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:103:9: danger: use of uninitialized value ‘finfo2.basic_info.out.write_time’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def493]
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:260:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘finfo3.all_info.out.write_time’
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:137:9: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:139:17: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:140:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:143:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:159:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:161:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:161:9: branch_false: following ‘false’ branch (when ‘__got == 2048’)...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:164:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:173:9: branch_false: following ‘false’ branch (when ‘__got == 0’)...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:176:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:180:16: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:181:26: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:183:17: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:185:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:185:17: branch_false: following ‘false’ branch (when ‘__got == 1024’)...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:189:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:204:9: branch_true: following ‘true’ branch (when ‘updated != 0’)...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:207:9: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:207:9: branch_true: following ‘true’ branch (when ‘first != 0’)...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:211:9: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:218:9: branch_false: following ‘false’ branch (when ‘__got == 1’)...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:221:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:223:16: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:247:9: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:258:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:260:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:260:9: danger: use of uninitialized value ‘finfo3.all_info.out.write_time’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def494]
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:421:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘finfo3.all_info.out.write_time’
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:303:9: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:305:17: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:306:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:309:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:325:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:327:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:327:9: branch_false: following ‘false’ branch (when ‘__got == 2048’)...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:330:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:336:9: branch_false: following ‘false’ branch (when ‘__got == 0’)...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:339:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:343:16: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:344:26: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:346:17: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:348:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:348:17: branch_false: following ‘false’ branch (when ‘__got == 10240’)...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:352:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:367:9: branch_true: following ‘true’ branch (when ‘updated != 0’)...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:370:9: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:370:9: branch_true: following ‘true’ branch (when ‘first != 0’)...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:374:9: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:382:9: branch_false: following ‘false’ branch (when ‘__got == 1’)...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:385:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:387:16: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:411:9: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:419:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:421:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:421:9: danger: use of uninitialized value ‘finfo3.all_info.out.write_time’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def495]
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:581:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘finfo3.all_info.out.write_time’
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:464:9: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:466:17: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:467:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:470:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:486:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:488:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:488:9: branch_false: following ‘false’ branch (when ‘__got == 2048’)...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:491:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:497:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:499:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:503:16: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:504:26: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:506:17: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:508:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:508:17: branch_false: following ‘false’ branch (when ‘__got == 10240’)...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:512:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:527:9: branch_true: following ‘true’ branch (when ‘updated != 0’)...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:530:9: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:530:9: branch_true: following ‘true’ branch (when ‘first != 0’)...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:534:9: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:542:9: branch_false: following ‘false’ branch (when ‘__got == 1’)...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:545:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:547:16: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:571:9: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:579:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:581:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:581:9: danger: use of uninitialized value ‘finfo3.all_info.out.write_time’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def496]
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:744:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘finfo3.all_info.out.write_time’
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:624:9: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:626:17: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:627:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:630:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:646:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:648:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:648:9: branch_false: following ‘false’ branch (when ‘__got == 2048’)...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:651:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:661:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:664:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:668:16: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:669:26: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:671:17: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:673:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:673:17: branch_false: following ‘false’ branch (when ‘__got == 0’)...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:677:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:692:9: branch_true: following ‘true’ branch (when ‘updated != 0’)...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:695:9: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:695:9: branch_true: following ‘true’ branch (when ‘first != 0’)...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:699:9: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:706:9: branch_false: following ‘false’ branch (when ‘__got == 1’)...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:709:17: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:711:16: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:734:9: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:742:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:744:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/delaywrite.c:744:9: danger: use of uninitialized value ‘finfo3.all_info.out.write_time’ here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def497]
samba-4.22.1/bin/default/../../source4/torture/basic/denytest.c:2356:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cli2’
samba-4.22.1/bin/default/../../source4/torture/basic/denytest.c:2622:6: enter_function: entry to ‘torture_createx_access_exhaustive’
samba-4.22.1/bin/default/../../source4/torture/basic/denytest.c:2632:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/basic/denytest.c:2635:14: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/denytest.c:2656:33: branch_true: following ‘true’ branch...
branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/denytest.c:2658:43: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/torture/basic/denytest.c:2660:25: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/basic/denytest.c:2661:31: call_function: calling ‘torture_createx_specific’ from ‘torture_createx_access_exhaustive’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def498]
samba-4.22.1/bin/default/../../source4/torture/dfs/domaindfs.c:142:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘str’
samba-4.22.1/bin/default/../../source4/torture/dfs/domaindfs.c:91:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/dfs/domaindfs.c:95:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/dfs/domaindfs.c:96:11: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/dfs/domaindfs.c:100:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/dfs/domaindfs.c:104:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/dfs/domaindfs.c:109:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/dfs/domaindfs.c:109:9: branch_false: following ‘false’ branch (when ‘__got == 0’)...
samba-4.22.1/bin/default/../../source4/torture/dfs/domaindfs.c:111:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/dfs/domaindfs.c:111:9: branch_false: following ‘false’ branch (when ‘__got == 1’)...
samba-4.22.1/bin/default/../../source4/torture/dfs/domaindfs.c:113:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/dfs/domaindfs.c:113:9: branch_false: following ‘false’ branch (when ‘__got == 0’)...
samba-4.22.1/bin/default/../../source4/torture/dfs/domaindfs.c:115:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/dfs/domaindfs.c:115:9: branch_false: following ‘false’ branch (when ‘__got == 3’)...
samba-4.22.1/bin/default/../../source4/torture/dfs/domaindfs.c:119:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/dfs/domaindfs.c:119:9: branch_false: following ‘false’ branch (when ‘__got == 0’)...
samba-4.22.1/bin/default/../../source4/torture/dfs/domaindfs.c:124:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/dfs/domaindfs.c:124:9: branch_false: following ‘false’ branch (when ‘__got == 2’)...
samba-4.22.1/bin/default/../../source4/torture/dfs/domaindfs.c:129:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/dfs/domaindfs.c:129:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/dfs/domaindfs.c:133:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/dfs/domaindfs.c:133:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/dfs/domaindfs.c:137:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/dfs/domaindfs.c:142:9: danger: dereference of NULL ‘str’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def499]
samba-4.22.1/bin/default/../../source4/torture/ldap/basic.c:718:13: warning[-Wanalyzer-null-argument]: use of NULL ‘basedn’ where non-null expected
samba-4.22.1/bin/default/../../source4/torture/ldap/basic.c:932:6: enter_function: entry to ‘torture_ldap_basic’
samba-4.22.1/bin/default/../../source4/torture/ldap/basic.c:950:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/ldap/basic.c:954:14: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/ldap/basic.c:954:14: call_function: calling ‘test_search_rootDSE’ from ‘torture_ldap_basic’
samba-4.22.1/bin/default/../../source4/torture/ldap/basic.c:954:14: return_function: returning to ‘torture_ldap_basic’ from ‘test_search_rootDSE’
samba-4.22.1/bin/default/../../source4/torture/ldap/basic.c:958:14: call_function: calling ‘test_search_rootDSE_empty_substring’ from ‘torture_ldap_basic’
samba-4.22.1/bin/default/../../source4/torture/ldap/basic.c:958:14: return_function: returning to ‘torture_ldap_basic’ from ‘test_search_rootDSE_empty_substring’
samba-4.22.1/bin/default/../../source4/torture/ldap/basic.c:958:12: branch_false: following ‘false’ branch...
branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/ldap/basic.c:972:14: release_memory: ‘basedn’ is NULL
samba-4.22.1/bin/default/../../source4/torture/ldap/basic.c:972:14: call_function: calling ‘test_search_auth_empty_substring’ from ‘torture_ldap_basic’
samba-4.22.1/bin/default/../../source4/torture/ldap/basic.c:972:14: return_function: returning to ‘torture_ldap_basic’ from ‘test_search_auth_empty_substring’
samba-4.22.1/bin/default/../../source4/torture/ldap/basic.c:972:12: branch_false: following ‘false’ branch...
branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/ldap/basic.c:976:14: call_function: calling ‘test_compare_sasl’ from ‘torture_ldap_basic’
samba-4.22.1/bin/default/../../source4/torture/ldap/basic.c:976:14: return_function: returning to ‘torture_ldap_basic’ from ‘test_compare_sasl’
samba-4.22.1/bin/default/../../source4/torture/ldap/basic.c:976:12: branch_false: following ‘false’ branch...
branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/ldap/basic.c:982:14: call_function: calling ‘test_error_codes’ from ‘torture_ldap_basic’
samba-4.22.1/bin/default/../../source4/torture/ldap/basic.c:982:14: return_function: returning to ‘torture_ldap_basic’ from ‘test_error_codes’
samba-4.22.1/bin/default/../../source4/torture/ldap/basic.c:982:12: branch_false: following ‘false’ branch...
branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/ldap/basic.c:988:14: call_function: calling ‘test_referrals’ from ‘torture_ldap_basic’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def500]
samba-4.22.1/bin/default/../../source4/torture/libnetapi/libnetapi_group.c:191:49: warning[-Wanalyzer-null-argument]: use of NULL ‘current_name’ where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def501]
samba-4.22.1/bin/default/../../source4/torture/masktest.c:50:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘file’
samba-4.22.1/bin/default/../../source4/torture/masktest.c:292:5: enter_function: entry to ‘main’
samba-4.22.1/bin/default/../../source4/torture/masktest.c:330:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/masktest.c:334:14: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/masktest.c:337:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/torture/masktest.c:342:14: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/masktest.c:347:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/masktest.c:352:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/masktest.c:380:12: branch_false: following ‘false’ branch (when ‘argc_new > 1’)...
samba-4.22.1/bin/default/../../source4/torture/masktest.c:386:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/masktest.c:399:15: call_function: calling ‘connect_one’ from ‘main’
samba-4.22.1/bin/default/../../source4/torture/masktest.c:399:15: return_function: returning to ‘main’ from ‘connect_one’
samba-4.22.1/bin/default/../../source4/torture/masktest.c:403:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/masktest.c:410:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/masktest.c:413:9: call_function: calling ‘test_mask’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-479): [#def502]
samba-4.22.1/bin/default/../../source4/torture/nbench/nbio.c:295:17: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘printf’ from within signal handler
samba-4.22.1/bin/default/../../source4/torture/nbench/nbio.c:248:6: enter_function: entry to ‘nb_alarm’
samba-4.22.1/bin/default/../../source4/torture/nbench/nbio.c:248:6: enter_function: entry to ‘nb_alarm’
samba-4.22.1/bin/default/../../source4/torture/nbench/nbio.c:256:12: branch_false: following ‘false’ branch...
branch_false: ...to here
call_function: calling ‘nb_alarm’ from ‘nb_alarm’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def503]
samba-4.22.1/bin/default/../../source4/torture/rpc/iremotewinspool_common.c:51:16: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘level1.build’
branch_false: following ‘false’ branch (when ‘os > 8’)...
samba-4.22.1/bin/default/../../source4/torture/rpc/iremotewinspool_common.c:51:16: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/rpc/iremotewinspool_common.c:51:16: danger: use of uninitialized value ‘level1.build’ here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def504]
samba-4.22.1/bin/default/../../source4/torture/rpc/iremotewinspool_driver.c:101:29: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(fpath, "r")’
samba-4.22.1/bin/default/../../source4/torture/rpc/iremotewinspool_driver.c:98:14: acquire_resource: opened here
samba-4.22.1/bin/default/../../source4/torture/rpc/iremotewinspool_driver.c:99:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/rpc/iremotewinspool_driver.c:101:29: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/rpc/iremotewinspool_driver.c:101:29: danger: ‘fopen(fpath, "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def505]
samba-4.22.1/bin/default/../../source4/torture/rpc/iremotewinspool_driver.c:101:29: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(fpath, "r")’
samba-4.22.1/bin/default/../../source4/torture/rpc/iremotewinspool_driver.c:98:14: acquire_memory: allocated here
samba-4.22.1/bin/default/../../source4/torture/rpc/iremotewinspool_driver.c:99:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/rpc/iremotewinspool_driver.c:101:29: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/rpc/iremotewinspool_driver.c:101:29: danger: ‘fopen(fpath, "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def506]
samba-4.22.1/bin/default/../../source4/torture/rpc/netlogon.c:3572:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘e.object.object_name’
samba-4.22.1/bin/default/../../source4/torture/rpc/netlogon.c:3521:19: branch_true: following ‘true’ branch (when ‘d != 3’)...
samba-4.22.1/bin/default/../../source4/torture/rpc/netlogon.c:3524:17: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/rpc/netlogon.c:3540:20: branch_true: following ‘true’ branch...
branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/rpc/netlogon.c:3544:26: branch_true: following ‘true’ branch (when ‘i != 32’)...
samba-4.22.1/bin/default/../../source4/torture/rpc/netlogon.c:3546:34: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/rpc/netlogon.c:3546:28: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/rpc/netlogon.c:3550:25: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/rpc/netlogon.c:3572:25: danger: use of uninitialized value ‘e.object.object_name’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def507]
samba-4.22.1/bin/default/../../source4/torture/rpc/samba3rpc.c:2343:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘rmdir_tree’
samba-4.22.1/bin/default/../../source4/torture/rpc/samba3rpc.c:2315:6: enter_function: entry to ‘try_tcon’
samba-4.22.1/bin/default/../../source4/torture/rpc/samba3rpc.c:2331:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/rpc/samba3rpc.c:2336:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/rpc/samba3rpc.c:2336:18: call_function: calling ‘secondary_tcon’ from ‘try_tcon’
samba-4.22.1/bin/default/../../source4/torture/rpc/samba3rpc.c:2336:18: return_function: returning to ‘try_tcon’ from ‘secondary_tcon’
samba-4.22.1/bin/default/../../source4/torture/rpc/samba3rpc.c:2337:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/rpc/samba3rpc.c:2343:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/rpc/samba3rpc.c:2343:9: danger: use of uninitialized value ‘rmdir_tree’ here
Error: GCC_ANALYZER_WARNING (CWE-688): [#def508]
samba-4.22.1/bin/default/../../source4/torture/smb2/dir.c:714:22: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
samba-4.22.1/bin/default/../../source4/torture/smb2/dir.c:702:6: enter_function: entry to ‘fill_result’
samba-4.22.1/bin/default/../../source4/torture/smb2/dir.c:712:19: branch_true: following ‘true’ branch (when ‘i < count’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/dir.c:713:25: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/dir.c:713:25: call_function: calling ‘extract_name’ from ‘fill_result’
samba-4.22.1/bin/default/../../source4/torture/smb2/dir.c:713:25: return_function: returning to ‘fill_result’ from ‘extract_name’
samba-4.22.1/bin/default/../../source4/torture/smb2/dir.c:714:22: danger: argument 1 (‘extract_name(file + (long unsigned int)i * 144, (int)level, data_level)’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-457): [#def509]
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2413:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘compression_fmt’
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2387:13: enter_function: entry to ‘test_ioctl_compress_file_flag’
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2396:14: call_function: calling ‘test_setup_create_fill’ from ‘test_ioctl_compress_file_flag’
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2396:14: return_function: returning to ‘test_ioctl_compress_file_flag’ from ‘test_setup_create_fill’
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2399:9: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2401:18: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2403:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2404:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2404:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2409:18: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2409:18: call_function: calling ‘test_ioctl_compress_get’ from ‘test_ioctl_compress_file_flag’
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2409:18: return_function: returning to ‘test_ioctl_compress_file_flag’ from ‘test_ioctl_compress_get’
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2411:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2413:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2413:9: danger: use of uninitialized value ‘compression_fmt’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def510]
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2467:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘compression_fmt’
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2432:13: enter_function: entry to ‘test_ioctl_compress_dir_inherit’
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2444:14: call_function: calling ‘test_setup_create_fill’ from ‘test_ioctl_compress_dir_inherit’
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2444:14: return_function: returning to ‘test_ioctl_compress_dir_inherit’ from ‘test_setup_create_fill’
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2447:9: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2449:18: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2451:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2452:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2452:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2459:18: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2459:18: call_function: calling ‘test_ioctl_compress_set’ from ‘test_ioctl_compress_dir_inherit’
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2459:18: return_function: returning to ‘test_ioctl_compress_dir_inherit’ from ‘test_ioctl_compress_set’
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2461:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2463:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2463:18: call_function: calling ‘test_ioctl_compress_get’ from ‘test_ioctl_compress_dir_inherit’
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2463:18: return_function: returning to ‘test_ioctl_compress_dir_inherit’ from ‘test_ioctl_compress_get’
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2465:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2467:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2467:9: danger: use of uninitialized value ‘compression_fmt’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def511]
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2684:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘compression_fmt’
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2657:13: enter_function: entry to ‘test_ioctl_compress_create_with_attr’
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2667:14: call_function: calling ‘test_setup_create_fill’ from ‘test_ioctl_compress_create_with_attr’
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2667:14: return_function: returning to ‘test_ioctl_compress_create_with_attr’ from ‘test_setup_create_fill’
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2670:9: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2672:18: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2674:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2675:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2675:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2680:18: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2680:18: call_function: calling ‘test_ioctl_compress_get’ from ‘test_ioctl_compress_create_with_attr’
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2680:18: return_function: returning to ‘test_ioctl_compress_create_with_attr’ from ‘test_ioctl_compress_get’
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2682:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2684:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2684:9: danger: use of uninitialized value ‘compression_fmt’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def512]
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2739:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘compression_fmt’
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2702:13: enter_function: entry to ‘test_ioctl_compress_inherit_disable’
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2716:14: call_function: calling ‘test_setup_create_fill’ from ‘test_ioctl_compress_inherit_disable’
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2716:14: return_function: returning to ‘test_ioctl_compress_inherit_disable’ from ‘test_setup_create_fill’
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2719:9: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2721:18: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2723:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2724:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2724:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2731:18: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2731:18: call_function: calling ‘test_ioctl_compress_set’ from ‘test_ioctl_compress_inherit_disable’
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2731:18: return_function: returning to ‘test_ioctl_compress_inherit_disable’ from ‘test_ioctl_compress_set’
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2733:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2735:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2735:18: call_function: calling ‘test_ioctl_compress_get’ from ‘test_ioctl_compress_inherit_disable’
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2735:18: return_function: returning to ‘test_ioctl_compress_inherit_disable’ from ‘test_ioctl_compress_get’
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2737:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2739:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2739:9: danger: use of uninitialized value ‘compression_fmt’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def513]
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2950:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘compression_fmt’
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2915:13: enter_function: entry to ‘test_ioctl_compress_perms’
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2925:14: call_function: calling ‘test_setup_create_fill’ from ‘test_ioctl_compress_perms’
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2925:14: return_function: returning to ‘test_ioctl_compress_perms’ from ‘test_setup_create_fill’
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2928:9: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2930:18: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2932:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2933:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2934:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2939:14: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2939:14: call_function: calling ‘test_setup_create_fill’ from ‘test_ioctl_compress_perms’
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2939:14: return_function: returning to ‘test_ioctl_compress_perms’ from ‘test_setup_create_fill’
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2945:9: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2947:18: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2947:18: call_function: calling ‘test_ioctl_compress_get’ from ‘test_ioctl_compress_perms’
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2947:18: return_function: returning to ‘test_ioctl_compress_perms’ from ‘test_ioctl_compress_get’
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2949:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2950:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/ioctl.c:2950:9: danger: use of uninitialized value ‘compression_fmt’ here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def514]
samba-4.22.1/bin/default/../../source4/torture/smb2/oplock.c:5218:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[0]’
samba-4.22.1/bin/default/../../source4/torture/smb2/oplock.c:5218:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/oplock.c:5220:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/oplock.c:5221:9: branch_false: following ‘false’ branch (when ‘ret != -1’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/oplock.c:5223:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/oplock.c:5224:9: branch_true: following ‘true’ branch (when ‘pid == -1’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/oplock.c:5224:9: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/oplock.c:5218:9: danger: ‘fds[0]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def515]
samba-4.22.1/bin/default/../../source4/torture/smb2/oplock.c:5218:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fds[1]’
samba-4.22.1/bin/default/../../source4/torture/smb2/oplock.c:5218:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/oplock.c:5220:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/oplock.c:5221:9: branch_false: following ‘false’ branch (when ‘ret != -1’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/oplock.c:5223:15: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/oplock.c:5224:9: branch_true: following ‘true’ branch (when ‘pid == -1’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/oplock.c:5224:9: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/oplock.c:5218:9: danger: ‘fds[1]’ leaks here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def516]
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3162:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘transport2_2’
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:2806:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:2811:31: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:2812:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:2815:14: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:2824:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:2831:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:2849:9: branch_true: following ‘true’ branch (when ‘<unknown> != 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:2849:9: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3162:9: danger: dereference of NULL ‘transport2_2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def517]
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3163:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘transport2_3’
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:2806:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:2811:31: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:2812:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:2815:14: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:2824:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:2831:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:2849:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:2851:31: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:2857:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:2859:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:2862:9: branch_true: following ‘true’ branch (when ‘<unknown> != 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:2862:9: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3163:9: danger: dereference of NULL ‘transport2_3’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def518]
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3164:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘transport2_4’
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:2806:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:2811:31: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:2812:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:2815:14: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:2824:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:2831:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:2849:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:2851:31: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:2857:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:2859:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:2862:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:2864:16: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:2879:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:2881:31: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:2887:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:2889:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3164:9: danger: dereference of NULL ‘transport2_4’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def519]
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:4036:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘transport2_2’
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3642:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3647:31: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3648:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3651:14: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3660:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3667:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3685:9: branch_true: following ‘true’ branch (when ‘<unknown> != 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3685:9: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:4022:12: branch_false: following ‘false’ branch (when ‘blocked2_3 == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:4025:12: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:4025:12: branch_false: following ‘false’ branch (when ‘blocked2_2 == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:4028:12: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:4028:12: branch_false: following ‘false’ branch (when ‘blocked2_1 == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:4031:12: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:4031:12: branch_false: following ‘false’ branch (when ‘block_setup == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:4035:53: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:4036:9: danger: dereference of NULL ‘transport2_2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def520]
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:4037:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘transport2_3’
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3642:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3647:31: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3648:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3651:14: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3660:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3667:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3685:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3687:31: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3693:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3695:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3698:9: branch_true: following ‘true’ branch (when ‘<unknown> != 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3698:9: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:4022:12: branch_false: following ‘false’ branch (when ‘blocked2_3 == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:4025:12: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:4025:12: branch_false: following ‘false’ branch (when ‘blocked2_2 == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:4028:12: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:4028:12: branch_false: following ‘false’ branch (when ‘blocked2_1 == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:4031:12: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:4031:12: branch_false: following ‘false’ branch (when ‘block_setup == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:4035:53: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:4037:9: danger: dereference of NULL ‘transport2_3’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def521]
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:4038:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘transport2_4’
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3642:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3647:31: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3648:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3651:14: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3660:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3667:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3685:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3687:31: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3693:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3695:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3698:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3700:16: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3715:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3717:31: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3723:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:3725:18: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:4022:12: branch_false: following ‘false’ branch (when ‘blocked2_3 == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:4025:12: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:4025:12: branch_false: following ‘false’ branch (when ‘blocked2_2 == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:4028:12: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:4028:12: branch_false: following ‘false’ branch (when ‘blocked2_1 == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:4031:12: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:4031:12: branch_false: following ‘false’ branch (when ‘block_setup == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:4035:53: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/replay.c:4038:9: danger: dereference of NULL ‘transport2_4’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def522]
samba-4.22.1/bin/default/../../source4/torture/smb2/session.c:2303:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘transport3’
samba-4.22.1/bin/default/../../source4/torture/smb2/session.c:2060:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/session.c:2067:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/session.c:2088:9: branch_true: following ‘true’ branch (when ‘<unknown> != 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/session.c:2088:9: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/session.c:2303:9: danger: dereference of NULL ‘transport3’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def523]
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:53:44: warning[-Wanalyzer-null-argument]: use of NULL ‘eavalue’ where non-null expected
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:78:6: enter_function: entry to ‘torture_smb2_setinfo’
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:99:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:117:9: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:117:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:177:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:186:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:187:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:187:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:188:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:189:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:190:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:191:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:199:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:200:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:200:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:201:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:202:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:203:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:204:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:208:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:209:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:209:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:213:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:214:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:214:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:218:9: branch_false: following ‘false’ branch (when ‘<unknown> == 3221225485’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:220:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:222:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:223:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:223:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:227:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:228:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:228:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:229:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:232:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:233:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:233:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:234:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:238:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:239:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:239:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:240:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:243:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:244:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:244:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:245:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:249:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:250:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:250:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:253:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:254:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:254:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:258:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:259:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:259:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:260:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:264:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:265:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:265:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:266:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:269:9: branch_false: following ‘false’ branch (when ‘<unknown> == 3221225485’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:271:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:272:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:273:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:273:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:281:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:282:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:291:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:293:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:297:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:298:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:298:9: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:300:9: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:303:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:305:47: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:307:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:308:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:308:9: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:310:9: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:319:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:322:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:326:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:334:14: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:346:9: branch_false: following ‘false’ branch (when ‘<unknown> == 0’)...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:349:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:353:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:360:13: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smb2/setinfo.c:360:13: call_function: calling ‘find_returned_ea’ from ‘torture_smb2_setinfo’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def524]
samba-4.22.1/bin/default/../../source4/torture/smb2/util.c:635:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*handle’
samba-4.22.1/bin/default/../../source4/torture/smb2/util.c:644:10: enter_function: entry to ‘torture_setup_simple_file’
samba-4.22.1/bin/default/../../source4/torture/smb2/util.c:648:27: call_function: calling ‘smb2_create_simple_file’ from ‘torture_setup_simple_file’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def525]
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:243:17: warning[-Wanalyzer-malloc-leak]: leak of ‘userdn’
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:399:5: enter_function: entry to ‘main’
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:473:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:478:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:486:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:492:14: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:497:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:503:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:507:15: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:508:17: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:522:25: call_function: calling ‘parse_dns’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def526]
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:258:9: warning[-Wanalyzer-malloc-leak]: leak of ‘basedn’
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:399:5: enter_function: entry to ‘main’
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:473:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:478:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:486:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:492:14: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:497:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:503:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:507:15: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:508:17: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:522:25: call_function: calling ‘parse_dns’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def527]
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:258:9: warning[-Wanalyzer-malloc-leak]: leak of ‘secret’
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:399:5: enter_function: entry to ‘main’
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:473:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:478:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:486:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:492:14: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:497:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:503:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:507:15: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:508:17: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:522:25: call_function: calling ‘parse_dns’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def528]
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:258:9: warning[-Wanalyzer-malloc-leak]: leak of ‘userdn’
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:399:5: enter_function: entry to ‘main’
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:473:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:478:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:486:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:492:14: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:497:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:503:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:507:15: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:508:17: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/smbtorture.c:522:25: call_function: calling ‘parse_dns’ from ‘main’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def529]
samba-4.22.1/bin/default/../../source4/torture/vfs/fruit.c:1850:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
samba-4.22.1/bin/default/../../source4/torture/vfs/fruit.c:2845:13: enter_function: entry to ‘test_adouble_conversion’
samba-4.22.1/bin/default/../../source4/torture/vfs/fruit.c:2868:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/vfs/fruit.c:2872:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/vfs/fruit.c:2875:9: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/../../source4/torture/vfs/fruit.c:2876:9: branch_false: ...to here
samba-4.22.1/bin/default/../../source4/torture/vfs/fruit.c:2878:15: call_function: calling ‘torture_setup_file’ from ‘test_adouble_conversion’
samba-4.22.1/bin/default/../../source4/torture/vfs/fruit.c:2878:15: return_function: returning to ‘test_adouble_conversion’ from ‘torture_setup_file’
samba-4.22.1/bin/default/../../source4/torture/vfs/fruit.c:2879:9: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/torture/vfs/fruit.c:2882:15: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/vfs/fruit.c:2882:15: call_function: calling ‘torture_setup_file’ from ‘test_adouble_conversion’
samba-4.22.1/bin/default/../../source4/torture/vfs/fruit.c:2882:15: return_function: returning to ‘test_adouble_conversion’ from ‘torture_setup_file’
samba-4.22.1/bin/default/../../source4/torture/vfs/fruit.c:2883:9: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/torture/vfs/fruit.c:2886:15: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/vfs/fruit.c:2886:15: call_function: calling ‘write_stream’ from ‘test_adouble_conversion’
samba-4.22.1/bin/default/../../source4/torture/vfs/fruit.c:2886:15: return_function: returning to ‘test_adouble_conversion’ from ‘write_stream’
samba-4.22.1/bin/default/../../source4/torture/vfs/fruit.c:2891:9: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/torture/vfs/fruit.c:2894:9: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/vfs/fruit.c:2897:15: call_function: calling ‘check_stream’ from ‘test_adouble_conversion’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def530]
samba-4.22.1/bin/default/../../source4/torture/winbind/struct_based.c:670:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘users’
samba-4.22.1/bin/default/../../source4/torture/winbind/struct_based.c:659:13: enter_function: entry to ‘torture_winbind_struct_list_users’
samba-4.22.1/bin/default/../../source4/torture/winbind/struct_based.c:667:14: call_function: calling ‘get_user_list’ from ‘torture_winbind_struct_list_users’
samba-4.22.1/bin/default/../../source4/torture/winbind/struct_based.c:667:14: return_function: returning to ‘torture_winbind_struct_list_users’ from ‘get_user_list’
samba-4.22.1/bin/default/../../source4/torture/winbind/struct_based.c:668:9: branch_true: following ‘true’ branch...
branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/winbind/struct_based.c:670:30: release_memory: ‘users’ is NULL
samba-4.22.1/bin/default/../../source4/torture/winbind/struct_based.c:670:30: release_memory: ‘users’ is NULL
samba-4.22.1/bin/default/../../source4/torture/winbind/struct_based.c:670:25: danger: dereference of NULL ‘users + (long unsigned int)count * 8’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def531]
samba-4.22.1/bin/default/../../source4/torture/winbind/struct_based.c:841:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘list’
samba-4.22.1/bin/default/../../source4/torture/winbind/struct_based.c:906:13: enter_function: entry to ‘torture_winbind_struct_lookup_name_sid’
samba-4.22.1/bin/default/../../source4/torture/winbind/struct_based.c:923:9: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/torture/winbind/struct_based.c:924:9: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/winbind/struct_based.c:924:9: call_function: calling ‘lookup_name_sid_list’ from ‘torture_winbind_struct_lookup_name_sid’
samba-4.22.1/bin/default/../../source4/torture/winbind/struct_based.c:924:9: return_function: returning to ‘torture_winbind_struct_lookup_name_sid’ from ‘lookup_name_sid_list’
samba-4.22.1/bin/default/../../source4/torture/winbind/struct_based.c:926:14: call_function: calling ‘get_group_list’ from ‘torture_winbind_struct_lookup_name_sid’
samba-4.22.1/bin/default/../../source4/torture/winbind/struct_based.c:926:14: return_function: returning to ‘torture_winbind_struct_lookup_name_sid’ from ‘get_group_list’
samba-4.22.1/bin/default/../../source4/torture/winbind/struct_based.c:927:9: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/torture/winbind/struct_based.c:928:13: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/winbind/struct_based.c:928:12: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/../../source4/torture/winbind/struct_based.c:929:17: branch_true: ...to here
samba-4.22.1/bin/default/../../source4/torture/winbind/struct_based.c:929:17: release_memory: ‘groups’ is NULL
samba-4.22.1/bin/default/../../source4/torture/winbind/struct_based.c:929:17: call_function: calling ‘lookup_name_sid_list’ from ‘torture_winbind_struct_lookup_name_sid’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def532]
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_lexer.c:1649:12: warning[-Wanalyzer-malloc-leak]: leak of ‘yyalloc(64, yyscanner)’
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_lexer.c:1635:21: enter_function: entry to ‘yy_create_buffer’
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_lexer.c:1639:24: call_function: calling ‘yyalloc’ from ‘yy_create_buffer’
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_lexer.c:1639:24: return_function: returning to ‘yy_create_buffer’ from ‘yyalloc’
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_lexer.c:1640:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_lexer.c:1643:2: branch_false: ...to here
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_lexer.c:1649:12: danger: ‘yyalloc(64, yyscanner)’ leaks here; was allocated at [(4)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/3)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def533]
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_lexer.c:1691:2: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_lexer.c:1570:10: enter_function: entry to ‘yyrestart’
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_lexer.c:1575:16: call_function: calling ‘yyensure_buffer_stack’ from ‘yyrestart’
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_lexer.c:1575:16: return_function: returning to ‘yyrestart’ from ‘yyensure_buffer_stack’
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_lexer.c:1577:27: call_function: calling ‘yy_create_buffer’ from ‘yyrestart’
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_lexer.c:1577:27: return_function: returning to ‘yyrestart’ from ‘yy_create_buffer’
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_lexer.c:1580:2: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_lexer.c:1580:2: branch_false: ...to here
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_lexer.c:1580:2: call_function: calling ‘yy_init_buffer’ from ‘yyrestart’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def534]
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_lexer.c:1909:25: warning[-Wanalyzer-malloc-leak]: leak of ‘yyalloc(n, yyscanner)’
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_lexer.c:1893:17: enter_function: entry to ‘yy_scan_bytes’
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_lexer.c:1902:24: call_function: calling ‘yyalloc’ from ‘yy_scan_bytes’
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_lexer.c:1902:24: return_function: returning to ‘yy_scan_bytes’ from ‘yyalloc’
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_lexer.c:1903:12: branch_false: following ‘false’ branch...
branch_false: ...to here
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_lexer.c:1911:6: call_function: calling ‘yy_scan_buffer’ from ‘yy_scan_bytes’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def535]
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1084:11: warning[-Wanalyzer-malloc-leak]: leak of ‘yyptr’
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1046:6: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1110:6: branch_false: ...to here
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1110:6: branch_false: following ‘false’ branch (when ‘yystate != 15’)...
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1113:3: branch_false: ...to here
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1125:6: branch_false: following ‘false’ branch (when ‘yyn != -60’)...
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1131:6: branch_false: ...to here
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1131:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1134:16: branch_true: ...to here
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1143:11: branch_false: following ‘false’ branch (when ‘yychar != 256’)...
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1155:17: branch_false: ...to here
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1162:6: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1165:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1175:6: branch_false: ...to here
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1175:6: branch_false: following ‘false’ branch (when ‘yyerrstatus == 0’)...
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1182:3: branch_false: ...to here
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1046:6: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1110:6: branch_false: ...to here
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1110:6: branch_false: following ‘false’ branch (when ‘yystate != 15’)...
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1113:3: branch_false: ...to here
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1125:6: branch_false: following ‘false’ branch (when ‘yyn != -60’)...
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1131:6: branch_false: ...to here
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1131:6: branch_true: following ‘true’ branch (when ‘yychar == -2’)...
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1134:16: branch_true: ...to here
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1137:6: branch_false: following ‘false’ branch (when ‘yychar > 0’)...
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1143:11: branch_false: ...to here
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1143:11: branch_true: following ‘true’ branch (when ‘yychar == 256’)...
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1151:7: branch_true: ...to here
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1748:10: branch_true: following ‘true’ branch (when ‘yyn != -60’)...
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1750:11: branch_true: ...to here
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1751:14: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1754:18: branch_true: following ‘true’ branch (when ‘yyn > 0’)...
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1772:3: branch_true: ...to here
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1075:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1077:7: branch_false: ...to here
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1084:11: acquire_memory: allocated here
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1086:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1088:9: branch_false: ...to here
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1091:12: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1096:7: branch_false: ...to here
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1104:10: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1110:6: branch_false: ...to here
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1110:6: branch_false: following ‘false’ branch (when ‘yystate != 15’)...
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1113:3: branch_false: ...to here
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1125:6: branch_false: following ‘false’ branch (when ‘yyn != -60’)...
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1131:6: branch_false: ...to here
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1162:6: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1165:6: branch_false: following ‘false’ branch (when ‘yyn > 0’)...
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1175:6: branch_false: ...to here
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1046:6: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1052:28: branch_true: ...to here
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1075:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1077:7: branch_false: ...to here
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1084:11: danger: ‘yyptr’ leaks here; was allocated at [(37)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/36)
Error: GCC_ANALYZER_WARNING (CWE-457): [#def536]
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1088:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1046:6: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1052:28: branch_true: ...to here
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1075:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1077:7: branch_false: ...to here
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1086:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1088:9: branch_false: ...to here
samba-4.22.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1088:9: danger: use of uninitialized value ‘yyss’ here
Error: COMPILER_WARNING (CWE-1164): [#def537]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:89:13: warning[-Wunused-function]: ‘ndr_print_flags_domsid’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def538]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:228:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_100’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def539]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:279:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_101’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def540]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:348:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_102’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def541]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:460:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_402’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def542]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:596:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_403’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def543]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:703:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_502’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def544]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:842:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_503’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def545]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:1033:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_599’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def546]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:1210:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_598’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def547]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:1291:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1005’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def548]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:1331:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1107’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def549]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:1371:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1010’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def550]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:1411:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1016’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def551]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:1451:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1017’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def552]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:1491:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1018’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def553]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:1531:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1501’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def554]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:1571:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1502’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def555]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:1611:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1503’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def556]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:1651:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1506’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def557]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:1691:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1509’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def558]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:1731:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1510’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def559]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:1771:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1511’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def560]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:1811:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1512’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def561]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:1851:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1513’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def562]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:1891:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1514’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def563]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:1931:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1515’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def564]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:1971:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1516’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def565]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:2011:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1518’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def566]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:2051:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1520’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def567]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:2091:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1521’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def568]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:2131:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1522’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def569]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:2171:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1523’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def570]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:2211:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1524’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def571]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:2251:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1525’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def572]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:2291:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1528’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def573]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:2331:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1529’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def574]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:2371:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1530’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def575]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:2411:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1533’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def576]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:2451:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1534’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def577]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:2491:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1535’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def578]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:2531:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1536’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def579]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:2571:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1537’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def580]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:2611:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1538’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def581]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:2651:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1539’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def582]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:2691:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1540’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def583]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:2731:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1541’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def584]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:2771:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1542’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def585]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:2811:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1543’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def586]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:2851:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1544’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def587]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:2891:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1545’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def588]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:2931:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1546’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def589]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:2971:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1547’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def590]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:3011:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1548’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def591]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:3051:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1549’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def592]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:3091:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1550’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def593]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:3131:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1552’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def594]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:3171:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1553’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def595]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:3211:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1554’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def596]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:3251:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1555’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def597]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:3291:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1556’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def598]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:3331:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1557’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def599]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:3371:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1560’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def600]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:3411:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1561’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def601]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:3451:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1562’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def602]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:3491:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1563’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def603]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:3531:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1564’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def604]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:3571:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1565’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def605]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:3611:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1566’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def606]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:3651:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1567’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def607]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:3691:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1568’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def608]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:3731:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1569’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def609]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:3771:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1570’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def610]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:3811:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1571’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def611]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:3851:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1572’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def612]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:3891:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1573’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def613]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:3931:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1574’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def614]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:3971:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1575’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def615]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:4011:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1576’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def616]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:4051:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1577’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def617]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:4091:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1578’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def618]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:4131:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1579’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def619]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:4171:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1580’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def620]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:4211:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1581’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def621]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:4251:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1582’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def622]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:4291:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1583’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def623]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:4331:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1584’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def624]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:4371:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1585’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def625]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:4411:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1586’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def626]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:4451:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1587’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def627]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:4491:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1588’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def628]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:4531:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1590’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def629]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:4571:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1591’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def630]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:4611:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1592’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def631]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:4651:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1593’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def632]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:4691:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1594’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def633]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:4731:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1595’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def634]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:4771:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1596’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def635]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:4811:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1597’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def636]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:4851:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1598’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def637]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:4891:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1599’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def638]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:4931:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1600’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def639]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:4971:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1601’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def640]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:5011:13: warning[-Wunused-function]: ‘ndr_print_flags_SERVER_INFO_1602’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def641]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:5059:13: warning[-Wunused-function]: ‘ndr_print_flags_WKSTA_INFO_100’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def642]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:5113:13: warning[-Wunused-function]: ‘ndr_print_flags_WKSTA_INFO_101’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def643]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:5170:13: warning[-Wunused-function]: ‘ndr_print_flags_WKSTA_INFO_102’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def644]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:5270:13: warning[-Wunused-function]: ‘ndr_print_flags_DOMAIN_CONTROLLER_INFO’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def645]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:5318:13: warning[-Wunused-function]: ‘ndr_print_flags_USER_INFO_0’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def646]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:5372:13: warning[-Wunused-function]: ‘ndr_print_flags_USER_INFO_1’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def647]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:5481:13: warning[-Wunused-function]: ‘ndr_print_flags_USER_INFO_2’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def648]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:5619:13: warning[-Wunused-function]: ‘ndr_print_flags_USER_INFO_3’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def649]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:5779:13: warning[-Wunused-function]: ‘ndr_print_flags_USER_INFO_4’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def650]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:5863:13: warning[-Wunused-function]: ‘ndr_print_flags_USER_INFO_10’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def651]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:5960:13: warning[-Wunused-function]: ‘ndr_print_flags_USER_INFO_11’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def652]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:6032:13: warning[-Wunused-function]: ‘ndr_print_flags_USER_INFO_20’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def653]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:6079:13: warning[-Wunused-function]: ‘ndr_print_flags_USER_INFO_21’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def654]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:6184:13: warning[-Wunused-function]: ‘ndr_print_flags_USER_INFO_22’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def655]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:6276:13: warning[-Wunused-function]: ‘ndr_print_flags_USER_INFO_23’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def656]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:6325:13: warning[-Wunused-function]: ‘ndr_print_flags_USER_INFO_1003’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def657]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:6365:13: warning[-Wunused-function]: ‘ndr_print_flags_USER_INFO_1005’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def658]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:6405:13: warning[-Wunused-function]: ‘ndr_print_flags_USER_INFO_1006’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def659]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:6445:13: warning[-Wunused-function]: ‘ndr_print_flags_USER_INFO_1007’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def660]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:6485:13: warning[-Wunused-function]: ‘ndr_print_flags_USER_INFO_1008’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def661]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:6525:13: warning[-Wunused-function]: ‘ndr_print_flags_USER_INFO_1009’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def662]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:6565:13: warning[-Wunused-function]: ‘ndr_print_flags_USER_INFO_1010’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def663]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:6605:13: warning[-Wunused-function]: ‘ndr_print_flags_USER_INFO_1011’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def664]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:6645:13: warning[-Wunused-function]: ‘ndr_print_flags_USER_INFO_1012’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def665]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:6685:13: warning[-Wunused-function]: ‘ndr_print_flags_USER_INFO_1013’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def666]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:6725:13: warning[-Wunused-function]: ‘ndr_print_flags_USER_INFO_1014’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def667]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:6765:13: warning[-Wunused-function]: ‘ndr_print_flags_USER_INFO_1017’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def668]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:6805:13: warning[-Wunused-function]: ‘ndr_print_flags_USER_INFO_1018’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def669]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:6863:13: warning[-Wunused-function]: ‘ndr_print_flags_USER_INFO_1020’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def670]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:6909:13: warning[-Wunused-function]: ‘ndr_print_flags_USER_INFO_1023’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def671]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:6949:13: warning[-Wunused-function]: ‘ndr_print_flags_USER_INFO_1024’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def672]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:6989:13: warning[-Wunused-function]: ‘ndr_print_flags_USER_INFO_1025’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def673]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:7029:13: warning[-Wunused-function]: ‘ndr_print_flags_USER_INFO_1051’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def674]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:7069:13: warning[-Wunused-function]: ‘ndr_print_flags_USER_INFO_1052’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def675]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:7109:13: warning[-Wunused-function]: ‘ndr_print_flags_USER_INFO_1053’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def676]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:7221:13: warning[-Wunused-function]: ‘ndr_print_flags_USER_INFO_X’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def677]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:7294:13: warning[-Wunused-function]: ‘ndr_print_flags_GROUP_USERS_INFO_0’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def678]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:7336:13: warning[-Wunused-function]: ‘ndr_print_flags_GROUP_USERS_INFO_1’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def679]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:7387:13: warning[-Wunused-function]: ‘ndr_print_flags_NET_DISPLAY_USER’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def680]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:7440:13: warning[-Wunused-function]: ‘ndr_print_flags_NET_DISPLAY_MACHINE’ defined but not used
Error: COMPILER_WARNING (CWE-1164): [#def681]
samba-4.22.1/bin/default/source3/librpc/gen_ndr/ndr_libnetapi.c:7492:13: warning[-Wunused-function]: ‘ndr_print_flags_NET_DISPLAY_GROUP’ defined but not used
Error: GCC_ANALYZER_WARNING (CWE-457): [#def682]
samba-4.22.1/bin/default/source3/modules/getdate.c:1303:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
samba-4.22.1/bin/default/source3/modules/getdate.c:1261:6: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/source3/modules/getdate.c:1264:31: branch_true: ...to here
samba-4.22.1/bin/default/source3/modules/getdate.c:1291:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
samba-4.22.1/bin/default/source3/modules/getdate.c:1293:7: branch_false: ...to here
samba-4.22.1/bin/default/source3/modules/getdate.c:1301:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
samba-4.22.1/bin/default/source3/modules/getdate.c:1303:9: branch_false: ...to here
samba-4.22.1/bin/default/source3/modules/getdate.c:1303:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def683]
samba-4.22.1/bin/default/source3/modules/getdate.c:1420:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
samba-4.22.1/bin/default/source3/modules/getdate.c:1261:6: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/source3/modules/getdate.c:1324:6: branch_false: ...to here
samba-4.22.1/bin/default/source3/modules/getdate.c:1324:6: branch_false: following ‘false’ branch (when ‘yystate != 2’)...
samba-4.22.1/bin/default/source3/modules/getdate.c:1327:3: branch_false: ...to here
samba-4.22.1/bin/default/source3/modules/getdate.c:1339:6: branch_true: following ‘true’ branch (when ‘yyn == -17’)...
samba-4.22.1/bin/default/source3/modules/getdate.c:1340:5: branch_true: ...to here
samba-4.22.1/bin/default/source3/modules/getdate.c:1400:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
samba-4.22.1/bin/default/source3/modules/getdate.c:1402:3: branch_false: ...to here
samba-4.22.1/bin/default/source3/modules/getdate.c:1420:3: danger: use of uninitialized value ‘*<unknown>’ here
Error: CPPCHECK_WARNING (CWE-476): [#def684]
samba-4.22.1/bin/default/source3/rpc_server/mdssvc/es_lexer.lex.c:1668: warning[nullPointer]: Possible null pointer dereference: b
Error: CPPCHECK_WARNING (CWE-476): [#def685]
samba-4.22.1/bin/default/source3/rpc_server/mdssvc/es_lexer.lex.c:1669: warning[nullPointer]: Possible null pointer dereference: b
Error: GCC_ANALYZER_WARNING (CWE-457): [#def686]
samba-4.22.1/bin/default/source3/rpc_server/mdssvc/es_parser.tab.c:1290:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
samba-4.22.1/bin/default/source3/rpc_server/mdssvc/es_parser.tab.c:1248:6: branch_true: following ‘true’ branch...
samba-4.22.1/bin/default/source3/rpc_server/mdssvc/es_parser.tab.c:1254:28: branch_true: ...to here
samba-4.22.1/bin/default/source3/rpc_server/mdssvc/es_parser.tab.c:1277:10: branch_false: following ‘false’ branch (when ‘yystacksize <= 9999’)...
samba-4.22.1/bin/default/source3/rpc_server/mdssvc/es_parser.tab.c:1279:7: branch_false: ...to here
samba-4.22.1/bin/default/source3/rpc_server/mdssvc/es_parser.tab.c:1288:12: branch_false: following ‘false’ branch (when ‘yyptr’ is non-NULL)...
samba-4.22.1/bin/default/source3/rpc_server/mdssvc/es_parser.tab.c:1290:9: branch_false: ...to here
samba-4.22.1/bin/default/source3/rpc_server/mdssvc/es_parser.tab.c:1290:9: danger: use of uninitialized value ‘yyss’ here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def687]
samba-4.22.1/bin/default/source3/rpc_server/mdssvc/es_parser.tab.c:1417:3: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*(const char **)<unknown>’
samba-4.22.1/bin/default/source3/rpc_server/mdssvc/es_parser.tab.c:1248:6: branch_false: following ‘false’ branch...
samba-4.22.1/bin/default/source3/rpc_server/mdssvc/es_parser.tab.c:1312:6: branch_false: ...to here
samba-4.22.1/bin/default/source3/rpc_server/mdssvc/es_parser.tab.c:1312:6: branch_false: following ‘false’ branch (when ‘yystate != 2’)...
samba-4.22.1/bin/default/source3/rpc_server/mdssvc/es_parser.tab.c:1315:3: branch_false: ...to here
samba-4.22.1/bin/default/source3/rpc_server/mdssvc/es_parser.tab.c:1327:6: branch_true: following ‘true’ branch (when ‘yyn == -7’)...
samba-4.22.1/bin/default/source3/rpc_server/mdssvc/es_parser.tab.c:1328:5: branch_true: ...to here
samba-4.22.1/bin/default/source3/rpc_server/mdssvc/es_parser.tab.c:1397:6: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
samba-4.22.1/bin/default/source3/rpc_server/mdssvc/es_parser.tab.c:1399:3: branch_false: ...to here
samba-4.22.1/bin/default/source3/rpc_server/mdssvc/es_parser.tab.c:1417:3: danger: use of uninitialized value ‘*(const char **)<unknown>’ here
Error: CPPCHECK_WARNING (CWE-476): [#def688]
samba-4.22.1/ctdb/common/ctdb_ltdb.c:359: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buf
Error: COMPILER_WARNING (CWE-477): [#def689]
samba-4.22.1/ctdb/server/ctdb_daemon.c: scope_hint: In function ‘ctdb_start_daemon’
samba-4.22.1/ctdb/server/ctdb_daemon.c:1564:9: warning[-Wdeprecated-declarations]: ‘tevent_loop_allow_nesting’ is deprecated
samba-4.22.1/ctdb/server/ctdb_daemon.c:29: included_from: Included from here.
/usr/include/tevent.h:2676:6: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def690]
samba-4.22.1/ctdb/server/ctdb_daemon.c: scope_hint: In function ‘switch_from_server_to_client’
samba-4.22.1/ctdb/server/ctdb_daemon.c:2265:9: warning[-Wdeprecated-declarations]: ‘tevent_loop_allow_nesting’ is deprecated
/usr/include/tevent.h:2676:6: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def691]
samba-4.22.1/ctdb/server/ctdbd.c: scope_hint: In function ‘main’
samba-4.22.1/ctdb/server/ctdbd.c:188:9: warning[-Wdeprecated-declarations]: ‘tevent_loop_allow_nesting’ is deprecated
samba-4.22.1/ctdb/server/ctdbd.c:31: included_from: Included from here.
/usr/include/tevent.h:2676:6: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def692]
samba-4.22.1/ctdb/utils/tdb/tdb_mutex_check.c: scope_hint: In function ‘check_one’
samba-4.22.1/ctdb/utils/tdb/tdb_mutex_check.c:90:17: warning[-Wdeprecated-declarations]: ‘pthread_mutex_consistent_np’ is deprecated: pthread_mutex_consistent_np is deprecated, use pthread_mutex_consistent
/usr/include/features.h:524: included_from: Included from here.
/usr/include/bits/libc-header-start.h:33: included_from: Included from here.
/usr/include/stdio.h:28: included_from: Included from here.
samba-4.22.1/ctdb/utils/tdb/tdb_mutex_check.c:20: included_from: Included from here.
/usr/include/pthread.h:859:12: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def693]
samba-4.22.1/examples/libsmbclient/testacl.c: scope_hint: In function ‘main’
samba-4.22.1/examples/libsmbclient/testacl.c:193:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
samba-4.22.1/examples/libsmbclient/testacl.c:5: included_from: Included from here.
samba-4.22.1/bin/default/include/public/libsmbclient.h:1293:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def694]
samba-4.22.1/examples/libsmbclient/testacl2.c: scope_hint: In function ‘main’
samba-4.22.1/examples/libsmbclient/testacl2.c:30:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
samba-4.22.1/examples/libsmbclient/testacl2.c:5: included_from: Included from here.
samba-4.22.1/bin/default/include/public/libsmbclient.h:1293:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def695]
samba-4.22.1/examples/libsmbclient/testacl3.c: scope_hint: In function ‘main’
samba-4.22.1/examples/libsmbclient/testacl3.c:21:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
samba-4.22.1/examples/libsmbclient/testacl3.c:7: included_from: Included from here.
samba-4.22.1/bin/default/include/public/libsmbclient.h:1293:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def696]
samba-4.22.1/examples/libsmbclient/testchmod.c: scope_hint: In function ‘main’
samba-4.22.1/examples/libsmbclient/testchmod.c:37:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
samba-4.22.1/examples/libsmbclient/testchmod.c:5: included_from: Included from here.
samba-4.22.1/bin/default/include/public/libsmbclient.h:1293:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def697]
samba-4.22.1/examples/libsmbclient/testfstatvfs.c: scope_hint: In function ‘main’
samba-4.22.1/examples/libsmbclient/testfstatvfs.c:22:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
samba-4.22.1/examples/libsmbclient/testfstatvfs.c:8: included_from: Included from here.
samba-4.22.1/bin/default/include/public/libsmbclient.h:1293:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def698]
samba-4.22.1/examples/libsmbclient/testnotify.c: scope_hint: In function ‘main’
samba-4.22.1/examples/libsmbclient/testnotify.c:42:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
samba-4.22.1/examples/libsmbclient/testnotify.c:7: included_from: Included from here.
samba-4.22.1/bin/default/include/public/libsmbclient.h:1293:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def699]
samba-4.22.1/examples/libsmbclient/testread.c: scope_hint: In function ‘main’
samba-4.22.1/examples/libsmbclient/testread.c:21:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
samba-4.22.1/examples/libsmbclient/testread.c:7: included_from: Included from here.
samba-4.22.1/bin/default/include/public/libsmbclient.h:1293:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def700]
samba-4.22.1/examples/libsmbclient/testsmbc.c: scope_hint: In function ‘main’
samba-4.22.1/examples/libsmbclient/testsmbc.c:42:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
samba-4.22.1/examples/libsmbclient/testsmbc.c:29: included_from: Included from here.
samba-4.22.1/bin/default/include/public/libsmbclient.h:1293:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def701]
samba-4.22.1/examples/libsmbclient/teststat2.c: scope_hint: In function ‘gettime’
samba-4.22.1/examples/libsmbclient/teststat2.c:42:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
samba-4.22.1/examples/libsmbclient/teststat2.c:1: included_from: Included from here.
samba-4.22.1/bin/default/include/public/libsmbclient.h:1293:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def702]
samba-4.22.1/examples/libsmbclient/teststat3.c: scope_hint: In function ‘main’
samba-4.22.1/examples/libsmbclient/teststat3.c:29:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
samba-4.22.1/examples/libsmbclient/teststat3.c:1: included_from: Included from here.
samba-4.22.1/bin/default/include/public/libsmbclient.h:1293:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def703]
samba-4.22.1/examples/libsmbclient/teststatvfs.c: scope_hint: In function ‘main’
samba-4.22.1/examples/libsmbclient/teststatvfs.c:20:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
samba-4.22.1/examples/libsmbclient/teststatvfs.c:8: included_from: Included from here.
samba-4.22.1/bin/default/include/public/libsmbclient.h:1293:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def704]
samba-4.22.1/examples/libsmbclient/testtruncate.c: scope_hint: In function ‘main’
samba-4.22.1/examples/libsmbclient/testtruncate.c:27:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
samba-4.22.1/examples/libsmbclient/testtruncate.c:6: included_from: Included from here.
samba-4.22.1/bin/default/include/public/libsmbclient.h:1293:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def705]
samba-4.22.1/examples/libsmbclient/testutime.c: scope_hint: In function ‘main’
samba-4.22.1/examples/libsmbclient/testutime.c:42:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
samba-4.22.1/examples/libsmbclient/testutime.c:6: included_from: Included from here.
samba-4.22.1/bin/default/include/public/libsmbclient.h:1293:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def706]
samba-4.22.1/examples/libsmbclient/testwrite.c: scope_hint: In function ‘main’
samba-4.22.1/examples/libsmbclient/testwrite.c:21:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
samba-4.22.1/examples/libsmbclient/testwrite.c:7: included_from: Included from here.
samba-4.22.1/bin/default/include/public/libsmbclient.h:1293:5: note: declared here
Error: CPPCHECK_WARNING (CWE-457): [#def707]
samba-4.22.1/lib/compression/lzxpress_huffman.c:219: warning[uninitvar]: Uninitialized variable: row
Error: CPPCHECK_WARNING (CWE-786): [#def708]
samba-4.22.1/lib/dbwrap/dbwrap.c:184: error[negativeIndex]: Array 'locked_dbs[4]' accessed at index -1, which is out of bounds.
Error: COMPILER_WARNING (CWE-563): [#def709]
samba-4.22.1/lib/krb5_wrap/krb5_samba.h:209:24: warning[-Wunused-but-set-variable]: variable ‘key’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def710]
samba-4.22.1/lib/krb5_wrap/krb5_samba.h:212:24: warning[-Wunused-variable]: unused variable ‘ptr’
Error: COMPILER_WARNING (CWE-563): [#def711]
samba-4.22.1/lib/krb5_wrap/krb5_samba.h:213:18: warning[-Wunused-variable]: unused variable ‘len’
Error: COMPILER_WARNING (CWE-563): [#def712]
samba-4.22.1/lib/krb5_wrap/krb5_samba.c:25: included_from: Included from here.
samba-4.22.1/lib/krb5_wrap/krb5_samba.h: scope_hint: In function ‘samba_trace_keytab_entry’
samba-4.22.1/lib/krb5_wrap/krb5_samba.h:213:23: warning[-Wunused-variable]: unused variable ‘i’
Error: COMPILER_WARNING (CWE-477): [#def713]
samba-4.22.1/lib/ldb/common/ldb.c: scope_hint: In function ‘ldb_init’
samba-4.22.1/lib/ldb/common/ldb.c:121:17: warning[-Wdeprecated-declarations]: ‘tevent_loop_allow_nesting’ is deprecated
samba-4.22.1/lib/ldb/include/ldb.h:51: included_from: Included from here.
samba-4.22.1/lib/ldb/include/ldb_private.h:43: included_from: Included from here.
samba-4.22.1/lib/ldb/common/ldb.c:36: included_from: Included from here.
/usr/include/tevent.h:2676:6: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def714]
samba-4.22.1/lib/ldb/common/ldb.c: scope_hint: In function ‘ldb_handle_new’
samba-4.22.1/lib/ldb/common/ldb.c:761:17: warning[-Wdeprecated-declarations]: ‘tevent_loop_allow_nesting’ is deprecated
/usr/include/tevent.h:2676:6: note: declared here
Error: CPPCHECK_WARNING (CWE-457): [#def715]
samba-4.22.1/lib/ldb/common/ldb_pack.c:1167: warning[uninitvar]: Uninitialized variable: i
Error: COMPILER_WARNING (CWE-477): [#def716]
samba-4.22.1/lib/ldb/tests/ldb_mod_op_test.c: scope_hint: In function ‘test_ldb_search_against_transaction’
samba-4.22.1/lib/ldb/tests/ldb_mod_op_test.c:1646:9: warning[-Wdeprecated-declarations]: ‘tevent_loop_allow_nesting’ is deprecated
samba-4.22.1/lib/ldb/tests/ldb_mod_op_test.c:25: included_from: Included from here.
/usr/include/tevent.h:2676:6: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def717]
samba-4.22.1/lib/ldb/tests/ldb_mod_op_test.c: scope_hint: In function ‘test_ldb_modify_during_search’
samba-4.22.1/lib/ldb/tests/ldb_mod_op_test.c:1965:9: warning[-Wdeprecated-declarations]: ‘tevent_loop_allow_nesting’ is deprecated
/usr/include/tevent.h:2676:6: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def718]
samba-4.22.1/lib/ldb/tests/ldb_mod_op_test.c: scope_hint: In function ‘test_ldb_modify_during_whole_search’
samba-4.22.1/lib/ldb/tests/ldb_mod_op_test.c:2205:9: warning[-Wdeprecated-declarations]: ‘tevent_loop_allow_nesting’ is deprecated
/usr/include/tevent.h:2676:6: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def719]
samba-4.22.1/lib/ldb/tests/ldb_mod_op_test.c: scope_hint: In function ‘test_ldb_callback_modify_during_search’
samba-4.22.1/lib/ldb/tests/ldb_mod_op_test.c:2689:9: warning[-Wdeprecated-declarations]: ‘tevent_loop_allow_nesting’ is deprecated
/usr/include/tevent.h:2676:6: note: declared here
Error: CPPCHECK_WARNING (CWE-476): [#def720]
samba-4.22.1/lib/replace/tests/testsuite.c:172: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: x
Error: COMPILER_WARNING (CWE-477): [#def721]
samba-4.22.1/lib/talloc/testsuite.c: scope_hint: In function ‘test_memlimit’
samba-4.22.1/lib/talloc/testsuite.c:1680:9: warning[-Wdeprecated-declarations]: ‘talloc_set_memlimit’ is deprecated
samba-4.22.1/lib/talloc/testsuite.c:28: included_from: Included from here.
/usr/include/talloc.h:1951:14: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def722]
samba-4.22.1/lib/talloc/testsuite.c:1740:9: warning[-Wdeprecated-declarations]: ‘talloc_set_memlimit’ is deprecated
/usr/include/talloc.h:1951:14: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def723]
samba-4.22.1/lib/talloc/testsuite.c:1753:9: warning[-Wdeprecated-declarations]: ‘talloc_set_memlimit’ is deprecated
/usr/include/talloc.h:1951:14: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def724]
samba-4.22.1/lib/talloc/testsuite.c:1787:9: warning[-Wdeprecated-declarations]: ‘talloc_set_memlimit’ is deprecated
/usr/include/talloc.h:1951:14: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def725]
samba-4.22.1/lib/talloc/testsuite.c:1820:9: warning[-Wdeprecated-declarations]: ‘talloc_set_memlimit’ is deprecated
/usr/include/talloc.h:1951:14: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def726]
samba-4.22.1/lib/talloc/testsuite.c:1873:9: warning[-Wdeprecated-declarations]: ‘talloc_set_memlimit’ is deprecated
/usr/include/talloc.h:1951:14: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def727]
samba-4.22.1/lib/talloc/testsuite.c:1885:9: warning[-Wdeprecated-declarations]: ‘talloc_set_memlimit’ is deprecated
/usr/include/talloc.h:1951:14: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def728]
samba-4.22.1/lib/talloc/testsuite.c:1923:9: warning[-Wdeprecated-declarations]: ‘talloc_set_memlimit’ is deprecated
/usr/include/talloc.h:1951:14: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def729]
samba-4.22.1/lib/talloc/testsuite.c:1944:9: warning[-Wdeprecated-declarations]: ‘talloc_set_memlimit’ is deprecated
/usr/include/talloc.h:1951:14: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def730]
samba-4.22.1/lib/tevent/testsuite.c: scope_hint: In function ‘test_wrapper’
samba-4.22.1/lib/tevent/testsuite.c:1716:9: warning[-Wdeprecated-declarations]: ‘_tevent_context_wrapper_create’ is deprecated
samba-4.22.1/lib/tevent/testsuite.c:29: included_from: Included from here.
samba-4.22.1/lib/tevent/tevent.h:2875:24: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def731]
samba-4.22.1/lib/tevent/testsuite.c:1760:9: warning[-Wdeprecated-declarations]: ‘_tevent_context_push_use’ is deprecated
samba-4.22.1/lib/tevent/tevent.h:2954:6: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def732]
samba-4.22.1/lib/tevent/testsuite.c:1762:9: warning[-Wdeprecated-declarations]: ‘_tevent_context_push_use’ is deprecated
samba-4.22.1/lib/tevent/tevent.h:2954:6: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def733]
samba-4.22.1/lib/tevent/testsuite.c:1764:9: warning[-Wdeprecated-declarations]: ‘_tevent_context_pop_use’ is deprecated
samba-4.22.1/lib/tevent/tevent.h:2983:6: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def734]
samba-4.22.1/lib/tevent/testsuite.c:1765:9: warning[-Wdeprecated-declarations]: ‘_tevent_context_pop_use’ is deprecated
samba-4.22.1/lib/tevent/tevent.h:2983:6: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def735]
samba-4.22.1/lib/tevent/testsuite.c:1794:9: warning[-Wdeprecated-declarations]: ‘_tevent_context_pop_use’ is deprecated
samba-4.22.1/lib/tevent/tevent.h:2983:6: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def736]
samba-4.22.1/lib/tevent/testsuite.c: scope_hint: In function ‘test_free_wrapper’
samba-4.22.1/lib/tevent/testsuite.c:1889:9: warning[-Wdeprecated-declarations]: ‘_tevent_context_wrapper_create’ is deprecated
samba-4.22.1/lib/tevent/tevent.h:2875:24: note: declared here
Error: CPPCHECK_WARNING (CWE-457): [#def737]
samba-4.22.1/lib/util/charset/util_unistr_w.c:47: error[uninitvar]: Uninitialized variable: *((((unsigned char*)(&c))[0]=((const unsigned char*)(src))[0],((unsigned char*)(&c))[1]=((const unsigned char*)(src))[1],&c))
Error: CPPCHECK_WARNING (CWE-457): [#def738]
samba-4.22.1/lib/util/charset/util_unistr_w.c:63: error[uninitvar]: Uninitialized variable: *((((unsigned char*)(&c))[0]=((const unsigned char*)(src))[0],((unsigned char*)(&c))[1]=((const unsigned char*)(src))[1],&c))
Error: CPPCHECK_WARNING (CWE-457): [#def739]
samba-4.22.1/lib/util/charset/util_unistr_w.c:77: error[uninitvar]: Uninitialized variable: *((((unsigned char*)(&cp))[0]=((const unsigned char*)(s))[0],((unsigned char*)(&cp))[1]=((const unsigned char*)(s))[1],&cp))
Error: CPPCHECK_WARNING (CWE-457): [#def740]
samba-4.22.1/lib/util/charset/util_unistr_w.c:110: error[uninitvar]: Uninitialized variable: *((((unsigned char*)(&cp))[0]=((const unsigned char*)(p))[0],((unsigned char*)(&cp))[1]=((const unsigned char*)(p))[1],&cp))
Error: CPPCHECK_WARNING (CWE-457): [#def741]
samba-4.22.1/lib/util/charset/util_unistr_w.c:155: error[uninitvar]: Uninitialized variable: *((((unsigned char*)(&cp))[0]=((const unsigned char*)(s))[0],((unsigned char*)(&cp))[1]=((const unsigned char*)(s))[1],&cp))
Error: CPPCHECK_WARNING (CWE-457): [#def742]
samba-4.22.1/lib/util/charset/util_unistr_w.c:177: error[uninitvar]: Uninitialized variable: *((((unsigned char*)(&cp))[0]=((const unsigned char*)(s))[0],((unsigned char*)(&cp))[1]=((const unsigned char*)(s))[1],&cp))
Error: CPPCHECK_WARNING (CWE-457): [#def743]
samba-4.22.1/lib/util/charset/util_unistr_w.c:193: error[uninitvar]: Uninitialized variable: *((((unsigned char*)(&cpa))[0]=((const unsigned char*)(a))[0],((unsigned char*)(&cpa))[1]=((const unsigned char*)(a))[1],&cpa))
Error: CPPCHECK_WARNING (CWE-457): [#def744]
samba-4.22.1/lib/util/charset/util_unistr_w.c:193: error[uninitvar]: Uninitialized variable: *((((unsigned char*)(&cpb))[0]=((const unsigned char*)(b))[0],((unsigned char*)(&cpb))[1]=((const unsigned char*)(b))[1],&cpb))
Error: CPPCHECK_WARNING (CWE-457): [#def745]
samba-4.22.1/lib/util/charset/util_unistr_w.c:228: error[uninitvar]: Uninitialized variable: ret
Error: CPPCHECK_WARNING (CWE-476): [#def746]
samba-4.22.1/lib/util/tests/dlinklist.c:73: warning[nullPointer]: Possible null pointer dereference: el2
Error: CPPCHECK_WARNING (CWE-457): [#def747]
samba-4.22.1/lib/util/tests/genrandperf.c:37: warning[uninitvar]: Uninitialized variable: val
Error: COMPILER_WARNING (CWE-563): [#def748]
samba-4.22.1/libcli/auth/smbencrypt.c: scope_hint: In function ‘decode_pw_buffer’
samba-4.22.1/libcli/auth/smbencrypt.c:948:13: warning[-Wunused-variable]: unused variable ‘byte_len’
Error: CPPCHECK_WARNING (CWE-562): [#def749]
samba-4.22.1/libcli/security/sddl_conditional_ace.c:2642: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def750]
samba-4.22.1/libcli/security/sddl_conditional_ace.c:3014: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-457): [#def751]
samba-4.22.1/libcli/smb/smbXcli_base.c:4873: error[uninitvar]: Uninitialized variable: val
Error: COMPILER_WARNING (CWE-477): [#def752]
samba-4.22.1/nsswitch/pam_winbind.c: scope_hint: In function ‘_make_remark’
samba-4.22.1/nsswitch/pam_winbind.c:735:17: warning[-Wdeprecated-declarations]: ‘reply_i’ is deprecated
samba-4.22.1/nsswitch/pam_winbind.h:104: included_from: Included from here.
samba-4.22.1/nsswitch/pam_winbind.c:13: included_from: Included from here.
samba-4.22.1/nsswitch/pam_winbind.c:735:17: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def753]
samba-4.22.1/nsswitch/pam_winbind.c:735:17: warning[-Wdeprecated-declarations]: ‘xx_’ is deprecated
samba-4.22.1/nsswitch/pam_winbind.c:735:17: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def754]
samba-4.22.1/nsswitch/pam_winbind.c: scope_hint: In function ‘_pam_winbind_change_pwd’
samba-4.22.1/nsswitch/pam_winbind.c:906:9: warning[-Wdeprecated-declarations]: ‘reply_i’ is deprecated
samba-4.22.1/nsswitch/pam_winbind.c:906:9: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def755]
samba-4.22.1/nsswitch/pam_winbind.c:906:9: warning[-Wdeprecated-declarations]: ‘xx_’ is deprecated
samba-4.22.1/nsswitch/pam_winbind.c:906:9: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def756]
samba-4.22.1/nsswitch/pam_winbind.c: scope_hint: In function ‘_pam_delete’
samba-4.22.1/nsswitch/pam_winbind.c:2159:9: warning[-Wdeprecated-declarations]: ‘xx_’ is deprecated
samba-4.22.1/nsswitch/pam_winbind.c:2159:9: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def757]
samba-4.22.1/nsswitch/pam_winbind.c: scope_hint: In function ‘_winbind_read_password’
samba-4.22.1/nsswitch/pam_winbind.c:2269:25: warning[-Wdeprecated-declarations]: ‘reply_i’ is deprecated
samba-4.22.1/nsswitch/pam_winbind.c:2269:25: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def758]
samba-4.22.1/nsswitch/pam_winbind.c:2269:25: warning[-Wdeprecated-declarations]: ‘xx_’ is deprecated
samba-4.22.1/nsswitch/pam_winbind.c:2269:25: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def759]
samba-4.22.1/nsswitch/pam_winbind.c:2299:17: warning[-Wdeprecated-declarations]: ‘reply_i’ is deprecated
samba-4.22.1/nsswitch/pam_winbind.c:2299:17: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def760]
samba-4.22.1/nsswitch/pam_winbind.c:2299:17: warning[-Wdeprecated-declarations]: ‘xx_’ is deprecated
samba-4.22.1/nsswitch/pam_winbind.c:2299:17: note: declared here
Error: CPPCHECK_WARNING (CWE-457): [#def761]
samba-4.22.1/source3/lib/dbwrap/dbwrap_watch.c:564: error[uninitvar]: Uninitialized variable: instance_buf
Error: CPPCHECK_WARNING (CWE-457): [#def762]
samba-4.22.1/source3/lib/messages.c:1396: warning[uninitvar]: Uninitialized variable: fds
Error: CPPCHECK_WARNING (CWE-476): [#def763]
samba-4.22.1/source3/lib/netapi/examples/common.c:44: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: puser
Error: CPPCHECK_WARNING (CWE-476): [#def764]
samba-4.22.1/source3/lib/netapi/tests/common.c:53: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: puser
Error: CPPCHECK_WARNING (CWE-476): [#def765]
samba-4.22.1/source3/lib/smbldap.c:363: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: mods
Error: CPPCHECK_WARNING (CWE-476): [#def766]
samba-4.22.1/source3/lib/smbldap.c:366: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: mods
Error: CPPCHECK_WARNING (CWE-768): [#def767]
samba-4.22.1/source3/libsmb/libsmb_dir.c:2144: error[unknownEvaluationOrder]: Expression 'context,srv,path,(struct timespec){.tv_nsec=((1l<<30)-2l)},access_time,write_time,(struct timespec){.tv_nsec=((1l<<30)-2l)}' depends on order of evaluation of side effects
Error: CPPCHECK_WARNING (CWE-768): [#def768]
samba-4.22.1/source3/libsmb/libsmb_xattr.c:1855: error[unknownEvaluationOrder]: Expression 'context,srv,path,(struct timespec){.tv_sec=dad->create_time},(struct timespec){.tv_sec=dad->access_time}' depends on order of evaluation of side effects
Error: CPPCHECK_WARNING (CWE-768): [#def769]
samba-4.22.1/source3/libsmb/libsmb_xattr.c:1857: error[unknownEvaluationOrder]: Expression 'context,srv,path,(struct timespec){.tv_sec=dad->create_time},(struct timespec){.tv_sec=dad->access_time},(struct timespec){.tv_sec=dad->write_time}' depends on order of evaluation of side effects
Error: CPPCHECK_WARNING (CWE-768): [#def770]
samba-4.22.1/source3/libsmb/libsmb_xattr.c:1859: error[unknownEvaluationOrder]: Expression 'context,srv,path,(struct timespec){.tv_sec=dad->create_time},(struct timespec){.tv_sec=dad->access_time},(struct timespec){.tv_sec=dad->write_time},(struct timespec){.tv_sec=dad->change_time}' depends on order of evaluation of side effects
Error: CPPCHECK_WARNING (CWE-768): [#def771]
samba-4.22.1/source3/libsmb/libsmb_xattr.c:2013: error[unknownEvaluationOrder]: Expression 'context,srv,path,(struct timespec){.tv_sec=dad->create_time},(struct timespec){.tv_sec=dad->access_time}' depends on order of evaluation of side effects
Error: CPPCHECK_WARNING (CWE-768): [#def772]
samba-4.22.1/source3/libsmb/libsmb_xattr.c:2015: error[unknownEvaluationOrder]: Expression 'context,srv,path,(struct timespec){.tv_sec=dad->create_time},(struct timespec){.tv_sec=dad->access_time},(struct timespec){.tv_sec=dad->write_time}' depends on order of evaluation of side effects
Error: CPPCHECK_WARNING (CWE-768): [#def773]
samba-4.22.1/source3/libsmb/libsmb_xattr.c:2017: error[unknownEvaluationOrder]: Expression 'context,srv,path,(struct timespec){.tv_sec=dad->create_time},(struct timespec){.tv_sec=dad->access_time},(struct timespec){.tv_sec=dad->write_time},(struct timespec){.tv_sec=dad->change_time}' depends on order of evaluation of side effects
Error: COMPILER_WARNING (CWE-477): [#def774]
samba-4.22.1/source3/libsmb/pylibsmb.c: scope_hint: In function ‘py_cli_state_setup_mt_ev’
samba-4.22.1/source3/libsmb/pylibsmb.c:274:9: warning[-Wdeprecated-declarations]: ‘PyEval_InitThreads’ is deprecated
/usr/include/python3.13/Python.h:124: included_from: Included from here.
samba-4.22.1/lib/replace/system/python.h:27: included_from: Included from here.
samba-4.22.1/source3/libsmb/pylibsmb.c:48: included_from: Included from here.
/usr/include/python3.13/ceval.h:114:37: note: declared here
Error: CPPCHECK_WARNING (CWE-457): [#def775]
samba-4.22.1/source3/modules/vfs_fruit.c:853: error[uninitvar]: Uninitialized variable: p
Error: COMPILER_WARNING: [#def776]
samba-4.22.1/source3/modules/vfs_full_audit.c: scope_hint: In function ‘smb_full_audit_set_quota’
samba-4.22.1/source3/modules/vfs_full_audit.c:834:61: warning[-Wformat-zero-length]: zero-length gnu_printf format string
Error: COMPILER_WARNING: [#def777]
samba-4.22.1/source3/modules/vfs_full_audit.c: scope_hint: In function ‘smb_full_audit_get_shadow_copy_data’
samba-4.22.1/source3/modules/vfs_full_audit.c:848:72: warning[-Wformat-zero-length]: zero-length gnu_printf format string
Error: COMPILER_WARNING: [#def778]
samba-4.22.1/source3/modules/vfs_full_audit.c: scope_hint: In function ‘smb_full_audit_statvfs’
samba-4.22.1/source3/modules/vfs_full_audit.c:861:59: warning[-Wformat-zero-length]: zero-length gnu_printf format string
Error: COMPILER_WARNING: [#def779]
samba-4.22.1/source3/modules/vfs_full_audit.c: scope_hint: In function ‘smb_full_audit_fs_capabilities’
samba-4.22.1/source3/modules/vfs_full_audit.c:872:58: warning[-Wformat-zero-length]: zero-length gnu_printf format string
Error: COMPILER_WARNING: [#def780]
samba-4.22.1/source3/modules/vfs_full_audit.c: scope_hint: In function ‘smb_full_audit_get_dfs_referrals’
samba-4.22.1/source3/modules/vfs_full_audit.c:886:24: warning[-Wformat-zero-length]: zero-length gnu_printf format string
Error: COMPILER_WARNING: [#def781]
samba-4.22.1/source3/modules/vfs_full_audit.c: scope_hint: In function ‘smb_full_audit_snap_check_path’
samba-4.22.1/source3/modules/vfs_full_audit.c:967:24: warning[-Wformat-zero-length]: zero-length gnu_printf format string
Error: COMPILER_WARNING: [#def782]
samba-4.22.1/source3/modules/vfs_full_audit.c: scope_hint: In function ‘smb_full_audit_snap_create’
samba-4.22.1/source3/modules/vfs_full_audit.c:984:73: warning[-Wformat-zero-length]: zero-length gnu_printf format string
Error: COMPILER_WARNING: [#def783]
samba-4.22.1/source3/modules/vfs_full_audit.c: scope_hint: In function ‘smb_full_audit_snap_delete’
samba-4.22.1/source3/modules/vfs_full_audit.c:998:73: warning[-Wformat-zero-length]: zero-length gnu_printf format string
Error: COMPILER_WARNING: [#def784]
samba-4.22.1/source3/modules/vfs_full_audit.c: scope_hint: In function ‘smb_full_audit_readdir’
samba-4.22.1/source3/modules/vfs_full_audit.c:1027:50: warning[-Wformat-zero-length]: zero-length gnu_printf format string
Error: COMPILER_WARNING: [#def785]
samba-4.22.1/source3/modules/vfs_full_audit.c: scope_hint: In function ‘smb_full_audit_rewinddir’
samba-4.22.1/source3/modules/vfs_full_audit.c:1037:52: warning[-Wformat-zero-length]: zero-length gnu_printf format string
Error: COMPILER_WARNING: [#def786]
samba-4.22.1/source3/modules/vfs_full_audit.c: scope_hint: In function ‘smb_full_audit_closedir’
samba-4.22.1/source3/modules/vfs_full_audit.c:1079:60: warning[-Wformat-zero-length]: zero-length gnu_printf format string
Error: COMPILER_WARNING: [#def787]
samba-4.22.1/source3/modules/vfs_full_audit.c: scope_hint: In function ‘smb_full_audit_translate_name’
samba-4.22.1/source3/modules/vfs_full_audit.c:2174:76: warning[-Wformat-zero-length]: zero-length gnu_printf format string
Error: COMPILER_WARNING: [#def788]
samba-4.22.1/source3/modules/vfs_full_audit.c: scope_hint: In function ‘smb_full_audit_fsctl’
samba-4.22.1/source3/modules/vfs_full_audit.c:2225:67: warning[-Wformat-zero-length]: zero-length gnu_printf format string
Error: COMPILER_WARNING: [#def789]
samba-4.22.1/source3/modules/vfs_full_audit.c: scope_hint: In function ‘smb_full_audit_offload_read_send’
samba-4.22.1/source3/modules/vfs_full_audit.c:2245:59: warning[-Wformat-zero-length]: zero-length gnu_printf format string
Error: COMPILER_WARNING: [#def790]
samba-4.22.1/source3/modules/vfs_full_audit.c: scope_hint: In function ‘smb_full_audit_offload_read_recv’
samba-4.22.1/source3/modules/vfs_full_audit.c:2263:79: warning[-Wformat-zero-length]: zero-length gnu_printf format string
Error: COMPILER_WARNING: [#def791]
samba-4.22.1/source3/modules/vfs_full_audit.c: scope_hint: In function ‘smb_full_audit_offload_write_send’
samba-4.22.1/source3/modules/vfs_full_audit.c:2284:60: warning[-Wformat-zero-length]: zero-length gnu_printf format string
Error: COMPILER_WARNING: [#def792]
samba-4.22.1/source3/modules/vfs_full_audit.c: scope_hint: In function ‘smb_full_audit_offload_write_recv’
samba-4.22.1/source3/modules/vfs_full_audit.c:2297:80: warning[-Wformat-zero-length]: zero-length gnu_printf format string
Error: COMPILER_WARNING: [#def793]
samba-4.22.1/source3/modules/vfs_full_audit.c: scope_hint: In function ‘smb_full_audit_durable_reconnect’
samba-4.22.1/source3/modules/vfs_full_audit.c:2904:25: warning[-Wformat-zero-length]: zero-length gnu_printf format string
Error: COMPILER_WARNING: [#def794]
samba-4.22.1/source3/nmbd/nmbd_become_lmb.c: scope_hint: In function ‘become_local_master_browser’
samba-4.22.1/source3/nmbd/nmbd_become_lmb.c:549:9: warning[-Wstringop-overflow=]: ‘strlcpy’ writing 257 bytes into a region of size 16 overflows the destination
samba-4.22.1/source3/nmbd/nmbd_become_lmb.c:24: included_from: Included from here.
samba-4.22.1/source3/nmbd/nmbd.h:212:14: note: destination object ‘data’ of size 16
/usr/include/features.h:524: included_from: Included from here.
/usr/include/bits/libc-header-start.h:33: included_from: Included from here.
/usr/include/stdio.h:28: included_from: Included from here.
samba-4.22.1/lib/replace/replace.h:48: included_from: Included from here.
samba-4.22.1/source3/include/includes.h:23: included_from: Included from here.
samba-4.22.1/source3/nmbd/nmbd_become_lmb.c:23: included_from: Included from here.
/usr/include/bits/string_fortified.h:161:1: note: in a call to function ‘strlcpy’ declared with attribute ‘access (write_only, 1, 3)’
Error: COMPILER_WARNING: [#def795]
samba-4.22.1/source3/nmbd/nmbd_browsesync.c: scope_hint: In function ‘find_domain_master_name_query_success’
samba-4.22.1/source3/nmbd/nmbd_browsesync.c:337:9: warning[-Wstringop-overflow=]: ‘strlcpy’ writing 257 bytes into a region of size 16 overflows the destination
samba-4.22.1/source3/nmbd/nmbd_browsesync.c:24: included_from: Included from here.
samba-4.22.1/source3/nmbd/nmbd.h:212:14: note: destination object ‘data’ of size 16
/usr/include/features.h:524: included_from: Included from here.
/usr/include/bits/libc-header-start.h:33: included_from: Included from here.
/usr/include/stdio.h:28: included_from: Included from here.
samba-4.22.1/lib/replace/replace.h:48: included_from: Included from here.
samba-4.22.1/source3/include/includes.h:23: included_from: Included from here.
samba-4.22.1/source3/nmbd/nmbd_browsesync.c:23: included_from: Included from here.
/usr/include/bits/string_fortified.h:161:1: note: in a call to function ‘strlcpy’ declared with attribute ‘access (write_only, 1, 3)’
Error: CPPCHECK_WARNING (CWE-590): [#def796]
samba-4.22.1/source3/nmbd/nmbd_namelistdb.c:541: error[autovarInvalidDeallocation]: Deallocation of an auto-variable (.) results in undefined behaviour.
Error: CPPCHECK_WARNING (CWE-590): [#def797]
samba-4.22.1/source3/nmbd/nmbd_winsproxy.c:89: error[autovarInvalidDeallocation]: Deallocation of an auto-variable (ip) results in undefined behaviour.
Error: CPPCHECK_WARNING (CWE-457): [#def798]
samba-4.22.1/source3/passdb/pdb_samba_dsdb.c:1086: error[uninitvar]: Uninitialized variable: id_map.sid
Error: CPPCHECK_WARNING (CWE-457): [#def799]
samba-4.22.1/source3/rpcclient/cmd_spotlight.c:225: error[uninitvar]: Uninitialized variable: share_path
Error: CPPCHECK_WARNING (CWE-768): [#def800]
samba-4.22.1/source3/smbd/durable.c:559: error[unknownEvaluationOrder]: Expression '.pid={.pid=0,}' depends on order of evaluation of side effects
Error: CPPCHECK_WARNING (CWE-768): [#def801]
samba-4.22.1/source3/smbd/open.c:2961: error[unknownEvaluationOrder]: Expression 'req,NULL,(struct timeval){.tv_usec=timeout_usecs},(struct timeval){.tv_usec=200000}' depends on order of evaluation of side effects
Error: CPPCHECK_WARNING (CWE-457): [#def802]
samba-4.22.1/source3/smbd/server.c:316: error[uninitvar]: Uninitialized variable: buf
Error: CPPCHECK_WARNING (CWE-457): [#def803]
samba-4.22.1/source3/smbd/smb1_reply.c:2822: error[uninitvar]: Uninitialized variable: header
Error: CPPCHECK_WARNING (CWE-457): [#def804]
samba-4.22.1/source3/smbd/smb1_reply.c:2891: error[uninitvar]: Uninitialized variable: header
Error: CPPCHECK_WARNING (CWE-457): [#def805]
samba-4.22.1/source3/smbd/smb2_create.c:1730: error[uninitvar]: Uninitialized variable: p
Error: CPPCHECK_WARNING (CWE-457): [#def806]
samba-4.22.1/source3/smbd/smb2_create.c:1840: error[uninitvar]: Uninitialized variable: p
Error: CPPCHECK_WARNING (CWE-457): [#def807]
samba-4.22.1/source3/smbd/smb2_negprot.c:602: error[uninitvar]: Uninitialized variable: buf
Error: CPPCHECK_WARNING (CWE-457): [#def808]
samba-4.22.1/source3/smbd/smb2_negprot.c:682: error[uninitvar]: Uninitialized variable: buf
Error: CPPCHECK_WARNING (CWE-457): [#def809]
samba-4.22.1/source3/smbd/smbXsrv_open.c:1057: error[uninitvar]: Uninitialized variable: data
Error: CPPCHECK_WARNING (CWE-457): [#def810]
samba-4.22.1/source3/smbd/smbXsrv_session.c:122: warning[uninitvar]: Uninitialized variable: key_buf
Error: CPPCHECK_WARNING (CWE-457): [#def811]
samba-4.22.1/source3/smbd/smbXsrv_session.c:153: warning[uninitvar]: Uninitialized variable: key_buf
Error: CPPCHECK_WARNING (CWE-457): [#def812]
samba-4.22.1/source3/smbd/smbXsrv_tcon.c:102: warning[uninitvar]: Uninitialized variable: key_buf
Error: CPPCHECK_WARNING (CWE-457): [#def813]
samba-4.22.1/source3/smbd/smbXsrv_tcon.c:133: warning[uninitvar]: Uninitialized variable: key_buf
Error: CPPCHECK_WARNING (CWE-476): [#def814]
samba-4.22.1/source3/utils/log2pcaphex.c:144: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: data
Error: CPPCHECK_WARNING (CWE-682): [#def815]
samba-4.22.1/source3/utils/log2pcaphex.c:174: error[nullPointerArithmeticOutOfMemory]: If memory allocation fail: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def816]
samba-4.22.1/source3/utils/log2pcaphex.c:175: error[nullPointerArithmeticOutOfMemory]: If memory allocation fail: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-476): [#def817]
samba-4.22.1/source3/utils/log2pcaphex.c:217: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buffer
Error: CPPCHECK_WARNING (CWE-476): [#def818]
samba-4.22.1/source3/utils/log2pcaphex.c:219: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buffer
Error: CPPCHECK_WARNING (CWE-476): [#def819]
samba-4.22.1/source3/utils/log2pcaphex.c:220: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buffer
Error: CPPCHECK_WARNING (CWE-682): [#def820]
samba-4.22.1/source3/utils/log2pcaphex.c:221: error[nullPointerArithmeticOutOfMemory]: If memory allocation fail: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-476): [#def821]
samba-4.22.1/source3/utils/log2pcaphex.c:223: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buffer
Error: CPPCHECK_WARNING (CWE-476): [#def822]
samba-4.22.1/source3/utils/log2pcaphex.c:224: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buffer
Error: CPPCHECK_WARNING (CWE-476): [#def823]
samba-4.22.1/source3/utils/log2pcaphex.c:225: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buffer
Error: CPPCHECK_WARNING (CWE-476): [#def824]
samba-4.22.1/source3/utils/log2pcaphex.c:226: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buffer
Error: CPPCHECK_WARNING (CWE-476): [#def825]
samba-4.22.1/source3/utils/log2pcaphex.c:227: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buffer
Error: CPPCHECK_WARNING (CWE-476): [#def826]
samba-4.22.1/source3/utils/log2pcaphex.c:228: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buffer
Error: CPPCHECK_WARNING (CWE-476): [#def827]
samba-4.22.1/source3/utils/log2pcaphex.c:229: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buffer
Error: CPPCHECK_WARNING (CWE-682): [#def828]
samba-4.22.1/source3/utils/log2pcaphex.c:230: error[nullPointerArithmeticOutOfMemory]: If memory allocation fail: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-476): [#def829]
samba-4.22.1/source3/utils/log2pcaphex.c:231: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buffer
Error: CPPCHECK_WARNING (CWE-682): [#def830]
samba-4.22.1/source3/utils/log2pcaphex.c:232: error[nullPointerArithmeticOutOfMemory]: If memory allocation fail: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def831]
samba-4.22.1/source3/utils/log2pcaphex.c:233: error[nullPointerArithmeticOutOfMemory]: If memory allocation fail: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def832]
samba-4.22.1/source3/utils/log2pcaphex.c:234: error[nullPointerArithmeticOutOfMemory]: If memory allocation fail: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def833]
samba-4.22.1/source3/utils/log2pcaphex.c:235: error[nullPointerArithmeticOutOfMemory]: If memory allocation fail: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def834]
samba-4.22.1/source3/utils/log2pcaphex.c:236: error[nullPointerArithmeticOutOfMemory]: If memory allocation fail: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-476): [#def835]
samba-4.22.1/source3/utils/log2pcaphex.c:237: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buffer
Error: CPPCHECK_WARNING (CWE-476): [#def836]
samba-4.22.1/source3/utils/log2pcaphex.c:238: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buffer
Error: CPPCHECK_WARNING (CWE-682): [#def837]
samba-4.22.1/source3/utils/log2pcaphex.c:240: error[nullPointerArithmeticOutOfMemory]: If memory allocation fail: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-476): [#def838]
samba-4.22.1/source3/utils/log2pcaphex.c:243: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buffer
Error: CPPCHECK_WARNING (CWE-476): [#def839]
samba-4.22.1/source3/utils/log2pcaphex.c:244: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buffer
Error: CPPCHECK_WARNING (CWE-476): [#def840]
samba-4.22.1/source3/utils/net_rap.c:246: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: sharename
Error: CPPCHECK_WARNING (CWE-457): [#def841]
samba-4.22.1/source3/utils/regedit_treeview.c:312: warning[uninitvar]: Uninitialized variable: rv.w
Error: CPPCHECK_WARNING (CWE-457): [#def842]
samba-4.22.1/source3/utils/regedit_valuelist.c:378: warning[uninitvar]: Uninitialized variable: rv.w
Error: CPPCHECK_WARNING (CWE-476): [#def843]
samba-4.22.1/source3/utils/smbget.c:351: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: filename
Error: CPPCHECK_WARNING (CWE-476): [#def844]
samba-4.22.1/source3/winbindd/idmap.c:182: error[ctunullpointer]: Null pointer dereference: buf
Error: CPPCHECK_WARNING (CWE-476): [#def845]
samba-4.22.1/source3/winbindd/idmap.c:182: warning[nullPointer]: Possible null pointer dereference: buf
Error: CPPCHECK_WARNING (CWE-457): [#def846]
samba-4.22.1/source3/winbindd/winbindd_cache.c:527: error[uninitvar]: Uninitialized variable: buf
Error: CPPCHECK_WARNING (CWE-457): [#def847]
samba-4.22.1/source4/dsdb/common/util_links.c:40: error[uninitvar]: Uninitialized variable: v2_data
Error: CPPCHECK_WARNING (CWE-457): [#def848]
samba-4.22.1/source4/dsdb/samdb/ldb_modules/repl_meta_data.c:1305: error[uninitvar]: Uninitialized variable: guid_data
Error: COMPILER_WARNING (CWE-477): [#def849]
samba-4.22.1/source4/kdc/mit_samba.c: scope_hint: In function ‘mit_samba_context_init’
samba-4.22.1/source4/kdc/mit_samba.c:94:9: warning[-Wdeprecated-declarations]: ‘tevent_loop_allow_nesting’ is deprecated
samba-4.22.1/bin/default/include/public/ldb.h:51: included_from: Included from here.
samba-4.22.1/source4/dsdb/samdb/samdb.h:55: included_from: Included from here.
samba-4.22.1/source4/kdc/mit_samba.c:26: included_from: Included from here.
/usr/include/tevent.h:2676:6: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def850]
samba-4.22.1/source4/lib/events/tevent_s4.c: scope_hint: In function ‘s4_event_context_init’
samba-4.22.1/source4/lib/events/tevent_s4.c:37:17: warning[-Wdeprecated-declarations]: ‘tevent_loop_allow_nesting’ is deprecated
samba-4.22.1/source4/lib/events/events.h:3: included_from: Included from here.
samba-4.22.1/source4/lib/events/tevent_s4.c:21: included_from: Included from here.
/usr/include/tevent.h:2676:6: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def851]
samba-4.22.1/source4/lib/messaging/tests/irpc.c: scope_hint: In function ‘test_addone’
samba-4.22.1/source4/lib/messaging/tests/irpc.c:109:9: warning[-Wdeprecated-declarations]: ‘dcerpc_binding_handle_set_sync_ev’ is deprecated
samba-4.22.1/source4/librpc/rpc/dcerpc.h:33: included_from: Included from here.
samba-4.22.1/bin/default/librpc/gen_ndr/ndr_echo_c.h:1: included_from: Included from here.
samba-4.22.1/source4/lib/messaging/tests/irpc.c:26: included_from: Included from here.
samba-4.22.1/librpc/rpc/rpc_common.h:257:19: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def852]
samba-4.22.1/source4/lib/messaging/tests/irpc.c: scope_hint: In function ‘test_echodata’
samba-4.22.1/source4/lib/messaging/tests/irpc.c:148:9: warning[-Wdeprecated-declarations]: ‘dcerpc_binding_handle_set_sync_ev’ is deprecated
samba-4.22.1/librpc/rpc/rpc_common.h:257:19: note: declared here
Error: CPPCHECK_WARNING (CWE-457): [#def853]
samba-4.22.1/source4/lib/registry/patchfile_preg.c:78: error[uninitvar]: Uninitialized variable: &buf
Error: CPPCHECK_WARNING (CWE-457): [#def854]
samba-4.22.1/source4/lib/registry/tests/registry.c:375: error[uninitvar]: Uninitialized variable: data
Error: CPPCHECK_WARNING (CWE-457): [#def855]
samba-4.22.1/source4/lib/registry/tests/registry.c:536: error[uninitvar]: Uninitialized variable: value
Error: CPPCHECK_WARNING (CWE-476): [#def856]
samba-4.22.1/source4/libcli/clideltree.c:43: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: n
Error: CPPCHECK_WARNING (CWE-476): [#def857]
samba-4.22.1/source4/libcli/clifile.c:699: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: path2
Error: CPPCHECK_WARNING (CWE-457): [#def858]
samba-4.22.1/source4/libcli/smb2/create.c:93: error[uninitvar]: Uninitialized variable: data
Error: CPPCHECK_WARNING (CWE-457): [#def859]
samba-4.22.1/source4/libcli/smb2/create.c:169: error[uninitvar]: Uninitialized variable: data
Error: COMPILER_WARNING (CWE-477): [#def860]
samba-4.22.1/source4/librpc/rpc/dcerpc.c: scope_hint: In function ‘dcerpc_pipe_binding_handle’
samba-4.22.1/source4/librpc/rpc/dcerpc.c:747:9: warning[-Wdeprecated-declarations]: ‘dcerpc_binding_handle_set_sync_ev’ is deprecated
samba-4.22.1/source4/librpc/rpc/dcerpc.h:33: included_from: Included from here.
samba-4.22.1/source4/librpc/rpc/dcerpc.c:30: included_from: Included from here.
samba-4.22.1/librpc/rpc/rpc_common.h:257:19: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def861]
samba-4.22.1/source4/librpc/rpc/pyrpc_util.c: scope_hint: In function ‘pyrpc_irpc_connect’
samba-4.22.1/source4/librpc/rpc/pyrpc_util.c:94:9: warning[-Wdeprecated-declarations]: ‘dcerpc_binding_handle_set_sync_ev’ is deprecated
samba-4.22.1/source4/librpc/rpc/dcerpc.h:33: included_from: Included from here.
samba-4.22.1/source4/librpc/rpc/pyrpc_util.c:30: included_from: Included from here.
samba-4.22.1/librpc/rpc/rpc_common.h:257:19: note: declared here
Error: CPPCHECK_WARNING (CWE-457): [#def862]
samba-4.22.1/source4/rpc_server/drsuapi/getncchanges.c:2086: warning[uninitvar]: Uninitialized variable: source_guid.length
Error: CPPCHECK_WARNING (CWE-457): [#def863]
samba-4.22.1/source4/rpc_server/samr/dcesrv_samr.c:2099: warning[uninitvar]: Uninitialized variables: res.dn, res.num_elements, res.elements
Error: CPPCHECK_WARNING (CWE-457): [#def864]
samba-4.22.1/source4/rpc_server/samr/dcesrv_samr.c:4448: warning[uninitvar]: Uninitialized variable: res_memberof
Error: COMPILER_WARNING (CWE-477): [#def865]
samba-4.22.1/source4/samba/service_task.c: scope_hint: In function ‘task_server_terminate’
samba-4.22.1/source4/samba/service_task.c:49:25: warning[-Wdeprecated-declarations]: ‘dcerpc_binding_handle_set_sync_ev’ is deprecated
samba-4.22.1/source4/librpc/rpc/dcerpc.h:33: included_from: Included from here.
samba-4.22.1/bin/default/source4/librpc/gen_ndr/ndr_irpc_c.h:1: included_from: Included from here.
samba-4.22.1/source4/samba/service_task.c:26: included_from: Included from here.
samba-4.22.1/librpc/rpc/rpc_common.h:257:19: note: declared here
Error: CPPCHECK_WARNING (CWE-457): [#def866]
samba-4.22.1/source4/torture/basic/utable.c:56: error[uninitvar]: Uninitialized variable: c2
Error: CPPCHECK_WARNING (CWE-457): [#def867]
samba-4.22.1/source4/torture/basic/utable.c:120: error[uninitvar]: Uninitialized variable: c2
Error: CPPCHECK_WARNING (CWE-628): [#def868]
samba-4.22.1/source4/torture/basic/utable.c:149: warning[invalidFunctionArg]: Invalid isprint() argument nr 1. The value is 65535 but the valid values are '0:255'.
Error: CPPCHECK_WARNING (CWE-457): [#def869]
samba-4.22.1/source4/torture/locktest.c:569: error[uninitvar]: Uninitialized variable: &seed
Error: CPPCHECK_WARNING (CWE-457): [#def870]
samba-4.22.1/source4/torture/masktest.c:309: error[uninitvar]: Uninitialized variable: &seed
Error: CPPCHECK_WARNING (CWE-476): [#def871]
samba-4.22.1/source4/torture/nbench/nbio.c:553: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buf
Error: CPPCHECK_WARNING (CWE-476): [#def872]
samba-4.22.1/source4/torture/nbench/nbio.c:595: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: buf
Error: CPPCHECK_WARNING (CWE-457): [#def873]
samba-4.22.1/source4/torture/raw/lockbench.c:374: warning[uninitvar]: Uninitialized variables: cli.options, cli.sock, cli.transport, cli.session, cli.tree, cli.substitute, cli.lsa
Error: CPPCHECK_WARNING (CWE-457): [#def874]
samba-4.22.1/source4/torture/raw/offline.c:434: warning[uninitvar]: Uninitialized variables: cli.options, cli.sock, cli.transport, cli.session, cli.tree, cli.substitute, cli.lsa
Error: CPPCHECK_WARNING (CWE-457): [#def875]
samba-4.22.1/source4/torture/raw/search.c:344: error[uninitvar]: Uninitialized variable: params
Error: CPPCHECK_WARNING (CWE-457): [#def876]
samba-4.22.1/source4/torture/raw/search.c:345: error[uninitvar]: Uninitialized variable: data
Error: CPPCHECK_WARNING (CWE-823): [#def877]
samba-4.22.1/source4/torture/smb2/lease.c:1521: error[arrayIndexOutOfBounds]: Array 'levels[4]' accessed at index 7, which is out of bounds.
Error: CPPCHECK_WARNING (CWE-476): [#def878]
samba-4.22.1/source4/torture/smbtorture.c:258: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: secret
Error: CPPCHECK_WARNING (CWE-457): [#def879]
samba-4.22.1/source4/torture/unix/unix_info2.c:100: error[uninitvar]: Uninitialized variable: params
Error: CPPCHECK_WARNING (CWE-457): [#def880]
samba-4.22.1/source4/torture/unix/unix_info2.c:101: error[uninitvar]: Uninitialized variable: data
Error: CPPCHECK_WARNING (CWE-457): [#def881]
samba-4.22.1/source4/torture/unix/whoami.c:169: error[uninitvar]: Uninitialized variable: &info_level
Scan Properties
analyzer-version-clippy | 1.86.0 |
analyzer-version-cppcheck | 2.17.1 |
analyzer-version-gcc | 15.0.1 |
analyzer-version-gcc-analyzer | 15.0.1 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-108.us-west-2.compute.internal |
known-false-positives | /usr/share/csmock/known-false-positives.js |
known-false-positives-rpm | known-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch |
mock-config | fedora-rawhide-x86_64 |
project-name | samba-4.22.1-1.fc43 |
store-results-to | /tmp/tmpi0d7tb73/samba-4.22.1-1.fc43.tar.xz |
time-created | 2025-04-25 16:13:44 |
time-finished | 2025-04-25 16:55:02 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpi0d7tb73/samba-4.22.1-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpi0d7tb73/samba-4.22.1-1.fc43.src.rpm' |
tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |