samba-4.21.1-9.fc42
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: GCC_ANALYZER_WARNING (CWE-476): [#def10]
samba-4.21.1-build/samba-4.21.1/auth/gensec/gensec.c: scope_hint: In function ‘gensec_final_auth_type’
samba-4.21.1-build/samba-4.21.1/auth/gensec/gensec.c:201:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘gensec_security’
Error: COMPILER_WARNING (CWE-477): [#def11]
samba-4.21.1-build/samba-4.21.1/auth/gensec/gensec.c: scope_hint: In function ‘gensec_update’
samba-4.21.1-build/samba-4.21.1/auth/gensec/gensec.c:382:9: warning[-Wdeprecated-declarations]: ‘tevent_loop_allow_nesting’ is deprecated
samba-4.21.1-build/samba-4.21.1/auth/gensec/gensec.c:26: included_from: Included from here.
/usr/include/tevent.h:2676:6: note: declared here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def12]
samba-4.21.1-build/samba-4.21.1/auth/gensec/gensec_start.c: scope_hint: In function ‘gensec_start_mech_by_ops’
samba-4.21.1-build/samba-4.21.1/auth/gensec/gensec_start.c:849:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘gensec_security’
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:54: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/auth/gensec/gensec_start.c:23: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def13]
samba-4.21.1-build/samba-4.21.1/auth/gensec/gensec_start.c: scope_hint: In function ‘gensec_start_mech_by_sasl_name’
samba-4.21.1-build/samba-4.21.1/auth/gensec/gensec_start.c:954:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘gensec_security’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def14]
samba-4.21.1-build/samba-4.21.1/auth/gensec/gensec_start.c: scope_hint: In function ‘gensec_start_mech_by_name’
samba-4.21.1-build/samba-4.21.1/auth/gensec/gensec_start.c:1003:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘gensec_security’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def15]
samba-4.21.1-build/samba-4.21.1/auth/kerberos/kerberos_pac.c: scope_hint: In function ‘kerberos_pac_logon_info’
samba-4.21.1-build/samba-4.21.1/auth/kerberos/kerberos_pac.c:468:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pac_data’
Error: CPPCHECK_WARNING (CWE-758): [#def16]
samba-4.21.1-build/samba-4.21.1/bin/.conf_check_f8e5fef43e8f679fd0f8691c64e32ea6/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): [#def17]
samba-4.21.1-build/samba-4.21.1/bin/.conf_check_f8e5fef43e8f679fd0f8691c64e32ea6/libdir/liblc1.c:2: error[resourceLeak]: Resource leak: f
Error: COMPILER_WARNING (CWE-563): [#def18]
samba-4.21.1-build/samba-4.21.1/bin/.conf_check_f8e5fef43e8f679fd0f8691c64e32ea6/libdir/liblc1.c: scope_hint: In function ‘lib_func’
samba-4.21.1-build/samba-4.21.1/bin/.conf_check_f8e5fef43e8f679fd0f8691c64e32ea6/libdir/liblc1.c:2:28: warning[-Wunused-variable]: unused variable ‘f’
Error: COMPILER_WARNING (CWE-393): [#def19]
samba-4.21.1-build/samba-4.21.1/bin/.conf_check_f8e5fef43e8f679fd0f8691c64e32ea6/libdir/liblc1.c:2:50: warning[-Wreturn-type]: control reaches end of non-void function
Error: GCC_ANALYZER_WARNING (CWE-688): [#def20]
samba-4.21.1-build/samba-4.21.1/bin/default/include/public/ldb.h:2343:17: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
samba-4.21.1-build/samba-4.21.1/source4/dsdb/common/util.c:5111:25: note: in expansion of macro ‘TYPESAFE_QSORT’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:289:33: note: in expansion of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/common/util.c:5530:9: note: in expansion of macro ‘DBG_DEBUG’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/common/util.c:5111:25: note: in expansion of macro ‘TYPESAFE_QSORT’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/common/util.c:5111:25: note: in expansion of macro ‘TYPESAFE_QSORT’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/common/util.c:5111:25: note: in expansion of macro ‘TYPESAFE_QSORT’
/usr/include/stdlib.h:970:13: note: argument 1 of ‘qsort’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def21]
samba-4.21.1-build/samba-4.21.1/source4/dsdb/common/util.c:25: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/dsdb/common/util.c: scope_hint: In function ‘dsdb_load_udv_v2’
samba-4.21.1-build/samba-4.21.1/bin/default/include/public/ldb.h:2343:17: warning[-Wanalyzer-null-argument]: use of NULL ‘v2’ where non-null expected
samba-4.21.1-build/samba-4.21.1/source4/dsdb/common/util.c:5103:17: note: in expansion of macro ‘TYPESAFE_QSORT’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:289:33: note: in expansion of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/common/util.c:5530:9: note: in expansion of macro ‘DBG_DEBUG’
samba-4.21.1-build/samba-4.21.1/bin/default/include/public/ldb.h:2342:13: note: in definition of macro ‘TYPESAFE_QSORT’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/common/util.c:5103:17: note: in expansion of macro ‘TYPESAFE_QSORT’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/common/util.c:5103:17: note: in expansion of macro ‘TYPESAFE_QSORT’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/common/util.c:5103:17: note: in expansion of macro ‘TYPESAFE_QSORT’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/common/util.c:5103:17: note: in expansion of macro ‘TYPESAFE_QSORT’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:49: included_from: Included from here.
/usr/include/stdlib.h:970:13: note: argument 1 of ‘qsort’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-775): [#def22]
samba-4.21.1-build/samba-4.21.1/bin/default/include/public/ldb.h:53: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_mod_op_test.c:27: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_mod_op_test.c: scope_hint: In function ‘test_ldb_search_against_transaction_callback1’
samba-4.21.1-build/samba-4.21.1/bin/default/include/public/ldb_errors.h:69:49: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipes[0]’
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_mod_op_test.c:1520:24: note: in expansion of macro ‘LDB_SUCCESS’
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_mod_op_test.c:1520:24: note: in expansion of macro ‘LDB_SUCCESS’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def23]
samba-4.21.1-build/samba-4.21.1/bin/default/libcli/wsp/wsp_aqs_lexer.c: scope_hint: In function ‘yy_create_buffer’
samba-4.21.1-build/samba-4.21.1/bin/default/libcli/wsp/wsp_aqs_lexer.c:1649:12: warning[-Wanalyzer-malloc-leak]: leak of ‘yyalloc(64, yyscanner)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def24]
samba-4.21.1-build/samba-4.21.1/bin/default/libcli/wsp/wsp_aqs_lexer.c: scope_hint: In function ‘yy_init_buffer’
samba-4.21.1-build/samba-4.21.1/bin/default/libcli/wsp/wsp_aqs_lexer.c:1691:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘b’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def25]
samba-4.21.1-build/samba-4.21.1/bin/default/libcli/wsp/wsp_aqs_lexer.c: scope_hint: In function ‘yy_scan_buffer’
samba-4.21.1-build/samba-4.21.1/bin/default/libcli/wsp/wsp_aqs_lexer.c:1909:25: warning[-Wanalyzer-malloc-leak]: leak of ‘yyalloc(n, yyscanner)’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def26]
samba-4.21.1-build/samba-4.21.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c: scope_hint: In function ‘yyparse’
samba-4.21.1-build/samba-4.21.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:437:21: warning[-Wanalyzer-malloc-leak]: leak of ‘yyptr’
samba-4.21.1-build/samba-4.21.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:88:40: note: in definition of macro ‘YY_CAST’
samba-4.21.1-build/samba-4.21.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:423:25: note: in expansion of macro ‘YYMALLOC’
samba-4.21.1-build/samba-4.21.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1085:20: note: in expansion of macro ‘YYSTACK_ALLOC’
samba-4.21.1-build/samba-4.21.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1155:17: note: in expansion of macro ‘YYTRANSLATE’
samba-4.21.1-build/samba-4.21.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:88:40: note: in definition of macro ‘YY_CAST’
samba-4.21.1-build/samba-4.21.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:423:25: note: in expansion of macro ‘YYMALLOC’
samba-4.21.1-build/samba-4.21.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1085:20: note: in expansion of macro ‘YYSTACK_ALLOC’
samba-4.21.1-build/samba-4.21.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:482:9: note: in expansion of macro ‘YYCOPY’
samba-4.21.1-build/samba-4.21.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1088:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
samba-4.21.1-build/samba-4.21.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:88:40: note: in definition of macro ‘YY_CAST’
samba-4.21.1-build/samba-4.21.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:423:25: note: in expansion of macro ‘YYMALLOC’
samba-4.21.1-build/samba-4.21.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1085:20: note: in expansion of macro ‘YYSTACK_ALLOC’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def27]
samba-4.21.1-build/samba-4.21.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:497:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
samba-4.21.1-build/samba-4.21.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:482:9: note: in expansion of macro ‘YYCOPY’
samba-4.21.1-build/samba-4.21.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1088:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
samba-4.21.1-build/samba-4.21.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:482:9: note: in expansion of macro ‘YYCOPY’
samba-4.21.1-build/samba-4.21.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1088:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
samba-4.21.1-build/samba-4.21.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:482:9: note: in expansion of macro ‘YYCOPY’
samba-4.21.1-build/samba-4.21.1/bin/default/libcli/wsp/wsp_aqs_parser.tab.c:1088:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
Error: COMPILER_WARNING (CWE-1164): [#def28]
samba-4.21.1-build/samba-4.21.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): [#def29]
samba-4.21.1-build/samba-4.21.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): [#def30]
samba-4.21.1-build/samba-4.21.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): [#def31]
samba-4.21.1-build/samba-4.21.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): [#def32]
samba-4.21.1-build/samba-4.21.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): [#def33]
samba-4.21.1-build/samba-4.21.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): [#def34]
samba-4.21.1-build/samba-4.21.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): [#def35]
samba-4.21.1-build/samba-4.21.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): [#def36]
samba-4.21.1-build/samba-4.21.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): [#def37]
samba-4.21.1-build/samba-4.21.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): [#def38]
samba-4.21.1-build/samba-4.21.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): [#def39]
samba-4.21.1-build/samba-4.21.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): [#def40]
samba-4.21.1-build/samba-4.21.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): [#def41]
samba-4.21.1-build/samba-4.21.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): [#def42]
samba-4.21.1-build/samba-4.21.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): [#def43]
samba-4.21.1-build/samba-4.21.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): [#def44]
samba-4.21.1-build/samba-4.21.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): [#def45]
samba-4.21.1-build/samba-4.21.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): [#def46]
samba-4.21.1-build/samba-4.21.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): [#def47]
samba-4.21.1-build/samba-4.21.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): [#def48]
samba-4.21.1-build/samba-4.21.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): [#def49]
samba-4.21.1-build/samba-4.21.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): [#def50]
samba-4.21.1-build/samba-4.21.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): [#def51]
samba-4.21.1-build/samba-4.21.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): [#def52]
samba-4.21.1-build/samba-4.21.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): [#def53]
samba-4.21.1-build/samba-4.21.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): [#def54]
samba-4.21.1-build/samba-4.21.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): [#def55]
samba-4.21.1-build/samba-4.21.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): [#def56]
samba-4.21.1-build/samba-4.21.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): [#def57]
samba-4.21.1-build/samba-4.21.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): [#def58]
samba-4.21.1-build/samba-4.21.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): [#def59]
samba-4.21.1-build/samba-4.21.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): [#def60]
samba-4.21.1-build/samba-4.21.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): [#def61]
samba-4.21.1-build/samba-4.21.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): [#def62]
samba-4.21.1-build/samba-4.21.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): [#def63]
samba-4.21.1-build/samba-4.21.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): [#def64]
samba-4.21.1-build/samba-4.21.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): [#def65]
samba-4.21.1-build/samba-4.21.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): [#def66]
samba-4.21.1-build/samba-4.21.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): [#def67]
samba-4.21.1-build/samba-4.21.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): [#def68]
samba-4.21.1-build/samba-4.21.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): [#def69]
samba-4.21.1-build/samba-4.21.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): [#def70]
samba-4.21.1-build/samba-4.21.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): [#def71]
samba-4.21.1-build/samba-4.21.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): [#def72]
samba-4.21.1-build/samba-4.21.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): [#def73]
samba-4.21.1-build/samba-4.21.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): [#def74]
samba-4.21.1-build/samba-4.21.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): [#def75]
samba-4.21.1-build/samba-4.21.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): [#def76]
samba-4.21.1-build/samba-4.21.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): [#def77]
samba-4.21.1-build/samba-4.21.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): [#def78]
samba-4.21.1-build/samba-4.21.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): [#def79]
samba-4.21.1-build/samba-4.21.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): [#def80]
samba-4.21.1-build/samba-4.21.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): [#def81]
samba-4.21.1-build/samba-4.21.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): [#def82]
samba-4.21.1-build/samba-4.21.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): [#def83]
samba-4.21.1-build/samba-4.21.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): [#def84]
samba-4.21.1-build/samba-4.21.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): [#def85]
samba-4.21.1-build/samba-4.21.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): [#def86]
samba-4.21.1-build/samba-4.21.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): [#def87]
samba-4.21.1-build/samba-4.21.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): [#def88]
samba-4.21.1-build/samba-4.21.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): [#def89]
samba-4.21.1-build/samba-4.21.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): [#def90]
samba-4.21.1-build/samba-4.21.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): [#def91]
samba-4.21.1-build/samba-4.21.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): [#def92]
samba-4.21.1-build/samba-4.21.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): [#def93]
samba-4.21.1-build/samba-4.21.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): [#def94]
samba-4.21.1-build/samba-4.21.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): [#def95]
samba-4.21.1-build/samba-4.21.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): [#def96]
samba-4.21.1-build/samba-4.21.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): [#def97]
samba-4.21.1-build/samba-4.21.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): [#def98]
samba-4.21.1-build/samba-4.21.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): [#def99]
samba-4.21.1-build/samba-4.21.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): [#def100]
samba-4.21.1-build/samba-4.21.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): [#def101]
samba-4.21.1-build/samba-4.21.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): [#def102]
samba-4.21.1-build/samba-4.21.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): [#def103]
samba-4.21.1-build/samba-4.21.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): [#def104]
samba-4.21.1-build/samba-4.21.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): [#def105]
samba-4.21.1-build/samba-4.21.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): [#def106]
samba-4.21.1-build/samba-4.21.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): [#def107]
samba-4.21.1-build/samba-4.21.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): [#def108]
samba-4.21.1-build/samba-4.21.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): [#def109]
samba-4.21.1-build/samba-4.21.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): [#def110]
samba-4.21.1-build/samba-4.21.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): [#def111]
samba-4.21.1-build/samba-4.21.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): [#def112]
samba-4.21.1-build/samba-4.21.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): [#def113]
samba-4.21.1-build/samba-4.21.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): [#def114]
samba-4.21.1-build/samba-4.21.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): [#def115]
samba-4.21.1-build/samba-4.21.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): [#def116]
samba-4.21.1-build/samba-4.21.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): [#def117]
samba-4.21.1-build/samba-4.21.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): [#def118]
samba-4.21.1-build/samba-4.21.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): [#def119]
samba-4.21.1-build/samba-4.21.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): [#def120]
samba-4.21.1-build/samba-4.21.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): [#def121]
samba-4.21.1-build/samba-4.21.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): [#def122]
samba-4.21.1-build/samba-4.21.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): [#def123]
samba-4.21.1-build/samba-4.21.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): [#def124]
samba-4.21.1-build/samba-4.21.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): [#def125]
samba-4.21.1-build/samba-4.21.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): [#def126]
samba-4.21.1-build/samba-4.21.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): [#def127]
samba-4.21.1-build/samba-4.21.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): [#def128]
samba-4.21.1-build/samba-4.21.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): [#def129]
samba-4.21.1-build/samba-4.21.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): [#def130]
samba-4.21.1-build/samba-4.21.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): [#def131]
samba-4.21.1-build/samba-4.21.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): [#def132]
samba-4.21.1-build/samba-4.21.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): [#def133]
samba-4.21.1-build/samba-4.21.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): [#def134]
samba-4.21.1-build/samba-4.21.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): [#def135]
samba-4.21.1-build/samba-4.21.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): [#def136]
samba-4.21.1-build/samba-4.21.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): [#def137]
samba-4.21.1-build/samba-4.21.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): [#def138]
samba-4.21.1-build/samba-4.21.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): [#def139]
samba-4.21.1-build/samba-4.21.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): [#def140]
samba-4.21.1-build/samba-4.21.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): [#def141]
samba-4.21.1-build/samba-4.21.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): [#def142]
samba-4.21.1-build/samba-4.21.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): [#def143]
samba-4.21.1-build/samba-4.21.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): [#def144]
samba-4.21.1-build/samba-4.21.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): [#def145]
samba-4.21.1-build/samba-4.21.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): [#def146]
samba-4.21.1-build/samba-4.21.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): [#def147]
samba-4.21.1-build/samba-4.21.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): [#def148]
samba-4.21.1-build/samba-4.21.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): [#def149]
samba-4.21.1-build/samba-4.21.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): [#def150]
samba-4.21.1-build/samba-4.21.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): [#def151]
samba-4.21.1-build/samba-4.21.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): [#def152]
samba-4.21.1-build/samba-4.21.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): [#def153]
samba-4.21.1-build/samba-4.21.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): [#def154]
samba-4.21.1-build/samba-4.21.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): [#def155]
samba-4.21.1-build/samba-4.21.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): [#def156]
samba-4.21.1-build/samba-4.21.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): [#def157]
samba-4.21.1-build/samba-4.21.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): [#def158]
samba-4.21.1-build/samba-4.21.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): [#def159]
samba-4.21.1-build/samba-4.21.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): [#def160]
samba-4.21.1-build/samba-4.21.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): [#def161]
samba-4.21.1-build/samba-4.21.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): [#def162]
samba-4.21.1-build/samba-4.21.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): [#def163]
samba-4.21.1-build/samba-4.21.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): [#def164]
samba-4.21.1-build/samba-4.21.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): [#def165]
samba-4.21.1-build/samba-4.21.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): [#def166]
samba-4.21.1-build/samba-4.21.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): [#def167]
samba-4.21.1-build/samba-4.21.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): [#def168]
samba-4.21.1-build/samba-4.21.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): [#def169]
samba-4.21.1-build/samba-4.21.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): [#def170]
samba-4.21.1-build/samba-4.21.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): [#def171]
samba-4.21.1-build/samba-4.21.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): [#def172]
samba-4.21.1-build/samba-4.21.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: CPPCHECK_WARNING (CWE-476): [#def173]
samba-4.21.1-build/samba-4.21.1/bin/default/source3/rpc_server/mdssvc/es_lexer.lex.c:1668: warning[nullPointer]: Possible null pointer dereference: b
Error: CPPCHECK_WARNING (CWE-476): [#def174]
samba-4.21.1-build/samba-4.21.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): [#def175]
samba-4.21.1-build/samba-4.21.1/bin/default/source3/rpc_server/mdssvc/es_parser.tab.c: scope_hint: In function ‘mdsyylparse’
samba-4.21.1-build/samba-4.21.1/bin/default/source3/rpc_server/mdssvc/es_parser.tab.c:496:7: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘yyss’
samba-4.21.1-build/samba-4.21.1/bin/default/source3/rpc_server/mdssvc/es_parser.tab.c:481:9: note: in expansion of macro ‘YYCOPY’
samba-4.21.1-build/samba-4.21.1/bin/default/source3/rpc_server/mdssvc/es_parser.tab.c:1289:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
samba-4.21.1-build/samba-4.21.1/bin/default/source3/rpc_server/mdssvc/es_parser.tab.c:481:9: note: in expansion of macro ‘YYCOPY’
samba-4.21.1-build/samba-4.21.1/bin/default/source3/rpc_server/mdssvc/es_parser.tab.c:1289:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
samba-4.21.1-build/samba-4.21.1/bin/default/source3/rpc_server/mdssvc/es_parser.tab.c:481:9: note: in expansion of macro ‘YYCOPY’
samba-4.21.1-build/samba-4.21.1/bin/default/source3/rpc_server/mdssvc/es_parser.tab.c:1289:9: note: in expansion of macro ‘YYSTACK_RELOCATE’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def176]
samba-4.21.1-build/samba-4.21.1/bin/default/source3/rpc_server/mdssvc/es_parser.tab.c:1416:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>.sval’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def177]
samba-4.21.1-build/samba-4.21.1/ctdb/common/ctdb_ltdb.c: scope_hint: In function ‘ctdb_trackingdb_add_pnn’
samba-4.21.1-build/samba-4.21.1/ctdb/common/ctdb_ltdb.c:359:17: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘buf’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-457): [#def178]
samba-4.21.1-build/samba-4.21.1/ctdb/conf/conf_tool.c: scope_hint: In function ‘conf_tool_get’
samba-4.21.1-build/samba-4.21.1/ctdb/conf/conf_tool.c:147:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘i_val’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def179]
samba-4.21.1-build/samba-4.21.1/ctdb/conf/conf_tool.c:151:38: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘b_val’
Error: GCC_ANALYZER_WARNING: [#def180]
samba-4.21.1-build/samba-4.21.1/ctdb/server/ctdb_cluster_mutex.c: scope_hint: In function ‘ctdb_cluster_mutex’
samba-4.21.1-build/samba-4.21.1/ctdb/server/ctdb_cluster_mutex.c:333:17: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘1’
samba-4.21.1-build/samba-4.21.1/ctdb/server/ctdb_cluster_mutex.c:33: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/ctdb/server/ctdb_cluster_mutex.c:286:9: note: in expansion of macro ‘set_close_on_exec’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def181]
samba-4.21.1-build/samba-4.21.1/ctdb/server/ctdb_daemon.c: scope_hint: In function ‘ux_socket_bind’
samba-4.21.1-build/samba-4.21.1/ctdb/server/ctdb_daemon.c:1228:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*ctdb.daemon.sd’
samba-4.21.1-build/samba-4.21.1/ctdb/server/ctdb_daemon.c:36: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/ctdb/server/ctdb_daemon.c:1195:9: note: in expansion of macro ‘set_close_on_exec’
Error: COMPILER_WARNING (CWE-477): [#def182]
samba-4.21.1-build/samba-4.21.1/ctdb/server/ctdb_daemon.c: scope_hint: In function ‘ctdb_start_daemon’
samba-4.21.1-build/samba-4.21.1/ctdb/server/ctdb_daemon.c:1564:9: warning[-Wdeprecated-declarations]: ‘tevent_loop_allow_nesting’ is deprecated
samba-4.21.1-build/samba-4.21.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): [#def183]
samba-4.21.1-build/samba-4.21.1/ctdb/server/ctdb_daemon.c: scope_hint: In function ‘switch_from_server_to_client’
samba-4.21.1-build/samba-4.21.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: GCC_ANALYZER_WARNING (CWE-775): [#def184]
samba-4.21.1-build/samba-4.21.1/ctdb/server/ctdb_lock.c: scope_hint: In function ‘ctdb_lock_schedule’
samba-4.21.1-build/samba-4.21.1/ctdb/server/ctdb_lock.c:779:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor
Error: GCC_ANALYZER_WARNING (CWE-775): [#def185]
samba-4.21.1-build/samba-4.21.1/ctdb/server/ctdb_logging.c: scope_hint: In function ‘ctdb_set_child_logging’
samba-4.21.1-build/samba-4.21.1/ctdb/server/ctdb_logging.c:132:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[0]’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def186]
samba-4.21.1-build/samba-4.21.1/ctdb/server/ctdb_logging.c:132:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘p[1]’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def187]
samba-4.21.1-build/samba-4.21.1/ctdb/server/ctdb_logging.c:147:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(p[1], 1)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def188]
samba-4.21.1-build/samba-4.21.1/ctdb/server/ctdb_logging.c:147:43: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(p[1], 2)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def189]
samba-4.21.1-build/samba-4.21.1/ctdb/server/ctdb_recovery_helper.c: scope_hint: In function ‘node_list_add’
samba-4.21.1-build/samba-4.21.1/ctdb/server/ctdb_recovery_helper.c:120:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘nlist’
Error: COMPILER_WARNING (CWE-477): [#def190]
samba-4.21.1-build/samba-4.21.1/ctdb/server/ctdbd.c: scope_hint: In function ‘main’
samba-4.21.1-build/samba-4.21.1/ctdb/server/ctdbd.c:188:9: warning[-Wdeprecated-declarations]: ‘tevent_loop_allow_nesting’ is deprecated
samba-4.21.1-build/samba-4.21.1/ctdb/server/ctdbd.c:31: included_from: Included from here.
/usr/include/tevent.h:2676:6: note: declared here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def191]
samba-4.21.1-build/samba-4.21.1/ctdb/server/ipalloc_deterministic.c: scope_hint: In function ‘ipalloc_deterministic’
samba-4.21.1-build/samba-4.21.1/ctdb/server/ipalloc_deterministic.c:160:39: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘hn’
samba-4.21.1-build/samba-4.21.1/ctdb/server/ipalloc_deterministic.c:31: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/ctdb/server/ipalloc_deterministic.c:128:9: note: in expansion of macro ‘SAFE_FREE’
samba-4.21.1-build/samba-4.21.1/ctdb/common/logging.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/ctdb/server/ipalloc_deterministic.c:26: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-775): [#def192]
samba-4.21.1-build/samba-4.21.1/ctdb/tcp/tcp_connect.c: scope_hint: In function ‘ctdb_tcp_listen’
samba-4.21.1-build/samba-4.21.1/ctdb/tcp/tcp_connect.c:582:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*<unknown>.listen_fd’
samba-4.21.1-build/samba-4.21.1/ctdb/tcp/tcp_connect.c:30: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/ctdb/tcp/tcp_connect.c:570:9: note: in expansion of macro ‘set_close_on_exec’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def193]
samba-4.21.1-build/samba-4.21.1/ctdb/tools/ctdb.c: scope_hint: In function ‘get_nodemap.part.0’
samba-4.21.1-build/samba-4.21.1/ctdb/tools/ctdb.c:204:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
samba-4.21.1-build/samba-4.21.1/ctdb/tools/ctdb.c: scope_hint: In function ‘get_nodemap.part.0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def194]
samba-4.21.1-build/samba-4.21.1/ctdb/tools/ctdb.c:209:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
samba-4.21.1-build/samba-4.21.1/ctdb/tools/ctdb.c: scope_hint: In function ‘get_nodemap.part.0’
samba-4.21.1-build/samba-4.21.1/ctdb/tools/ctdb.c: scope_hint: In function ‘get_nodemap.part.0’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def195]
samba-4.21.1-build/samba-4.21.1/ctdb/utils/tdb/tdb_mutex_check.c: scope_hint: In function ‘get_hash_chain’
samba-4.21.1-build/samba-4.21.1/ctdb/utils/tdb/tdb_mutex_check.c:69:24: warning[-Wanalyzer-malloc-leak]: leak of ‘key.dptr’
Error: COMPILER_WARNING (CWE-477): [#def196]
samba-4.21.1-build/samba-4.21.1/ctdb/utils/tdb/tdb_mutex_check.c: scope_hint: In function ‘check_one’
samba-4.21.1-build/samba-4.21.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:511: 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.21.1-build/samba-4.21.1/ctdb/utils/tdb/tdb_mutex_check.c:20: included_from: Included from here.
/opt/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/15.0.0/include-fixed/pthread.h:868:12: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def197]
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/testacl.c: scope_hint: In function ‘main’
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/testacl.c:193:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/testacl.c:5: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/bin/default/include/public/libsmbclient.h:1293:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def198]
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/testacl2.c: scope_hint: In function ‘main’
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/testacl2.c:30:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/testacl2.c:5: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/bin/default/include/public/libsmbclient.h:1293:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def199]
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/testacl3.c: scope_hint: In function ‘main’
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/testacl3.c:21:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/testacl3.c:7: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/bin/default/include/public/libsmbclient.h:1293:5: note: declared here
Error: GCC_ANALYZER_WARNING (CWE-401): [#def200]
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/testacl3.c:46:27: warning[-Wanalyzer-malloc-leak]: leak of ‘the_acl’
Error: COMPILER_WARNING (CWE-477): [#def201]
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/testchmod.c: scope_hint: In function ‘main’
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/testchmod.c:37:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/testchmod.c:5: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/bin/default/include/public/libsmbclient.h:1293:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def202]
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/testfstatvfs.c: scope_hint: In function ‘main’
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/testfstatvfs.c:22:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/testfstatvfs.c:8: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/bin/default/include/public/libsmbclient.h:1293:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def203]
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/testnotify.c: scope_hint: In function ‘main’
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/testnotify.c:42:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/testnotify.c:7: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/bin/default/include/public/libsmbclient.h:1293:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def204]
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/testread.c: scope_hint: In function ‘main’
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/testread.c:21:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/testread.c:7: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/bin/default/include/public/libsmbclient.h:1293:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def205]
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/testsmbc.c: scope_hint: In function ‘main’
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/testsmbc.c:42:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/testsmbc.c:29: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/bin/default/include/public/libsmbclient.h:1293:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def206]
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/teststat2.c: scope_hint: In function ‘gettime’
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/teststat2.c:42:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/teststat2.c:1: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/bin/default/include/public/libsmbclient.h:1293:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def207]
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/teststat3.c: scope_hint: In function ‘main’
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/teststat3.c:29:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/teststat3.c:1: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/bin/default/include/public/libsmbclient.h:1293:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def208]
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/teststatvfs.c: scope_hint: In function ‘main’
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/teststatvfs.c:20:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/teststatvfs.c:8: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/bin/default/include/public/libsmbclient.h:1293:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def209]
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/testtruncate.c: scope_hint: In function ‘main’
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/testtruncate.c:27:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/testtruncate.c:6: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/bin/default/include/public/libsmbclient.h:1293:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def210]
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/testutime.c: scope_hint: In function ‘main’
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/testutime.c:42:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/testutime.c:6: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/bin/default/include/public/libsmbclient.h:1293:5: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def211]
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/testwrite.c: scope_hint: In function ‘main’
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/testwrite.c:21:9: warning[-Wdeprecated-declarations]: ‘smbc_init’ is deprecated
samba-4.21.1-build/samba-4.21.1/examples/libsmbclient/testwrite.c:7: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/bin/default/include/public/libsmbclient.h:1293:5: note: declared here
Error: CPPCHECK_WARNING (CWE-457): [#def212]
samba-4.21.1-build/samba-4.21.1/lib/compression/lzxpress_huffman.c:219: warning[uninitvar]: Uninitialized variable: row
Error: CPPCHECK_WARNING (CWE-786): [#def213]
samba-4.21.1-build/samba-4.21.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): [#def214]
samba-4.21.1-build/samba-4.21.1/lib/krb5_wrap/krb5_samba.h:204:24: warning[-Wunused-but-set-variable]: variable ‘key’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def215]
samba-4.21.1-build/samba-4.21.1/lib/krb5_wrap/krb5_samba.h:207:24: warning[-Wunused-variable]: unused variable ‘ptr’
Error: COMPILER_WARNING (CWE-563): [#def216]
samba-4.21.1-build/samba-4.21.1/lib/krb5_wrap/krb5_samba.h:208:18: warning[-Wunused-variable]: unused variable ‘len’
Error: COMPILER_WARNING (CWE-563): [#def217]
samba-4.21.1-build/samba-4.21.1/lib/krb5_wrap/gss_samba.h:28: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/krb5_wrap/gss_samba.c:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/krb5_wrap/krb5_samba.h: scope_hint: In function ‘samba_trace_keytab_entry’
samba-4.21.1-build/samba-4.21.1/lib/krb5_wrap/krb5_samba.h:209:13: warning[-Wunused-variable]: unused variable ‘i’
Error: COMPILER_WARNING (CWE-477): [#def218]
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb.c: scope_hint: In function ‘ldb_init’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb.c:121:17: warning[-Wdeprecated-declarations]: ‘tevent_loop_allow_nesting’ is deprecated
samba-4.21.1-build/samba-4.21.1/lib/ldb/include/ldb.h:51: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/ldb/include/ldb_private.h:43: included_from: Included from here.
samba-4.21.1-build/samba-4.21.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): [#def219]
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb.c: scope_hint: In function ‘ldb_handle_new’
samba-4.21.1-build/samba-4.21.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: GCC_ANALYZER_WARNING (CWE-476): [#def220]
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:731:51: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:64:10: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:66:20: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:69:21: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:562:33: note: in expansion of macro ‘PULL_LE_U32’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def221]
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c: scope_hint: In function ‘ldb_unpack_data_flags_v1’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:731:51: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ldb_val_single_array’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:64:10: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:66:20: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:69:21: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:562:33: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/lib/ldb/include/ldb.h:50: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/ldb/include/ldb_private.h:43: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:34: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def222]
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c: scope_hint: In function ‘ldb_unpack_data_flags_v2’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:973:59: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:64:10: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:66:20: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:69:21: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:794:33: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:64:10: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:66:20: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:69:21: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:826:15: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:64:10: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:66:20: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:69:21: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:885:17: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:64:10: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:66:20: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:69:21: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:903:28: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:64:10: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:973:61: note: in expansion of macro ‘PULL_LE_U8’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def223]
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:973:59: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ldb_val_single_array’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:64:10: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:66:20: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:69:21: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:794:33: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:64:10: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:66:20: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:69:21: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:826:15: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:64:10: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:66:20: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:69:21: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:885:17: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:64:10: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:66:20: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:69:21: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:903:28: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:64:10: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:973:61: note: in expansion of macro ‘PULL_LE_U8’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def224]
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:978:59: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:64:10: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:66:20: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:69:21: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:794:33: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:64:10: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:66:20: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:69:21: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:826:15: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:64:10: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:66:20: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:69:21: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:885:17: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:64:10: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:66:20: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:69:21: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:903:28: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:64:10: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:66:20: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:978:61: note: in expansion of macro ‘PULL_LE_U16’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def225]
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:978:59: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ldb_val_single_array’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:64:10: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:66:20: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:69:21: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:794:33: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:64:10: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:66:20: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:69:21: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:826:15: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:64:10: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:66:20: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:69:21: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:885:17: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:64:10: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:66:20: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:69:21: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:903:28: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:64:10: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:66:20: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:978:61: note: in expansion of macro ‘PULL_LE_U16’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def226]
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:983:59: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:64:10: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:66:20: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:69:21: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:794:33: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:64:10: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:66:20: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:69:21: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:826:15: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:64:10: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:66:20: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:69:21: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:885:17: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:64:10: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:66:20: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:69:21: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:903:28: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:64:10: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:66:20: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:69:21: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:983:61: note: in expansion of macro ‘PULL_LE_U32’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def227]
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:983:59: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ldb_val_single_array’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:64:10: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:66:20: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:69:21: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:794:33: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:64:10: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:66:20: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:69:21: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:826:15: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:64:10: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:66:20: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:69:21: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:885:17: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:64:10: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:66:20: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:69:21: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:903:28: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:64:10: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:66:20: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:69:21: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:983:61: note: in expansion of macro ‘PULL_LE_U32’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def228]
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:992:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*element.values’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:64:10: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:66:20: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:69:21: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:794:33: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:64:10: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:66:20: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:69:21: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:826:15: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:64:10: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:66:20: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:69:21: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:885:17: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:64:10: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:66:20: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:69:21: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:903:28: note: in expansion of macro ‘PULL_LE_U32’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def229]
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:992:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ldb_val_single_array’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:64:10: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:66:20: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:69:21: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:794:33: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:64:10: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:66:20: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:69:21: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:826:15: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:64:10: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:66:20: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:69:21: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:885:17: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:64:10: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:66:20: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:69:21: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:903:28: note: in expansion of macro ‘PULL_LE_U32’
Error: CPPCHECK_WARNING (CWE-457): [#def230]
samba-4.21.1-build/samba-4.21.1/lib/ldb/common/ldb_pack.c:1167: warning[uninitvar]: Uninitialized variable: i
Error: GCC_ANALYZER_WARNING (CWE-476): [#def231]
samba-4.21.1-build/samba-4.21.1/lib/ldb/ldb_map/ldb_map_outbound.c: scope_hint: In function ‘map_attrs_collect_remote’
samba-4.21.1-build/samba-4.21.1/lib/ldb/ldb_map/ldb_map_outbound.c:96:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘attrs’
samba-4.21.1-build/samba-4.21.1/lib/ldb/include/ldb.h:50: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/ldb/include/ldb_module.h:36: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/ldb/ldb_map/ldb_map.h:29: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/ldb/ldb_map/ldb_map_outbound.c:31: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-457): [#def232]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_kv_ops_test.c: scope_hint: In function ‘test_write_transaction_isolation’
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_kv_ops_test.c:1122:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘to_child[1]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def233]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_kv_ops_test.c:1123:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘to_parent[0]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def234]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_kv_ops_test.c:1320:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘to_child[0]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def235]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_kv_ops_test.c:1321:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘to_parent[1]’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def236]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_kv_ops_test.c: scope_hint: In function ‘test_write_transaction_isolation’
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_kv_ops_test.c:1373:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to_child[1]’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def237]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_kv_ops_test.c:1373:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to_parent[0]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def238]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_kv_ops_test.c: scope_hint: In function ‘test_delete_transaction_isolation’
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_kv_ops_test.c:1448:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘to_child[1]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def239]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_kv_ops_test.c:1449:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘to_parent[0]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def240]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_kv_ops_test.c:1632:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘to_child[0]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def241]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_kv_ops_test.c:1633:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘to_parent[1]’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def242]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_kv_ops_test.c: scope_hint: In function ‘test_delete_transaction_isolation’
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_kv_ops_test.c:1681:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to_child[1]’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def243]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_kv_ops_test.c:1681:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘to_parent[0]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def244]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_lmdb_free_list_test.c: scope_hint: In function ‘test_free_list_no_read_lock’
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_lmdb_free_list_test.c:254:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘to_child[1]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def245]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_lmdb_free_list_test.c:255:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘to_parent[0]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def246]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_lmdb_free_list_test.c:303:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘to_child[0]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def247]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_lmdb_free_list_test.c:304:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘to_parent[1]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def248]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_lmdb_free_list_test.c: scope_hint: In function ‘test_free_list_read_lock’
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_lmdb_free_list_test.c:397:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘to_child[1]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def249]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_lmdb_free_list_test.c:398:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘to_parent[0]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def250]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_lmdb_free_list_test.c:465:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘to_child[0]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def251]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_lmdb_free_list_test.c:466:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘to_parent[1]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def252]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_lmdb_free_list_test.c: scope_hint: In function ‘test_free_list_stale_reader’
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_lmdb_free_list_test.c:546:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘to_child[1]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def253]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_lmdb_free_list_test.c:547:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘to_parent[0]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def254]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_lmdb_free_list_test.c:579:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘to_child[0]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def255]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_lmdb_free_list_test.c:580:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘to_parent[1]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def256]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_lmdb_test.c:514:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[0]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def257]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_lmdb_test.c:540:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[1]’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def258]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_lmdb_test.c: scope_hint: In function ‘test_multiple_opens_across_fork’
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_lmdb_test.c:550:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipes[0]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def259]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_mod_op_test.c:1598:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[1]’
Error: COMPILER_WARNING (CWE-477): [#def260]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_mod_op_test.c: scope_hint: In function ‘test_ldb_search_against_transaction’
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_mod_op_test.c:1646:9: warning[-Wdeprecated-declarations]: ‘tevent_loop_allow_nesting’ is deprecated
samba-4.21.1-build/samba-4.21.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: GCC_ANALYZER_WARNING (CWE-457): [#def261]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_mod_op_test.c:1915:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[1]’
Error: COMPILER_WARNING (CWE-477): [#def262]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_mod_op_test.c: scope_hint: In function ‘test_ldb_modify_during_search’
samba-4.21.1-build/samba-4.21.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: GCC_ANALYZER_WARNING (CWE-457): [#def263]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_mod_op_test.c:2153:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[1]’
Error: COMPILER_WARNING (CWE-477): [#def264]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_mod_op_test.c: scope_hint: In function ‘test_ldb_modify_during_whole_search’
samba-4.21.1-build/samba-4.21.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: GCC_ANALYZER_WARNING (CWE-457): [#def265]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_mod_op_test.c: scope_hint: In function ‘test_ldb_modify_before_ldb_wait’
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_mod_op_test.c:2366:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[0]’
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_mod_op_test.c:22: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-457): [#def266]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_mod_op_test.c:2435:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[1]’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def267]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_mod_op_test.c: scope_hint: In function ‘test_ldb_modify_before_ldb_wait’
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_mod_op_test.c:2490:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipes[0]’
Error: COMPILER_WARNING (CWE-477): [#def268]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_mod_op_test.c: scope_hint: In function ‘test_ldb_callback_modify_during_search’
samba-4.21.1-build/samba-4.21.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: GCC_ANALYZER_WARNING (CWE-457): [#def269]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_mod_op_test.c:4149:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[0]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def270]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_mod_op_test.c:4198:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[1]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def271]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_mod_op_test.c: scope_hint: In function ‘test_transaction_start_across_fork’
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_mod_op_test.c:4279:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[0]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def272]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_mod_op_test.c:4298:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[1]’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def273]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_mod_op_test.c: scope_hint: In function ‘test_transaction_start_across_fork’
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_mod_op_test.c:4308:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipes[0]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def274]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_mod_op_test.c: scope_hint: In function ‘test_transaction_commit_across_fork’
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_mod_op_test.c:4337:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[0]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def275]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_mod_op_test.c:4357:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[1]’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def276]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_mod_op_test.c: scope_hint: In function ‘test_transaction_commit_across_fork’
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_mod_op_test.c:4367:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipes[0]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def277]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_mod_op_test.c: scope_hint: In function ‘test_lock_read_across_fork’
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_mod_op_test.c:4396:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[0]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def278]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_mod_op_test.c:4425:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[1]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def279]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_mod_op_test.c: scope_hint: In function ‘test_multiple_opens_across_fork’
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_mod_op_test.c:4491:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[0]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def280]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_mod_op_test.c:4508:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[1]’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def281]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_mod_op_test.c: scope_hint: In function ‘test_multiple_opens_across_fork’
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_mod_op_test.c:4518:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipes[0]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def282]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_tdb_test.c: scope_hint: In function ‘test_multiple_opens_across_fork’
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_tdb_test.c:246:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[0]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def283]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_tdb_test.c:272:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[1]’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def284]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_tdb_test.c: scope_hint: In function ‘test_multiple_opens_across_fork’
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_tdb_test.c:282:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipes[0]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def285]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_tdb_test.c: scope_hint: In function ‘test_multiple_opens_across_fork_triggers_reopen’
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_tdb_test.c:331:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[0]’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def286]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_tdb_test.c:359:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘pipes[1]’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def287]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_tdb_test.c: scope_hint: In function ‘test_multiple_opens_across_fork_triggers_reopen’
samba-4.21.1-build/samba-4.21.1/lib/ldb/tests/ldb_tdb_test.c:369:1: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipes[0]’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def288]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tools/ldbtest.c: scope_hint: In function ‘start_test_index’
samba-4.21.1-build/samba-4.21.1/lib/ldb/tools/ldbtest.c:335:13: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup("uid")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def289]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tools/ldbtest.c:346:39: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup("test")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def290]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tools/ldbtest.c:347:40: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup("test")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def291]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tools/ldbtest.c:348:48: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup("test")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def292]
samba-4.21.1-build/samba-4.21.1/lib/ldb/tools/ldbtest.c:350:13: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup("OpenLDAPperson")’
Error: GCC_ANALYZER_WARNING: [#def293]
samba-4.21.1-build/samba-4.21.1/lib/pthreadpool/pthreadpool_pipe.c: scope_hint: In function ‘pthreadpool_pipe_reinit’
samba-4.21.1-build/samba-4.21.1/lib/pthreadpool/pthreadpool_pipe.c:134:15: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘signal_fd’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def294]
samba-4.21.1-build/samba-4.21.1/lib/pthreadpool/pthreadpool_pipe.c:139:27: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*pool.pipe_fds[0]’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def295]
samba-4.21.1-build/samba-4.21.1/source4/torture/masktest.c:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/torture/masktest.c: scope_hint: In function ‘reg_match_one’
samba-4.21.1-build/samba-4.21.1/lib/replace/system/dir.h:65:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘file’
samba-4.21.1-build/samba-4.21.1/source4/torture/masktest.c:50:13: note: in expansion of macro ‘ISDOTDOT’
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/torture/masktest.c:20: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/source4/torture/masktest.c:410:9: note: in expansion of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/source4/torture/masktest.c:50:13: note: in expansion of macro ‘ISDOTDOT’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def296]
samba-4.21.1-build/samba-4.21.1/lib/replace/tests/os2_delete.c: scope_hint: In function ‘test_readdir_os2_delete’
samba-4.21.1-build/samba-4.21.1/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.21.1-build/samba-4.21.1/lib/replace/tests/os2_delete.c:11: included_from: Included from here.
/usr/include/dirent.h:164:23: note: argument 1 of ‘readdir’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def297]
samba-4.21.1-build/samba-4.21.1/lib/replace/tests/testsuite.c: scope_hint: In function ‘test_strdup’
samba-4.21.1-build/samba-4.21.1/lib/replace/tests/testsuite.c:172:15: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘x’ where non-null expected
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:176: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/replace/tests/testsuite.c:26: included_from: Included from here.
/usr/include/string.h:156:12: note: argument 2 of ‘strcmp’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def298]
samba-4.21.1-build/samba-4.21.1/lib/replace/tests/testsuite.c: scope_hint: In function ‘test_strndup’
samba-4.21.1-build/samba-4.21.1/lib/replace/tests/testsuite.c:271:15: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘x’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def299]
samba-4.21.1-build/samba-4.21.1/lib/replace/tests/testsuite.c:279:15: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘x’ where non-null expected
/usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-775): [#def300]
samba-4.21.1-build/samba-4.21.1/lib/replace/tests/testsuite.c: scope_hint: In function ‘test_closefrom’
samba-4.21.1-build/samba-4.21.1/lib/replace/tests/testsuite.c:1114:25: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd’
Error: COMPILER_WARNING (CWE-477): [#def301]
samba-4.21.1-build/samba-4.21.1/lib/talloc/testsuite.c: scope_hint: In function ‘test_memlimit’
samba-4.21.1-build/samba-4.21.1/lib/talloc/testsuite.c:1628:9: warning[-Wdeprecated-declarations]: ‘talloc_set_memlimit’ is deprecated
samba-4.21.1-build/samba-4.21.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): [#def302]
samba-4.21.1-build/samba-4.21.1/lib/talloc/testsuite.c:1688:9: warning[-Wdeprecated-declarations]: ‘talloc_set_memlimit’ is deprecated
/usr/include/talloc.h:1951:14: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def303]
samba-4.21.1-build/samba-4.21.1/lib/talloc/testsuite.c:1701:9: warning[-Wdeprecated-declarations]: ‘talloc_set_memlimit’ is deprecated
/usr/include/talloc.h:1951:14: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def304]
samba-4.21.1-build/samba-4.21.1/lib/talloc/testsuite.c:1735:9: warning[-Wdeprecated-declarations]: ‘talloc_set_memlimit’ is deprecated
/usr/include/talloc.h:1951:14: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def305]
samba-4.21.1-build/samba-4.21.1/lib/talloc/testsuite.c:1768:9: warning[-Wdeprecated-declarations]: ‘talloc_set_memlimit’ is deprecated
/usr/include/talloc.h:1951:14: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def306]
samba-4.21.1-build/samba-4.21.1/lib/talloc/testsuite.c:1821:9: warning[-Wdeprecated-declarations]: ‘talloc_set_memlimit’ is deprecated
/usr/include/talloc.h:1951:14: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def307]
samba-4.21.1-build/samba-4.21.1/lib/talloc/testsuite.c:1833:9: warning[-Wdeprecated-declarations]: ‘talloc_set_memlimit’ is deprecated
/usr/include/talloc.h:1951:14: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def308]
samba-4.21.1-build/samba-4.21.1/lib/talloc/testsuite.c:1871:9: warning[-Wdeprecated-declarations]: ‘talloc_set_memlimit’ is deprecated
/usr/include/talloc.h:1951:14: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def309]
samba-4.21.1-build/samba-4.21.1/lib/talloc/testsuite.c:1892:9: warning[-Wdeprecated-declarations]: ‘talloc_set_memlimit’ is deprecated
/usr/include/talloc.h:1951:14: note: declared here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def310]
samba-4.21.1-build/samba-4.21.1/lib/tdb/common/mutex.c:845:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe_down[0]’
samba-4.21.1-build/samba-4.21.1/lib/tdb/common/mutex.c: scope_hint: In function ‘tdb_runtime_check_for_robust_mutexes’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def311]
samba-4.21.1-build/samba-4.21.1/ctdb/utils/tdb/tdb_mutex_check.c:31: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/tdb/common/mutex.c: scope_hint: In function ‘tdb_runtime_check_for_robust_mutexes’
samba-4.21.1-build/samba-4.21.1/lib/tdb/common/mutex.c:845:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe_down[1]’
samba-4.21.1-build/samba-4.21.1/lib/tdb/common/tdb_private.h:34: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/ctdb/utils/tdb/tdb_mutex_check.c:30: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/tdb/common/mutex.c: scope_hint: In function ‘tdb_runtime_check_for_robust_mutexes’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def312]
samba-4.21.1-build/samba-4.21.1/lib/tdb/common/mutex.c:845:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe_up[0]’
samba-4.21.1-build/samba-4.21.1/lib/tdb/common/mutex.c: scope_hint: In function ‘tdb_runtime_check_for_robust_mutexes’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def313]
samba-4.21.1-build/samba-4.21.1/lib/tdb/common/mutex.c:845:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘pipe_up[1]’
samba-4.21.1-build/samba-4.21.1/lib/tdb/common/mutex.c: scope_hint: In function ‘tdb_runtime_check_for_robust_mutexes’
Error: COMPILER_WARNING (CWE-477): [#def314]
samba-4.21.1-build/samba-4.21.1/lib/tevent/testsuite.c: scope_hint: In function ‘test_wrapper’
samba-4.21.1-build/samba-4.21.1/lib/tevent/testsuite.c:1716:9: warning[-Wdeprecated-declarations]: ‘_tevent_context_wrapper_create’ is deprecated
samba-4.21.1-build/samba-4.21.1/lib/tevent/testsuite.c:29: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/tevent/tevent.h:2875:24: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def315]
samba-4.21.1-build/samba-4.21.1/lib/tevent/testsuite.c:1760:9: warning[-Wdeprecated-declarations]: ‘_tevent_context_push_use’ is deprecated
samba-4.21.1-build/samba-4.21.1/lib/tevent/tevent.h:2954:6: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def316]
samba-4.21.1-build/samba-4.21.1/lib/tevent/testsuite.c:1762:9: warning[-Wdeprecated-declarations]: ‘_tevent_context_push_use’ is deprecated
samba-4.21.1-build/samba-4.21.1/lib/tevent/tevent.h:2954:6: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def317]
samba-4.21.1-build/samba-4.21.1/lib/tevent/testsuite.c:1764:9: warning[-Wdeprecated-declarations]: ‘_tevent_context_pop_use’ is deprecated
samba-4.21.1-build/samba-4.21.1/lib/tevent/tevent.h:2983:6: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def318]
samba-4.21.1-build/samba-4.21.1/lib/tevent/testsuite.c:1765:9: warning[-Wdeprecated-declarations]: ‘_tevent_context_pop_use’ is deprecated
samba-4.21.1-build/samba-4.21.1/lib/tevent/tevent.h:2983:6: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def319]
samba-4.21.1-build/samba-4.21.1/lib/tevent/testsuite.c:1794:9: warning[-Wdeprecated-declarations]: ‘_tevent_context_pop_use’ is deprecated
samba-4.21.1-build/samba-4.21.1/lib/tevent/tevent.h:2983:6: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def320]
samba-4.21.1-build/samba-4.21.1/lib/tevent/testsuite.c: scope_hint: In function ‘test_free_wrapper’
samba-4.21.1-build/samba-4.21.1/lib/tevent/testsuite.c:1889:9: warning[-Wdeprecated-declarations]: ‘_tevent_context_wrapper_create’ is deprecated
samba-4.21.1-build/samba-4.21.1/lib/tevent/tevent.h:2875:24: note: declared here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def321]
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/ioctl.c:26: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/ioctl.c: scope_hint: In function ‘test_ioctl_compress_file_flag’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:274:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘compression_fmt’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/ioctl.c:2413:9: note: in expansion of macro ‘torture_assert’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/ioctl.c:2399:9: note: in expansion of macro ‘torture_assert’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:826:17: note: in expansion of macro ‘torture_assert_ntstatus_equal’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/ioctl.c:2403:9: note: in expansion of macro ‘torture_assert_ntstatus_ok’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:826:17: note: in expansion of macro ‘torture_assert_ntstatus_equal’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/ioctl.c:2411:9: note: in expansion of macro ‘torture_assert_ntstatus_ok’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/ioctl.c:2413:9: note: in expansion of macro ‘torture_assert’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/ioctl.c:2413:9: note: in expansion of macro ‘torture_assert’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def322]
samba-4.21.1-build/samba-4.21.1/source4/torture/basic/delaywrite.c:25: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/torture/basic/delaywrite.c: scope_hint: In function ‘test_delayed_write_update’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:663:23: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘finfo2.basic_info.out.write_time’
samba-4.21.1-build/samba-4.21.1/source4/torture/basic/delaywrite.c:103:9: note: in expansion of macro ‘torture_assert_u64_not_equal’
samba-4.21.1-build/samba-4.21.1/source4/torture/basic/delaywrite.c:53:9: note: in expansion of macro ‘torture_assert’
samba-4.21.1-build/samba-4.21.1/source4/torture/basic/delaywrite.c:56:9: note: in expansion of macro ‘torture_assert_int_not_equal’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:826:17: note: in expansion of macro ‘torture_assert_ntstatus_equal’
samba-4.21.1-build/samba-4.21.1/source4/torture/basic/delaywrite.c:64:9: note: in expansion of macro ‘torture_assert_ntstatus_ok’
samba-4.21.1-build/samba-4.21.1/source4/torture/basic/delaywrite.c:70:9: note: in expansion of macro ‘torture_assert_int_equal’
samba-4.21.1-build/samba-4.21.1/source4/torture/basic/delaywrite.c:103:9: note: in expansion of macro ‘torture_assert_u64_not_equal’
samba-4.21.1-build/samba-4.21.1/source4/torture/basic/delaywrite.c:103:9: note: in expansion of macro ‘torture_assert_u64_not_equal’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def323]
samba-4.21.1-build/samba-4.21.1/source4/torture/basic/delaywrite.c: scope_hint: In function ‘test_delayed_write_update1’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:663:38: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘finfo3.all_info.out.write_time’
samba-4.21.1-build/samba-4.21.1/source4/torture/basic/delaywrite.c:260:9: note: in expansion of macro ‘torture_assert_u64_not_equal’
samba-4.21.1-build/samba-4.21.1/source4/torture/basic/delaywrite.c:137:9: note: in expansion of macro ‘torture_assert’
samba-4.21.1-build/samba-4.21.1/source4/torture/basic/delaywrite.c:140:9: note: in expansion of macro ‘torture_assert_int_not_equal’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:826:17: note: in expansion of macro ‘torture_assert_ntstatus_equal’
samba-4.21.1-build/samba-4.21.1/source4/torture/basic/delaywrite.c:159:9: note: in expansion of macro ‘torture_assert_ntstatus_ok’
samba-4.21.1-build/samba-4.21.1/source4/torture/basic/delaywrite.c:161:9: note: in expansion of macro ‘torture_assert_u64_equal’
samba-4.21.1-build/samba-4.21.1/source4/torture/basic/delaywrite.c:161:9: note: in expansion of macro ‘torture_assert_u64_equal’
samba-4.21.1-build/samba-4.21.1/source4/torture/basic/delaywrite.c:173:9: note: in expansion of macro ‘torture_assert_int_equal’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:826:17: note: in expansion of macro ‘torture_assert_ntstatus_equal’
samba-4.21.1-build/samba-4.21.1/source4/torture/basic/delaywrite.c:183:17: note: in expansion of macro ‘torture_assert_ntstatus_ok’
samba-4.21.1-build/samba-4.21.1/source4/torture/basic/delaywrite.c:185:17: note: in expansion of macro ‘torture_assert_u64_equal’
samba-4.21.1-build/samba-4.21.1/source4/torture/basic/delaywrite.c:185:17: note: in expansion of macro ‘torture_assert_u64_equal’
samba-4.21.1-build/samba-4.21.1/source4/torture/basic/delaywrite.c:204:9: note: in expansion of macro ‘torture_assert’
samba-4.21.1-build/samba-4.21.1/source4/torture/basic/delaywrite.c:207:9: note: in expansion of macro ‘torture_assert’
samba-4.21.1-build/samba-4.21.1/source4/torture/basic/delaywrite.c:207:9: note: in expansion of macro ‘torture_assert’
samba-4.21.1-build/samba-4.21.1/source4/torture/basic/delaywrite.c:218:9: note: in expansion of macro ‘torture_assert_int_equal’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:826:17: note: in expansion of macro ‘torture_assert_ntstatus_equal’
samba-4.21.1-build/samba-4.21.1/source4/torture/basic/delaywrite.c:258:9: note: in expansion of macro ‘torture_assert_ntstatus_ok’
samba-4.21.1-build/samba-4.21.1/source4/torture/basic/delaywrite.c:260:9: note: in expansion of macro ‘torture_assert_u64_not_equal’
samba-4.21.1-build/samba-4.21.1/source4/torture/basic/delaywrite.c:260:9: note: in expansion of macro ‘torture_assert_u64_not_equal’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def324]
samba-4.21.1-build/samba-4.21.1/lib/util/byteorder.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/samba_util.h:49: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:62: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/lib/registry/regf.c: scope_hint: In function ‘regf_set_value’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:26:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:36:6: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:41:16: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:46:17: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/util/byteorder.h:111:23: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/source4/lib/registry/regf.c:1885:41: note: in expansion of macro ‘IVAL’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/source4/lib/registry/regf.c:116:17: note: in expansion of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:26:43: note: in definition of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:41:16: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:46:17: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/util/byteorder.h:111:23: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/source4/lib/registry/regf.c:1885:41: note: in expansion of macro ‘IVAL’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:36:6: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:41:16: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:46:17: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/util/byteorder.h:111:23: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/source4/lib/registry/regf.c:1885:41: note: in expansion of macro ‘IVAL’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:36:6: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:41:16: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:46:17: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/util/byteorder.h:111:23: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/source4/lib/registry/regf.c:1885:41: note: in expansion of macro ‘IVAL’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def325]
samba-4.21.1-build/samba-4.21.1/lib/util/byteorder.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/samba_util.h:49: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:240: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/registry/reg_parse_prs.c:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/registry/reg_parse_prs.c: scope_hint: In function ‘prs_uint32’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:115:29: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*data32’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:105:41: note: in definition of macro ‘PUSH_BE_U8’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:115:6: note: in expansion of macro ‘PUSH_BE_U16’
samba-4.21.1-build/samba-4.21.1/lib/util/byteorder.h:158:29: note: in expansion of macro ‘PUSH_BE_U32’
samba-4.21.1-build/samba-4.21.1/source3/registry/reg_parse_prs.c:386:25: note: in expansion of macro ‘RSIVAL’
samba-4.21.1-build/samba-4.21.1/source3/registry/reg_parse_prs.c:24: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/registry/reg_parse_prs.c:379:13: note: in expansion of macro ‘UNMARSHALLING’
samba-4.21.1-build/samba-4.21.1/source3/registry/reg_parse_prs.c:379:13: note: in expansion of macro ‘UNMARSHALLING’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:105:41: note: in definition of macro ‘PUSH_BE_U8’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:115:6: note: in expansion of macro ‘PUSH_BE_U16’
samba-4.21.1-build/samba-4.21.1/lib/util/byteorder.h:158:29: note: in expansion of macro ‘PUSH_BE_U32’
samba-4.21.1-build/samba-4.21.1/source3/registry/reg_parse_prs.c:386:25: note: in expansion of macro ‘RSIVAL’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:105:41: note: in definition of macro ‘PUSH_BE_U8’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:115:6: note: in expansion of macro ‘PUSH_BE_U16’
samba-4.21.1-build/samba-4.21.1/lib/util/byteorder.h:158:29: note: in expansion of macro ‘PUSH_BE_U32’
samba-4.21.1-build/samba-4.21.1/source3/registry/reg_parse_prs.c:386:25: note: in expansion of macro ‘RSIVAL’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def326]
samba-4.21.1-build/samba-4.21.1/lib/util/charset/codepoints.c: scope_hint: In function ‘charset_name’
samba-4.21.1-build/samba-4.21.1/lib/util/charset/codepoints.c:16548:32: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ic’
samba-4.21.1-build/samba-4.21.1/lib/util/charset/charset.h:28: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/charset/codepoints.c:24: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def327]
samba-4.21.1-build/samba-4.21.1/lib/util/charset/codepoints.c:16549:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ic’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def328]
samba-4.21.1-build/samba-4.21.1/lib/util/charset/codepoints.c: scope_hint: In function ‘get_conv_handle.part.0’
samba-4.21.1-build/samba-4.21.1/lib/util/charset/codepoints.c:16643:58: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ic’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def329]
samba-4.21.1-build/samba-4.21.1/lib/util/charset/tests/iconv.c: scope_hint: In function ‘iconv_untestable’
samba-4.21.1-build/samba-4.21.1/lib/util/charset/tests/iconv.c:40:12: warning[-Wanalyzer-malloc-leak]: leak of ‘iconv_open("UTF-16LE", "UCS-4LE")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def330]
samba-4.21.1-build/samba-4.21.1/lib/util/charset/tests/iconv.c:45:12: warning[-Wanalyzer-malloc-leak]: leak of ‘iconv_open("UTF-16LE", "CP850")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def331]
samba-4.21.1-build/samba-4.21.1/lib/util/charset/tests/iconv.c: scope_hint: In function ‘gen_codepoint_utf16’
samba-4.21.1-build/samba-4.21.1/lib/util/charset/tests/iconv.c:65:28: warning[-Wanalyzer-malloc-leak]: leak of ‘cd’
Error: CPPCHECK_WARNING (CWE-457): [#def332]
samba-4.21.1-build/samba-4.21.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): [#def333]
samba-4.21.1-build/samba-4.21.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): [#def334]
samba-4.21.1-build/samba-4.21.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): [#def335]
samba-4.21.1-build/samba-4.21.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): [#def336]
samba-4.21.1-build/samba-4.21.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): [#def337]
samba-4.21.1-build/samba-4.21.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): [#def338]
samba-4.21.1-build/samba-4.21.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): [#def339]
samba-4.21.1-build/samba-4.21.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): [#def340]
samba-4.21.1-build/samba-4.21.1/lib/util/charset/util_unistr_w.c:228: error[uninitvar]: Uninitialized variable: ret
Error: GCC_ANALYZER_WARNING: [#def341]
samba-4.21.1-build/samba-4.21.1/lib/util/close_low_fd.c: scope_hint: In function ‘close_low_fd’
samba-4.21.1-build/samba-4.21.1/lib/util/close_low_fd.c:68:15: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘fd’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def342]
samba-4.21.1-build/samba-4.21.1/lib/util/close_low_fd.c:74:9: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ret’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def343]
samba-4.21.1-build/samba-4.21.1/ctdb/server/ctdb_daemon.c:20: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:199:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*ctdb.daemon.sd’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:304:33: note: in expansion of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/ctdb/server/ctdb_daemon.c:1234:9: note: in expansion of macro ‘D_NOTICE’
samba-4.21.1-build/samba-4.21.1/ctdb/server/ctdb_daemon.c:1195:9: note: in expansion of macro ‘set_close_on_exec’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:304:33: note: in expansion of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/ctdb/server/ctdb_daemon.c:1234:9: note: in expansion of macro ‘D_NOTICE’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:304:33: note: in expansion of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/ctdb/server/ctdb_daemon.c:1234:9: note: in expansion of macro ‘D_NOTICE’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def344]
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:61: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/dsdb/common/util.c: scope_hint: In function ‘samdb_set_password_sid’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:201:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘user_msg’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/common/util.c:2782:17: note: in expansion of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/common/util.c:2782:17: note: in expansion of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:201:20: note: in definition of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:201:20: note: in definition of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/common/util.c:2782:17: note: in expansion of macro ‘DEBUG’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def345]
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:237: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/rpc_client/cli_winreg_spoolss.c:22: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/rpc_client/cli_winreg_spoolss.c: scope_hint: In function ‘winreg_get_printer’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:201:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘v’
samba-4.21.1-build/samba-4.21.1/source3/rpc_client/cli_winreg_spoolss.c:1705:17: note: in expansion of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/libcli/util/error.h:22: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:254: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/libcli/util/werror.h:44:27: note: in expansion of macro ‘W_ERROR_V’
samba-4.21.1-build/samba-4.21.1/source3/rpc_client/cli_winreg_spoolss.c:1704:14: note: in expansion of macro ‘W_ERROR_IS_OK’
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/source3/rpc_client/cli_winreg_spoolss.c:1705:17: note: in expansion of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/source3/rpc_client/cli_winreg_spoolss.c:1705:17: note: in expansion of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/source3/rpc_client/cli_winreg_spoolss.c:1705:17: note: in expansion of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/source3/rpc_client/cli_winreg_spoolss.c:1705:17: note: in expansion of macro ‘DEBUG’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def346]
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:250:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:286:33: note: in expansion of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smbXsrv_open.c:291:9: note: in expansion of macro ‘DBG_WARNING’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:286:33: note: in expansion of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smbXsrv_open.c:291:9: note: in expansion of macro ‘DBG_WARNING’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:286:33: note: in expansion of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smbXsrv_open.c:291:9: note: in expansion of macro ‘DBG_WARNING’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:286:33: note: in expansion of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smbXsrv_open.c:291:9: note: in expansion of macro ‘DBG_WARNING’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:286:33: note: in expansion of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smbXsrv_open.c:291:9: note: in expansion of macro ‘DBG_WARNING’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def347]
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:237: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/librpc/crypto/gse.c:24: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/librpc/crypto/gse.c: scope_hint: In function ‘gensec_gse_client_prepare_ccache’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:250:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ccache’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:288:33: note: in expansion of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source3/librpc/crypto/gse.c:1001:9: note: in expansion of macro ‘DBG_INFO’
samba-4.21.1-build/samba-4.21.1/lib/util/charset/charset.h:28: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/samba_util.h:25: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:240: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:288:33: note: in expansion of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source3/librpc/crypto/gse.c:1001:9: note: in expansion of macro ‘DBG_INFO’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:250:29: note: in definition of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source3/librpc/crypto/gse.c:1001:9: note: in expansion of macro ‘DBG_INFO’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:250:29: note: in definition of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source3/librpc/crypto/gse.c:1001:9: note: in expansion of macro ‘DBG_INFO’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:288:33: note: in expansion of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source3/librpc/crypto/gse.c:1001:9: note: in expansion of macro ‘DBG_INFO’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def348]
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:237: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/smbd/smbXsrv_open.c:22: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/smbd/smbXsrv_open.c: scope_hint: In function ‘smbXsrv_open_global_verify_record’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:250:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘global0’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:286:33: note: in expansion of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smbXsrv_open.c:291:9: note: in expansion of macro ‘DBG_WARNING’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smbXsrv_open.h:24: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/smbd/smbXsrv_open.c:21: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:286:33: note: in expansion of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smbXsrv_open.c:291:9: note: in expansion of macro ‘DBG_WARNING’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:286:33: note: in expansion of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smbXsrv_open.c:291:9: note: in expansion of macro ‘DBG_WARNING’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:286:33: note: in expansion of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smbXsrv_open.c:291:9: note: in expansion of macro ‘DBG_WARNING’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:286:33: note: in expansion of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smbXsrv_open.c:291:9: note: in expansion of macro ‘DBG_WARNING’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def349]
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:250:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘global’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:289:33: note: in expansion of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smbXsrv_open.c:1454:17: note: in expansion of macro ‘DBG_DEBUG’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:289:33: note: in expansion of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smbXsrv_open.c:1454:17: note: in expansion of macro ‘DBG_DEBUG’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:289:33: note: in expansion of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smbXsrv_open.c:1454:17: note: in expansion of macro ‘DBG_DEBUG’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:289:33: note: in expansion of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smbXsrv_open.c:1454:17: note: in expansion of macro ‘DBG_DEBUG’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:289:33: note: in expansion of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smbXsrv_open.c:1454:17: note: in expansion of macro ‘DBG_DEBUG’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def350]
samba-4.21.1-build/samba-4.21.1/lib/util/idtree.c: scope_hint: In function ‘sub_remove’
samba-4.21.1-build/samba-4.21.1/lib/util/idtree.c:261:24: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
samba-4.21.1-build/samba-4.21.1/lib/util/idtree.c:261:24: note: write of 8 bytes to beyond the end of ‘pa’
samba-4.21.1-build/samba-4.21.1/lib/util/idtree.c:261:24: note: valid subscripts for ‘pa’ are ‘[0]’ to ‘[7]’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def351]
samba-4.21.1-build/samba-4.21.1/lib/util/samba_util.h:57: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:240: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/libsmb/libsmb_dir.c:25: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/libsmb/libsmb_dir.c: scope_hint: In function ‘remove_dirplus’
samba-4.21.1-build/samba-4.21.1/lib/util/memory.h:31:30: warning[-Wanalyzer-deref-before-check]: check of ‘*d.smb_finfo’ for NULL after already dereferencing it
samba-4.21.1-build/samba-4.21.1/source3/libsmb/libsmb_dir.c:55:17: note: in expansion of macro ‘SAFE_FREE’
samba-4.21.1-build/samba-4.21.1/lib/util/memory.h:31:32: note: in definition of macro ‘SAFE_FREE’
samba-4.21.1-build/samba-4.21.1/source3/libsmb/libsmb_dir.c:54:17: note: in expansion of macro ‘SAFE_FREE’
samba-4.21.1-build/samba-4.21.1/lib/util/memory.h:31:32: note: in definition of macro ‘SAFE_FREE’
samba-4.21.1-build/samba-4.21.1/source3/libsmb/libsmb_dir.c:55:17: note: in expansion of macro ‘SAFE_FREE’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def352]
samba-4.21.1-build/samba-4.21.1/lib/util/samba_util.h:57: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:240: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/winbindd/winbindd_cred_cache.c:24: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/winbindd/winbindd_cred_cache.c: scope_hint: In function ‘delete_memory_creds’
samba-4.21.1-build/samba-4.21.1/lib/util/memory.h:31:30: warning[-Wanalyzer-deref-before-check]: check of ‘*memcredp.nt_hash’ for NULL after already dereferencing it
samba-4.21.1-build/samba-4.21.1/source3/winbindd/winbindd_cred_cache.c:878:9: note: in expansion of macro ‘SAFE_FREE’
samba-4.21.1-build/samba-4.21.1/source3/winbindd/winbindd_cred_cache.c:878:9: note: in expansion of macro ‘SAFE_FREE’
Error: GCC_ANALYZER_WARNING (CWE-1341): [#def353]
samba-4.21.1-build/samba-4.21.1/lib/util/pidfile.c: scope_hint: In function ‘pidfile_fd_close’
samba-4.21.1-build/samba-4.21.1/lib/util/pidfile.c:146:23: warning[-Wanalyzer-fd-double-close]: double ‘close’ of file descriptor ‘fd’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def354]
samba-4.21.1-build/samba-4.21.1/source3/libsmb/cliprint.c:24: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/libsmb/cliprint.c: scope_hint: In function ‘cli_print_queue’
samba-4.21.1-build/samba-4.21.1/lib/util/string_wrappers.h:31:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
samba-4.21.1-build/samba-4.21.1/source3/libsmb/cliprint.c:73:9: note: in expansion of macro ‘strlcpy_base’
samba-4.21.1-build/samba-4.21.1/source3/libsmb/cliprint.c:73:9: note: in expansion of macro ‘strlcpy_base’
samba-4.21.1-build/samba-4.21.1/lib/util/string_wrappers.h:31:9: note: write of 2 bytes to beyond the end of ‘param’
samba-4.21.1-build/samba-4.21.1/source3/libsmb/cliprint.c:73:9: note: in expansion of macro ‘strlcpy_base’
samba-4.21.1-build/samba-4.21.1/lib/util/string_wrappers.h:31:9: note: valid subscripts for ‘param’ are ‘[0]’ to ‘[1023]’
samba-4.21.1-build/samba-4.21.1/source3/libsmb/cliprint.c:73:9: note: in expansion of macro ‘strlcpy_base’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:176: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/libsmb/cliprint.c:20: included_from: Included from here.
/usr/include/string.h:506:15: note: parameter 1 of ‘strlcpy’ marked with attribute ‘access (write_only, 1, 3)’
Error: CPPCHECK_WARNING (CWE-476): [#def355]
samba-4.21.1-build/samba-4.21.1/lib/util/tests/dlinklist.c:73: warning[nullPointer]: Possible null pointer dereference: el2
Error: CPPCHECK_WARNING (CWE-457): [#def356]
samba-4.21.1-build/samba-4.21.1/lib/util/tests/genrandperf.c:37: warning[uninitvar]: Uninitialized variable: val
Error: GCC_ANALYZER_WARNING (CWE-688): [#def357]
samba-4.21.1-build/samba-4.21.1/lib/util/tests/strv_util.c:25: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/tests/strv_util.c: scope_hint: In function ‘test_strv_split_some’
samba-4.21.1-build/samba-4.21.1/lib/util/tests/strv_util.c:130:40: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:274:15: note: in definition of macro ‘torture_assert’
samba-4.21.1-build/samba-4.21.1/lib/util/tests/strv_util.c:121:17: note: in expansion of macro ‘torture_assert’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:528:27: note: in definition of macro ‘torture_assert_int_equal’
samba-4.21.1-build/samba-4.21.1/lib/util/tests/strv_util.c:122:17: note: in expansion of macro ‘torture_assert_int_equal’
samba-4.21.1-build/samba-4.21.1/lib/util/tests/strv_util.c:129:25: note: in expansion of macro ‘torture_assert’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:274:15: note: in definition of macro ‘torture_assert’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:274:15: note: in definition of macro ‘torture_assert’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:274:15: note: in definition of macro ‘torture_assert’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:274:15: note: in definition of macro ‘torture_assert’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:176: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/tests/strv_util.c:22: included_from: Included from here.
/usr/include/string.h:156:12: note: argument 2 of ‘strcmp’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-401): [#def358]
samba-4.21.1-build/samba-4.21.1/lib/util/tiniparser.c:255:29: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def359]
samba-4.21.1-build/samba-4.21.1/lib/util/tiniparser.c: scope_hint: In function ‘value_parser’
samba-4.21.1-build/samba-4.21.1/lib/util/tiniparser.c:255:29: warning[-Wanalyzer-malloc-leak]: leak of ‘entry’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def360]
samba-4.21.1-build/samba-4.21.1/lib/util/util.c: scope_hint: In function ‘dump_data_diff_cb’
samba-4.21.1-build/samba-4.21.1/lib/util/util.c:677:22: warning[-Wanalyzer-null-argument]: use of NULL ‘this_buf1’ where non-null expected
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:176: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/util.c:26: included_from: Included from here.
/usr/include/string.h:64:12: note: argument 1 of ‘memcmp’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def361]
samba-4.21.1-build/samba-4.21.1/lib/util/util.c:677:22: warning[-Wanalyzer-null-argument]: use of NULL ‘this_buf2’ where non-null expected
/usr/include/string.h:64:12: note: argument 2 of ‘memcmp’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def362]
samba-4.21.1-build/samba-4.21.1/lib/util/util_file.c: scope_hint: In function ‘fd_load’
samba-4.21.1-build/samba-4.21.1/lib/util/util_file.c:218:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p’
Error: GCC_ANALYZER_WARNING: [#def363]
samba-4.21.1-build/samba-4.21.1/lib/util/util_runcmd.c: scope_hint: In function ‘samba_runcmd_send’
samba-4.21.1-build/samba-4.21.1/lib/util/util_runcmd.c:235:9: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘0’
samba-4.21.1-build/samba-4.21.1/lib/util/util_runcmd.c:31: included_from: Included from here.
Error: GCC_ANALYZER_WARNING: [#def364]
samba-4.21.1-build/samba-4.21.1/lib/util/util_runcmd.c:236:9: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘1’
Error: GCC_ANALYZER_WARNING: [#def365]
samba-4.21.1-build/samba-4.21.1/lib/util/util_runcmd.c:237:9: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘2’
Error: COMPILER_WARNING (CWE-563): [#def366]
samba-4.21.1-build/samba-4.21.1/libcli/auth/smbencrypt.c: scope_hint: In function ‘decode_pw_buffer’
samba-4.21.1-build/samba-4.21.1/libcli/auth/smbencrypt.c:948:13: warning[-Wunused-variable]: unused variable ‘byte_len’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def367]
samba-4.21.1-build/samba-4.21.1/libcli/drsuapi/repl_decrypt.c: scope_hint: In function ‘drsuapi_decrypt_attribute’
samba-4.21.1-build/samba-4.21.1/libcli/drsuapi/repl_decrypt.c:211:41: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘plain_data’
samba-4.21.1-build/samba-4.21.1/libcli/util/error.h:22: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:64: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/libcli/drsuapi/repl_decrypt.c:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/libcli/drsuapi/repl_decrypt.c:208:9: note: in expansion of macro ‘W_ERROR_NOT_OK_RETURN’
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:54: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def368]
samba-4.21.1-build/samba-4.21.1/libcli/nbt/namequery.c: scope_hint: In function ‘nbt_name_query_recv’
samba-4.21.1-build/samba-4.21.1/libcli/nbt/namequery.c:83:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘req’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def369]
samba-4.21.1-build/samba-4.21.1/libcli/nbt/namequery.c: scope_hint: In function ‘nbt_name_status_recv’
samba-4.21.1-build/samba-4.21.1/libcli/nbt/namequery.c:187:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘req’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def370]
samba-4.21.1-build/samba-4.21.1/libcli/nbt/namerefresh.c: scope_hint: In function ‘nbt_name_refresh_recv’
samba-4.21.1-build/samba-4.21.1/libcli/nbt/namerefresh.c:98:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘req’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def371]
samba-4.21.1-build/samba-4.21.1/libcli/nbt/nameregister.c: scope_hint: In function ‘nbt_name_register_recv’
samba-4.21.1-build/samba-4.21.1/libcli/nbt/nameregister.c:106:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘req’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def372]
samba-4.21.1-build/samba-4.21.1/libcli/nbt/namerelease.c: scope_hint: In function ‘nbt_name_release_recv’
samba-4.21.1-build/samba-4.21.1/libcli/nbt/namerelease.c:95:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘req’
Error: CPPCHECK_WARNING (CWE-562): [#def373]
samba-4.21.1-build/samba-4.21.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): [#def374]
samba-4.21.1-build/samba-4.21.1/libcli/security/sddl_conditional_ace.c:3016: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-457): [#def375]
samba-4.21.1-build/samba-4.21.1/libcli/smb/smbXcli_base.c:4873: error[uninitvar]: Uninitialized variable: val
Error: GCC_ANALYZER_WARNING (CWE-401): [#def376]
samba-4.21.1-build/samba-4.21.1/libcli/smbreadline/smbreadline.c: scope_hint: In function ‘smb_readline_replacement’
samba-4.21.1-build/samba-4.21.1/libcli/smbreadline/smbreadline.c:100:32: warning[-Wanalyzer-malloc-leak]: leak of ‘line’
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/libcli/smbreadline/smbreadline.c:21: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:818:24: note: in expansion of macro ‘memset_s’
samba-4.21.1-build/samba-4.21.1/libcli/smbreadline/smbreadline.c:91:17: note: in expansion of macro ‘ZERO_STRUCT’
Error: COMPILER_WARNING (CWE-477): [#def377]
samba-4.21.1-build/samba-4.21.1/libcli/smbreadline/smbreadline.c: scope_hint: In function ‘smb_readline’
samba-4.21.1-build/samba-4.21.1/libcli/smbreadline/smbreadline.c:139:17: warning[-Wdeprecated-declarations]: ‘CPPFunction’ is deprecated
Error: GCC_ANALYZER_WARNING (CWE-476): [#def378]
samba-4.21.1-build/samba-4.21.1/libcli/wsp/wsp_aqs.c: scope_hint: In function ‘create_restriction’
samba-4.21.1-build/samba-4.21.1/libcli/wsp/wsp_aqs.c:394:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘query’
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:54: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/libcli/wsp/wsp_aqs.c:20: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/samba_util.h:60: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:62: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/libcli/wsp/wsp_aqs.c:469:17: note: in expansion of macro ‘SMB_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def379]
samba-4.21.1-build/samba-4.21.1/librpc/ndr/ndr_basic.c: scope_hint: In function ‘ndr_pull_time_t’
samba-4.21.1-build/samba-4.21.1/librpc/ndr/ndr_basic.c:951:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘tt’
samba-4.21.1-build/samba-4.21.1/librpc/ndr/ndr_basic.c:24: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/librpc/ndr/ndr_basic.c:950:9: note: in expansion of macro ‘NDR_CHECK’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def380]
samba-4.21.1-build/samba-4.21.1/librpc/ndr/ndr_basic.c: scope_hint: In function ‘ndr_pull_ipv6address’
samba-4.21.1-build/samba-4.21.1/librpc/ndr/ndr_basic.c:1060:73: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘addr[i]’
samba-4.21.1-build/samba-4.21.1/librpc/ndr/ndr_basic.c:1057:9: note: in expansion of macro ‘NDR_ERR_HAVE_NO_MEMORY’
samba-4.21.1-build/samba-4.21.1/librpc/ndr/libndr.h:470:19: note: in definition of macro ‘NDR_CHECK’
samba-4.21.1-build/samba-4.21.1/librpc/ndr/libndr.h:470:19: note: in definition of macro ‘NDR_CHECK’
samba-4.21.1-build/samba-4.21.1/librpc/ndr/ndr_basic.c:518:9: note: in expansion of macro ‘NDR_PULL_CHECK_FLAGS’
samba-4.21.1-build/samba-4.21.1/librpc/ndr/libndr.h:470:19: note: in definition of macro ‘NDR_CHECK’
samba-4.21.1-build/samba-4.21.1/librpc/ndr/ndr_basic.c:1058:9: note: in expansion of macro ‘NDR_CHECK’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def381]
samba-4.21.1-build/samba-4.21.1/librpc/ndr/ndr_string.c: scope_hint: In function ‘ndr_pull_string_array’
samba-4.21.1-build/samba-4.21.1/librpc/ndr/ndr_string.c:715:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘s’
samba-4.21.1-build/samba-4.21.1/librpc/ndr/ndr_string.c:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/librpc/ndr/ndr_string.c:688:9: note: in expansion of macro ‘NDR_ERR_HAVE_NO_MEMORY’
samba-4.21.1-build/samba-4.21.1/librpc/ndr/libndr.h:470:19: note: in definition of macro ‘NDR_CHECK’
samba-4.21.1-build/samba-4.21.1/librpc/ndr/libndr.h:470:19: note: in definition of macro ‘NDR_CHECK’
samba-4.21.1-build/samba-4.21.1/librpc/ndr/ndr_string.c:708:25: note: in expansion of macro ‘NDR_CHECK’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def382]
samba-4.21.1-build/samba-4.21.1/source4/rpc_server/dcerpc_server.h:26: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/rpc_server/lsa/lsa.h:24: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/rpc_server/lsa/dcesrv_lsa.c:25: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/rpc_server/lsa/dcesrv_lsa.c: scope_hint: In function ‘dcesrv_lsa_DeleteObject’
samba-4.21.1-build/samba-4.21.1/librpc/rpc/dcesrv_core.h:570:22: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*r.out.result’
samba-4.21.1-build/samba-4.21.1/librpc/rpc/dcesrv_core.h:581:46: note: in expansion of macro ‘DCESRV_FAULT’
samba-4.21.1-build/samba-4.21.1/librpc/rpc/dcesrv_core.h:588:9: note: in expansion of macro ‘DCESRV_CHECK_HANDLE’
samba-4.21.1-build/samba-4.21.1/librpc/rpc/dcesrv_core.h:601:44: note: in expansion of macro ‘DCESRV_PULL_HANDLE_RETVAL’
samba-4.21.1-build/samba-4.21.1/source4/rpc_server/lsa/dcesrv_lsa.c:263:9: note: in expansion of macro ‘DCESRV_PULL_HANDLE’
samba-4.21.1-build/samba-4.21.1/librpc/rpc/dcesrv_core.h:601:44: note: in expansion of macro ‘DCESRV_PULL_HANDLE_RETVAL’
samba-4.21.1-build/samba-4.21.1/source4/rpc_server/lsa/dcesrv_lsa.c:2435:9: note: in expansion of macro ‘DCESRV_PULL_HANDLE’
samba-4.21.1-build/samba-4.21.1/librpc/rpc/dcesrv_core.h:588:9: note: in expansion of macro ‘DCESRV_CHECK_HANDLE’
samba-4.21.1-build/samba-4.21.1/librpc/rpc/dcesrv_core.h:601:44: note: in expansion of macro ‘DCESRV_PULL_HANDLE_RETVAL’
samba-4.21.1-build/samba-4.21.1/source4/rpc_server/lsa/dcesrv_lsa.c:2435:9: note: in expansion of macro ‘DCESRV_PULL_HANDLE’
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:54: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/rpc_server/lsa/lsa.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/librpc/rpc/dcesrv_core.h:588:9: note: in expansion of macro ‘DCESRV_CHECK_HANDLE’
samba-4.21.1-build/samba-4.21.1/librpc/rpc/dcesrv_core.h:601:44: note: in expansion of macro ‘DCESRV_PULL_HANDLE_RETVAL’
samba-4.21.1-build/samba-4.21.1/source4/rpc_server/lsa/dcesrv_lsa.c:263:9: note: in expansion of macro ‘DCESRV_PULL_HANDLE’
samba-4.21.1-build/samba-4.21.1/librpc/rpc/dcesrv_core.h:581:46: note: in expansion of macro ‘DCESRV_FAULT’
samba-4.21.1-build/samba-4.21.1/librpc/rpc/dcesrv_core.h:588:9: note: in expansion of macro ‘DCESRV_CHECK_HANDLE’
samba-4.21.1-build/samba-4.21.1/librpc/rpc/dcesrv_core.h:601:44: note: in expansion of macro ‘DCESRV_PULL_HANDLE_RETVAL’
samba-4.21.1-build/samba-4.21.1/source4/rpc_server/lsa/dcesrv_lsa.c:263:9: note: in expansion of macro ‘DCESRV_PULL_HANDLE’
samba-4.21.1-build/samba-4.21.1/librpc/rpc/dcesrv_core.h:581:46: note: in expansion of macro ‘DCESRV_FAULT’
samba-4.21.1-build/samba-4.21.1/librpc/rpc/dcesrv_core.h:588:9: note: in expansion of macro ‘DCESRV_CHECK_HANDLE’
samba-4.21.1-build/samba-4.21.1/librpc/rpc/dcesrv_core.h:601:44: note: in expansion of macro ‘DCESRV_PULL_HANDLE_RETVAL’
samba-4.21.1-build/samba-4.21.1/source4/rpc_server/lsa/dcesrv_lsa.c:263:9: note: in expansion of macro ‘DCESRV_PULL_HANDLE’
Error: COMPILER_WARNING (CWE-477): [#def383]
samba-4.21.1-build/samba-4.21.1/nsswitch/pam_winbind.c: scope_hint: In function ‘_make_remark’
samba-4.21.1-build/samba-4.21.1/nsswitch/pam_winbind.c:735:17: warning[-Wdeprecated-declarations]: ‘reply_i’ is deprecated
samba-4.21.1-build/samba-4.21.1/nsswitch/pam_winbind.h:104: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/nsswitch/pam_winbind.c:13: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/nsswitch/pam_winbind.c:735:17: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def384]
samba-4.21.1-build/samba-4.21.1/nsswitch/pam_winbind.c:735:17: warning[-Wdeprecated-declarations]: ‘xx_’ is deprecated
samba-4.21.1-build/samba-4.21.1/nsswitch/pam_winbind.c:735:17: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def385]
samba-4.21.1-build/samba-4.21.1/nsswitch/pam_winbind.c: scope_hint: In function ‘_pam_winbind_change_pwd’
samba-4.21.1-build/samba-4.21.1/nsswitch/pam_winbind.c:906:9: warning[-Wdeprecated-declarations]: ‘reply_i’ is deprecated
samba-4.21.1-build/samba-4.21.1/nsswitch/pam_winbind.c:906:9: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def386]
samba-4.21.1-build/samba-4.21.1/nsswitch/pam_winbind.c:906:9: warning[-Wdeprecated-declarations]: ‘xx_’ is deprecated
samba-4.21.1-build/samba-4.21.1/nsswitch/pam_winbind.c:906:9: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def387]
samba-4.21.1-build/samba-4.21.1/nsswitch/pam_winbind.c: scope_hint: In function ‘_pam_delete’
samba-4.21.1-build/samba-4.21.1/nsswitch/pam_winbind.c:2159:9: warning[-Wdeprecated-declarations]: ‘xx_’ is deprecated
samba-4.21.1-build/samba-4.21.1/nsswitch/pam_winbind.c:2159:9: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def388]
samba-4.21.1-build/samba-4.21.1/nsswitch/pam_winbind.c: scope_hint: In function ‘_winbind_read_password’
samba-4.21.1-build/samba-4.21.1/nsswitch/pam_winbind.c:2269:25: warning[-Wdeprecated-declarations]: ‘reply_i’ is deprecated
samba-4.21.1-build/samba-4.21.1/nsswitch/pam_winbind.c:2269:25: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def389]
samba-4.21.1-build/samba-4.21.1/nsswitch/pam_winbind.c:2269:25: warning[-Wdeprecated-declarations]: ‘xx_’ is deprecated
samba-4.21.1-build/samba-4.21.1/nsswitch/pam_winbind.c:2269:25: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def390]
samba-4.21.1-build/samba-4.21.1/nsswitch/pam_winbind.c:2299:17: warning[-Wdeprecated-declarations]: ‘reply_i’ is deprecated
samba-4.21.1-build/samba-4.21.1/nsswitch/pam_winbind.c:2299:17: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def391]
samba-4.21.1-build/samba-4.21.1/nsswitch/pam_winbind.c:2299:17: warning[-Wdeprecated-declarations]: ‘xx_’ is deprecated
samba-4.21.1-build/samba-4.21.1/nsswitch/pam_winbind.c:2299:17: note: declared here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def392]
samba-4.21.1-build/samba-4.21.1/source3/auth/auth_generic.c: scope_hint: In function ‘auth3_generate_session_info_pac’
samba-4.21.1-build/samba-4.21.1/source3/auth/auth_generic.c:335:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘session_info’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def393]
samba-4.21.1-build/samba-4.21.1/libcli/security/dom_sid.h:26: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/auth/auth_util.c:24: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/auth/auth_util.c: scope_hint: In function ‘copy_session_info_serverinfo_guest’
samba-4.21.1-build/samba-4.21.1/source3/auth/auth_util.c:1700:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘src’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/source3/auth/auth_util.c:1700:9: note: in expansion of macro ‘SMB_ASSERT’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:818:24: note: in expansion of macro ‘memset_s’
samba-4.21.1-build/samba-4.21.1/source3/auth/auth_util.c:1411:9: note: in expansion of macro ‘ZERO_STRUCT’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:287:33: note: in expansion of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source3/auth/auth_util.c:2167:25: note: in expansion of macro ‘DBG_NOTICE’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/source3/auth/auth_util.c:1700:9: note: in expansion of macro ‘SMB_ASSERT’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/source3/auth/auth_util.c:1700:9: note: in expansion of macro ‘SMB_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def394]
samba-4.21.1-build/samba-4.21.1/source3/auth/pampass.c: scope_hint: In function ‘smb_pam_passcheck’
samba-4.21.1-build/samba-4.21.1/source3/auth/pampass.c:447:19: warning[-Wanalyzer-malloc-leak]: leak of ‘smb_setup_pam_conv(&smb_pam_conv, user, password, 0)’
samba-4.21.1-build/samba-4.21.1/source3/auth/pampass.c:444:34: note: in expansion of macro ‘SMB_MALLOC_P’
samba-4.21.1-build/samba-4.21.1/source3/auth/pampass.c: scope_hint: In function ‘smb_pam_passcheck’
samba-4.21.1-build/samba-4.21.1/source3/auth/pampass.c:89:17: note: in expansion of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/source3/auth/pampass.c:89:17: note: in expansion of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/source3/auth/pampass.c:89:17: note: in expansion of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/source3/auth/pampass.c:91:24: note: in expansion of macro ‘False’
samba-4.21.1-build/samba-4.21.1/source3/auth/pampass.c: scope_hint: In function ‘smb_pam_passcheck’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def395]
samba-4.21.1-build/samba-4.21.1/source3/auth/pampass.c: scope_hint: In function ‘smb_pam_accountcheck’
samba-4.21.1-build/samba-4.21.1/source3/auth/pampass.c:447:19: warning[-Wanalyzer-malloc-leak]: leak of ‘smb_setup_pam_conv(&smb_pam_conv, user, 0, 0)’
samba-4.21.1-build/samba-4.21.1/source3/auth/pampass.c:444:34: note: in expansion of macro ‘SMB_MALLOC_P’
samba-4.21.1-build/samba-4.21.1/source3/auth/pampass.c: scope_hint: In function ‘smb_pam_accountcheck’
samba-4.21.1-build/samba-4.21.1/source3/auth/pampass.c:89:17: note: in expansion of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/source3/auth/pampass.c:89:17: note: in expansion of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/source3/auth/pampass.c:89:17: note: in expansion of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/source3/auth/pampass.c:91:24: note: in expansion of macro ‘False’
samba-4.21.1-build/samba-4.21.1/source3/auth/pampass.c: scope_hint: In function ‘smb_pam_accountcheck’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def396]
samba-4.21.1-build/samba-4.21.1/source3/auth/pampass.c: scope_hint: In function ‘smb_pam_passchange’
samba-4.21.1-build/samba-4.21.1/source3/auth/pampass.c:447:19: warning[-Wanalyzer-malloc-leak]: leak of ‘smb_setup_pam_conv(&smb_pam_passchange_conv, user, oldpassword, newpassword)’
samba-4.21.1-build/samba-4.21.1/source3/include/smb.h:586: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:258: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/auth/pampass.c:29: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/auth/pampass.c:444:34: note: in expansion of macro ‘SMB_MALLOC_P’
samba-4.21.1-build/samba-4.21.1/source3/auth/pampass.c: scope_hint: In function ‘smb_pam_passchange’
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:237: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/auth/pampass.c:89:17: note: in expansion of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/source3/auth/pampass.c:89:17: note: in expansion of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/source3/auth/pampass.c:89:17: note: in expansion of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:699: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/auth/pampass.c:91:24: note: in expansion of macro ‘False’
samba-4.21.1-build/samba-4.21.1/source3/auth/pampass.c: scope_hint: In function ‘smb_pam_passchange’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def397]
samba-4.21.1-build/samba-4.21.1/source3/client/client.c: scope_hint: In function ‘completion_remote_filter’
samba-4.21.1-build/samba-4.21.1/source3/client/client.c:5871:44: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(*f.name)’
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:66: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/client/client.c:24: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/client/client.c:5866:13: note: in expansion of macro ‘ISDOT’
samba-4.21.1-build/samba-4.21.1/source3/include/smb.h:586: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:258: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/client/client.c:5871:46: note: in expansion of macro ‘SMB_STRDUP’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def398]
samba-4.21.1-build/samba-4.21.1/source3/client/client.c: scope_hint: In function ‘remote_completion’
samba-4.21.1-build/samba-4.21.1/source3/client/client.c:6025:26: warning[-Wanalyzer-malloc-leak]: leak of ‘strndup(info.matches[1], (long unsigned int)info.samelen)’
samba-4.21.1-build/samba-4.21.1/source3/include/smb_macros.h:272:36: note: in definition of macro ‘SMB_STRNDUP’
samba-4.21.1-build/samba-4.21.1/source3/client/client.c:6024:27: note: in expansion of macro ‘SMB_STRNDUP’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def399]
samba-4.21.1-build/samba-4.21.1/source3/client/client.c: scope_hint: In function ‘completion_fn’
samba-4.21.1-build/samba-4.21.1/source3/client/client.c:6110:36: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
samba-4.21.1-build/samba-4.21.1/source3/client/client.c:6081:27: note: in expansion of macro ‘SMB_MALLOC_ARRAY’
samba-4.21.1-build/samba-4.21.1/source3/client/client.c:6090:50: note: in expansion of macro ‘SMB_STRDUP’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def400]
samba-4.21.1-build/samba-4.21.1/source3/client/smbspool.c: scope_hint: In function ‘main’
samba-4.21.1-build/samba-4.21.1/source3/client/smbspool.c:238:20: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(print_file, "rb")’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def401]
samba-4.21.1-build/samba-4.21.1/source3/client/smbspool.c:238:20: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(print_file, "rb")’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def402]
samba-4.21.1-build/samba-4.21.1/source3/lib/adouble.c: scope_hint: In function ‘ad_read_meta’
samba-4.21.1-build/samba-4.21.1/source3/lib/adouble.c:2131:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘smb_fname’
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/lib/adouble.c:20: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/source3/lib/adouble.c:2594:9: note: in expansion of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/lib/util/charset/charset.h:28: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/samba_util.h:25: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:240: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def403]
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:237: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/lib/adouble.c: scope_hint: In function ‘ad_open’
samba-4.21.1-build/samba-4.21.1/source3/lib/adouble.c:2313:53: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘smb_fname’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:250:29: note: in definition of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source3/lib/adouble.c:2313:9: note: in expansion of macro ‘DBG_DEBUG’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/source3/lib/adouble.c:2594:9: note: in expansion of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:289:33: note: in expansion of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source3/lib/adouble.c:2313:9: note: in expansion of macro ‘DBG_DEBUG’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:250:29: note: in definition of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source3/lib/adouble.c:2313:9: note: in expansion of macro ‘DBG_DEBUG’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:250:29: note: in definition of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source3/lib/adouble.c:2313:9: note: in expansion of macro ‘DBG_DEBUG’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def404]
samba-4.21.1-build/samba-4.21.1/source3/lib/adouble.c: scope_hint: In function ‘ad_get_internal’
samba-4.21.1-build/samba-4.21.1/source3/lib/adouble.c:2614:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘smb_fname’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:250:29: note: in definition of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source3/lib/adouble.c:2613:17: note: in expansion of macro ‘DBG_DEBUG’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/source3/lib/adouble.c:2594:9: note: in expansion of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/bin/default/librpc/gen_ndr/server_id.h:8: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/debug_s3.h:20: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:251: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/bin/default/libcli/util/ntstatus_gen.h:230:29: note: in expansion of macro ‘NT_STATUS’
samba-4.21.1-build/samba-4.21.1/source3/lib/adouble.c:2226:24: note: in expansion of macro ‘NT_STATUS_NO_MEMORY’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:51: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:289:33: note: in expansion of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source3/lib/adouble.c:2613:17: note: in expansion of macro ‘DBG_DEBUG’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:289:33: note: in expansion of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source3/lib/adouble.c:2613:17: note: in expansion of macro ‘DBG_DEBUG’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:289:33: note: in expansion of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source3/lib/adouble.c:2613:17: note: in expansion of macro ‘DBG_DEBUG’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:250:29: note: in definition of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source3/lib/adouble.c:2613:17: note: in expansion of macro ‘DBG_DEBUG’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def405]
samba-4.21.1-build/samba-4.21.1/source3/lib/adouble.c:2630:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘smb_fname’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:201:20: note: in definition of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/source3/lib/adouble.c:2594:9: note: in expansion of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/source3/lib/adouble.c:2628:9: note: in expansion of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:201:20: note: in definition of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:201:20: note: in definition of macro ‘DEBUG’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def406]
samba-4.21.1-build/samba-4.21.1/source3/lib/adouble.c: scope_hint: In function ‘adouble_path’
samba-4.21.1-build/samba-4.21.1/source3/lib/adouble.c:2768:52: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘smb_fname_in’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/source3/lib/adouble.c:2594:9: note: in expansion of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/source3/include/smb.h:586: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:258: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/lib/adouble.c:2766:9: note: in expansion of macro ‘SET_STAT_INVALID’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def407]
samba-4.21.1-build/samba-4.21.1/source3/lib/ctdbd_conn.c: scope_hint: In function ‘ctdbd_conn_received’
samba-4.21.1-build/samba-4.21.1/source3/lib/ctdbd_conn.c:2107:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘state’
samba-4.21.1-build/samba-4.21.1/source3/lib/ctdbd_conn.c:34: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/lib/ctdbd_conn.c:2080:9: note: in expansion of macro ‘SMB_ASSERT’
/usr/include/tevent.h:32: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/lib/ctdbd_conn.c:22: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def408]
samba-4.21.1-build/samba-4.21.1/source3/lib/dbwrap/dbwrap_watch.c: scope_hint: In function ‘db_watched_record_fini_fetcher’
samba-4.21.1-build/samba-4.21.1/source3/lib/dbwrap/dbwrap_watch.c:334:17: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
<built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null
Error: CPPCHECK_WARNING (CWE-457): [#def409]
samba-4.21.1-build/samba-4.21.1/source3/lib/dbwrap/dbwrap_watch.c:564: error[uninitvar]: Uninitialized variable: instance_buf
Error: CPPCHECK_WARNING (CWE-457): [#def410]
samba-4.21.1-build/samba-4.21.1/source3/lib/messages.c:1396: warning[uninitvar]: Uninitialized variable: fds
Error: GCC_ANALYZER_WARNING (CWE-476): [#def411]
samba-4.21.1-build/samba-4.21.1/source3/lib/ms_fnmatch.c: scope_hint: In function ‘ms_fnmatch_core’
samba-4.21.1-build/samba-4.21.1/source3/lib/ms_fnmatch.c:67:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘max_n’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def412]
samba-4.21.1-build/samba-4.21.1/source3/lib/ms_fnmatch.c:67:34: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/lib/ms_fnmatch.c:27: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:818:24: note: in expansion of macro ‘memset_s’
samba-4.21.1-build/samba-4.21.1/source3/lib/ms_fnmatch.c:212:25: note: in expansion of macro ‘ZERO_STRUCT’
samba-4.21.1-build/samba-4.21.1/source3/lib/ms_fnmatch.c:67:34: note: read of 8 bytes from after the end of ‘one_max_n’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def413]
samba-4.21.1-build/samba-4.21.1/source3/lib/ms_fnmatch.c:75:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:818:24: note: in expansion of macro ‘memset_s’
samba-4.21.1-build/samba-4.21.1/source3/lib/ms_fnmatch.c:212:25: note: in expansion of macro ‘ZERO_STRUCT’
samba-4.21.1-build/samba-4.21.1/source3/lib/ms_fnmatch.c:75:35: note: read of 8 bytes from after the end of ‘one_max_n’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def414]
samba-4.21.1-build/samba-4.21.1/source3/lib/ms_fnmatch.c:75:80: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:818:24: note: in expansion of macro ‘memset_s’
samba-4.21.1-build/samba-4.21.1/source3/lib/ms_fnmatch.c:212:25: note: in expansion of macro ‘ZERO_STRUCT’
samba-4.21.1-build/samba-4.21.1/source3/lib/ms_fnmatch.c:75:80: note: write of 8 bytes to beyond the end of ‘one_max_n’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def415]
samba-4.21.1-build/samba-4.21.1/source3/lib/ms_fnmatch.c:82:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘max_n’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def416]
samba-4.21.1-build/samba-4.21.1/source3/lib/ms_fnmatch.c:82:34: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:818:24: note: in expansion of macro ‘memset_s’
samba-4.21.1-build/samba-4.21.1/source3/lib/ms_fnmatch.c:212:25: note: in expansion of macro ‘ZERO_STRUCT’
samba-4.21.1-build/samba-4.21.1/source3/lib/ms_fnmatch.c:82:34: note: read of 8 bytes from after the end of ‘one_max_n’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def417]
samba-4.21.1-build/samba-4.21.1/source3/lib/ms_fnmatch.c:85:34: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:818:24: note: in expansion of macro ‘memset_s’
samba-4.21.1-build/samba-4.21.1/source3/lib/ms_fnmatch.c:212:25: note: in expansion of macro ‘ZERO_STRUCT’
samba-4.21.1-build/samba-4.21.1/source3/lib/ms_fnmatch.c:85:34: note: read of 8 bytes from after the end of ‘one_max_n’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def418]
samba-4.21.1-build/samba-4.21.1/source3/lib/ms_fnmatch.c:96:35: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:818:24: note: in expansion of macro ‘memset_s’
samba-4.21.1-build/samba-4.21.1/source3/lib/ms_fnmatch.c:212:25: note: in expansion of macro ‘ZERO_STRUCT’
samba-4.21.1-build/samba-4.21.1/source3/lib/ms_fnmatch.c:96:35: note: read of 8 bytes from after the end of ‘one_max_n’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def419]
samba-4.21.1-build/samba-4.21.1/source3/lib/ms_fnmatch.c:96:80: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:818:24: note: in expansion of macro ‘memset_s’
samba-4.21.1-build/samba-4.21.1/source3/lib/ms_fnmatch.c:212:25: note: in expansion of macro ‘ZERO_STRUCT’
samba-4.21.1-build/samba-4.21.1/source3/lib/ms_fnmatch.c:96:80: note: write of 8 bytes to beyond the end of ‘one_max_n’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def420]
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/examples/common.c: scope_hint: In function ‘popt_common_callback’
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/examples/common.c:44:34: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘puser’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-401): [#def421]
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/examples/common.c: scope_hint: In function ‘netapi_save_file_ucs2’
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/examples/common.c:227:12: warning[-Wanalyzer-malloc-leak]: leak of ‘iconv_open("UTF-16LE", "ASCII")’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def422]
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/group.c: scope_hint: In function ‘NetGroupAdd_r’
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/group.c:101:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def423]
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/group.c:104:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def424]
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/group.c:107:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def425]
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/group.c:110:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info3’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def426]
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/group.c:130:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def427]
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/group.c:142:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info2’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def428]
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/group.c:169:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info3’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def429]
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/group.c: scope_hint: In function ‘NetGroupSetUsers_r’
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/group.c:1717:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘i0’
samba-4.21.1-build/samba-4.21.1/lib/util/charset/charset.h:28: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/samba_util.h:25: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:240: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/group.c:20: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def430]
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/group.c:1721:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘i1’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def431]
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/localgroup.c: scope_hint: In function ‘NetLocalGroupModifyMembers_r’
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/localgroup.c:1117:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘info3’
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/localgroup.c:20: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:818:24: note: in expansion of macro ‘memset_s’
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/localgroup.c:1085:9: note: in expansion of macro ‘ZERO_STRUCT’
samba-4.21.1-build/samba-4.21.1/libcli/util/error.h:22: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:254: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/localgroup.c:1092:9: note: in expansion of macro ‘W_ERROR_HAVE_NO_MEMORY’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def432]
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/share.c: scope_hint: In function ‘map_srvsvc_share_info_to_SHARE_INFO_buffer’
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/share.c:97:59: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘s501’
samba-4.21.1-build/samba-4.21.1/libcli/util/error.h:22: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:254: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/share.c:20: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/libcli/util/werror.h:44:27: note: in expansion of macro ‘W_ERROR_V’
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/share.c:384:14: note: in expansion of macro ‘W_ERROR_IS_OK’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def433]
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/share.c:110:64: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘s1005’
samba-4.21.1-build/samba-4.21.1/libcli/util/werror.h:44:27: note: in expansion of macro ‘W_ERROR_V’
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/share.c:384:14: note: in expansion of macro ‘W_ERROR_IS_OK’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def434]
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/tests/common.c: scope_hint: In function ‘popt_common_callback’
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/tests/common.c:53:34: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘puser’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def435]
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/tests/netgroup.c: scope_hint: In function ‘test_netgroupgetusers’
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/tests/netgroup.c:182:49: warning[-Wanalyzer-null-argument]: use of NULL ‘current_name’ where non-null expected
/usr/include/string.h:462: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/tests/netgroup.c:24: included_from: Included from here.
/usr/include/strings.h:116:12: note: argument 1 of ‘strcasecmp’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def436]
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/user.c: scope_hint: In function ‘info21_to_USER_INFO_1’
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/user.c:848:67: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘i21’
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/user.c:20: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/user.c:844:9: note: in expansion of macro ‘ZERO_STRUCTP’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:825:17: note: in expansion of macro ‘memset_s’
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/user.c:844:9: note: in expansion of macro ‘ZERO_STRUCTP’
samba-4.21.1-build/samba-4.21.1/bin/default/librpc/gen_ndr/server_id.h:8: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/debug_s3.h:20: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:251: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/user.c:846:9: note: in expansion of macro ‘NT_STATUS_HAVE_NO_MEMORY’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def437]
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/user.c: scope_hint: In function ‘info21_to_USER_INFO_2’
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/user.c:871:67: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘i21’
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/user.c:866:9: note: in expansion of macro ‘ZERO_STRUCTP’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:825:17: note: in expansion of macro ‘memset_s’
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/user.c:866:9: note: in expansion of macro ‘ZERO_STRUCTP’
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/user.c:869:9: note: in expansion of macro ‘NT_STATUS_HAVE_NO_MEMORY’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def438]
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/user.c: scope_hint: In function ‘info21_to_USER_INFO_3’
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/user.c:909:67: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘i21’
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/user.c:905:9: note: in expansion of macro ‘ZERO_STRUCTP’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:825:17: note: in expansion of macro ‘memset_s’
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/user.c:905:9: note: in expansion of macro ‘ZERO_STRUCTP’
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/user.c:908:9: note: in expansion of macro ‘NT_STATUS_HAVE_NO_MEMORY’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def439]
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/user.c: scope_hint: In function ‘info21_to_USER_INFO_4’
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/user.c:955:67: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘i21’
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/user.c:951:9: note: in expansion of macro ‘ZERO_STRUCTP’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:825:17: note: in expansion of macro ‘memset_s’
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/user.c:951:9: note: in expansion of macro ‘ZERO_STRUCTP’
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/user.c:954:9: note: in expansion of macro ‘NT_STATUS_HAVE_NO_MEMORY’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def440]
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/user.c: scope_hint: In function ‘info21_to_USER_INFO_11’
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/user.c:1023:61: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘i21’
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/user.c:1016:9: note: in expansion of macro ‘ZERO_STRUCTP’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:825:17: note: in expansion of macro ‘memset_s’
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/user.c:1016:9: note: in expansion of macro ‘ZERO_STRUCTP’
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/user.c:1019:9: note: in expansion of macro ‘NT_STATUS_HAVE_NO_MEMORY’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def441]
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/user.c: scope_hint: In function ‘info21_to_USER_INFO_20’
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/user.c:1056:69: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘i21’
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/user.c:1050:9: note: in expansion of macro ‘ZERO_STRUCTP’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:825:17: note: in expansion of macro ‘memset_s’
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/user.c:1050:9: note: in expansion of macro ‘ZERO_STRUCTP’
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/user.c:1053:9: note: in expansion of macro ‘NT_STATUS_HAVE_NO_MEMORY’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def442]
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/user.c: scope_hint: In function ‘info21_to_USER_INFO_23’
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/user.c:1078:69: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘i21’
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/user.c:1072:9: note: in expansion of macro ‘ZERO_STRUCTP’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:825:17: note: in expansion of macro ‘memset_s’
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/user.c:1072:9: note: in expansion of macro ‘ZERO_STRUCTP’
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/user.c:1075:9: note: in expansion of macro ‘NT_STATUS_HAVE_NO_MEMORY’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def443]
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/user.c: scope_hint: In function ‘NetUserSetGroups_r’
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/user.c:3207:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘i0’
samba-4.21.1-build/samba-4.21.1/lib/util/charset/charset.h:28: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/samba_util.h:25: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:240: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def444]
samba-4.21.1-build/samba-4.21.1/source3/lib/netapi/user.c:3211:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘i1’
Error: GCC_ANALYZER_WARNING: [#def445]
samba-4.21.1-build/samba-4.21.1/source3/lib/smbrun.c: scope_hint: In function ‘smbrun_internal’
samba-4.21.1-build/samba-4.21.1/source3/lib/smbrun.c:162:21: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘1’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def446]
samba-4.21.1-build/samba-4.21.1/source3/lib/smbrun.c:253:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ifd[0]’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/source3/lib/smbrun.c:267:17: note: in expansion of macro ‘DEBUG’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def447]
samba-4.21.1-build/samba-4.21.1/source3/lib/smbrun.c: scope_hint: In function ‘smbrunsecret’
samba-4.21.1-build/samba-4.21.1/source3/lib/smbrun.c:253:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ifd[1]’
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/lib/smbrun.c:20: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/source3/lib/smbrun.c:267:17: note: in expansion of macro ‘DEBUG’
Error: GCC_ANALYZER_WARNING: [#def448]
samba-4.21.1-build/samba-4.21.1/source3/lib/smbrun.c:324:13: warning[-Wanalyzer-fd-use-without-check]: ‘dup2’ on possibly invalid file descriptor ‘0’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def449]
samba-4.21.1-build/samba-4.21.1/source3/lib/util_sock.c: scope_hint: In function ‘receive_smb_raw’
samba-4.21.1-build/samba-4.21.1/source3/lib/util_sock.c:208:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘len’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def450]
samba-4.21.1-build/samba-4.21.1/source3/lib/util_tdb.c: scope_hint: In function ‘tdb_unpack’
samba-4.21.1-build/samba-4.21.1/source3/lib/util_tdb.c:191:28: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
samba-4.21.1-build/samba-4.21.1/source3/include/smb.h:586: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:258: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/lib/util_tdb.c:22: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/lib/util_tdb.c:196:39: note: in expansion of macro ‘SMB_STRDUP’
samba-4.21.1-build/samba-4.21.1/source3/lib/util_tdb.c:196:39: note: in expansion of macro ‘SMB_STRDUP’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def451]
samba-4.21.1-build/samba-4.21.1/source3/libads/ldap_schema.c: scope_hint: In function ‘ads_check_posix_schema_mapping’
samba-4.21.1-build/samba-4.21.1/source3/libads/ldap_schema.c:289:20: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘num_names’
samba-4.21.1-build/samba-4.21.1/lib/util/charset/charset.h:28: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/samba_util.h:25: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:240: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/libads/ldap_schema.c:21: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def452]
samba-4.21.1-build/samba-4.21.1/source3/libnet/libnet_dssync.c: scope_hint: In function ‘libnet_dssync_getncchanges’
samba-4.21.1-build/samba-4.21.1/source3/libnet/libnet_dssync.c:546:59: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘new_utdv’
samba-4.21.1-build/samba-4.21.1/libcli/util/error.h:22: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:254: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/libnet/libnet_dssync.c:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/libcli/util/werror.h:44:27: note: in expansion of macro ‘W_ERROR_V’
samba-4.21.1-build/samba-4.21.1/source3/libnet/libnet_dssync.c:500:22: note: in expansion of macro ‘W_ERROR_IS_OK’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def453]
samba-4.21.1-build/samba-4.21.1/source3/libnet/libnet_dssync.c:571:59: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘new_utdv’
samba-4.21.1-build/samba-4.21.1/libcli/util/werror.h:44:27: note: in expansion of macro ‘W_ERROR_V’
samba-4.21.1-build/samba-4.21.1/source3/libnet/libnet_dssync.c:500:22: note: in expansion of macro ‘W_ERROR_IS_OK’
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/source3/libnet/libnet_dssync.c:554:25: note: in expansion of macro ‘DEBUG’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def454]
samba-4.21.1-build/samba-4.21.1/source3/librpc/crypto/gse.c:1009:49: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ccache’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def455]
samba-4.21.1-build/samba-4.21.1/source3/libsmb/cli_smb2_fnum.c: scope_hint: In function ‘cli_smb2_set_info_fnum_send’
samba-4.21.1-build/samba-4.21.1/source3/libsmb/cli_smb2_fnum.c:618:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ph’
samba-4.21.1-build/samba-4.21.1/bin/default/librpc/gen_ndr/server_id.h:8: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/debug_s3.h:20: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:251: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/libsmb/cli_smb2_fnum.c:29: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/bin/default/libcli/util/ntstatus_gen.h:220:37: note: in expansion of macro ‘NT_STATUS’
samba-4.21.1-build/samba-4.21.1/source3/libsmb/cli_smb2_fnum.c:108:24: note: in expansion of macro ‘NT_STATUS_INVALID_PARAMETER’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def456]
samba-4.21.1-build/samba-4.21.1/source3/libsmb/cli_smb2_fnum.c: scope_hint: In function ‘cli_smb2_query_info_fnum_send’
samba-4.21.1-build/samba-4.21.1/source3/libsmb/cli_smb2_fnum.c:1852:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ph’
samba-4.21.1-build/samba-4.21.1/bin/default/libcli/util/ntstatus_gen.h:220:37: note: in expansion of macro ‘NT_STATUS’
samba-4.21.1-build/samba-4.21.1/source3/libsmb/cli_smb2_fnum.c:108:24: note: in expansion of macro ‘NT_STATUS_INVALID_PARAMETER’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def457]
samba-4.21.1-build/samba-4.21.1/source3/libsmb/cli_smb2_fnum.c: scope_hint: In function ‘cli_smb2_notify_send’
samba-4.21.1-build/samba-4.21.1/source3/libsmb/cli_smb2_fnum.c:4772:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ph’
samba-4.21.1-build/samba-4.21.1/bin/default/libcli/util/ntstatus_gen.h:220:37: note: in expansion of macro ‘NT_STATUS’
samba-4.21.1-build/samba-4.21.1/source3/libsmb/cli_smb2_fnum.c:108:24: note: in expansion of macro ‘NT_STATUS_INVALID_PARAMETER’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def458]
samba-4.21.1-build/samba-4.21.1/source3/libsmb/cli_smb2_fnum.c: scope_hint: In function ‘cli_smb2_fsctl_send’
samba-4.21.1-build/samba-4.21.1/source3/libsmb/cli_smb2_fnum.c:4967:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ph’
samba-4.21.1-build/samba-4.21.1/bin/default/libcli/util/ntstatus_gen.h:220:37: note: in expansion of macro ‘NT_STATUS’
samba-4.21.1-build/samba-4.21.1/source3/libsmb/cli_smb2_fnum.c:108:24: note: in expansion of macro ‘NT_STATUS_INVALID_PARAMETER’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def459]
samba-4.21.1-build/samba-4.21.1/source3/libsmb/clidfs.c: scope_hint: In function ‘cli_check_msdfs_proxy’
samba-4.21.1-build/samba-4.21.1/source3/libsmb/clidfs.c:1338:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘refs’
samba-4.21.1-build/samba-4.21.1/lib/util/byteorder.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/samba_util.h:49: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:240: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/libsmb/clidfs.c:22: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:62:6: note: in expansion of macro ‘PUSH_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/util/byteorder.h:116:28: note: in expansion of macro ‘PUSH_LE_U16’
samba-4.21.1-build/samba-4.21.1/source3/libsmb/clidfs.c:708:9: note: in expansion of macro ‘SSVAL’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def460]
samba-4.21.1-build/samba-4.21.1/source3/libsmb/clilist.c: scope_hint: In function ‘cli_list_trans_done’
samba-4.21.1-build/samba-4.21.1/source3/libsmb/clilist.c:856:49: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘finfo’
samba-4.21.1-build/samba-4.21.1/lib/util/charset/charset.h:28: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/samba_util.h:25: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:240: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/libsmb/clilist.c:20: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-121): [#def461]
samba-4.21.1-build/samba-4.21.1/source3/libsmb/clirap.c: scope_hint: In function ‘cli_RNetShareEnum’
samba-4.21.1-build/samba-4.21.1/source3/libsmb/clirap.c:119:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
samba-4.21.1-build/samba-4.21.1/source3/libsmb/clirap.c:119:9: note: write of 2 bytes to beyond the end of ‘param’
samba-4.21.1-build/samba-4.21.1/source3/libsmb/clirap.c:119:9: note: valid subscripts for ‘param’ are ‘[0]’ to ‘[1023]’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:176: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/libsmb/clirap.c:22: included_from: Included from here.
/usr/include/string.h:506:15: note: parameter 1 of ‘strlcpy’ marked with attribute ‘access (write_only, 1, 3)’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def462]
samba-4.21.1-build/samba-4.21.1/source3/libsmb/clirap.c: scope_hint: In function ‘cli_NetServerEnum’
samba-4.21.1-build/samba-4.21.1/source3/libsmb/clirap.c:255:25: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
samba-4.21.1-build/samba-4.21.1/source3/libsmb/clirap.c:255:25: note: write of 2 bytes to beyond the end of ‘param’
samba-4.21.1-build/samba-4.21.1/source3/libsmb/clirap.c:255:25: note: valid subscripts for ‘param’ are ‘[0]’ to ‘[1023]’
/usr/include/string.h:506:15: note: parameter 1 of ‘strlcpy’ marked with attribute ‘access (write_only, 1, 3)’
Error: GCC_ANALYZER_WARNING (CWE-121): [#def463]
samba-4.21.1-build/samba-4.21.1/source3/libsmb/clirap.c: scope_hint: In function ‘cli_oem_change_password’
samba-4.21.1-build/samba-4.21.1/source3/libsmb/clirap.c:477:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer overflow
samba-4.21.1-build/samba-4.21.1/lib/util/byteorder.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/samba_util.h:49: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:240: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:62:6: note: in expansion of macro ‘PUSH_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/util/byteorder.h:116:28: note: in expansion of macro ‘PUSH_LE_U16’
samba-4.21.1-build/samba-4.21.1/source3/libsmb/clirap.c:475:9: note: in expansion of macro ‘SSVAL’
samba-4.21.1-build/samba-4.21.1/source3/libsmb/clirap.c:477:9: note: write of 2 bytes to beyond the end of ‘param’
samba-4.21.1-build/samba-4.21.1/source3/libsmb/clirap.c:477:9: note: valid subscripts for ‘param’ are ‘[0]’ to ‘[1023]’
/usr/include/string.h:506:15: note: parameter 1 of ‘strlcpy’ marked with attribute ‘access (write_only, 1, 3)’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def464]
samba-4.21.1-build/samba-4.21.1/source3/libsmb/clireadwrite.c: scope_hint: In function ‘cli_splice_fallback’
samba-4.21.1-build/samba-4.21.1/source3/libsmb/clireadwrite.c:1817:26: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘nread’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:663: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/libsmb/clireadwrite.c:20: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def465]
samba-4.21.1-build/samba-4.21.1/source3/libsmb/libsmb_dir.c: scope_hint: In function ‘list_unique_wg_fn’
samba-4.21.1-build/samba-4.21.1/source3/libsmb/libsmb_dir.c:258:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dir_list’
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:825:17: note: in expansion of macro ‘memset_s’
samba-4.21.1-build/samba-4.21.1/source3/libsmb/libsmb_dir.c:110:9: note: in expansion of macro ‘ZERO_STRUCTP’
samba-4.21.1-build/samba-4.21.1/source3/include/smb.h:586: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:258: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/libsmb/libsmb_dir.c:114:33: note: in expansion of macro ‘SMB_MALLOC_P’
samba-4.21.1-build/samba-4.21.1/source3/libsmb/libsmb_dir.c:114:33: note: in expansion of macro ‘SMB_MALLOC_P’
samba-4.21.1-build/samba-4.21.1/source3/libsmb/libsmb_dir.c:117:25: note: in expansion of macro ‘SAFE_FREE’
Error: CPPCHECK_WARNING (CWE-768): [#def466]
samba-4.21.1-build/samba-4.21.1/source3/libsmb/libsmb_dir.c:2148: 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): [#def467]
samba-4.21.1-build/samba-4.21.1/source3/libsmb/libsmb_xattr.c:1847: 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): [#def468]
samba-4.21.1-build/samba-4.21.1/source3/libsmb/libsmb_xattr.c:1849: 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): [#def469]
samba-4.21.1-build/samba-4.21.1/source3/libsmb/libsmb_xattr.c:1851: 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): [#def470]
samba-4.21.1-build/samba-4.21.1/source3/libsmb/libsmb_xattr.c:2005: 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): [#def471]
samba-4.21.1-build/samba-4.21.1/source3/libsmb/libsmb_xattr.c:2007: 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): [#def472]
samba-4.21.1-build/samba-4.21.1/source3/libsmb/libsmb_xattr.c:2009: 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): [#def473]
samba-4.21.1-build/samba-4.21.1/source3/libsmb/pylibsmb.c: scope_hint: In function ‘py_cli_state_setup_mt_ev’
samba-4.21.1-build/samba-4.21.1/source3/libsmb/pylibsmb.c:273:9: warning[-Wdeprecated-declarations]: ‘PyEval_InitThreads’ is deprecated
/usr/include/python3.13/Python.h:124: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/replace/system/python.h:27: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/libsmb/pylibsmb.c:48: included_from: Included from here.
/usr/include/python3.13/ceval.h:114:37: note: declared here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def474]
samba-4.21.1-build/samba-4.21.1/source3/libsmb/pylibsmb.c: scope_hint: In function ‘py_cli_state_init’
samba-4.21.1-build/samba-4.21.1/source3/libsmb/pylibsmb.c:644:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘share’
/usr/include/python3.13/Python.h:72: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/libsmb/pylibsmb.c:82:9: note: in expansion of macro ‘Py_DECREF’
samba-4.21.1-build/samba-4.21.1/source3/libsmb/pylibsmb.c: scope_hint: In function ‘py_cli_state_init’
samba-4.21.1-build/samba-4.21.1/source3/libsmb/pylibsmb.c:583:9: note: in expansion of macro ‘Py_DECREF’
samba-4.21.1-build/samba-4.21.1/source3/libsmb/pylibsmb.c: scope_hint: In function ‘py_cli_state_init’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def475]
samba-4.21.1-build/samba-4.21.1/source3/libsmb/pylibsmb.c: scope_hint: In function ‘py_cli_write’
samba-4.21.1-build/samba-4.21.1/source3/libsmb/pylibsmb.c:1462:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘buflen’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def476]
samba-4.21.1-build/samba-4.21.1/source3/libsmb/pylibsmb.c: scope_hint: In function ‘py_cli_read’
samba-4.21.1-build/samba-4.21.1/source3/libsmb/pylibsmb.c:1605:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘size’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def477]
samba-4.21.1-build/samba-4.21.1/source3/libsmb/pylibsmb.c: scope_hint: In function ‘py_cli_ftruncate’
samba-4.21.1-build/samba-4.21.1/source3/libsmb/pylibsmb.c:1659:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘size’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def478]
samba-4.21.1-build/samba-4.21.1/source3/libsmb/pylibsmb.c: scope_hint: In function ‘py_cli_delete_on_close’
samba-4.21.1-build/samba-4.21.1/source3/libsmb/pylibsmb.c:1689:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘flag’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def479]
samba-4.21.1-build/samba-4.21.1/source3/libsmb/pylibsmb.c: scope_hint: In function ‘py_cli_fsctl’
samba-4.21.1-build/samba-4.21.1/source3/libsmb/pylibsmb.c:2716:12: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘buflen’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def480]
samba-4.21.1-build/samba-4.21.1/source3/libsmb/unexpected.c: scope_hint: In function ‘nb_packet_server_create’
samba-4.21.1-build/samba-4.21.1/source3/libsmb/unexpected.c:94:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘create_pipe_sock(nmbd_socket_dir, "unexpected", 493)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def481]
samba-4.21.1-build/samba-4.21.1/lib/util/charset/charset.h:28: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/samba_util.h:25: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:240: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_dirsort.c:21: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_dirsort.c: scope_hint: In function ‘dirsort_fdopendir’
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_dirsort.c:150:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘handle’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def482]
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_fileid.c: scope_hint: In function ‘fileid_find_mount_entry’
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_fileid.c:180:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*data.mount_entries’
samba-4.21.1-build/samba-4.21.1/lib/util/charset/charset.h:28: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/samba_util.h:25: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:240: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_fileid.c:22: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def483]
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_fileid.c: scope_hint: In function ‘fileid_find_mount_entry.part.0’
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_fileid.c:187:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*data.mount_entries’
Error: CPPCHECK_WARNING (CWE-457): [#def484]
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_fruit.c:840: error[uninitvar]: Uninitialized variable: p
Error: COMPILER_WARNING: [#def485]
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_full_audit.c: scope_hint: In function ‘smb_full_audit_set_quota’
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_full_audit.c:834:61: warning[-Wformat-zero-length]: zero-length gnu_printf format string
Error: COMPILER_WARNING: [#def486]
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_full_audit.c: scope_hint: In function ‘smb_full_audit_get_shadow_copy_data’
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_full_audit.c:848:72: warning[-Wformat-zero-length]: zero-length gnu_printf format string
Error: COMPILER_WARNING: [#def487]
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_full_audit.c: scope_hint: In function ‘smb_full_audit_statvfs’
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_full_audit.c:861:59: warning[-Wformat-zero-length]: zero-length gnu_printf format string
Error: COMPILER_WARNING: [#def488]
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_full_audit.c: scope_hint: In function ‘smb_full_audit_fs_capabilities’
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_full_audit.c:872:58: warning[-Wformat-zero-length]: zero-length gnu_printf format string
Error: COMPILER_WARNING: [#def489]
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_full_audit.c: scope_hint: In function ‘smb_full_audit_get_dfs_referrals’
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_full_audit.c:886:24: warning[-Wformat-zero-length]: zero-length gnu_printf format string
Error: COMPILER_WARNING: [#def490]
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_full_audit.c: scope_hint: In function ‘smb_full_audit_snap_check_path’
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_full_audit.c:967:24: warning[-Wformat-zero-length]: zero-length gnu_printf format string
Error: COMPILER_WARNING: [#def491]
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_full_audit.c: scope_hint: In function ‘smb_full_audit_snap_create’
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_full_audit.c:984:73: warning[-Wformat-zero-length]: zero-length gnu_printf format string
Error: COMPILER_WARNING: [#def492]
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_full_audit.c: scope_hint: In function ‘smb_full_audit_snap_delete’
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_full_audit.c:998:73: warning[-Wformat-zero-length]: zero-length gnu_printf format string
Error: COMPILER_WARNING: [#def493]
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_full_audit.c: scope_hint: In function ‘smb_full_audit_readdir’
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_full_audit.c:1027:50: warning[-Wformat-zero-length]: zero-length gnu_printf format string
Error: COMPILER_WARNING: [#def494]
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_full_audit.c: scope_hint: In function ‘smb_full_audit_rewinddir’
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_full_audit.c:1037:52: warning[-Wformat-zero-length]: zero-length gnu_printf format string
Error: COMPILER_WARNING: [#def495]
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_full_audit.c: scope_hint: In function ‘smb_full_audit_closedir’
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_full_audit.c:1079:60: warning[-Wformat-zero-length]: zero-length gnu_printf format string
Error: COMPILER_WARNING: [#def496]
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_full_audit.c: scope_hint: In function ‘smb_full_audit_translate_name’
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_full_audit.c:2172:76: warning[-Wformat-zero-length]: zero-length gnu_printf format string
Error: COMPILER_WARNING: [#def497]
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_full_audit.c: scope_hint: In function ‘smb_full_audit_fsctl’
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_full_audit.c:2223:67: warning[-Wformat-zero-length]: zero-length gnu_printf format string
Error: COMPILER_WARNING: [#def498]
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_full_audit.c: scope_hint: In function ‘smb_full_audit_offload_read_send’
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_full_audit.c:2243:59: warning[-Wformat-zero-length]: zero-length gnu_printf format string
Error: COMPILER_WARNING: [#def499]
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_full_audit.c: scope_hint: In function ‘smb_full_audit_offload_read_recv’
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_full_audit.c:2261:79: warning[-Wformat-zero-length]: zero-length gnu_printf format string
Error: COMPILER_WARNING: [#def500]
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_full_audit.c: scope_hint: In function ‘smb_full_audit_offload_write_send’
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_full_audit.c:2282:60: warning[-Wformat-zero-length]: zero-length gnu_printf format string
Error: COMPILER_WARNING: [#def501]
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_full_audit.c: scope_hint: In function ‘smb_full_audit_offload_write_recv’
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_full_audit.c:2295:80: warning[-Wformat-zero-length]: zero-length gnu_printf format string
Error: COMPILER_WARNING: [#def502]
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_full_audit.c: scope_hint: In function ‘smb_full_audit_durable_reconnect’
samba-4.21.1-build/samba-4.21.1/source3/modules/vfs_full_audit.c:2902:25: warning[-Wformat-zero-length]: zero-length gnu_printf format string
Error: GCC_ANALYZER_WARNING (CWE-775): [#def503]
samba-4.21.1-build/samba-4.21.1/source3/nmbd/asyncdns.c: scope_hint: In function ‘start_async_dns’
samba-4.21.1-build/samba-4.21.1/source3/nmbd/asyncdns.c:148:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd1[0]’
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/nmbd/asyncdns.c:20: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:285:33: note: in expansion of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source3/nmbd/asyncdns.c:147:17: note: in expansion of macro ‘DBG_ERR’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def504]
samba-4.21.1-build/samba-4.21.1/source3/nmbd/asyncdns.c:148:17: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘fd1[1]’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:285:33: note: in expansion of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source3/nmbd/asyncdns.c:147:17: note: in expansion of macro ‘DBG_ERR’
Error: COMPILER_WARNING: [#def505]
samba-4.21.1-build/samba-4.21.1/source3/nmbd/nmbd_become_lmb.c: scope_hint: In function ‘become_local_master_browser’
samba-4.21.1-build/samba-4.21.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.21.1-build/samba-4.21.1/source3/nmbd/nmbd_become_lmb.c:24: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/nmbd/nmbd.h:212:14: note: destination object ‘data’ of size 16
/usr/include/features.h:511: 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.21.1-build/samba-4.21.1/lib/replace/replace.h:48: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.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: [#def506]
samba-4.21.1-build/samba-4.21.1/source3/nmbd/nmbd_browsesync.c: scope_hint: In function ‘find_domain_master_name_query_success’
samba-4.21.1-build/samba-4.21.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.21.1-build/samba-4.21.1/source3/nmbd/nmbd_browsesync.c:24: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/nmbd/nmbd.h:212:14: note: destination object ‘data’ of size 16
/usr/include/features.h:511: 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.21.1-build/samba-4.21.1/lib/replace/replace.h:48: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.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): [#def507]
samba-4.21.1-build/samba-4.21.1/source3/nmbd/nmbd_namelistdb.c:541: error[autovarInvalidDeallocation]: Deallocation of an auto-variable (.) results in undefined behaviour.
Error: CPPCHECK_WARNING (CWE-590): [#def508]
samba-4.21.1-build/samba-4.21.1/source3/nmbd/nmbd_winsproxy.c:89: error[autovarInvalidDeallocation]: Deallocation of an auto-variable (ip) results in undefined behaviour.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def509]
samba-4.21.1-build/samba-4.21.1/source3/passdb/pdb_samba_dsdb.c: scope_hint: In function ‘pdb_samba_dsdb_update_sam_account’
samba-4.21.1-build/samba-4.21.1/source3/passdb/pdb_samba_dsdb.c:891:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: CPPCHECK_WARNING (CWE-457): [#def510]
samba-4.21.1-build/samba-4.21.1/source3/passdb/pdb_samba_dsdb.c:1086: error[uninitvar]: Uninitialized variable: id_map.sid
Error: GCC_ANALYZER_WARNING (CWE-476): [#def511]
samba-4.21.1-build/samba-4.21.1/source3/printing/notify.c: scope_hint: In function ‘print_notify_pid_list’
samba-4.21.1-build/samba-4.21.1/source3/printing/notify.c:679:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pid_list’
samba-4.21.1-build/samba-4.21.1/lib/util/byteorder.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/samba_util.h:49: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:240: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/printing/notify.c:22: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:36:6: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:41:16: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:46:17: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/util/byteorder.h:111:23: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/source3/printing/notify.c:679:38: note: in expansion of macro ‘IVAL’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def512]
samba-4.21.1-build/samba-4.21.1/source3/printing/queue_process.c: scope_hint: In function ‘start_background_queue’
samba-4.21.1-build/samba-4.21.1/source3/printing/queue_process.c:368:24: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘ready_fds[0]’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def513]
samba-4.21.1-build/samba-4.21.1/source3/registry/reg_parse_internal.c: scope_hint: In function ‘set_iconv’
samba-4.21.1-build/samba-4.21.1/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.21.1-build/samba-4.21.1/source3/registry/reg_parse_internal.c:28: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/registry/reg_parse_internal.c:236:24: note: in expansion of macro ‘smb_iconv_open’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def514]
samba-4.21.1-build/samba-4.21.1/source3/registry/reg_parse_prs.c:388:35: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*data32’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:57:41: note: in definition of macro ‘PUSH_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:67:6: note: in expansion of macro ‘PUSH_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/util/byteorder.h:117:28: note: in expansion of macro ‘PUSH_LE_U32’
samba-4.21.1-build/samba-4.21.1/source3/registry/reg_parse_prs.c:388:25: note: in expansion of macro ‘SIVAL’
samba-4.21.1-build/samba-4.21.1/source3/registry/reg_parse_prs.c:379:13: note: in expansion of macro ‘UNMARSHALLING’
samba-4.21.1-build/samba-4.21.1/source3/registry/reg_parse_prs.c:379:13: note: in expansion of macro ‘UNMARSHALLING’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:57:41: note: in definition of macro ‘PUSH_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:67:6: note: in expansion of macro ‘PUSH_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/util/byteorder.h:117:28: note: in expansion of macro ‘PUSH_LE_U32’
samba-4.21.1-build/samba-4.21.1/source3/registry/reg_parse_prs.c:388:25: note: in expansion of macro ‘SIVAL’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:57:41: note: in definition of macro ‘PUSH_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:67:6: note: in expansion of macro ‘PUSH_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/util/byteorder.h:117:28: note: in expansion of macro ‘PUSH_LE_U32’
samba-4.21.1-build/samba-4.21.1/source3/registry/reg_parse_prs.c:388:25: note: in expansion of macro ‘SIVAL’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def515]
samba-4.21.1-build/samba-4.21.1/source3/rpc_client/wsp_cli.c: scope_hint: In function ‘process_andornot_node’
samba-4.21.1-build/samba-4.21.1/source3/rpc_client/wsp_cli.c:1420:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘crestr’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def516]
samba-4.21.1-build/samba-4.21.1/source3/rpc_client/wsp_cli.c:1457:23: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘crestriction’
samba-4.21.1-build/samba-4.21.1/source3/rpc_client/wsp_cli.c: scope_hint: In function ‘process_query_node’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def517]
samba-4.21.1-build/samba-4.21.1/source3/rpc_server/dfs/srv_dfs_nt.c: scope_hint: In function ‘init_reply_dfs_info_1’
samba-4.21.1-build/samba-4.21.1/source3/rpc_server/dfs/srv_dfs_nt.c:239:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘j’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def518]
samba-4.21.1-build/samba-4.21.1/source3/rpc_server/dfs/srv_dfs_nt.c: scope_hint: In function ‘init_reply_dfs_info_2’
samba-4.21.1-build/samba-4.21.1/source3/rpc_server/dfs/srv_dfs_nt.c:251:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘j’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def519]
samba-4.21.1-build/samba-4.21.1/source3/rpc_server/dfs/srv_dfs_nt.c: scope_hint: In function ‘init_reply_dfs_info_3’
samba-4.21.1-build/samba-4.21.1/source3/rpc_server/dfs/srv_dfs_nt.c:264:14: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘j’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def520]
samba-4.21.1-build/samba-4.21.1/source3/rpc_server/dfs/srv_dfs_nt.c:306:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘stor’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def521]
samba-4.21.1-build/samba-4.21.1/source3/rpc_server/rpc_host.c: scope_hint: In function ‘rpc_iface_binding_map_add_endpoint’
samba-4.21.1-build/samba-4.21.1/source3/rpc_server/rpc_host.c:1556:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘map’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def522]
samba-4.21.1-build/samba-4.21.1/source3/rpc_server/rpc_host.c: scope_hint: In function ‘rpc_host_fill_epm_db’
samba-4.21.1-build/samba-4.21.1/source3/rpc_server/rpc_host.c:1613:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘map’
samba-4.21.1-build/samba-4.21.1/lib/util/time.h:29: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/auth/credentials/credentials.h:25: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/cmdline/cmdline.h:21: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/rpc_server/rpc_host.c:44: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def523]
samba-4.21.1-build/samba-4.21.1/source3/rpc_server/rpc_host.c: scope_hint: In function ‘rpc_host_endpoint_accept_got_bind’
samba-4.21.1-build/samba-4.21.1/source3/rpc_server/rpc_host.c:2158:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def524]
samba-4.21.1-build/samba-4.21.1/source3/rpc_server/rpc_host.c: scope_hint: In function ‘rpc_host_server_setup_done’
samba-4.21.1-build/samba-4.21.1/source3/rpc_server/rpc_host.c:2545:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def525]
samba-4.21.1-build/samba-4.21.1/source3/rpc_server/samr/srv_samr_chgpasswd.c: scope_hint: In function ‘dochild’
samba-4.21.1-build/samba-4.21.1/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.21.1-build/samba-4.21.1/source3/include/smb.h:586: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:258: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/rpc_server/samr/srv_samr_chgpasswd.c:48: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/rpc_server/samr/srv_samr_chgpasswd.c:95:34: note: in expansion of macro ‘SMB_STRDUP’
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/source3/rpc_server/samr/srv_samr_chgpasswd.c:105:25: note: in expansion of macro ‘DEBUG’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def526]
samba-4.21.1-build/samba-4.21.1/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.21.1-build/samba-4.21.1/source3/rpc_server/samr/srv_samr_chgpasswd.c:95:34: note: in expansion of macro ‘SMB_STRDUP’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/source3/rpc_server/samr/srv_samr_chgpasswd.c:105:25: note: in expansion of macro ‘DEBUG’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def527]
samba-4.21.1-build/samba-4.21.1/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.21.1-build/samba-4.21.1/source3/rpc_server/samr/srv_samr_chgpasswd.c:95:34: note: in expansion of macro ‘SMB_STRDUP’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/source3/rpc_server/samr/srv_samr_chgpasswd.c:105:25: note: in expansion of macro ‘DEBUG’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def528]
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:237: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/rpc_server/samr/srv_samr_nt.c:34: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/rpc_server/samr/srv_samr_nt.c: scope_hint: In function ‘make_samr_lookup_rids’
samba-4.21.1-build/samba-4.21.1/source3/rpc_server/samr/srv_samr_nt.c:2186:54: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘names’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:201:20: note: in definition of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/source3/rpc_server/samr/srv_samr_nt.c:7910: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/charset/charset.h:28: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/samba_util.h:25: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:240: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/bin/default/librpc/gen_ndr/server_id.h:8: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/debug_s3.h:20: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:251: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/bin/default/libcli/util/ntstatus_gen.h:8:22: note: in expansion of macro ‘NT_STATUS’
samba-4.21.1-build/samba-4.21.1/source3/rpc_server/samr/srv_samr_nt.c:195:16: note: in expansion of macro ‘NT_STATUS_OK’
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/source3/rpc_server/samr/srv_samr_nt.c:2186:17: note: in expansion of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/source3/rpc_server/samr/srv_samr_nt.c:2186:17: note: in expansion of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:201:20: note: in definition of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:201:20: note: in definition of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:201:20: note: in definition of macro ‘DEBUG’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def529]
samba-4.21.1-build/samba-4.21.1/source3/rpc_server/samr/srv_samr_nt.c:2187:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘names’
samba-4.21.1-build/samba-4.21.1/bin/default/libcli/util/ntstatus_gen.h:8:22: note: in expansion of macro ‘NT_STATUS’
samba-4.21.1-build/samba-4.21.1/source3/rpc_server/samr/srv_samr_nt.c:195:16: note: in expansion of macro ‘NT_STATUS_OK’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/source3/rpc_server/samr/srv_samr_nt.c:2186:17: note: in expansion of macro ‘DEBUG’
Error: CPPCHECK_WARNING (CWE-457): [#def530]
samba-4.21.1-build/samba-4.21.1/source3/rpcclient/cmd_spotlight.c:225: error[uninitvar]: Uninitialized variable: share_path
Error: CPPCHECK_WARNING (CWE-768): [#def531]
samba-4.21.1-build/samba-4.21.1/source3/smbd/durable.c:532: error[unknownEvaluationOrder]: Expression '.pid={.pid=0,}' depends on order of evaluation of side effects
Error: GCC_ANALYZER_WARNING (CWE-476): [#def532]
samba-4.21.1-build/samba-4.21.1/source3/smbd/msdfs.c: scope_hint: In function ‘dfs_path_lookup’
samba-4.21.1-build/samba-4.21.1/source3/smbd/msdfs.c:750:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘parent_smb_fname’
samba-4.21.1-build/samba-4.21.1/lib/util/charset/charset.h:28: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/samba_util.h:25: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:240: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/smbd/msdfs.c:25: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/samba_util.h:50: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/smbd/msdfs.c:692:25: note: in expansion of macro ‘talloc_stackframe’
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/libcli/util/ntstatus.h:124:29: note: in expansion of macro ‘likely’
samba-4.21.1-build/samba-4.21.1/source3/smbd/msdfs.c:742:14: note: in expansion of macro ‘NT_STATUS_IS_OK’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def533]
samba-4.21.1-build/samba-4.21.1/source3/smbd/notifyd/notifyd.c: scope_hint: In function ‘notifyd_apply_rec_change’
samba-4.21.1-build/samba-4.21.1/source3/smbd/notifyd/notifyd.c:427:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘instance’
samba-4.21.1-build/samba-4.21.1/source3/smbd/notifyd/notifyd.c:20: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:289:33: note: in expansion of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source3/smbd/notifyd/notifyd.c:359:9: note: in expansion of macro ‘DBG_DEBUG’
/usr/include/tevent.h:32: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/smbd/notifyd/notifyd.c:21: included_from: Included from here.
Error: CPPCHECK_WARNING (CWE-768): [#def534]
samba-4.21.1-build/samba-4.21.1/source3/smbd/open.c:3262: 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): [#def535]
samba-4.21.1-build/samba-4.21.1/source3/smbd/server.c:316: error[uninitvar]: Uninitialized variable: buf
Error: GCC_ANALYZER_WARNING (CWE-775): [#def536]
samba-4.21.1-build/samba-4.21.1/source3/smbd/server.c: scope_hint: In function ‘smbd_open_one_socket’
samba-4.21.1-build/samba-4.21.1/source3/smbd/server.c:1109:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*<unknown>.fd’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def537]
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_ipc.c: scope_hint: In function ‘copy_trans_params_and_data’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_ipc.c:70:17: warning[-Wanalyzer-null-argument]: use of NULL ‘rdata’ where non-null expected
samba-4.21.1-build/samba-4.21.1/lib/util/byteorder.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/samba_util.h:49: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:240: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_ipc.c:27: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:26:35: note: in definition of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:41:16: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/util/byteorder.h:110:33: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_ipc.c:684:17: note: in expansion of macro ‘SVAL’
samba-4.21.1-build/samba-4.21.1/lib/util/charset/charset.h:28: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/samba_util.h:25: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_ipc.c:827:22: note: in expansion of macro ‘talloc_tos’
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:237: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_ipc.c:621:9: note: in expansion of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_ipc.c:555:17: note: in expansion of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_ipc.c:484:25: note: in expansion of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_ipc.c:484:25: note: in expansion of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:663: included_from: Included from here.
<built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def538]
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_ipc.c:80:17: warning[-Wanalyzer-null-argument]: use of NULL ‘rdata’ where non-null expected
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:26:35: note: in definition of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:41:16: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/util/byteorder.h:110:33: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_ipc.c:684:17: note: in expansion of macro ‘SVAL’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_ipc.c:827:22: note: in expansion of macro ‘talloc_tos’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_ipc.c:621:9: note: in expansion of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_ipc.c:555:17: note: in expansion of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_ipc.c:484:25: note: in expansion of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_ipc.c:484:25: note: in expansion of macro ‘DEBUG’
<built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def539]
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_nttrans.c: scope_hint: In function ‘send_nt_replies’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_nttrans.c:218:25: warning[-Wanalyzer-null-argument]: use of NULL ‘pp’ where non-null expected
samba-4.21.1-build/samba-4.21.1/lib/util/byteorder.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/samba_util.h:49: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:240: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_nttrans.c:21: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:26:35: note: in definition of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:41:16: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:46:17: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/util/byteorder.h:111:23: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_nttrans.c:2647:13: note: in expansion of macro ‘IVAL’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:36:6: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:41:16: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:46:17: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/util/byteorder.h:111:23: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_nttrans.c:1992:20: note: in expansion of macro ‘IVAL’
samba-4.21.1-build/samba-4.21.1/source3/include/vfs.h:1407: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/smb.h:137: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:258: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/vfs_macros.h:409:81: note: in definition of macro ‘SMB_VFS_FSCTL’
samba-4.21.1-build/samba-4.21.1/source3/include/smb.h:586: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/smb_macros.h:134:33: note: in definition of macro ‘smb_buf’
<built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def540]
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_nttrans.c:232:25: warning[-Wanalyzer-null-argument]: use of NULL ‘pd’ where non-null expected
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:26:35: note: in definition of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:41:16: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:46:17: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/util/byteorder.h:111:23: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_nttrans.c:2647:13: note: in expansion of macro ‘IVAL’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:36:6: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:41:16: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/util/byteorder.h:110:33: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_nttrans.c:1833:29: note: in expansion of macro ‘SVAL’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:36:6: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:41:16: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:46:17: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/util/byteorder.h:111:23: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_nttrans.c:1839:32: note: in expansion of macro ‘IVAL’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_nttrans.c:42:24: note: in expansion of macro ‘SMB_REALLOC’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:62:6: note: in expansion of macro ‘PUSH_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:67:6: note: in expansion of macro ‘PUSH_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/util/byteorder.h:117:28: note: in expansion of macro ‘PUSH_LE_U32’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_nttrans.c:1865:17: note: in expansion of macro ‘SIVAL’
<built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def541]
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_nttrans.c: scope_hint: In function ‘call_nt_transact_get_user_quota’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_nttrans.c:2160:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:26:35: note: in definition of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:41:16: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:46:17: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/util/byteorder.h:111:23: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_nttrans.c:2647:13: note: in expansion of macro ‘IVAL’
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:289:33: note: in expansion of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_nttrans.c:2095:9: note: in expansion of macro ‘DBG_DEBUG’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_nttrans.c:42:24: note: in expansion of macro ‘SMB_REALLOC’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_nttrans.c:42:24: note: in expansion of macro ‘SMB_REALLOC’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def542]
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_trans2.c: scope_hint: In function ‘send_trans2_replies’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_trans2.c:226:25: warning[-Wanalyzer-null-argument]: use of NULL ‘pd’ where non-null expected
samba-4.21.1-build/samba-4.21.1/lib/util/byteorder.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/samba_util.h:49: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:240: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_trans2.c:26: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:26:35: note: in definition of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:41:16: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/util/byteorder.h:110:33: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_trans2.c:5588:13: note: in expansion of macro ‘SVAL’
samba-4.21.1-build/samba-4.21.1/source3/include/smb.h:586: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:258: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_trans2.c:5166:13: note: in expansion of macro ‘ENCRYPTION_REQUIRED’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:36:6: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:41:16: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/util/byteorder.h:110:33: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_trans2.c:542:17: note: in expansion of macro ‘SVAL’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_trans2.c:559:13: note: in expansion of macro ‘IS_IPC’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_trans2.c:559:13: note: in expansion of macro ‘IS_IPC’
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_trans2.c:588:9: note: in expansion of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:36:6: note: in expansion of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:41:16: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:46:17: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/lib/util/byteorder.h:111:23: note: in expansion of macro ‘PULL_LE_U32’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_trans2.c:640:21: note: in expansion of macro ‘IVAL’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb1_trans2.c:662:44: note: in expansion of macro ‘SMB_REALLOC’
<built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-457): [#def543]
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb2_create.c: scope_hint: In function ‘smbd_smb2_request_create_done’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb2_create.c:371:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘out_context_blobs’
Error: CPPCHECK_WARNING (CWE-457): [#def544]
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb2_create.c:1526: error[uninitvar]: Uninitialized variable: p
Error: CPPCHECK_WARNING (CWE-457): [#def545]
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb2_create.c:1636: error[uninitvar]: Uninitialized variable: p
Error: GCC_ANALYZER_WARNING (CWE-465): [#def546]
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb2_ioctl_filesys.c: scope_hint: In function ‘fsctl_zero_data’
samba-4.21.1-build/samba-4.21.1/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.21.1-build/samba-4.21.1/source3/include/vfs.h:1407: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/smb.h:137: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:258: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb2_ioctl_filesys.c:22: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb2_ioctl_filesys.c:466:14: note: in expansion of macro ‘SMB_VFS_STRICT_LOCK_CHECK’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb2_ioctl_filesys.c:481:15: note: in expansion of macro ‘SMB_VFS_FALLOCATE’
samba-4.21.1-build/samba-4.21.1/source3/include/smb.h:586: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/smb_macros.h:76:35: note: in definition of macro ‘SNUM’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def547]
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb2_read.c: scope_hint: In function ‘smb2_sendfile_send_data’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb2_read.c:237:25: warning[-Wanalyzer-deref-before-check]: check of ‘*fsp.conn’ for NULL after already dereferencing it
samba-4.21.1-build/samba-4.21.1/source3/include/vfs.h:1407: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/smb.h:137: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:258: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb2_read.c:21: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb2_read.c:217:17: note: in expansion of macro ‘SMB_VFS_SENDFILE’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:51: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/smb.h:586: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/smb_macros.h:76:35: note: in definition of macro ‘SNUM’
Error: GCC_ANALYZER_WARNING (CWE-465): [#def548]
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb2_read.c:249:25: warning[-Wanalyzer-deref-before-check]: check of ‘*fsp.conn’ for NULL after already dereferencing it
samba-4.21.1-build/samba-4.21.1/source3/smbd/smb2_read.c:217:17: note: in expansion of macro ‘SMB_VFS_SENDFILE’
samba-4.21.1-build/samba-4.21.1/source3/include/smb_macros.h:76:35: note: in definition of macro ‘SNUM’
Error: CPPCHECK_WARNING (CWE-457): [#def549]
samba-4.21.1-build/samba-4.21.1/source3/smbd/smbXsrv_open.c:1057: error[uninitvar]: Uninitialized variable: data
Error: GCC_ANALYZER_WARNING (CWE-476): [#def550]
samba-4.21.1-build/samba-4.21.1/source3/smbd/smbXsrv_open.c: scope_hint: In function ‘smbXsrv_open_cleanup_fn’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smbXsrv_open.c:1437:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘global’
Error: CPPCHECK_WARNING (CWE-457): [#def551]
samba-4.21.1-build/samba-4.21.1/source3/smbd/smbXsrv_session.c:122: warning[uninitvar]: Uninitialized variable: key_buf
Error: CPPCHECK_WARNING (CWE-457): [#def552]
samba-4.21.1-build/samba-4.21.1/source3/smbd/smbXsrv_session.c:153: warning[uninitvar]: Uninitialized variable: key_buf
Error: GCC_ANALYZER_WARNING (CWE-476): [#def553]
samba-4.21.1-build/samba-4.21.1/source3/smbd/smbXsrv_session.c: scope_hint: In function ‘smbXsrv_session_logoff’
samba-4.21.1-build/samba-4.21.1/source3/smbd/smbXsrv_session.c:1853:15: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*session.client’
Error: CPPCHECK_WARNING (CWE-457): [#def554]
samba-4.21.1-build/samba-4.21.1/source3/smbd/smbXsrv_tcon.c:102: warning[uninitvar]: Uninitialized variable: key_buf
Error: CPPCHECK_WARNING (CWE-457): [#def555]
samba-4.21.1-build/samba-4.21.1/source3/smbd/smbXsrv_tcon.c:133: warning[uninitvar]: Uninitialized variable: key_buf
Error: GCC_ANALYZER_WARNING (CWE-476): [#def556]
samba-4.21.1-build/samba-4.21.1/source3/utils/log2pcaphex.c: scope_hint: In function ‘print_netbios_packet’
samba-4.21.1-build/samba-4.21.1/source3/utils/log2pcaphex.c:173:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘newdata’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def557]
samba-4.21.1-build/samba-4.21.1/source3/utils/log2pcaphex.c: scope_hint: In function ‘read_log_msg’
samba-4.21.1-build/samba-4.21.1/source3/utils/log2pcaphex.c:217:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘buffer’ where non-null expected
samba-4.21.1-build/samba-4.21.1/source3/utils/log2pcaphex.c:60: included_from: Included from here.
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-775): [#def558]
samba-4.21.1-build/samba-4.21.1/source3/utils/net_idmap.c: scope_hint: In function ‘net_idmap_restore’
samba-4.21.1-build/samba-4.21.1/source3/utils/net_idmap.c:359:24: warning[-Wanalyzer-file-leak]: leak of FILE ‘input’
samba-4.21.1-build/samba-4.21.1/lib/util/samba_util.h:50: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:240: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/utils/net_idmap.c:20: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/utils/net_idmap.c:362:19: note: in expansion of macro ‘talloc_stackframe’
samba-4.21.1-build/samba-4.21.1/source3/utils/net.h:31: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/utils/net_idmap.c:22: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/utils/net_idmap.c:378:27: note: in expansion of macro ‘_’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def559]
samba-4.21.1-build/samba-4.21.1/source3/utils/net_idmap.c:359:24: warning[-Wanalyzer-malloc-leak]: leak of ‘input’
samba-4.21.1-build/samba-4.21.1/source3/utils/net_idmap.c:362:19: note: in expansion of macro ‘talloc_stackframe’
samba-4.21.1-build/samba-4.21.1/source3/utils/net_idmap.c:378:27: note: in expansion of macro ‘_’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def560]
samba-4.21.1-build/samba-4.21.1/source3/utils/net_idmap_check.c: scope_hint: In function ‘check_open_db’
samba-4.21.1-build/samba-4.21.1/source3/utils/net_idmap_check.c:815:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ctx’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def561]
samba-4.21.1-build/samba-4.21.1/source3/utils/net_rap.c: scope_hint: In function ‘rap_share_add.part.0’
samba-4.21.1-build/samba-4.21.1/source3/utils/net_rap.c:246:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘sharename’ where non-null expected
samba-4.21.1-build/samba-4.21.1/source3/include/smb.h:586: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:258: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/utils/net_rap.c:25: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/utils/net_rap.c:245:21: note: in expansion of macro ‘SMB_STRDUP’
samba-4.21.1-build/samba-4.21.1/source3/utils/net_rap.c:245:21: note: in expansion of macro ‘SMB_STRDUP’
<built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def562]
samba-4.21.1-build/samba-4.21.1/source3/utils/net_registry_check.c: scope_hint: In function ‘check_ctx_transaction_stop’
samba-4.21.1-build/samba-4.21.1/source3/utils/net_registry_check.c:377:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ctx’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def563]
samba-4.21.1-build/samba-4.21.1/source3/utils/net_rpc.c: scope_hint: In function ‘run_rpc_command’
samba-4.21.1-build/samba-4.21.1/source3/utils/net_rpc.c:198:37: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘domain_name’
samba-4.21.1-build/samba-4.21.1/lib/util/charset/charset.h:28: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/samba_util.h:25: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:240: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/utils/net_rpc.c:23: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def564]
samba-4.21.1-build/samba-4.21.1/source3/utils/net_rpc_conf.c: scope_hint: In function ‘rpc_conf_import_internal’
samba-4.21.1-build/samba-4.21.1/source3/utils/net_rpc_conf.c:1244:25: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘services’
samba-4.21.1-build/samba-4.21.1/source3/utils/net_rpc_conf.c: scope_hint: In function ‘rpc_conf_import_internal’
samba-4.21.1-build/samba-4.21.1/source3/utils/net_rpc_conf.c: scope_hint: In function ‘rpc_conf_import_internal’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def565]
samba-4.21.1-build/samba-4.21.1/source3/utils/net_rpc_trust.c: scope_hint: In function ‘rpc_trust_common’
samba-4.21.1-build/samba-4.21.1/source3/utils/net_rpc_trust.c:651:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/utils/net_rpc_trust.c:20: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/source3/utils/net_rpc_trust.c:225:17: note: in expansion of macro ‘DEBUG’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def566]
samba-4.21.1-build/samba-4.21.1/source3/utils/net_util.c: scope_hint: In function ‘net_make_ipc_connection_ex’
samba-4.21.1-build/samba-4.21.1/source3/utils/net_util.c:433:16: warning[-Wanalyzer-malloc-leak]: leak of ‘server_name’
samba-4.21.1-build/samba-4.21.1/source3/include/smb.h:586: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:258: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/utils/net_util.c:22: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/utils/net_util.c:285:32: note: in expansion of macro ‘SMB_STRDUP’
samba-4.21.1-build/samba-4.21.1/source3/utils/net_util.c:285:32: note: in expansion of macro ‘SMB_STRDUP’
samba-4.21.1-build/samba-4.21.1/source3/utils/net.h:31: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/utils/net_util.c:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/utils/net_util.c:397:43: note: in expansion of macro ‘_’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def567]
samba-4.21.1-build/samba-4.21.1/source3/utils/ntlm_auth.c: scope_hint: In function ‘check_auth_crap’
samba-4.21.1-build/samba-4.21.1/source3/utils/ntlm_auth.c:2483:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘error_string’
samba-4.21.1-build/samba-4.21.1/source3/utils/ntlm_auth.c:51: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/utils/ntlm_auth.c:394:9: note: in expansion of macro ‘fstrcpy’
samba-4.21.1-build/samba-4.21.1/bin/default/librpc/gen_ndr/server_id.h:8: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/debug_s3.h:20: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:251: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/utils/ntlm_auth.c:27: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/bin/default/libcli/util/ntstatus_gen.h:220:37: note: in expansion of macro ‘NT_STATUS’
samba-4.21.1-build/samba-4.21.1/source3/utils/ntlm_auth.c:551:24: note: in expansion of macro ‘NT_STATUS_INVALID_PARAMETER’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def568]
samba-4.21.1-build/samba-4.21.1/source3/utils/regedit_dialog.c: scope_hint: In function ‘dialog_set_submit_cb’
samba-4.21.1-build/samba-4.21.1/source3/utils/regedit_dialog.c:102:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dia’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def569]
samba-4.21.1-build/samba-4.21.1/lib/util/charset/charset.h:28: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/samba_util.h:25: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:240: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/utils/regedit_dialog.c:20: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/utils/regedit_dialog.c: scope_hint: In function ‘dialog_section_set_name’
samba-4.21.1-build/samba-4.21.1/source3/utils/regedit_dialog.c:157:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘section’
samba-4.21.1-build/samba-4.21.1/lib/util/samba_util.h:60: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/utils/regedit_dialog.c:171:9: note: in expansion of macro ‘SMB_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def570]
samba-4.21.1-build/samba-4.21.1/source3/utils/regedit_dialog.c: scope_hint: In function ‘dialog_section_set_justify’
samba-4.21.1-build/samba-4.21.1/source3/utils/regedit_dialog.c:164:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘section’
samba-4.21.1-build/samba-4.21.1/source3/utils/regedit_dialog.c:171:9: note: in expansion of macro ‘SMB_ASSERT’
samba-4.21.1-build/samba-4.21.1/source3/utils/regedit_dialog.c:171:9: note: in expansion of macro ‘SMB_ASSERT’
samba-4.21.1-build/samba-4.21.1/source3/utils/regedit_dialog.c:171:9: note: in expansion of macro ‘SMB_ASSERT’
samba-4.21.1-build/samba-4.21.1/source3/utils/regedit_dialog.c:171:9: note: in expansion of macro ‘SMB_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def571]
samba-4.21.1-build/samba-4.21.1/source3/utils/regedit_dialog.c: scope_hint: In function ‘dialog_append_section’
samba-4.21.1-build/samba-4.21.1/source3/utils/regedit_dialog.c:173:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dia’
samba-4.21.1-build/samba-4.21.1/source3/utils/regedit_dialog.c:171:9: note: in expansion of macro ‘SMB_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def572]
samba-4.21.1-build/samba-4.21.1/source3/utils/regedit_treeview.c: scope_hint: In function ‘tree_node_append’
samba-4.21.1-build/samba-4.21.1/source3/utils/regedit_treeview.c:113:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘left’
Error: CPPCHECK_WARNING (CWE-457): [#def573]
samba-4.21.1-build/samba-4.21.1/source3/utils/regedit_treeview.c:312: warning[uninitvar]: Uninitialized variable: rv.w
Error: GCC_ANALYZER_WARNING (CWE-457): [#def574]
samba-4.21.1-build/samba-4.21.1/source3/utils/regedit_treeview.c: scope_hint: In function ‘tree_node_load_children’
samba-4.21.1-build/samba-4.21.1/source3/utils/regedit_treeview.c:312:16: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘rv.w’
samba-4.21.1-build/samba-4.21.1/lib/util/charset/charset.h:28: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/samba_util.h:25: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:240: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/utils/regedit_treeview.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/utils/regedit_treeview.c:20: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def575]
samba-4.21.1-build/samba-4.21.1/source3/utils/regedit_treeview.c: scope_hint: In function ‘tree_node_print_path’
samba-4.21.1-build/samba-4.21.1/source3/utils/regedit_treeview.c:696:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘path’
samba-4.21.1-build/samba-4.21.1/lib/util/samba_util.h:50: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/utils/regedit_treeview.c:693:17: note: in expansion of macro ‘talloc_stackframe’
Error: CPPCHECK_WARNING (CWE-457): [#def576]
samba-4.21.1-build/samba-4.21.1/source3/utils/regedit_valuelist.c:378: warning[uninitvar]: Uninitialized variable: rv.w
Error: GCC_ANALYZER_WARNING (CWE-775): [#def577]
samba-4.21.1-build/samba-4.21.1/source3/utils/smbfilter.c: scope_hint: In function ‘start_filter’
samba-4.21.1-build/samba-4.21.1/source3/utils/smbfilter.c:298:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘open_socket_in(1, &my_ss, 445, 1)’
Error: CPPCHECK_WARNING (CWE-476): [#def578]
samba-4.21.1-build/samba-4.21.1/source3/winbindd/idmap.c:182: error[ctunullpointer]: Null pointer dereference: buf
Error: CPPCHECK_WARNING (CWE-476): [#def579]
samba-4.21.1-build/samba-4.21.1/source3/winbindd/idmap.c:182: warning[nullPointer]: Possible null pointer dereference: buf
Error: GCC_ANALYZER_WARNING (CWE-476): [#def580]
samba-4.21.1-build/samba-4.21.1/source3/winbindd/idmap_ad.c: scope_hint: In function ‘idmap_ad_dn_filter’
samba-4.21.1-build/samba-4.21.1/source3/winbindd/idmap_ad.c:633:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ctx’
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/winbindd/idmap_ad.c:20: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:289:33: note: in expansion of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source3/winbindd/idmap_ad.c:1110:9: note: in expansion of macro ‘DBG_DEBUG’
samba-4.21.1-build/samba-4.21.1/lib/util/charset/charset.h:28: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/samba_util.h:25: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:240: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-775): [#def581]
samba-4.21.1-build/samba-4.21.1/source3/winbindd/winbindd.c: scope_hint: In function ‘winbindd_setup_listeners’
samba-4.21.1-build/samba-4.21.1/source3/winbindd/winbindd.c:1041:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘create_pipe_sock(lp_winbindd_socket_directory(), "pipe", 493)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def582]
samba-4.21.1-build/samba-4.21.1/source3/winbindd/winbindd.c:1073:12: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘*<unknown>.fd’
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:247: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/winbindd/winbindd.c:25: included_from: Included from here.
Error: CPPCHECK_WARNING (CWE-457): [#def583]
samba-4.21.1-build/samba-4.21.1/source3/winbindd/winbindd_cache.c:527: error[uninitvar]: Uninitialized variable: buf
Error: GCC_ANALYZER_WARNING (CWE-688): [#def584]
samba-4.21.1-build/samba-4.21.1/source3/winbindd/winbindd_dual.c: scope_hint: In function ‘winbind_msg_dump_domain_list’
samba-4.21.1-build/samba-4.21.1/source3/winbindd/winbindd_dual.c:1193:51: warning[-Wanalyzer-null-argument]: use of NULL ‘s’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def585]
samba-4.21.1-build/samba-4.21.1/source3/winbindd/winbindd_msrpc.c: scope_hint: In function ‘msrpc_name_to_sid’
samba-4.21.1-build/samba-4.21.1/source3/winbindd/winbindd_msrpc.c:275:28: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘domains’
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/winbindd/winbindd_msrpc.c:25: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/source3/winbindd/winbindd_msrpc.c:246:9: note: in expansion of macro ‘DEBUG’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def586]
samba-4.21.1-build/samba-4.21.1/source3/winbindd/winbindd_msrpc.c:285:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘types’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/source3/winbindd/winbindd_msrpc.c:246:9: note: in expansion of macro ‘DEBUG’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def587]
samba-4.21.1-build/samba-4.21.1/source3/winbindd/winbindd_msrpc.c: scope_hint: In function ‘msrpc_sid_to_name’
samba-4.21.1-build/samba-4.21.1/source3/winbindd/winbindd_msrpc.c:326:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘types’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def588]
samba-4.21.1-build/samba-4.21.1/source3/winbindd/winbindd_msrpc.c: scope_hint: In function ‘winbindd_lookup_names’
samba-4.21.1-build/samba-4.21.1/source3/winbindd/winbindd_msrpc.c:1054:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def589]
samba-4.21.1-build/samba-4.21.1/source3/winbindd/winbindd_pam.c: scope_hint: In function ‘winbindd_pam_auth_pac_verify’
samba-4.21.1-build/samba-4.21.1/source3/winbindd/winbindd_pam.c:3500:31: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘pac_data’
samba-4.21.1-build/samba-4.21.1/source3/include/includes.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source3/winbindd/winbindd_pam.c:25: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/libcli/util/ntstatus.h:124:29: note: in expansion of macro ‘likely’
samba-4.21.1-build/samba-4.21.1/source3/winbindd/winbindd_pam.c:3494:14: note: in expansion of macro ‘NT_STATUS_IS_OK’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def590]
samba-4.21.1-build/samba-4.21.1/source3/winbindd/winbindd_rpc.c: scope_hint: In function ‘rpc_lookup_useraliases’
samba-4.21.1-build/samba-4.21.1/source3/winbindd/winbindd_rpc.c:358:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
Error: GCC_ANALYZER_WARNING (CWE-686): [#def591]
samba-4.21.1-build/samba-4.21.1/source4/client/cifsdd.c: scope_hint: In function ‘set_arg_val’
samba-4.21.1-build/samba-4.21.1/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’
Error: GCC_ANALYZER_WARNING (CWE-686): [#def592]
samba-4.21.1-build/samba-4.21.1/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’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def593]
samba-4.21.1-build/samba-4.21.1/source4/client/client.c: scope_hint: In function ‘do_put’
samba-4.21.1-build/samba-4.21.1/source4/client/client.c:1134:40: warning[-Wanalyzer-file-leak]: leak of FILE ‘f’
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/client/client.c:32: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/source4/client/client.c:1172:9: note: in expansion of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/lib/util/samba_util.h:57: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:62: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/client/client.c:1217:9: note: in expansion of macro ‘SAFE_FREE’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def594]
samba-4.21.1-build/samba-4.21.1/source4/client/client.c:1134:40: warning[-Wanalyzer-malloc-leak]: leak of ‘f’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/source4/client/client.c:1172:9: note: in expansion of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/source4/client/client.c:1217:9: note: in expansion of macro ‘SAFE_FREE’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def595]
samba-4.21.1-build/samba-4.21.1/source4/client/client.c: scope_hint: In function ‘completion_remote_filter’
samba-4.21.1-build/samba-4.21.1/source4/client/client.c:2927:52: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(*f.name)’
samba-4.21.1-build/samba-4.21.1/source4/client/client.c:41: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/client/client.c:2925:104: note: in expansion of macro ‘ISDOT’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def596]
samba-4.21.1-build/samba-4.21.1/source4/client/client.c: scope_hint: In function ‘remote_completion’
samba-4.21.1-build/samba-4.21.1/source4/client/client.c:2996:33: warning[-Wanalyzer-malloc-leak]: leak of ‘strdup(info.matches[1])’
samba-4.21.1-build/samba-4.21.1/source4/client/client.c:2968:24: note: in expansion of macro ‘malloc_array_p’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def597]
samba-4.21.1-build/samba-4.21.1/source4/dns_server/dns_query.c: scope_hint: In function ‘accept_gss_ticket’
samba-4.21.1-build/samba-4.21.1/source4/dns_server/dns_query.c:772:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tkey’
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:54: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/dns_server/dns_query.c:22: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-457): [#def598]
samba-4.21.1-build/samba-4.21.1/source4/dsdb/common/util.c: scope_hint: In function ‘samdb_reference_dn’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/common/util.c:1928:56: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘res’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def599]
samba-4.21.1-build/samba-4.21.1/source4/dsdb/common/util.c:3098:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘user_msg’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def600]
samba-4.21.1-build/samba-4.21.1/source4/dsdb/common/util.c: scope_hint: In function ‘dsdb_find_dn_by_guid’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/common/util.c:3390:40: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘res’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/common/util.c:5653:9: note: in expansion of macro ‘SMB_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def601]
samba-4.21.1-build/samba-4.21.1/source4/dsdb/common/util.c: scope_hint: In function ‘dsdb_find_dn_by_sid’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/common/util.c:3544:40: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘res’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/common/util.c:5653:9: note: in expansion of macro ‘SMB_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def602]
samba-4.21.1-build/samba-4.21.1/source4/dsdb/common/util.c: scope_hint: In function ‘samdb_get_ntds_obj_by_guid’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/common/util.c:3813:49: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘res’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/common/util.c:5653:9: note: in expansion of macro ‘SMB_ASSERT’
samba-4.21.1-build/samba-4.21.1/lib/util/fault.h:36:13: note: in expansion of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/common/util.c:5653:9: note: in expansion of macro ‘SMB_ASSERT’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/common/util.c:5653:9: note: in expansion of macro ‘SMB_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def603]
samba-4.21.1-build/samba-4.21.1/source4/dsdb/common/util.c: scope_hint: In function ‘samdb_is_rodc’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/common/util.c:3858:15: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘msg’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/common/util.c:26: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/bin/default/include/public/ldb_module.h:160:24: note: in expansion of macro ‘ldb_error’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/common/util.c:3797:24: note: in expansion of macro ‘ldb_operr’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def604]
samba-4.21.1-build/samba-4.21.1/source4/dsdb/common/util.c:5109:51: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:289:33: note: in expansion of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/common/util.c:5530:9: note: in expansion of macro ‘DBG_DEBUG’
Error: CPPCHECK_WARNING (CWE-457): [#def605]
samba-4.21.1-build/samba-4.21.1/source4/dsdb/common/util_links.c:40: error[uninitvar]: Uninitialized variable: v2_data
Error: GCC_ANALYZER_WARNING (CWE-476): [#def606]
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/acl.c: scope_hint: In function ‘acl_check_spn’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/acl.c:696:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘msg’
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:54: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/acl.c:34: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/bin/default/include/public/ldb_module.h:36: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/acl.c:35: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/acl.c:2036:28: note: in expansion of macro ‘ldb_attr_cmp’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/acl.c:2047:28: note: in expansion of macro ‘ldb_attr_cmp’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/acl.c:2051:28: note: in expansion of macro ‘ldb_attr_cmp’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/acl.c:2077:28: note: in expansion of macro ‘ldb_attr_cmp’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def607]
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/acl.c:722:58: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘msg’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/acl.c:2036:28: note: in expansion of macro ‘ldb_attr_cmp’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/acl.c:2047:28: note: in expansion of macro ‘ldb_attr_cmp’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/acl.c:2051:28: note: in expansion of macro ‘ldb_attr_cmp’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/acl.c:2077:28: note: in expansion of macro ‘ldb_attr_cmp’
samba-4.21.1-build/samba-4.21.1/bin/default/include/public/ldb.h:117:36: note: in definition of macro ‘LDB_FLAG_MOD_TYPE’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def608]
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/acl.c:791:65: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘msg’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/acl.c:2036:28: note: in expansion of macro ‘ldb_attr_cmp’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/acl.c:2047:28: note: in expansion of macro ‘ldb_attr_cmp’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/acl.c:2051:28: note: in expansion of macro ‘ldb_attr_cmp’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/acl.c:2077:28: note: in expansion of macro ‘ldb_attr_cmp’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def609]
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/acl.c: scope_hint: In function ‘acl_check_dns_host_name’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/acl.c:898:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘msg’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/acl.c:2036:28: note: in expansion of macro ‘ldb_attr_cmp’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/acl.c:2047:28: note: in expansion of macro ‘ldb_attr_cmp’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/acl.c:2051:28: note: in expansion of macro ‘ldb_attr_cmp’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/acl.c:2077:28: note: in expansion of macro ‘ldb_attr_cmp’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/acl.c:2090:28: note: in expansion of macro ‘ldb_attr_cmp’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def610]
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/acl.c:931:58: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘msg’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/acl.c:2036:28: note: in expansion of macro ‘ldb_attr_cmp’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/acl.c:2047:28: note: in expansion of macro ‘ldb_attr_cmp’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/acl.c:2051:28: note: in expansion of macro ‘ldb_attr_cmp’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/acl.c:2077:28: note: in expansion of macro ‘ldb_attr_cmp’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/acl.c:2090:28: note: in expansion of macro ‘ldb_attr_cmp’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def611]
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/acl.c:1042:43: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘search_res’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/acl.c:2036:28: note: in expansion of macro ‘ldb_attr_cmp’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/acl.c:2047:28: note: in expansion of macro ‘ldb_attr_cmp’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/acl.c:2051:28: note: in expansion of macro ‘ldb_attr_cmp’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/acl.c:2077:28: note: in expansion of macro ‘ldb_attr_cmp’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/acl.c:2090:28: note: in expansion of macro ‘ldb_attr_cmp’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def612]
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/count_attrs.c: scope_hint: In function ‘count_attrs_search’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/count_attrs.c:484:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:54: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/count_attrs.c:27: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def613]
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/dirsync.c: scope_hint: In function ‘dirsync_filter_entry’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/dirsync.c:465:79: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘tab’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/dirsync.c:22: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/ldb/include/ldb.h:1943:39: note: in definition of macro ‘ldb_attr_cmp’
samba-4.21.1-build/samba-4.21.1/lib/ldb/include/ldb.h:1943:39: note: in definition of macro ‘ldb_attr_cmp’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/dirsync.c:361:21: note: in expansion of macro ‘ldb_attr_cmp’
samba-4.21.1-build/samba-4.21.1/lib/ldb/include/ldb.h:1943:39: note: in definition of macro ‘ldb_attr_cmp’
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:54: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/dirsync.c:21: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def614]
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/group_audit.c: scope_hint: In function ‘dn_compare’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/group_audit.c:346:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dn1’
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/group_audit.c:25: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:285:33: note: in expansion of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/group_audit.c:303:17: note: in expansion of macro ‘DBG_ERR’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def615]
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/group_audit.c:346:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘dn2’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:285:33: note: in expansion of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/group_audit.c:303:17: note: in expansion of macro ‘DBG_ERR’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def616]
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/group_audit.c: scope_hint: In function ‘log_membership_changes’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/group_audit.c:742:36: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘old_val’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:285:33: note: in expansion of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/group_audit.c:303:17: note: in expansion of macro ‘DBG_ERR’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def617]
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/group_audit.c:839:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘new_val’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/lib/util/debug.h:285:33: note: in expansion of macro ‘DBG_PREFIX’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/group_audit.c:303:17: note: in expansion of macro ‘DBG_ERR’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def618]
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/operational.c:68: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/operational.c: scope_hint: In function ‘pso_find_best’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/operational.c:1241:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘res’
samba-4.21.1-build/samba-4.21.1/bin/default/include/public/ldb.h:2342:13: note: in definition of macro ‘TYPESAFE_QSORT’
samba-4.21.1-build/samba-4.21.1/bin/default/include/public/ldb.h:2342:13: note: in definition of macro ‘TYPESAFE_QSORT’
samba-4.21.1-build/samba-4.21.1/bin/default/include/public/ldb.h:2342:13: note: in definition of macro ‘TYPESAFE_QSORT’
samba-4.21.1-build/samba-4.21.1/bin/default/include/public/ldb.h:2342:13: note: in definition of macro ‘TYPESAFE_QSORT’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def619]
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/paged_results.c: scope_hint: In function ‘paged_results’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/paged_results.c:273:50: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘result’
Error: CPPCHECK_WARNING (CWE-457): [#def620]
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/repl_meta_data.c:1305: error[uninitvar]: Uninitialized variable: guid_data
Error: GCC_ANALYZER_WARNING (CWE-457): [#def621]
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/samldb.c: scope_hint: In function ‘samldb_check_user_account_control_acl’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/samldb.c:2777:39: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘domain_sd’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def622]
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/samldb.c:2814:25: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘domain_sd’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def623]
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/samldb.c: scope_hint: In function ‘samldb_check_sensitive_attributes’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/samldb.c:4827:23: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘domain_sd’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def624]
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:54: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/util.c:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/util.c: scope_hint: In function ‘dsdb_module_dn_by_guid’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/util.c:332:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘msg’
samba-4.21.1-build/samba-4.21.1/lib/util/samba_util.h:60: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:62: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/util.c:224:9: note: in expansion of macro ‘SMB_ASSERT’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def625]
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/vlv_pagination.c: scope_hint: In function ‘vlv_value_compare’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/vlv_pagination.c:254:41: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘result’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/vlv_pagination.c:51: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/vlv_pagination.c:312:17: note: in expansion of macro ‘BINARY_ARRAY_SEARCH_GTE’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/vlv_pagination.c:312:17: note: in expansion of macro ‘BINARY_ARRAY_SEARCH_GTE’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/vlv_pagination.c:312:17: note: in expansion of macro ‘BINARY_ARRAY_SEARCH_GTE’
samba-4.21.1-build/samba-4.21.1/lib/util/binsearch.h:110:34: note: in definition of macro ‘BINARY_ARRAY_SEARCH_GTE’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/vlv_pagination.c: scope_hint: In function ‘vlv_value_compare’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def626]
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/vlv_pagination.c: scope_hint: In function ‘vlv_results’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/vlv_pagination.c:462:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘result’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:663: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/vlv_pagination.c:37: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def627]
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/vlv_pagination.c: scope_hint: In function ‘copy_search_details’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/ldb_modules/vlv_pagination.c:654:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘store’
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:54: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def628]
samba-4.21.1-build/samba-4.21.1/source4/dsdb/schema/schema_query.c: scope_hint: In function ‘dsdb_attribute_list’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/schema/schema_query.c:280:71: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sclass’
samba-4.21.1-build/samba-4.21.1/source4/dsdb/schema/schema_query.c:26: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/binsearch.h:49:13: note: in definition of macro ‘BINARY_ARRAY_SEARCH_P’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def629]
samba-4.21.1-build/samba-4.21.1/source4/dsdb/schema/schema_query.c:285:71: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sclass’
samba-4.21.1-build/samba-4.21.1/lib/util/binsearch.h:49:13: note: in definition of macro ‘BINARY_ARRAY_SEARCH_P’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def630]
samba-4.21.1-build/samba-4.21.1/source4/dsdb/schema/schema_query.c:290:71: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sclass’
samba-4.21.1-build/samba-4.21.1/lib/util/binsearch.h:49:13: note: in definition of macro ‘BINARY_ARRAY_SEARCH_P’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def631]
samba-4.21.1-build/samba-4.21.1/source4/dsdb/schema/schema_query.c:294:71: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sclass’
samba-4.21.1-build/samba-4.21.1/lib/util/binsearch.h:49:13: note: in definition of macro ‘BINARY_ARRAY_SEARCH_P’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def632]
samba-4.21.1-build/samba-4.21.1/source4/dsdb/schema/schema_query.c:298:71: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sclass’
samba-4.21.1-build/samba-4.21.1/lib/util/binsearch.h:49:13: note: in definition of macro ‘BINARY_ARRAY_SEARCH_P’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def633]
samba-4.21.1-build/samba-4.21.1/source4/dsdb/schema/schema_query.c:302:71: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sclass’
samba-4.21.1-build/samba-4.21.1/lib/util/binsearch.h:49:13: note: in definition of macro ‘BINARY_ARRAY_SEARCH_P’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def634]
samba-4.21.1-build/samba-4.21.1/source4/dsdb/schema/schema_query.c:306:71: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sclass’
samba-4.21.1-build/samba-4.21.1/lib/util/binsearch.h:49:13: note: in definition of macro ‘BINARY_ARRAY_SEARCH_P’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def635]
samba-4.21.1-build/samba-4.21.1/source4/kdc/db-glue.c: scope_hint: In function ‘dsdb_extract_aes_256_key’
samba-4.21.1-build/samba-4.21.1/source4/kdc/db-glue.c:4434:24: warning[-Wanalyzer-malloc-leak]: leak of ‘sentry.keys.val’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def636]
samba-4.21.1-build/samba-4.21.1/source4/kdc/mit-kdb/kdb_samba_principals.c: scope_hint: In function ‘ks_get_master_key_principal’
samba-4.21.1-build/samba-4.21.1/source4/kdc/mit-kdb/kdb_samba_principals.c:173:41: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘calloc(1, 32)’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def637]
samba-4.21.1-build/samba-4.21.1/source4/kdc/mit-kdb/kdb_samba_principals.c: scope_hint: In function ‘ks_create_principal’
samba-4.21.1-build/samba-4.21.1/source4/kdc/mit-kdb/kdb_samba_principals.c:273:41: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘calloc(1, 32)’
samba-4.21.1-build/samba-4.21.1/lib/util/samba_util.h:57: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:62: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/kdc/mit-kdb/kdb_samba_principals.c:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/kdc/mit-kdb/kdb_samba_principals.c:258:9: note: in expansion of macro ‘SAFE_FREE’
Error: COMPILER_WARNING (CWE-477): [#def638]
samba-4.21.1-build/samba-4.21.1/source4/kdc/mit_samba.c: scope_hint: In function ‘mit_samba_context_init’
samba-4.21.1-build/samba-4.21.1/source4/kdc/mit_samba.c:94:9: warning[-Wdeprecated-declarations]: ‘tevent_loop_allow_nesting’ is deprecated
samba-4.21.1-build/samba-4.21.1/bin/default/include/public/ldb.h:51: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/dsdb/samdb/samdb.h:55: included_from: Included from here.
samba-4.21.1-build/samba-4.21.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): [#def639]
samba-4.21.1-build/samba-4.21.1/source4/lib/events/tevent_s4.c: scope_hint: In function ‘s4_event_context_init’
samba-4.21.1-build/samba-4.21.1/source4/lib/events/tevent_s4.c:37:17: warning[-Wdeprecated-declarations]: ‘tevent_loop_allow_nesting’ is deprecated
samba-4.21.1-build/samba-4.21.1/source4/lib/events/events.h:3: included_from: Included from here.
samba-4.21.1-build/samba-4.21.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): [#def640]
samba-4.21.1-build/samba-4.21.1/source4/lib/messaging/tests/irpc.c: scope_hint: In function ‘test_addone’
samba-4.21.1-build/samba-4.21.1/source4/lib/messaging/tests/irpc.c:109:9: warning[-Wdeprecated-declarations]: ‘dcerpc_binding_handle_set_sync_ev’ is deprecated
samba-4.21.1-build/samba-4.21.1/source4/librpc/rpc/dcerpc.h:33: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/bin/default/librpc/gen_ndr/ndr_echo_c.h:1: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/lib/messaging/tests/irpc.c:26: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/librpc/rpc/rpc_common.h:245:19: note: declared here
Error: COMPILER_WARNING (CWE-477): [#def641]
samba-4.21.1-build/samba-4.21.1/source4/lib/messaging/tests/irpc.c: scope_hint: In function ‘test_echodata’
samba-4.21.1-build/samba-4.21.1/source4/lib/messaging/tests/irpc.c:148:9: warning[-Wdeprecated-declarations]: ‘dcerpc_binding_handle_set_sync_ev’ is deprecated
samba-4.21.1-build/samba-4.21.1/librpc/rpc/rpc_common.h:245:19: note: declared here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def642]
samba-4.21.1-build/samba-4.21.1/source4/lib/policy/gp_manage.c: scope_hint: In function ‘gp_create_gpo’
samba-4.21.1-build/samba-4.21.1/source4/lib/policy/gp_manage.c:228:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘sd’
samba-4.21.1-build/samba-4.21.1/libcli/util/error.h:24: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:64: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/lib/policy/gp_manage.c:19: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/lib/policy/gp_manage.c:155:9: note: in expansion of macro ‘NT_STATUS_HAVE_NO_MEMORY’
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:54: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/lib/policy/gp_manage.c:66:9: note: in expansion of macro ‘NT_STATUS_HAVE_NO_MEMORY’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def643]
samba-4.21.1-build/samba-4.21.1/source4/lib/policy/gp_manage.c: scope_hint: In function ‘gp_set_acl’
samba-4.21.1-build/samba-4.21.1/source4/lib/policy/gp_manage.c:277:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘fs_sd’
samba-4.21.1-build/samba-4.21.1/source4/lib/policy/gp_manage.c:250:9: note: in expansion of macro ‘NT_STATUS_HAVE_NO_MEMORY’
samba-4.21.1-build/samba-4.21.1/source4/lib/policy/gp_manage.c:66:9: note: in expansion of macro ‘NT_STATUS_HAVE_NO_MEMORY’
Error: CPPCHECK_WARNING (CWE-457): [#def644]
samba-4.21.1-build/samba-4.21.1/source4/lib/registry/patchfile_preg.c:78: error[uninitvar]: Uninitialized variable: &buf
Error: GCC_ANALYZER_WARNING (CWE-688): [#def645]
samba-4.21.1-build/samba-4.21.1/source4/lib/registry/regf.c: scope_hint: In function ‘hbin_store’
samba-4.21.1-build/samba-4.21.1/source4/lib/registry/regf.c:273:9: warning[-Wanalyzer-null-argument]: use of NULL ‘<unknown>’ where non-null expected
samba-4.21.1-build/samba-4.21.1/libcli/util/error.h:22: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:64: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/lib/registry/regf.c:20: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/lib/registry/regf.c:2053:9: note: in expansion of macro ‘W_ERROR_HAVE_NO_MEMORY’
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/source4/lib/registry/regf.c:2055:9: note: in expansion of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:54: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/lib/registry/regf.c:2068:9: note: in expansion of macro ‘W_ERROR_HAVE_NO_MEMORY’
samba-4.21.1-build/samba-4.21.1/source4/lib/registry/regf.c:2076:9: note: in expansion of macro ‘W_ERROR_HAVE_NO_MEMORY’
samba-4.21.1-build/samba-4.21.1/source4/lib/registry/regf.c:2083:9: note: in expansion of macro ‘W_ERROR_HAVE_NO_MEMORY’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:818:24: note: in expansion of macro ‘memset_s’
samba-4.21.1-build/samba-4.21.1/source4/lib/registry/regf.c:2127:9: note: in expansion of macro ‘ZERO_STRUCT’
<built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def646]
samba-4.21.1-build/samba-4.21.1/source4/lib/registry/regf.c:1971:25: warning[-Wanalyzer-null-argument]: use of NULL ‘<unknown>’ where non-null expected
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:936:41: note: in definition of macro ‘unlikely’
samba-4.21.1-build/samba-4.21.1/source4/lib/registry/regf.c:116:17: note: in expansion of macro ‘DEBUG’
samba-4.21.1-build/samba-4.21.1/source4/lib/registry/regf.c:1970:25: note: in expansion of macro ‘W_ERROR_HAVE_NO_MEMORY’
<built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null
Error: CPPCHECK_WARNING (CWE-457): [#def647]
samba-4.21.1-build/samba-4.21.1/source4/lib/registry/tests/registry.c:375: error[uninitvar]: Uninitialized variable: data
Error: CPPCHECK_WARNING (CWE-457): [#def648]
samba-4.21.1-build/samba-4.21.1/source4/lib/registry/tests/registry.c:536: error[uninitvar]: Uninitialized variable: value
Error: GCC_ANALYZER_WARNING (CWE-401): [#def649]
samba-4.21.1-build/samba-4.21.1/source4/lib/registry/tools/regshell.c: scope_hint: In function ‘reg_complete_command’
samba-4.21.1-build/samba-4.21.1/source4/lib/registry/tools/regshell.c:459:28: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def650]
samba-4.21.1-build/samba-4.21.1/source4/lib/registry/tools/regshell.c: scope_hint: In function ‘reg_complete_key’
samba-4.21.1-build/samba-4.21.1/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.21.1-build/samba-4.21.1/lib/replace/replace.h:176: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/lib/registry/tools/regshell.c:22: included_from: Included from here.
/usr/include/string.h:159:12: note: argument 2 of ‘strncmp’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def651]
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:54: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/lib/socket/connect_multi.c:24: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/lib/socket/connect_multi.c: scope_hint: In function ‘socket_connect_multi_ex_recv’
samba-4.21.1-build/samba-4.21.1/source4/lib/socket/connect_multi.c:317:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ctx’
/usr/include/bits/types/struct_iovec.h:23: included_from: Included from here.
/usr/include/sys/uio.h:23: included_from: Included from here.
/usr/include/gnutls/gnutls.h:2354: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/libcli/smb/smb2_signing.h:24: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/libcli/smb/smb_common.h:30: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libcli/raw/smb.h:320: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libcli/raw/interfaces.h:25: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libcli/composite/composite.h:25: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/lib/socket/connect_multi.c:27: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def652]
samba-4.21.1-build/samba-4.21.1/source4/libcli/clideltree.c: scope_hint: In function ‘delete_fn’
samba-4.21.1-build/samba-4.21.1/source4/libcli/clideltree.c:43:11: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘n’ where non-null expected
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def653]
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:54: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libcli/raw/clisocket.c:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libcli/raw/clisocket.c: scope_hint: In function ‘smbcli_sock_connect_recv’
samba-4.21.1-build/samba-4.21.1/source4/libcli/raw/clisocket.c:429:42: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def654]
samba-4.21.1-build/samba-4.21.1/source4/libcli/raw/rawfile.c: scope_hint: In function ‘smb_raw_t2open_recv’
samba-4.21.1-build/samba-4.21.1/source4/libcli/raw/rawfile.c:430:34: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘req’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def655]
samba-4.21.1-build/samba-4.21.1/source4/libcli/raw/rawfile.c: scope_hint: In function ‘smb_raw_open_recv’
samba-4.21.1-build/samba-4.21.1/source4/libcli/raw/rawfile.c:650:49: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘req’
samba-4.21.1-build/samba-4.21.1/source4/libcli/raw/rawfile.c:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libcli/raw/rawfile.c:647:17: note: in expansion of macro ‘SMBCLI_CHECK_WCT’
samba-4.21.1-build/samba-4.21.1/lib/util/byteorder.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/samba_util.h:49: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:62: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libcli/raw/rawfile.c:22: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:26:35: note: in definition of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:41:16: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/util/byteorder.h:110:33: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/source4/libcli/raw/rawfile.c:648:48: note: in expansion of macro ‘SVAL’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def656]
samba-4.21.1-build/samba-4.21.1/source4/libcli/raw/rawfile.c:660:47: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘req’
samba-4.21.1-build/samba-4.21.1/source4/libcli/raw/rawfile.c:657:17: note: in expansion of macro ‘SMBCLI_CHECK_MIN_WCT’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:26:35: note: in definition of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:41:16: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/util/byteorder.h:110:33: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/source4/libcli/raw/rawfile.c:658:46: note: in expansion of macro ‘SVAL’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def657]
samba-4.21.1-build/samba-4.21.1/source4/libcli/raw/rawfile.c:722:52: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘req’
samba-4.21.1-build/samba-4.21.1/source4/libcli/raw/rawfile.c:719:17: note: in expansion of macro ‘SMBCLI_CHECK_MIN_WCT’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:26:35: note: in definition of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:41:16: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/util/byteorder.h:110:33: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/source4/libcli/raw/rawfile.c:720:51: note: in expansion of macro ‘SVAL’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def658]
samba-4.21.1-build/samba-4.21.1/source4/libcli/raw/rawreadwrite.c: scope_hint: In function ‘smb_raw_read_recv’
samba-4.21.1-build/samba-4.21.1/source4/libcli/raw/rawreadwrite.c:158:46: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘req’
samba-4.21.1-build/samba-4.21.1/source4/libcli/raw/rawreadwrite.c:22: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libcli/raw/rawreadwrite.c:154:17: note: in expansion of macro ‘SMBCLI_CHECK_WCT’
samba-4.21.1-build/samba-4.21.1/lib/util/byteorder.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/samba_util.h:49: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:62: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libcli/raw/rawreadwrite.c:21: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:26:35: note: in definition of macro ‘_DATA_BYTE_CONST’
samba-4.21.1-build/samba-4.21.1/lib/util/bytearray.h:41:16: note: in expansion of macro ‘PULL_LE_U8’
samba-4.21.1-build/samba-4.21.1/lib/util/byteorder.h:110:33: note: in expansion of macro ‘PULL_LE_U16’
samba-4.21.1-build/samba-4.21.1/source4/libcli/raw/rawreadwrite.c:155:52: note: in expansion of macro ‘SVAL’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def659]
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:54: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libcli/resolve/resolve.c:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libcli/resolve/resolve.c: scope_hint: In function ‘resolve_name_all_recv’
samba-4.21.1-build/samba-4.21.1/source4/libcli/resolve/resolve.c:215:64: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def660]
samba-4.21.1-build/samba-4.21.1/source4/libcli/resolve/resolve.c: scope_hint: In function ‘resolve_name_recv’
samba-4.21.1-build/samba-4.21.1/source4/libcli/resolve/resolve.c:254:50: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘addrs’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def661]
samba-4.21.1-build/samba-4.21.1/source4/libcli/resolve/resolve.c: scope_hint: In function ‘resolve_name_multiple_recv’
samba-4.21.1-build/samba-4.21.1/source4/libcli/resolve/resolve.c:284:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘addrs’
samba-4.21.1-build/samba-4.21.1/libcli/util/error.h:24: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:64: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libcli/resolve/resolve.c:281:9: note: in expansion of macro ‘NT_STATUS_NOT_OK_RETURN’
Error: CPPCHECK_WARNING (CWE-457): [#def662]
samba-4.21.1-build/samba-4.21.1/source4/libcli/smb2/create.c:93: error[uninitvar]: Uninitialized variable: data
Error: CPPCHECK_WARNING (CWE-457): [#def663]
samba-4.21.1-build/samba-4.21.1/source4/libcli/smb2/create.c:169: error[uninitvar]: Uninitialized variable: data
Error: GCC_ANALYZER_WARNING (CWE-476): [#def664]
samba-4.21.1-build/samba-4.21.1/source4/libcli/smb2/ioctl.c: scope_hint: In function ‘smb2_ioctl_recv’
samba-4.21.1-build/samba-4.21.1/source4/libcli/smb2/ioctl.c:116:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘req’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def665]
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:54: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libcli/smb_composite/appendacl.c:1: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libcli/smb_composite/appendacl.c: scope_hint: In function ‘smb_composite_appendacl_recv’
samba-4.21.1-build/samba-4.21.1/source4/libcli/smb_composite/appendacl.c:294:66: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def666]
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:54: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libcli/smb_composite/fetchfile.c:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libcli/smb_composite/fetchfile.c: scope_hint: In function ‘smb_composite_fetchfile_recv’
samba-4.21.1-build/samba-4.21.1/source4/libcli/smb_composite/fetchfile.c:181:66: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def667]
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:54: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libcli/smb_composite/fsinfo.c:5: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libcli/smb_composite/fsinfo.c: scope_hint: In function ‘smb_composite_fsinfo_recv’
samba-4.21.1-build/samba-4.21.1/source4/libcli/smb_composite/fsinfo.c:193:63: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def668]
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:54: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libcli/smb_composite/loadfile.c:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libcli/smb_composite/loadfile.c: scope_hint: In function ‘smb_composite_loadfile_recv’
samba-4.21.1-build/samba-4.21.1/source4/libcli/smb_composite/loadfile.c:274:65: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def669]
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:54: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libnet/groupinfo.c:25: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libnet/groupinfo.c: scope_hint: In function ‘libnet_rpc_groupinfo_recv’
samba-4.21.1-build/samba-4.21.1/source4/libnet/groupinfo.c:356:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def670]
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:54: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libnet/groupman.c:24: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libnet/groupman.c: scope_hint: In function ‘libnet_rpc_groupadd_recv’
samba-4.21.1-build/samba-4.21.1/source4/libnet/groupman.c:99:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def671]
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:54: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libnet/libnet_domain.c:24: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libnet/libnet_domain.c: scope_hint: In function ‘libnet_DomainOpenSamr_recv’
samba-4.21.1-build/samba-4.21.1/source4/libnet/libnet_domain.c:374:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def672]
samba-4.21.1-build/samba-4.21.1/source4/libnet/libnet_domain.c: scope_hint: In function ‘libnet_DomainOpenLsa_recv’
samba-4.21.1-build/samba-4.21.1/source4/libnet/libnet_domain.c:581:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def673]
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:54: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libnet/libnet_group.c:21: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libnet/libnet_group.c: scope_hint: In function ‘libnet_GroupInfo_recv’
samba-4.21.1-build/samba-4.21.1/source4/libnet/libnet_group.c:405:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
/usr/include/bits/types/struct_iovec.h:23: included_from: Included from here.
/usr/include/sys/uio.h:23: included_from: Included from here.
/usr/include/gnutls/gnutls.h:2354: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/libcli/smb/smb2_signing.h:24: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/libcli/smb/smb_common.h:30: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libcli/raw/smb.h:320: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libcli/raw/interfaces.h:25: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libcli/composite/composite.h:25: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libnet/libnet_group.c:23: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def674]
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:54: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libnet/libnet_lookup.c:24: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libnet/libnet_lookup.c: scope_hint: In function ‘libnet_Lookup_recv’
samba-4.21.1-build/samba-4.21.1/source4/libnet/libnet_lookup.c:128:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def675]
samba-4.21.1-build/samba-4.21.1/source4/libnet/libnet_lookup.c: scope_hint: In function ‘libnet_LookupName_recv’
samba-4.21.1-build/samba-4.21.1/source4/libnet/libnet_lookup.c:397:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
/usr/include/bits/types/struct_iovec.h:23: included_from: Included from here.
/usr/include/sys/uio.h:23: included_from: Included from here.
/usr/include/gnutls/gnutls.h:2354: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/libcli/smb/smb2_signing.h:24: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/libcli/smb/smb_common.h:30: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libcli/raw/smb.h:320: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libcli/raw/interfaces.h:25: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libcli/composite/composite.h:25: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libnet/libnet_lookup.c:26: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def676]
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:54: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libnet/libnet_user.c:21: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libnet/libnet_user.c: scope_hint: In function ‘libnet_DeleteUser_recv’
samba-4.21.1-build/samba-4.21.1/source4/libnet/libnet_user.c:352:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
/usr/include/bits/types/struct_iovec.h:23: included_from: Included from here.
/usr/include/sys/uio.h:23: included_from: Included from here.
/usr/include/gnutls/gnutls.h:2354: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/libcli/smb/smb2_signing.h:24: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/libcli/smb/smb_common.h:30: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libcli/raw/smb.h:320: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libcli/raw/interfaces.h:25: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libcli/composite/composite.h:25: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libnet/libnet_user.c:23: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def677]
samba-4.21.1-build/samba-4.21.1/source4/libnet/libnet_user.c: scope_hint: In function ‘libnet_UserInfo_recv’
samba-4.21.1-build/samba-4.21.1/source4/libnet/libnet_user.c:849:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def678]
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:54: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libnet/userinfo.c:24: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libnet/userinfo.c: scope_hint: In function ‘libnet_rpc_userinfo_recv’
samba-4.21.1-build/samba-4.21.1/source4/libnet/userinfo.c:355:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def679]
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:54: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libnet/userman.c:24: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/libnet/userman.c: scope_hint: In function ‘libnet_rpc_useradd_recv’
samba-4.21.1-build/samba-4.21.1/source4/libnet/userman.c:165:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def680]
samba-4.21.1-build/samba-4.21.1/source4/libnet/userman.c: scope_hint: In function ‘libnet_rpc_userdel_recv’
samba-4.21.1-build/samba-4.21.1/source4/libnet/userman.c:439:39: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
Error: COMPILER_WARNING (CWE-477): [#def681]
samba-4.21.1-build/samba-4.21.1/source4/librpc/rpc/dcerpc.c: scope_hint: In function ‘dcerpc_pipe_binding_handle’
samba-4.21.1-build/samba-4.21.1/source4/librpc/rpc/dcerpc.c:640:9: warning[-Wdeprecated-declarations]: ‘dcerpc_binding_handle_set_sync_ev’ is deprecated
samba-4.21.1-build/samba-4.21.1/source4/librpc/rpc/dcerpc.h:33: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/librpc/rpc/dcerpc.c:28: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/librpc/rpc/rpc_common.h:245:19: note: declared here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def682]
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:54: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/librpc/rpc/dcerpc_auth.c:24: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/librpc/rpc/dcerpc_auth.c: scope_hint: In function ‘dcerpc_bind_auth_recv’
samba-4.21.1-build/samba-4.21.1/source4/librpc/rpc/dcerpc_auth.c:518:61: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘creq’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def683]
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:54: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/librpc/rpc/dcerpc_connect.c:26: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/librpc/rpc/dcerpc_connect.c: scope_hint: In function ‘dcerpc_pipe_connect_b_recv’
samba-4.21.1-build/samba-4.21.1/source4/librpc/rpc/dcerpc_connect.c:1111:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def684]
samba-4.21.1-build/samba-4.21.1/source4/librpc/rpc/dcerpc_connect.c: scope_hint: In function ‘dcerpc_pipe_connect_recv’
samba-4.21.1-build/samba-4.21.1/source4/librpc/rpc/dcerpc_connect.c:1227:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
/usr/include/rpc/netdb.h:42: included_from: Included from here.
/usr/include/netdb.h:32: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/replace/system/network.h:54: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/util_net.h:24: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/librpc/rpc/dcerpc_connect.c:39: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def685]
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:54: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/librpc/rpc/dcerpc_secondary.c:26: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/librpc/rpc/dcerpc_secondary.c: scope_hint: In function ‘dcerpc_secondary_auth_connection_recv’
samba-4.21.1-build/samba-4.21.1/source4/librpc/rpc/dcerpc_secondary.c:408:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def686]
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:54: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/librpc/rpc/dcerpc_util.c:25: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/librpc/rpc/dcerpc_util.c: scope_hint: In function ‘dcerpc_pipe_auth_recv’
samba-4.21.1-build/samba-4.21.1/source4/librpc/rpc/dcerpc_util.c:676:54: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘c’
Error: COMPILER_WARNING (CWE-477): [#def687]
samba-4.21.1-build/samba-4.21.1/source4/librpc/rpc/pyrpc_util.c: scope_hint: In function ‘pyrpc_irpc_connect’
samba-4.21.1-build/samba-4.21.1/source4/librpc/rpc/pyrpc_util.c:92:9: warning[-Wdeprecated-declarations]: ‘dcerpc_binding_handle_set_sync_ev’ is deprecated
samba-4.21.1-build/samba-4.21.1/source4/librpc/rpc/dcerpc.h:33: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/librpc/rpc/pyrpc_util.c:28: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/librpc/rpc/rpc_common.h:245:19: note: declared here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def688]
samba-4.21.1-build/samba-4.21.1/source4/param/share_classic.c: scope_hint: In function ‘sclassic_string_option’
samba-4.21.1-build/samba-4.21.1/source4/param/share_classic.c:63:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘val’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def689]
samba-4.21.1-build/samba-4.21.1/source4/param/share_classic.c: scope_hint: In function ‘sclassic_int_option’
samba-4.21.1-build/samba-4.21.1/source4/param/share_classic.c:121:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘val’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def690]
samba-4.21.1-build/samba-4.21.1/source4/param/share_classic.c: scope_hint: In function ‘sclassic_bool_option’
samba-4.21.1-build/samba-4.21.1/source4/param/share_classic.c:179:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘val’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def691]
samba-4.21.1-build/samba-4.21.1/source4/param/share_classic.c: scope_hint: In function ‘sclassic_string_list_option’
samba-4.21.1-build/samba-4.21.1/source4/param/share_classic.c:277:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘val’
Error: GCC_ANALYZER_WARNING (CWE-126): [#def692]
samba-4.21.1-build/samba-4.21.1/source4/rpc_server/dnsserver/dnsdata.c: scope_hint: In function ‘dnsp_to_dns_copy’
samba-4.21.1-build/samba-4.21.1/source4/rpc_server/dnsserver/dnsdata.c:409:17: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
samba-4.21.1-build/samba-4.21.1/source4/rpc_server/dnsserver/dnsdata.c:409:17: note: read of 16 bytes from after the end of ‘dnsp_rec’
Error: CPPCHECK_WARNING (CWE-457): [#def693]
samba-4.21.1-build/samba-4.21.1/source4/rpc_server/drsuapi/getncchanges.c:2086: warning[uninitvar]: Uninitialized variable: source_guid.length
Error: CPPCHECK_WARNING (CWE-457): [#def694]
samba-4.21.1-build/samba-4.21.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): [#def695]
samba-4.21.1-build/samba-4.21.1/source4/rpc_server/samr/dcesrv_samr.c:4448: warning[uninitvar]: Uninitialized variable: res_memberof
Error: GCC_ANALYZER_WARNING (CWE-476): [#def696]
samba-4.21.1-build/samba-4.21.1/source4/rpc_server/samr/dcesrv_samr.c: scope_hint: In function ‘dcesrv_samr_QueryDisplayInfo’
samba-4.21.1-build/samba-4.21.1/source4/rpc_server/samr/dcesrv_samr.c:4701:51: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘entriesGeneral’
samba-4.21.1-build/samba-4.21.1/source4/rpc_server/dcerpc_server.h:26: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/rpc_server/samr/dcesrv_samr.c:27: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/librpc/rpc/dcesrv_core.h:588:9: note: in expansion of macro ‘DCESRV_CHECK_HANDLE’
samba-4.21.1-build/samba-4.21.1/librpc/rpc/dcesrv_core.h:601:44: note: in expansion of macro ‘DCESRV_PULL_HANDLE_RETVAL’
samba-4.21.1-build/samba-4.21.1/source4/rpc_server/samr/dcesrv_samr.c:4493:9: note: in expansion of macro ‘DCESRV_PULL_HANDLE’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:663: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/rpc_server/samr/dcesrv_samr.c:25: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def697]
samba-4.21.1-build/samba-4.21.1/source4/rpc_server/samr/dcesrv_samr.c:4717:48: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘entriesFull’
samba-4.21.1-build/samba-4.21.1/librpc/rpc/dcesrv_core.h:588:9: note: in expansion of macro ‘DCESRV_CHECK_HANDLE’
samba-4.21.1-build/samba-4.21.1/librpc/rpc/dcesrv_core.h:601:44: note: in expansion of macro ‘DCESRV_PULL_HANDLE_RETVAL’
samba-4.21.1-build/samba-4.21.1/source4/rpc_server/samr/dcesrv_samr.c:4493:9: note: in expansion of macro ‘DCESRV_PULL_HANDLE’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def698]
samba-4.21.1-build/samba-4.21.1/source4/rpc_server/samr/dcesrv_samr.c:4735:53: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘entriesFullGroup’
samba-4.21.1-build/samba-4.21.1/librpc/rpc/dcesrv_core.h:588:9: note: in expansion of macro ‘DCESRV_CHECK_HANDLE’
samba-4.21.1-build/samba-4.21.1/librpc/rpc/dcesrv_core.h:601:44: note: in expansion of macro ‘DCESRV_PULL_HANDLE_RETVAL’
samba-4.21.1-build/samba-4.21.1/source4/rpc_server/samr/dcesrv_samr.c:4493:9: note: in expansion of macro ‘DCESRV_PULL_HANDLE’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def699]
samba-4.21.1-build/samba-4.21.1/source4/rpc_server/samr/dcesrv_samr.c:4751:49: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘entriesAscii’
samba-4.21.1-build/samba-4.21.1/librpc/rpc/dcesrv_core.h:588:9: note: in expansion of macro ‘DCESRV_CHECK_HANDLE’
samba-4.21.1-build/samba-4.21.1/librpc/rpc/dcesrv_core.h:601:44: note: in expansion of macro ‘DCESRV_PULL_HANDLE_RETVAL’
samba-4.21.1-build/samba-4.21.1/source4/rpc_server/samr/dcesrv_samr.c:4493:9: note: in expansion of macro ‘DCESRV_PULL_HANDLE’
Error: COMPILER_WARNING (CWE-477): [#def700]
samba-4.21.1-build/samba-4.21.1/source4/samba/service_task.c: scope_hint: In function ‘task_server_terminate’
samba-4.21.1-build/samba-4.21.1/source4/samba/service_task.c:49:25: warning[-Wdeprecated-declarations]: ‘dcerpc_binding_handle_set_sync_ev’ is deprecated
samba-4.21.1-build/samba-4.21.1/source4/librpc/rpc/dcerpc.h:33: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/bin/default/source4/librpc/gen_ndr/ndr_irpc_c.h:1: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/samba/service_task.c:26: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/librpc/rpc/rpc_common.h:245:19: note: declared here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def701]
samba-4.21.1-build/samba-4.21.1/source4/torture/basic/denytest.c: scope_hint: In function ‘torture_createx_specific’
samba-4.21.1-build/samba-4.21.1/source4/torture/basic/denytest.c:2356:40: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cli2’
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/torture/basic/denytest.c:20: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/torture/basic/denytest.c:2155:9: note: in expansion of macro ‘ZERO_STRUCTP’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:825:17: note: in expansion of macro ‘memset_s’
samba-4.21.1-build/samba-4.21.1/source4/torture/basic/denytest.c:2155:9: note: in expansion of macro ‘ZERO_STRUCTP’
Error: CPPCHECK_WARNING (CWE-457): [#def702]
samba-4.21.1-build/samba-4.21.1/source4/torture/basic/utable.c:56: error[uninitvar]: Uninitialized variable: c2
Error: CPPCHECK_WARNING (CWE-457): [#def703]
samba-4.21.1-build/samba-4.21.1/source4/torture/basic/utable.c:120: error[uninitvar]: Uninitialized variable: c2
Error: CPPCHECK_WARNING (CWE-628): [#def704]
samba-4.21.1-build/samba-4.21.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: GCC_ANALYZER_WARNING (CWE-476): [#def705]
samba-4.21.1-build/samba-4.21.1/source4/torture/smbtorture.h:24: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/torture/dfs/domaindfs.c:22: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/torture/dfs/domaindfs.c: scope_hint: In function ‘test_getdcreferral’
samba-4.21.1-build/samba-4.21.1/source4/torture/dfs/domaindfs.c:142:52: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘str’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:528:27: note: in definition of macro ‘torture_assert_int_equal’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:826:17: note: in expansion of macro ‘torture_assert_ntstatus_equal’
samba-4.21.1-build/samba-4.21.1/source4/torture/dfs/domaindfs.c:91:9: note: in expansion of macro ‘torture_assert_ntstatus_ok’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:826:17: note: in expansion of macro ‘torture_assert_ntstatus_equal’
samba-4.21.1-build/samba-4.21.1/source4/torture/dfs/domaindfs.c:104:9: note: in expansion of macro ‘torture_assert_ntstatus_ok’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:528:27: note: in definition of macro ‘torture_assert_int_equal’
samba-4.21.1-build/samba-4.21.1/source4/torture/dfs/domaindfs.c:109:9: note: in expansion of macro ‘torture_assert_int_equal’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:528:27: note: in definition of macro ‘torture_assert_int_equal’
samba-4.21.1-build/samba-4.21.1/source4/torture/dfs/domaindfs.c:111:9: note: in expansion of macro ‘torture_assert_int_equal’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:528:27: note: in definition of macro ‘torture_assert_int_equal’
samba-4.21.1-build/samba-4.21.1/source4/torture/dfs/domaindfs.c:113:9: note: in expansion of macro ‘torture_assert_int_equal’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:528:27: note: in definition of macro ‘torture_assert_int_equal’
samba-4.21.1-build/samba-4.21.1/source4/torture/dfs/domaindfs.c:115:9: note: in expansion of macro ‘torture_assert_int_equal’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:528:27: note: in definition of macro ‘torture_assert_int_equal’
samba-4.21.1-build/samba-4.21.1/source4/torture/dfs/domaindfs.c:119:9: note: in expansion of macro ‘torture_assert_int_equal’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:528:27: note: in definition of macro ‘torture_assert_int_equal’
samba-4.21.1-build/samba-4.21.1/source4/torture/dfs/domaindfs.c:124:9: note: in expansion of macro ‘torture_assert_int_equal’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:528:27: note: in definition of macro ‘torture_assert_int_equal’
samba-4.21.1-build/samba-4.21.1/source4/torture/dfs/domaindfs.c:129:9: note: in expansion of macro ‘torture_assert_int_equal’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:528:27: note: in definition of macro ‘torture_assert_int_equal’
samba-4.21.1-build/samba-4.21.1/source4/torture/dfs/domaindfs.c:133:9: note: in expansion of macro ‘torture_assert_int_equal’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:528:27: note: in definition of macro ‘torture_assert_int_equal’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def706]
samba-4.21.1-build/samba-4.21.1/source4/torture/ldap/basic.c: scope_hint: In function ‘test_referrals’
samba-4.21.1-build/samba-4.21.1/source4/torture/ldap/basic.c:718:13: warning[-Wanalyzer-null-argument]: use of NULL ‘basedn’ where non-null expected
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:176: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/torture/ldap/basic.c:24: included_from: Included from here.
/usr/include/string.h:156:12: note: argument 2 of ‘strcmp’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def707]
samba-4.21.1-build/samba-4.21.1/source4/torture/libnetapi/libnetapi_group.c: scope_hint: In function ‘test_netgroupgetusers’
samba-4.21.1-build/samba-4.21.1/source4/torture/libnetapi/libnetapi_group.c:191:49: warning[-Wanalyzer-null-argument]: use of NULL ‘current_name’ where non-null expected
/usr/include/string.h:462: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:176: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/torture/libnetapi/libnetapi_group.c:20: included_from: Included from here.
/usr/include/strings.h:116:12: note: argument 1 of ‘strcasecmp’ must be non-null
Error: CPPCHECK_WARNING (CWE-457): [#def708]
samba-4.21.1-build/samba-4.21.1/source4/torture/locktest.c:569: error[uninitvar]: Uninitialized variable: &seed
Error: CPPCHECK_WARNING (CWE-457): [#def709]
samba-4.21.1-build/samba-4.21.1/source4/torture/masktest.c:309: error[uninitvar]: Uninitialized variable: &seed
Error: GCC_ANALYZER_WARNING (CWE-479): [#def710]
samba-4.21.1-build/samba-4.21.1/source4/torture/nbench/nbio.c: scope_hint: In function ‘nb_alarm.part.0’
samba-4.21.1-build/samba-4.21.1/source4/torture/nbench/nbio.c:295:17: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘printf’ from within signal handler
Error: GCC_ANALYZER_WARNING (CWE-688): [#def711]
samba-4.21.1-build/samba-4.21.1/source4/torture/nbench/nbio.c: scope_hint: In function ‘nb_writex’
samba-4.21.1-build/samba-4.21.1/source4/torture/nbench/nbio.c:553:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘buf’ where non-null expected
samba-4.21.1-build/samba-4.21.1/source4/torture/nbench/nbio.c: scope_hint: In function ‘nb_writex’
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-688): [#def712]
samba-4.21.1-build/samba-4.21.1/source4/torture/nbench/nbio.c: scope_hint: In function ‘nb_write’
samba-4.21.1-build/samba-4.21.1/source4/torture/nbench/nbio.c:595:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘buf’ where non-null expected
samba-4.21.1-build/samba-4.21.1/source4/torture/nbench/nbio.c: scope_hint: In function ‘nb_write’
<built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null
Error: CPPCHECK_WARNING (CWE-457): [#def713]
samba-4.21.1-build/samba-4.21.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): [#def714]
samba-4.21.1-build/samba-4.21.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): [#def715]
samba-4.21.1-build/samba-4.21.1/source4/torture/raw/search.c:344: error[uninitvar]: Uninitialized variable: params
Error: CPPCHECK_WARNING (CWE-457): [#def716]
samba-4.21.1-build/samba-4.21.1/source4/torture/raw/search.c:345: error[uninitvar]: Uninitialized variable: data
Error: GCC_ANALYZER_WARNING (CWE-457): [#def717]
samba-4.21.1-build/samba-4.21.1/source4/torture/rpc/iremotewinspool_common.c: scope_hint: In function ‘test_get_client_info’
samba-4.21.1-build/samba-4.21.1/source4/torture/rpc/iremotewinspool_common.c:51:16: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘level1.build’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def718]
samba-4.21.1-build/samba-4.21.1/source4/torture/rpc/iremotewinspool_driver.c: scope_hint: In function ‘smb_copy_files’
samba-4.21.1-build/samba-4.21.1/source4/torture/rpc/iremotewinspool_driver.c:101:34: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen(fpath, "r")’
samba-4.21.1-build/samba-4.21.1/source4/torture/rpc/iremotewinspool_driver.c:25: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/torture/rpc/iremotewinspool_driver.c:99:9: note: in expansion of macro ‘torture_assert_goto’
samba-4.21.1-build/samba-4.21.1/source4/torture/rpc/iremotewinspool_driver.c:99:9: note: in expansion of macro ‘torture_assert_goto’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def719]
samba-4.21.1-build/samba-4.21.1/source4/torture/rpc/iremotewinspool_driver.c:101:34: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen(fpath, "r")’
samba-4.21.1-build/samba-4.21.1/source4/torture/rpc/iremotewinspool_driver.c:99:9: note: in expansion of macro ‘torture_assert_goto’
samba-4.21.1-build/samba-4.21.1/source4/torture/rpc/iremotewinspool_driver.c:99:9: note: in expansion of macro ‘torture_assert_goto’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def720]
samba-4.21.1-build/samba-4.21.1/source4/torture/rpc/netlogon.c: scope_hint: In function ‘test_DatabaseRedo’
samba-4.21.1-build/samba-4.21.1/source4/torture/rpc/netlogon.c:3427:47: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘e.object.object_name’
Error: GCC_ANALYZER_WARNING (CWE-457): [#def721]
samba-4.21.1-build/samba-4.21.1/source4/torture/rpc/samba3rpc.c: scope_hint: In function ‘try_tcon’
samba-4.21.1-build/samba-4.21.1/source4/torture/rpc/samba3rpc.c:2337:9: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘rmdir_tree’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def722]
samba-4.21.1-build/samba-4.21.1/source4/torture/rpc/samlogon.c: scope_hint: In function ‘test_plaintext’
samba-4.21.1-build/samba-4.21.1/source4/torture/rpc/samlogon.c:1301:31: warning[-Wanalyzer-malloc-leak]: leak of ‘*error_string’
samba-4.21.1-build/samba-4.21.1/lib/util/samba_util.h:48: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:62: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/data_blob.h:48:75: note: in definition of macro ‘data_blob_talloc’
samba-4.21.1-build/samba-4.21.1/source4/torture/rpc/samlogon.c:1255:23: note: in expansion of macro ‘data_blob_talloc’
samba-4.21.1-build/samba-4.21.1/libcli/util/error.h:24: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:64: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/libcli/util/ntstatus.h:126:31: note: in expansion of macro ‘NT_STATUS_V’
samba-4.21.1-build/samba-4.21.1/source4/torture/rpc/samlogon.c:1285:21: note: in expansion of macro ‘NT_STATUS_EQUAL’
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/libcli/util/ntstatus.h:124:29: note: in expansion of macro ‘likely’
samba-4.21.1-build/samba-4.21.1/source4/torture/rpc/samlogon.c:1294:83: note: in expansion of macro ‘NT_STATUS_IS_OK’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def723]
samba-4.21.1-build/samba-4.21.1/source4/torture/rpc/samlogon.c: scope_hint: In function ‘test_SamLogon’
samba-4.21.1-build/samba-4.21.1/source4/torture/rpc/samlogon.c:1516:1: warning[-Wanalyzer-malloc-leak]: leak of ‘error_string’
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:54: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/torture/rpc/samlogon.c:24: included_from: Included from here.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def724]
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/dir.c: scope_hint: In function ‘fill_result’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/dir.c:690:22: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:176: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/dir.c:24: included_from: Included from here.
/usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-476): [#def725]
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/replay.c: scope_hint: In function ‘_test_dhv2_pending2_vs_hold’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/replay.c:3162:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘transport2_2’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/replay.c:26: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:829:17: note: in expansion of macro ‘torture_assert_ntstatus_equal_goto’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/replay.c:2849:9: note: in expansion of macro ‘torture_assert_ntstatus_ok_goto’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:829:17: note: in expansion of macro ‘torture_assert_ntstatus_equal_goto’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/replay.c:2849:9: note: in expansion of macro ‘torture_assert_ntstatus_ok_goto’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def726]
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/replay.c:3163:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘transport2_3’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:829:17: note: in expansion of macro ‘torture_assert_ntstatus_equal_goto’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/replay.c:2849:9: note: in expansion of macro ‘torture_assert_ntstatus_ok_goto’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/replay.c:2857:9: note: in expansion of macro ‘torture_assert’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:829:17: note: in expansion of macro ‘torture_assert_ntstatus_equal_goto’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/replay.c:2862:9: note: in expansion of macro ‘torture_assert_ntstatus_ok_goto’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:829:17: note: in expansion of macro ‘torture_assert_ntstatus_equal_goto’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/replay.c:2862:9: note: in expansion of macro ‘torture_assert_ntstatus_ok_goto’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def727]
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/replay.c:3164:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘transport2_4’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:829:17: note: in expansion of macro ‘torture_assert_ntstatus_equal_goto’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/replay.c:2849:9: note: in expansion of macro ‘torture_assert_ntstatus_ok_goto’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/replay.c:2857:9: note: in expansion of macro ‘torture_assert’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:829:17: note: in expansion of macro ‘torture_assert_ntstatus_equal_goto’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/replay.c:2862:9: note: in expansion of macro ‘torture_assert_ntstatus_ok_goto’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:829:17: note: in expansion of macro ‘torture_assert_ntstatus_equal_goto’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/replay.c:2879:9: note: in expansion of macro ‘torture_assert_ntstatus_ok_goto’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/replay.c:2887:9: note: in expansion of macro ‘torture_assert’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def728]
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/replay.c: scope_hint: In function ‘_test_dhv2_pending3_vs_hold’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/replay.c:4036:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘transport2_2’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:829:17: note: in expansion of macro ‘torture_assert_ntstatus_equal_goto’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/replay.c:3685:9: note: in expansion of macro ‘torture_assert_ntstatus_ok_goto’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:829:17: note: in expansion of macro ‘torture_assert_ntstatus_equal_goto’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/replay.c:3685:9: note: in expansion of macro ‘torture_assert_ntstatus_ok_goto’
samba-4.21.1-build/samba-4.21.1/libcli/util/error.h:24: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:64: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/replay.c:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/bin/default/libcli/util/ntstatus_gen.h:512:36: note: in expansion of macro ‘NT_STATUS’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/replay.c:4035:53: note: in expansion of macro ‘NT_STATUS_LOCAL_DISCONNECT’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def729]
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/replay.c:4037:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘transport2_3’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:829:17: note: in expansion of macro ‘torture_assert_ntstatus_equal_goto’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/replay.c:3685:9: note: in expansion of macro ‘torture_assert_ntstatus_ok_goto’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/replay.c:3693:9: note: in expansion of macro ‘torture_assert’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:829:17: note: in expansion of macro ‘torture_assert_ntstatus_equal_goto’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/replay.c:3698:9: note: in expansion of macro ‘torture_assert_ntstatus_ok_goto’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:829:17: note: in expansion of macro ‘torture_assert_ntstatus_equal_goto’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/replay.c:3698:9: note: in expansion of macro ‘torture_assert_ntstatus_ok_goto’
samba-4.21.1-build/samba-4.21.1/bin/default/libcli/util/ntstatus_gen.h:512:36: note: in expansion of macro ‘NT_STATUS’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/replay.c:4035:53: note: in expansion of macro ‘NT_STATUS_LOCAL_DISCONNECT’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def730]
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/replay.c:4038:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘transport2_4’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:829:17: note: in expansion of macro ‘torture_assert_ntstatus_equal_goto’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/replay.c:3685:9: note: in expansion of macro ‘torture_assert_ntstatus_ok_goto’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/replay.c:3693:9: note: in expansion of macro ‘torture_assert’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:829:17: note: in expansion of macro ‘torture_assert_ntstatus_equal_goto’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/replay.c:3698:9: note: in expansion of macro ‘torture_assert_ntstatus_ok_goto’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:829:17: note: in expansion of macro ‘torture_assert_ntstatus_equal_goto’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/replay.c:3715:9: note: in expansion of macro ‘torture_assert_ntstatus_ok_goto’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/replay.c:3723:9: note: in expansion of macro ‘torture_assert’
samba-4.21.1-build/samba-4.21.1/bin/default/libcli/util/ntstatus_gen.h:512:36: note: in expansion of macro ‘NT_STATUS’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/replay.c:4035:53: note: in expansion of macro ‘NT_STATUS_LOCAL_DISCONNECT’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def731]
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/session.c: scope_hint: In function ‘test_session_bind2’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/session.c:2303:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘transport3’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/session.c:25: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:829:17: note: in expansion of macro ‘torture_assert_ntstatus_equal_goto’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/session.c:2088:9: note: in expansion of macro ‘torture_assert_ntstatus_ok_goto’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:829:17: note: in expansion of macro ‘torture_assert_ntstatus_equal_goto’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/session.c:2088:9: note: in expansion of macro ‘torture_assert_ntstatus_ok_goto’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def732]
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c: scope_hint: In function ‘find_returned_ea’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:53:44: warning[-Wanalyzer-null-argument]: use of NULL ‘eavalue’ where non-null expected
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:114:17: note: in expansion of macro ‘RECREATE_FILE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:117:9: note: in expansion of macro ‘RECREATE_BOTH’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:114:17: note: in expansion of macro ‘RECREATE_FILE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:117:9: note: in expansion of macro ‘RECREATE_BOTH’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:186:9: note: in expansion of macro ‘CHECK_CALL’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:156:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:187:9: note: in expansion of macro ‘CHECK_TIME’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:156:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:187:9: note: in expansion of macro ‘CHECK_TIME’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:156:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:188:9: note: in expansion of macro ‘CHECK_TIME’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:156:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:188:9: note: in expansion of macro ‘CHECK_TIME’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:156:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:189:9: note: in expansion of macro ‘CHECK_TIME’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:156:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:189:9: note: in expansion of macro ‘CHECK_TIME’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:156:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:190:9: note: in expansion of macro ‘CHECK_TIME’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:156:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:190:9: note: in expansion of macro ‘CHECK_TIME’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:145:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:191:9: note: in expansion of macro ‘CHECK_VALUE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:145:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:191:9: note: in expansion of macro ‘CHECK_VALUE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:199:9: note: in expansion of macro ‘CHECK_CALL’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:156:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:200:9: note: in expansion of macro ‘CHECK_TIME’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:156:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:200:9: note: in expansion of macro ‘CHECK_TIME’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:156:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:201:9: note: in expansion of macro ‘CHECK_TIME’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:156:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:201:9: note: in expansion of macro ‘CHECK_TIME’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:156:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:202:9: note: in expansion of macro ‘CHECK_TIME’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:156:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:202:9: note: in expansion of macro ‘CHECK_TIME’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:156:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:203:9: note: in expansion of macro ‘CHECK_TIME’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:156:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:203:9: note: in expansion of macro ‘CHECK_TIME’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:145:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:204:9: note: in expansion of macro ‘CHECK_VALUE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:145:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:204:9: note: in expansion of macro ‘CHECK_VALUE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:208:9: note: in expansion of macro ‘CHECK_CALL’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:145:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:209:9: note: in expansion of macro ‘CHECK_VALUE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:145:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:209:9: note: in expansion of macro ‘CHECK_VALUE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:213:9: note: in expansion of macro ‘CHECK_CALL’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:145:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:214:9: note: in expansion of macro ‘CHECK_VALUE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:145:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:214:9: note: in expansion of macro ‘CHECK_VALUE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:218:9: note: in expansion of macro ‘CHECK_CALL’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:222:9: note: in expansion of macro ‘CHECK_CALL’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:145:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:223:9: note: in expansion of macro ‘CHECK_VALUE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:145:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:223:9: note: in expansion of macro ‘CHECK_VALUE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:227:9: note: in expansion of macro ‘CHECK_CALL’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:145:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:228:9: note: in expansion of macro ‘CHECK_VALUE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:145:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:228:9: note: in expansion of macro ‘CHECK_VALUE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:145:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:229:9: note: in expansion of macro ‘CHECK_VALUE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:145:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:229:9: note: in expansion of macro ‘CHECK_VALUE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:232:9: note: in expansion of macro ‘CHECK_CALL’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:145:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:233:9: note: in expansion of macro ‘CHECK_VALUE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:145:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:233:9: note: in expansion of macro ‘CHECK_VALUE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:145:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:234:9: note: in expansion of macro ‘CHECK_VALUE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:145:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:234:9: note: in expansion of macro ‘CHECK_VALUE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:238:9: note: in expansion of macro ‘CHECK_CALL’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:145:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:239:9: note: in expansion of macro ‘CHECK_VALUE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:145:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:239:9: note: in expansion of macro ‘CHECK_VALUE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:145:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:240:9: note: in expansion of macro ‘CHECK_VALUE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:145:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:240:9: note: in expansion of macro ‘CHECK_VALUE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:243:9: note: in expansion of macro ‘CHECK_CALL’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:145:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:244:9: note: in expansion of macro ‘CHECK_VALUE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:145:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:244:9: note: in expansion of macro ‘CHECK_VALUE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:145:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:245:9: note: in expansion of macro ‘CHECK_VALUE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:145:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:245:9: note: in expansion of macro ‘CHECK_VALUE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:249:9: note: in expansion of macro ‘CHECK_CALL’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:145:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:250:9: note: in expansion of macro ‘CHECK_VALUE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:145:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:250:9: note: in expansion of macro ‘CHECK_VALUE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:253:9: note: in expansion of macro ‘CHECK_CALL’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:145:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:254:9: note: in expansion of macro ‘CHECK_VALUE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:145:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:254:9: note: in expansion of macro ‘CHECK_VALUE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:258:9: note: in expansion of macro ‘CHECK_CALL’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:145:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:259:9: note: in expansion of macro ‘CHECK_VALUE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:145:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:259:9: note: in expansion of macro ‘CHECK_VALUE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:145:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:260:9: note: in expansion of macro ‘CHECK_VALUE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:145:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:260:9: note: in expansion of macro ‘CHECK_VALUE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:264:9: note: in expansion of macro ‘CHECK_CALL’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:145:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:265:9: note: in expansion of macro ‘CHECK_VALUE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:145:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:265:9: note: in expansion of macro ‘CHECK_VALUE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:145:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:266:9: note: in expansion of macro ‘CHECK_VALUE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:145:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:266:9: note: in expansion of macro ‘CHECK_VALUE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:269:9: note: in expansion of macro ‘CHECK_CALL’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:272:9: note: in expansion of macro ‘CHECK_CALL’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:145:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:273:9: note: in expansion of macro ‘CHECK_VALUE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:145:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:273:9: note: in expansion of macro ‘CHECK_VALUE’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:281:9: note: in expansion of macro ‘CHECK1’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:291:9: note: in expansion of macro ‘CHECK_STATUS’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:297:9: note: in expansion of macro ‘CHECK_CALL’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:67:21: note: in definition of macro ‘FAIL_UNLESS’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:298:9: note: in expansion of macro ‘FAIL_UNLESS’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:303:9: note: in expansion of macro ‘CHECK_STATUS’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:307:9: note: in expansion of macro ‘CHECK_CALL’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:67:21: note: in definition of macro ‘FAIL_UNLESS’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:308:9: note: in expansion of macro ‘FAIL_UNLESS’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:319:9: note: in expansion of macro ‘CHECK_CALL’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/setinfo.c:346:9: note: in expansion of macro ‘CHECK_CALL’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
Error: GCC_ANALYZER_WARNING (CWE-457): [#def733]
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/util.c: scope_hint: In function ‘smb2_create_simple_file’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/util.c:635:18: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*handle’
samba-4.21.1-build/samba-4.21.1/libcli/util/error.h:24: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:64: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/util.c:22: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/util.c:534:9: note: in expansion of macro ‘NT_STATUS_NOT_OK_RETURN’
samba-4.21.1-build/samba-4.21.1/libcli/util/ntstatus.h:159:24: note: in definition of macro ‘NT_STATUS_NOT_OK_RETURN’
samba-4.21.1-build/samba-4.21.1/source4/torture/smb2/util.c:633:9: note: in expansion of macro ‘NT_STATUS_NOT_OK_RETURN’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def734]
samba-4.21.1-build/samba-4.21.1/source4/torture/smbtorture.c: scope_hint: In function ‘parse_dns’
samba-4.21.1-build/samba-4.21.1/source4/torture/smbtorture.c:240:17: warning[-Wanalyzer-malloc-leak]: leak of ‘userdn’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def735]
samba-4.21.1-build/samba-4.21.1/source4/torture/smbtorture.c:255:9: warning[-Wanalyzer-malloc-leak]: leak of ‘basedn’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def736]
samba-4.21.1-build/samba-4.21.1/source4/torture/smbtorture.c:255:9: warning[-Wanalyzer-malloc-leak]: leak of ‘secret’
Error: GCC_ANALYZER_WARNING (CWE-401): [#def737]
samba-4.21.1-build/samba-4.21.1/source4/torture/smbtorture.c:255:9: warning[-Wanalyzer-malloc-leak]: leak of ‘userdn’
Error: CPPCHECK_WARNING (CWE-457): [#def738]
samba-4.21.1-build/samba-4.21.1/source4/torture/unix/unix_info2.c:100: error[uninitvar]: Uninitialized variable: params
Error: CPPCHECK_WARNING (CWE-457): [#def739]
samba-4.21.1-build/samba-4.21.1/source4/torture/unix/unix_info2.c:101: error[uninitvar]: Uninitialized variable: data
Error: CPPCHECK_WARNING (CWE-457): [#def740]
samba-4.21.1-build/samba-4.21.1/source4/torture/unix/whoami.c:169: error[uninitvar]: Uninitialized variable: &info_level
Error: GCC_ANALYZER_WARNING (CWE-126): [#def741]
samba-4.21.1-build/samba-4.21.1/source4/torture/vfs/fruit.c:34: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/torture/vfs/fruit.c: scope_hint: In function ‘check_stream’
samba-4.21.1-build/samba-4.21.1/source4/torture/vfs/fruit.c:1853:49: warning[-Wanalyzer-out-of-bounds]: stack-based buffer over-read
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:330:148: note: in definition of macro ‘torture_assert_ntstatus_equal_goto’
samba-4.21.1-build/samba-4.21.1/source4/torture/vfs/fruit.c:1850:9: note: in expansion of macro ‘torture_assert_ntstatus_ok_goto’
samba-4.21.1-build/samba-4.21.1/source4/torture/vfs/fruit.c:2875:9: note: in expansion of macro ‘CHECK_STATUS’
samba-4.21.1-build/samba-4.21.1/source4/torture/vfs/fruit.c:2879:9: note: in expansion of macro ‘torture_assert_goto’
samba-4.21.1-build/samba-4.21.1/source4/torture/vfs/fruit.c:2883:9: note: in expansion of macro ‘torture_assert_goto’
samba-4.21.1-build/samba-4.21.1/source4/torture/vfs/fruit.c:2891:9: note: in expansion of macro ‘torture_assert_goto’
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:23: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/torture/vfs/fruit.c:22: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:818:24: note: in expansion of macro ‘memset_s’
samba-4.21.1-build/samba-4.21.1/source4/torture/vfs/fruit.c:1816:9: note: in expansion of macro ‘ZERO_STRUCT’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:818:24: note: in expansion of macro ‘memset_s’
samba-4.21.1-build/samba-4.21.1/source4/torture/vfs/fruit.c:1843:9: note: in expansion of macro ‘ZERO_STRUCT’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:829:17: note: in expansion of macro ‘torture_assert_ntstatus_equal_goto’
samba-4.21.1-build/samba-4.21.1/source4/torture/vfs/fruit.c:1850:9: note: in expansion of macro ‘torture_assert_ntstatus_ok_goto’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:330:148: note: in definition of macro ‘torture_assert_ntstatus_equal_goto’
samba-4.21.1-build/samba-4.21.1/source4/torture/vfs/fruit.c:1850:9: note: in expansion of macro ‘torture_assert_ntstatus_ok_goto’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:330:148: note: in definition of macro ‘torture_assert_ntstatus_equal_goto’
samba-4.21.1-build/samba-4.21.1/source4/torture/vfs/fruit.c:1850:9: note: in expansion of macro ‘torture_assert_ntstatus_ok_goto’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:330:148: note: in definition of macro ‘torture_assert_ntstatus_equal_goto’
samba-4.21.1-build/samba-4.21.1/source4/torture/vfs/fruit.c:1850:9: note: in expansion of macro ‘torture_assert_ntstatus_ok_goto’
samba-4.21.1-build/samba-4.21.1/source4/torture/vfs/fruit.c:1853:49: note: read of 1 byte from after the end of ‘data’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:330:148: note: in definition of macro ‘torture_assert_ntstatus_equal_goto’
samba-4.21.1-build/samba-4.21.1/source4/torture/vfs/fruit.c:1850:9: note: in expansion of macro ‘torture_assert_ntstatus_ok_goto’
samba-4.21.1-build/samba-4.21.1/source4/torture/vfs/fruit.c:1853:49: note: valid subscripts for ‘data’ are ‘[0]’ to ‘[15]’
samba-4.21.1-build/samba-4.21.1/lib/torture/torture.h:330:148: note: in definition of macro ‘torture_assert_ntstatus_equal_goto’
samba-4.21.1-build/samba-4.21.1/source4/torture/vfs/fruit.c:1850:9: note: in expansion of macro ‘torture_assert_ntstatus_ok_goto’
samba-4.21.1-build/samba-4.21.1/lib/replace/replace.h:176: included_from: Included from here.
/usr/include/string.h:407:15: note: argument 1 of ‘strlen’ must be a pointer to a null-terminated string
Error: GCC_ANALYZER_WARNING (CWE-476): [#def742]
samba-4.21.1-build/samba-4.21.1/source4/torture/winbind/struct_based.c: scope_hint: In function ‘torture_winbind_struct_list_users’
samba-4.21.1-build/samba-4.21.1/source4/torture/winbind/struct_based.c:670:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘users’
samba-4.21.1-build/samba-4.21.1/source4/torture/winbind/struct_based.c:82:9: note: in expansion of macro ‘DO_STRUCT_REQ_REP_EXT’
samba-4.21.1-build/samba-4.21.1/source4/torture/winbind/struct_based.c:639:9: note: in expansion of macro ‘DO_STRUCT_REQ_REP’
samba-4.21.1-build/samba-4.21.1/source4/torture/winbind/struct_based.c:22: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/torture/winbind/struct_based.c:642:9: note: in expansion of macro ‘torture_assert’
samba-4.21.1-build/samba-4.21.1/lib/util/samba_util.h:57: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/include/includes.h:62: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/source4/torture/winbind/struct_based.c:21: included_from: Included from here.
samba-4.21.1-build/samba-4.21.1/lib/util/memory.h:31:32: note: in definition of macro ‘SAFE_FREE’
samba-4.21.1-build/samba-4.21.1/source4/torture/winbind/struct_based.c:668:9: note: in expansion of macro ‘torture_assert’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def743]
samba-4.21.1-build/samba-4.21.1/source4/torture/winbind/struct_based.c: scope_hint: In function ‘lookup_name_sid_list’
samba-4.21.1-build/samba-4.21.1/source4/torture/winbind/struct_based.c:997:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘list’
samba-4.21.1-build/samba-4.21.1/source4/torture/winbind/struct_based.c:1079:9: note: in expansion of macro ‘torture_assert’
samba-4.21.1-build/samba-4.21.1/source4/torture/winbind/struct_based.c:82:9: note: in expansion of macro ‘DO_STRUCT_REQ_REP_EXT’
samba-4.21.1-build/samba-4.21.1/source4/torture/winbind/struct_based.c:691:9: note: in expansion of macro ‘DO_STRUCT_REQ_REP’
samba-4.21.1-build/samba-4.21.1/source4/torture/winbind/struct_based.c:703:9: note: in expansion of macro ‘torture_assert’
samba-4.21.1-build/samba-4.21.1/source4/torture/winbind/struct_based.c:703:9: note: in expansion of macro ‘torture_assert’
samba-4.21.1-build/samba-4.21.1/lib/util/memory.h:31:32: note: in definition of macro ‘SAFE_FREE’
samba-4.21.1-build/samba-4.21.1/source4/torture/winbind/struct_based.c:714:9: note: in expansion of macro ‘SAFE_FREE’
samba-4.21.1-build/samba-4.21.1/source4/torture/winbind/struct_based.c:714:9: note: in expansion of macro ‘SAFE_FREE’
samba-4.21.1-build/samba-4.21.1/source4/torture/winbind/struct_based.c:716:9: note: in expansion of macro ‘torture_assert_int_equal’
samba-4.21.1-build/samba-4.21.1/source4/torture/winbind/struct_based.c:1083:9: note: in expansion of macro ‘torture_assert’
Scan Properties
analyzer-version-clippy | 1.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
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-121.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | samba-4.21.1-9.fc42 |
store-results-to | /tmp/tmpfevmyb8x/samba-4.21.1-9.fc42.tar.xz |
time-created | 2024-11-13 03:49:46 |
time-finished | 2024-11-13 04:30:54 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpfevmyb8x/samba-4.21.1-9.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpfevmyb8x/samba-4.21.1-9.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |