Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler. Number of rules (primarily dangerous function names) in C/C++ ruleset: 223 Examining data/samba-4.13.2+dfsg/third_party/cmocka/cmocka.h Examining data/samba-4.13.2+dfsg/third_party/cmocka/cmocka_private.h Examining data/samba-4.13.2+dfsg/third_party/cmocka/cmocka.c Examining data/samba-4.13.2+dfsg/third_party/uid_wrapper/uid_wrapper.c Examining data/samba-4.13.2+dfsg/third_party/resolv_wrapper/resolv_wrapper.c Examining data/samba-4.13.2+dfsg/third_party/nss_wrapper/nss_wrapper.c Examining data/samba-4.13.2+dfsg/third_party/aesni-intel/aesni-intel_asm.c Examining data/samba-4.13.2+dfsg/third_party/aesni-intel/inst-intel.h Examining data/samba-4.13.2+dfsg/third_party/socket_wrapper/socket_wrapper.c Examining data/samba-4.13.2+dfsg/third_party/popt/popt.h Examining data/samba-4.13.2+dfsg/third_party/popt/system.h Examining data/samba-4.13.2+dfsg/third_party/popt/poptparse.c Examining data/samba-4.13.2+dfsg/third_party/popt/popthelp.c Examining data/samba-4.13.2+dfsg/third_party/popt/poptint.h Examining data/samba-4.13.2+dfsg/third_party/popt/findme.h Examining data/samba-4.13.2+dfsg/third_party/popt/poptconfig.c Examining data/samba-4.13.2+dfsg/third_party/popt/lookup3.c Examining data/samba-4.13.2+dfsg/third_party/popt/poptint.c Examining data/samba-4.13.2+dfsg/third_party/popt/popt.c Examining data/samba-4.13.2+dfsg/third_party/pam_wrapper/libpamtest.h Examining data/samba-4.13.2+dfsg/third_party/pam_wrapper/python/pypamtest.c Examining data/samba-4.13.2+dfsg/third_party/pam_wrapper/modules/pam_set_items.c Examining data/samba-4.13.2+dfsg/third_party/pam_wrapper/libpamtest.c Examining data/samba-4.13.2+dfsg/third_party/pam_wrapper/pwrap_compat.h Examining data/samba-4.13.2+dfsg/third_party/pam_wrapper/pam_wrapper.c Examining data/samba-4.13.2+dfsg/third_party/gpfs/gpfs.h Examining data/samba-4.13.2+dfsg/coverity/coverity_assert_model.c Examining data/samba-4.13.2+dfsg/dynconfig/dynconfig.c Examining data/samba-4.13.2+dfsg/dynconfig/dynconfig.h Examining data/samba-4.13.2+dfsg/testprogs/win32/testmailslot/testmailslot.c Examining data/samba-4.13.2+dfsg/testprogs/win32/spoolss/testspoolss.h Examining data/samba-4.13.2+dfsg/testprogs/win32/spoolss/error.c Examining data/samba-4.13.2+dfsg/testprogs/win32/spoolss/printlib.c Examining data/samba-4.13.2+dfsg/testprogs/win32/spoolss/printlib_proto.h Examining data/samba-4.13.2+dfsg/testprogs/win32/spoolss/string.h Examining data/samba-4.13.2+dfsg/testprogs/win32/spoolss/torture.h Examining data/samba-4.13.2+dfsg/testprogs/win32/spoolss/testspoolss.c Examining data/samba-4.13.2+dfsg/testprogs/win32/spoolss/torture_proto.h Examining data/samba-4.13.2+dfsg/testprogs/win32/spoolss/torture.c Examining data/samba-4.13.2+dfsg/testprogs/win32/spoolss/error.h Examining data/samba-4.13.2+dfsg/testprogs/win32/prepare_dcpromo/prepare_dcpromo.c Examining data/samba-4.13.2+dfsg/testprogs/win32/midltests/midltests_simple.c Examining data/samba-4.13.2+dfsg/testprogs/win32/midltests/midltests_marshall.c Examining data/samba-4.13.2+dfsg/testprogs/win32/midltests/midltests_tcp.c Examining data/samba-4.13.2+dfsg/testprogs/win32/midltests/utils.c Examining data/samba-4.13.2+dfsg/testprogs/win32/midltests/midltests_c_m.c Examining data/samba-4.13.2+dfsg/testprogs/win32/midltests/midltests_marshall.h Examining data/samba-4.13.2+dfsg/testprogs/win32/midltests/midltests_s_m.c Examining data/samba-4.13.2+dfsg/testprogs/win32/npecho/npecho_client.c Examining data/samba-4.13.2+dfsg/testprogs/win32/npecho/npecho_client2.c Examining data/samba-4.13.2+dfsg/testprogs/win32/npecho/npecho_server2.c Examining data/samba-4.13.2+dfsg/testprogs/win32/rpcecho/client.c Examining data/samba-4.13.2+dfsg/testprogs/win32/rpcecho/server.c Examining data/samba-4.13.2+dfsg/testprogs/win32/rpcecho/utils.c Examining data/samba-4.13.2+dfsg/examples/nss/nss_winbind.c Examining data/samba-4.13.2+dfsg/examples/nss/nss_winbind.h Examining data/samba-4.13.2+dfsg/examples/nss/wbtest.c Examining data/samba-4.13.2+dfsg/examples/pcap2nbench/ntcreateandxresponse.cpp Examining data/samba-4.13.2+dfsg/examples/pcap2nbench/smb.hpp Examining data/samba-4.13.2+dfsg/examples/pcap2nbench/ntcreateandxresponse.hpp Examining data/samba-4.13.2+dfsg/examples/pcap2nbench/ntcreateandxrequest.hpp Examining data/samba-4.13.2+dfsg/examples/pcap2nbench/ip.hpp Examining data/samba-4.13.2+dfsg/examples/pcap2nbench/smb.cpp Examining data/samba-4.13.2+dfsg/examples/pcap2nbench/ip.cpp Examining data/samba-4.13.2+dfsg/examples/pcap2nbench/ethernet.cpp Examining data/samba-4.13.2+dfsg/examples/pcap2nbench/tcp.cpp Examining data/samba-4.13.2+dfsg/examples/pcap2nbench/readandxrequest.cpp Examining data/samba-4.13.2+dfsg/examples/pcap2nbench/writeandxrequest.cpp Examining data/samba-4.13.2+dfsg/examples/pcap2nbench/closerequest.hpp Examining data/samba-4.13.2+dfsg/examples/pcap2nbench/main.cpp Examining data/samba-4.13.2+dfsg/examples/pcap2nbench/readandxresponse.hpp Examining data/samba-4.13.2+dfsg/examples/pcap2nbench/ethernet.hpp Examining data/samba-4.13.2+dfsg/examples/pcap2nbench/readandxrequest.hpp Examining data/samba-4.13.2+dfsg/examples/pcap2nbench/tcp.hpp Examining data/samba-4.13.2+dfsg/examples/pcap2nbench/writeandxrequest.hpp Examining data/samba-4.13.2+dfsg/examples/pcap2nbench/closerequest.cpp Examining data/samba-4.13.2+dfsg/examples/pcap2nbench/ntcreateandxrequest.cpp Examining data/samba-4.13.2+dfsg/examples/validchars/validchr.c Examining data/samba-4.13.2+dfsg/examples/auth/crackcheck/crackcheck.c Examining data/samba-4.13.2+dfsg/examples/auth/auth_skel.c Examining data/samba-4.13.2+dfsg/examples/pdb/test.c Examining data/samba-4.13.2+dfsg/examples/printing/prtpub.c Examining data/samba-4.13.2+dfsg/examples/winexe/winexe.c Examining data/samba-4.13.2+dfsg/examples/winexe/winexesvc.c Examining data/samba-4.13.2+dfsg/examples/winexe/winexesvc.h Examining data/samba-4.13.2+dfsg/examples/VFS/skel_opaque.c Examining data/samba-4.13.2+dfsg/examples/VFS/skel_transparent.c Examining data/samba-4.13.2+dfsg/examples/VFS/shadow_copy_test.c Examining data/samba-4.13.2+dfsg/examples/fuse/clifuse.c Examining data/samba-4.13.2+dfsg/examples/fuse/smb2mount.c Examining data/samba-4.13.2+dfsg/examples/fuse/clifuse.h Examining data/samba-4.13.2+dfsg/examples/libsmbclient/testctx.c Examining data/samba-4.13.2+dfsg/examples/libsmbclient/tree.c Examining data/samba-4.13.2+dfsg/examples/libsmbclient/testfstatvfs.c Examining data/samba-4.13.2+dfsg/examples/libsmbclient/testacl.c Examining data/samba-4.13.2+dfsg/examples/libsmbclient/testread.c Examining data/samba-4.13.2+dfsg/examples/libsmbclient/teststatvfs.c Examining data/samba-4.13.2+dfsg/examples/libsmbclient/testnotify.c Examining data/samba-4.13.2+dfsg/examples/libsmbclient/testacl3.c Examining data/samba-4.13.2+dfsg/examples/libsmbclient/testchmod.c Examining data/samba-4.13.2+dfsg/examples/libsmbclient/testutime.c Examining data/samba-4.13.2+dfsg/examples/libsmbclient/testbrowse2.c Examining data/samba-4.13.2+dfsg/examples/libsmbclient/testsmbc.c Examining data/samba-4.13.2+dfsg/examples/libsmbclient/teststat2.c Examining data/samba-4.13.2+dfsg/examples/libsmbclient/testtruncate.c Examining data/samba-4.13.2+dfsg/examples/libsmbclient/get_auth_data_fn.h Examining data/samba-4.13.2+dfsg/examples/libsmbclient/testacl2.c Examining data/samba-4.13.2+dfsg/examples/libsmbclient/testwrite.c Examining data/samba-4.13.2+dfsg/examples/libsmbclient/testbrowse.c Examining data/samba-4.13.2+dfsg/examples/libsmbclient/teststat3.c Examining data/samba-4.13.2+dfsg/examples/libsmbclient/teststat.c Examining data/samba-4.13.2+dfsg/examples/perfcounter/perf_writer.c Examining data/samba-4.13.2+dfsg/examples/perfcounter/perf.h Examining data/samba-4.13.2+dfsg/examples/perfcounter/perf_writer_cpu.c Examining data/samba-4.13.2+dfsg/examples/perfcounter/perf_writer_util.c Examining data/samba-4.13.2+dfsg/examples/perfcounter/perf_writer_disk.c Examining data/samba-4.13.2+dfsg/examples/perfcounter/perf_writer_process.c Examining data/samba-4.13.2+dfsg/examples/perfcounter/perf_writer_mem.c Examining data/samba-4.13.2+dfsg/source4/dns_server/dns_update.c Examining data/samba-4.13.2+dfsg/source4/dns_server/dnsserver_common.c Examining data/samba-4.13.2+dfsg/source4/dns_server/dns_server.c Examining data/samba-4.13.2+dfsg/source4/dns_server/dns_crypto.c Examining data/samba-4.13.2+dfsg/source4/dns_server/dns_query.c Examining data/samba-4.13.2+dfsg/source4/dns_server/pydns.c Examining data/samba-4.13.2+dfsg/source4/dns_server/dlz_bind9.c Examining data/samba-4.13.2+dfsg/source4/dns_server/dns_server.h Examining data/samba-4.13.2+dfsg/source4/dns_server/dnsserver_common.h Examining data/samba-4.13.2+dfsg/source4/dns_server/dlz_minimal.h Examining data/samba-4.13.2+dfsg/source4/dns_server/dns_utils.c Examining data/samba-4.13.2+dfsg/source4/auth/session.h Examining data/samba-4.13.2+dfsg/source4/auth/auth.h Examining data/samba-4.13.2+dfsg/source4/auth/system_session.c Examining data/samba-4.13.2+dfsg/source4/auth/gensec/gensec_krb5_mit.c Examining data/samba-4.13.2+dfsg/source4/auth/gensec/gensec_krb5.h Examining data/samba-4.13.2+dfsg/source4/auth/gensec/pygensec.c Examining data/samba-4.13.2+dfsg/source4/auth/gensec/gensec_tstream.c Examining data/samba-4.13.2+dfsg/source4/auth/gensec/gensec_tstream.h Examining data/samba-4.13.2+dfsg/source4/auth/gensec/gensec_gssapi.h Examining data/samba-4.13.2+dfsg/source4/auth/gensec/gensec_gssapi.c Examining data/samba-4.13.2+dfsg/source4/auth/gensec/gensec_krb5_heimdal.c