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/lintian-2.103.0/t/recipes/checks/binaries/binaries-development-package-ships-elf-binary-in-path/build-spec/orig/true.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-doesnt-match-sonames/build-spec/orig/code.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-embedded-libs/build-spec/orig/gmp.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-embedded-libs/build-spec/orig/hardening-trigger.h Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-embedded-libs/build-spec/orig/ieee-data1.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-embedded-libs/build-spec/orig/ieee-data2.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-embedded-libs/build-spec/orig/ieee-data3.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-embedded-libs/build-spec/orig/libbz2.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-embedded-libs/build-spec/orig/libexpat.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-embedded-libs/build-spec/orig/libjpeg.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-embedded-libs/build-spec/orig/libm.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-embedded-libs/build-spec/orig/libmagic.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-embedded-libs/build-spec/orig/libopenjpeg.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-embedded-libs/build-spec/orig/libpcre3.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-embedded-libs/build-spec/orig/libpng.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-embedded-libs/build-spec/orig/libsqlite.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-embedded-libs/build-spec/orig/libtiff.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-embedded-libs/build-spec/orig/libxml2.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-embedded-libs/build-spec/orig/mpfr.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-embedded-libs/build-spec/orig/zlib.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-general/build-spec/orig/basic.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-general/build-spec/orig/ocaml.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-golang/build-spec/orig/basic.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-hardening/build-spec/orig/hello.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-libc-link/build-spec/orig/basic.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-missing-depends/build-spec/orig/basic.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-missing-depends-on-libc/build-spec/orig/basic.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-missing-depends-on-libc/build-spec/orig/cpp.cxx Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-missing-depends-on-numpy-abi/build-spec/orig/basic.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-missing-depends-on-xapi/build-spec/orig/basic.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-missing-lfs/build-spec/orig/basic.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-missing-lfs/build-spec/orig/lfs.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-multiarch-same/build-spec/orig/basic.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-obsolete-des/build-spec/orig/uses-encrypt.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-obsolete-des/build-spec/orig/uses-encrypt_r.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-obsolete-des/build-spec/orig/uses-fcrypt.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-obsolete-des/build-spec/orig/uses-setkey.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-obsolete-des/build-spec/orig/uses-setkey_r.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-spelling/build-spec/orig/basic.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-static-lib/build-spec/orig/code.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-static-lib/build-spec/orig/code.h Examining data/lintian-2.103.0/t/recipes/checks/binaries/binaries-static-lib/build-spec/orig/other.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/legacy-binary/build-spec/orig/hello.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/legacy-debug/build-spec/orig/hello.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/legacy-debug/build-spec/orig/libhello.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/legacy-debug/build-spec/orig/libhello.h Examining data/lintian-2.103.0/t/recipes/checks/binaries/legacy-libbaz/build-spec/orig/baz.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/legacy-libbaz/build-spec/orig/extra.c Examining data/lintian-2.103.0/t/recipes/checks/binaries/wrong-binary-architecture/build-spec/orig/hello.c Examining data/lintian-2.103.0/t/recipes/checks/control-files/legacy-binary/build-spec/orig/hello.c Examining data/lintian-2.103.0/t/recipes/checks/control-files/legacy-libbaz/build-spec/orig/baz.c Examining data/lintian-2.103.0/t/recipes/checks/control-files/legacy-libbaz/build-spec/orig/extra.c Examining data/lintian-2.103.0/t/recipes/checks/cruft/cruft-autogenerated/build-spec/orig/src/gperf/gperf.c Examining data/lintian-2.103.0/t/recipes/checks/cruft/cruft-autogenerated/build-spec/orig/src/gperf/gperf.cpp Examining data/lintian-2.103.0/t/recipes/checks/cruft/cruft-autogenerated/build-spec/orig/src/visualc++/positive.cpp Examining data/lintian-2.103.0/t/recipes/checks/cruft/cruft-contains-waf/build-spec/orig/some-source.c Examining data/lintian-2.103.0/t/recipes/checks/cruft/cruft-doxygen-documentation/build-spec/orig/src/hello.c Examining data/lintian-2.103.0/t/recipes/checks/cruft/cruft-evil-json/build-spec/orig/src/evil.c Examining data/lintian-2.103.0/t/recipes/checks/cruft/cruft-general-test-suite/build-spec/orig/hello.c Examining data/lintian-2.103.0/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/findsutilsokinlinenewline.c Examining data/lintian-2.103.0/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/findutilsok.c Examining data/lintian-2.103.0/t/recipes/checks/cruft/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normal.c Examining data/lintian-2.103.0/t/recipes/checks/cruft/cruft-non-free-utf/build-spec/orig/src/bad.c Examining data/lintian-2.103.0/t/recipes/checks/cruft/cruft-nvidia-intellectual/build-spec/orig/src/badcv.c Examining data/lintian-2.103.0/t/recipes/checks/cruft/cruft-nvidia-intellectual/build-spec/orig/src/badcv2.c Examining data/lintian-2.103.0/t/recipes/checks/cruft/cruft-nvidia-intellectual/build-spec/orig/src/falsepositive/allmankind.c Examining data/lintian-2.103.0/t/recipes/checks/cruft/cruft-source-is-missing-unrel/build-spec/orig/main.c Examining data/lintian-2.103.0/t/recipes/checks/cruft/cruft-sphinx-documentation/build-spec/orig/src/hello.c Examining data/lintian-2.103.0/t/recipes/checks/cruft/cruft-upstream-binaries/build-spec/orig/hello.c Examining data/lintian-2.103.0/t/recipes/checks/cruft/files-doxygen-documentation/build-spec/orig/src/hello.c Examining data/lintian-2.103.0/t/recipes/checks/debhelper/legacy-libbaz/build-spec/orig/baz.c Examining data/lintian-2.103.0/t/recipes/checks/debhelper/legacy-libbaz/build-spec/orig/extra.c Examining data/lintian-2.103.0/t/recipes/checks/debian/changelog/legacy-binary/build-spec/orig/hello.c Examining data/lintian-2.103.0/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/orig/baz.c Examining data/lintian-2.103.0/t/recipes/checks/debian/changelog/legacy-libbaz/build-spec/orig/extra.c Examining data/lintian-2.103.0/t/recipes/checks/debian/control/binaries-golang/build-spec/orig/basic.c Examining data/lintian-2.103.0/t/recipes/checks/debian/control/binaries-multiarch/build-spec/orig/basic.c Examining data/lintian-2.103.0/t/recipes/checks/debian/control/control-file-golang-built-using/build-spec/orig/basic.c Examining data/lintian-2.103.0/t/recipes/checks/debian/control/control-file-golang-xs-go-import-path/build-spec/orig/basic.c Examining data/lintian-2.103.0/t/recipes/checks/debian/control/legacy-binary/build-spec/orig/hello.c Examining data/lintian-2.103.0/t/recipes/checks/debian/control/legacy-libbaz/build-spec/orig/baz.c Examining data/lintian-2.103.0/t/recipes/checks/debian/control/legacy-libbaz/build-spec/orig/extra.c Examining data/lintian-2.103.0/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/findsutilsokinlinenewline.c Examining data/lintian-2.103.0/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/findutilsok.c Examining data/lintian-2.103.0/t/recipes/checks/debian/copyright/dep5/cruft-gfdl-invariants/build-spec/orig/src/oldfalsepositive/normal.c Examining data/lintian-2.103.0/t/recipes/checks/debian/copyright/dep5/legacy-binary/build-spec/orig/hello.c Examining data/lintian-2.103.0/t/recipes/checks/debian/copyright/legacy-binary/build-spec/orig/hello.c Examining data/lintian-2.103.0/t/recipes/checks/debian/rules/legacy-binary/build-spec/orig/hello.c Examining data/lintian-2.103.0/t/recipes/checks/debian/version-substvars/legacy-binary/build-spec/orig/hello.c Examining data/lintian-2.103.0/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/orig/baz.c Examining data/lintian-2.103.0/t/recipes/checks/debian/version-substvars/legacy-libbaz/build-spec/orig/extra.c Examining data/lintian-2.103.0/t/recipes/checks/documentation/files-doxygen-documentation/build-spec/orig/src/hello.c Examining data/lintian-2.103.0/t/recipes/checks/documentation/files-python-general/build-spec/orig/lib.c Examining data/lintian-2.103.0/t/recipes/checks/documentation/files-uses-dpkg-database-directly/build-spec/orig/test.c Examining data/lintian-2.103.0/t/recipes/checks/documentation/legacy-binary/build-spec/orig/hello.c Examining data/lintian-2.103.0/t/recipes/checks/documentation/legacy-libbaz/build-spec/orig/baz.c Examining data/lintian-2.103.0/t/recipes/checks/documentation/legacy-libbaz/build-spec/orig/extra.c Examining data/lintian-2.103.0/t/recipes/checks/documentation/manual/legacy-binary/build-spec/orig/hello.c Examining data/lintian-2.103.0/t/recipes/checks/fields/description/legacy-binary/build-spec/orig/hello.c Examining data/lintian-2.103.0/t/recipes/checks/fields/dm-upload-allowed/legacy-binary/build-spec/orig/hello.c Examining data/lintian-2.103.0/t/recipes/checks/fields/homepage/legacy-binary/build-spec/orig/hello.c Examining data/lintian-2.103.0/t/recipes/checks/fields/package-relations/legacy-binary/build-spec/orig/hello.c Examining data/lintian-2.103.0/t/recipes/checks/fields/section/legacy-libbaz/build-spec/orig/baz.c Examining data/lintian-2.103.0/t/recipes/checks/fields/section/legacy-libbaz/build-spec/orig/extra.c Examining data/lintian-2.103.0/t/recipes/checks/fields/standards-version/legacy-binary/build-spec/orig/hello.c Examining data/lintian-2.103.0/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/orig/baz.c Examining data/lintian-2.103.0/t/recipes/checks/fields/standards-version/legacy-libbaz/build-spec/orig/extra.c Examining data/lintian-2.103.0/t/recipes/checks/fields/vcs/legacy-binary/build-spec/orig/hello.c Examining data/lintian-2.103.0/t/recipes/checks/files/architecture/binaries-multiarch/build-spec/orig/basic.c Examining data/lintian-2.103.0/t/recipes/checks/files/architecture/binaries-multiarch-wrong-dir/build-spec/orig/basic.c Examining data/lintian-2.103.0/t/recipes/checks/files/architecture/cruft-source-is-missing-unrel/build-spec/orig/main.c Examining data/lintian-2.103.0/t/recipes/checks/files/contents/bin-sbin-confusion-in-elf/build-spec/orig/calls-sbin.c Examining data/lintian-2.103.0/t/recipes/checks/files/contents/files-uses-dpkg-database-directly/build-spec/orig/test.c Examining data/lintian-2.103.0/t/recipes/checks/files/debug/binaries-general/build-spec/orig/basic.c Examining data/lintian-2.103.0/t/recipes/checks/files/debug/binaries-general/build-spec/orig/ocaml.c Examining data/lintian-2.103.0/t/recipes/checks/files/empty-directories/legacy-libbaz/build-spec/orig/baz.c Examining data/lintian-2.103.0/t/recipes/checks/files/empty-directories/legacy-libbaz/build-spec/orig/extra.c Examining data/lintian-2.103.0/t/recipes/checks/files/empty-package/cruft-source-is-missing-unrel/build-spec/orig/main.c Examining data/lintian-2.103.0/t/recipes/checks/files/empty-package/legacy-binary/build-spec/orig/hello.c Examining data/lintian-2.103.0/t/recipes/checks/files/encoding/doc-base-in-western-encoding/build-spec/orig/hello.c Examining data/lintian-2.103.0/t/recipes/checks/files/hard-links/legacy-binary/build-spec/orig/hello.c Examining data/lintian-2.103.0/t/recipes/checks/files/hierarchy/standard/legacy-binary/build-spec/orig/hello.c Examining data/lintian-2.103.0/t/recipes/checks/files/includes/files-header-has-overly-generic-name/build-spec/orig/util.h Examining data/lintian-2.103.0/t/recipes/checks/files/multi-arch/files-wrong-ma-foreign/build-spec/orig/code.c Examining data/lintian-2.103.0/t/recipes/checks/files/names/legacy-binary/build-spec/orig/hello.c Examining data/lintian-2.103.0/t/recipes/checks/files/symbolic-links/legacy-binary/build-spec/orig/hello.c Examining data/lintian-2.103.0/t/recipes/checks/files/symbolic-links/legacy-libbaz/build-spec/orig/baz.c Examining data/lintian-2.103.0/t/recipes/checks/files/symbolic-links/legacy-libbaz/build-spec/orig/extra.c Examining data/lintian-2.103.0/t/recipes/checks/group-checks/legacy-binary/build-spec/orig/hello.c Examining data/lintian-2.103.0/t/recipes/checks/group-checks/legacy-libbaz/build-spec/orig/baz.c Examining data/lintian-2.103.0/t/recipes/checks/group-checks/legacy-libbaz/build-spec/orig/extra.c Examining data/lintian-2.103.0/t/recipes/checks/huge-usr-share/legacy-binary/build-spec/orig/hello.c Examining data/lintian-2.103.0/t/recipes/checks/includes/config-h/package-name-srtp/build-spec/orig/include/config.h Examining data/lintian-2.103.0/t/recipes/checks/languages/ocaml/ocaml-general/build-spec/orig/symbol.c Examining data/lintian-2.103.0/t/recipes/checks/languages/python/files-python-general/build-spec/orig/lib.c Examining data/lintian-2.103.0/t/recipes/checks/libraries/shared/obsolete/cblas/build-spec/orig/cblas.h Examining data/lintian-2.103.0/t/recipes/checks/libraries/shared/obsolete/cblas/build-spec/orig/consumer.c Examining data/lintian-2.103.0/t/recipes/checks/libraries/shared/obsolete/cblas/build-spec/orig/libcblas.c Examining data/lintian-2.103.0/t/recipes/checks/md5sums/legacy-binary/build-spec/orig/hello.c Examining data/lintian-2.103.0/t/recipes/checks/md5sums/legacy-libbaz/build-spec/orig/baz.c Examining data/lintian-2.103.0/t/recipes/checks/md5sums/legacy-libbaz/build-spec/orig/extra.c Examining data/lintian-2.103.0/t/recipes/checks/menu-format/legacy-binary/build-spec/orig/hello.c Examining data/lintian-2.103.0/t/recipes/checks/menus/legacy-binary/build-spec/orig/hello.c Examining data/lintian-2.103.0/t/recipes/checks/menus/national-encoding/build-spec/orig/hello.c Examining data/lintian-2.103.0/t/recipes/checks/nmu/legacy-binary/build-spec/orig/hello.c Examining data/lintian-2.103.0/t/recipes/checks/nmu/legacy-libbaz/build-spec/orig/baz.c Examining data/lintian-2.103.0/t/recipes/checks/nmu/legacy-libbaz/build-spec/orig/extra.c Examining data/lintian-2.103.0/t/recipes/checks/pe/missing-security-features-32-bit/build-spec/orig/hello.c Examining data/lintian-2.103.0/t/recipes/checks/pe/missing-security-features-64-bit/build-spec/orig/hello.c Examining data/lintian-2.103.0/t/recipes/checks/scripts/legacy-binary/build-spec/orig/hello.c Examining data/lintian-2.103.0/t/recipes/checks/scripts/legacy-libbaz/build-spec/orig/baz.c Examining data/lintian-2.103.0/t/recipes/checks/scripts/legacy-libbaz/build-spec/orig/extra.c Examining data/lintian-2.103.0/t/recipes/checks/scripts/scripts-does-not-start-with-shebang/build-spec/orig/true.c Examining data/lintian-2.103.0/t/recipes/checks/shared-libs/binaries-doesnt-match-sonames/build-spec/orig/code.c Examining data/lintian-2.103.0/t/recipes/checks/shared-libs/binaries-missing-depends/build-spec/orig/basic.c Examining data/lintian-2.103.0/t/recipes/checks/shared-libs/binaries-missing-depends-on-libc/build-spec/orig/basic.c Examining data/lintian-2.103.0/t/recipes/checks/shared-libs/binaries-missing-depends-on-libc/build-spec/orig/cpp.cxx Examining data/lintian-2.103.0/t/recipes/checks/shared-libs/binaries-multiarch/build-spec/orig/basic.c Examining data/lintian-2.103.0/t/recipes/checks/shared-libs/binaries-multiarch-same/build-spec/orig/basic.c Examining data/lintian-2.103.0/t/recipes/checks/shared-libs/files-wrong-ma-foreign/build-spec/orig/code.c Examining data/lintian-2.103.0/t/recipes/checks/shared-libs/legacy-debug/build-spec/orig/hello.c Examining data/lintian-2.103.0/t/recipes/checks/shared-libs/legacy-debug/build-spec/orig/libhello.c Examining data/lintian-2.103.0/t/recipes/checks/shared-libs/legacy-debug/build-spec/orig/libhello.h Examining data/lintian-2.103.0/t/recipes/checks/shared-libs/legacy-libbaz/build-spec/orig/baz.c Examining data/lintian-2.103.0/t/recipes/checks/shared-libs/legacy-libbaz/build-spec/orig/extra.c Examining data/lintian-2.103.0/t/recipes/checks/shared-libs/shared-libs-control-file/build-spec/orig/code.c Examining data/lintian-2.103.0/t/recipes/checks/shared-libs/shared-libs-dev-symlink/build-spec/orig/code.c Examining data/lintian-2.103.0/t/recipes/checks/shared-libs/shared-libs-dev-symlink/build-spec/orig/code.h Examining data/lintian-2.103.0/t/recipes/checks/shared-libs/shared-libs-dev-symlink-fp/build-spec/orig/code.c Examining data/lintian-2.103.0/t/recipes/checks/shared-libs/shared-libs-dev-symlink-fp/build-spec/orig/code.h Examining data/lintian-2.103.0/t/recipes/checks/shared-libs/shared-libs-exec-bit/build-spec/orig/code.c Examining data/lintian-2.103.0/t/recipes/checks/shared-libs/shared-libs-exec-stack/build-spec/orig/foo.c Examining data/lintian-2.103.0/t/recipes/checks/shared-libs/shared-libs-exec-stack/build-spec/orig/get.c Examining data/lintian-2.103.0/t/recipes/checks/shared-libs/shared-libs-exit/build-spec/orig/code.c Examining data/lintian-2.103.0/t/recipes/checks/shared-libs/shared-libs-exit-fork/build-spec/orig/code.c Examining data/lintian-2.103.0/t/recipes/checks/shared-libs/shared-libs-ldconfig-not-symlink/build-spec/orig/code.c Examining data/lintian-2.103.0/t/recipes/checks/shared-libs/shared-libs-ldconfig-scripts/build-spec/orig/code.c Examining data/lintian-2.103.0/t/recipes/checks/shared-libs/shared-libs-ldconfig-wrong-file/build-spec/orig/code.c Examining data/lintian-2.103.0/t/recipes/checks/shared-libs/shared-libs-missing-ldconfig-symlink/build-spec/orig/code.c Examining data/lintian-2.103.0/t/recipes/checks/shared-libs/shared-libs-missing-soname/build-spec/orig/code.c Examining data/lintian-2.103.0/t/recipes/checks/shared-libs/shared-libs-missing-soname/build-spec/orig/main.c Examining data/lintian-2.103.0/t/recipes/checks/shared-libs/shared-libs-multi-arch-foreign/build-spec/orig/code.c Examining data/lintian-2.103.0/t/recipes/checks/shared-libs/shared-libs-no-gnu-stack/build-spec/orig/code.c Examining data/lintian-2.103.0/t/recipes/checks/shared-libs/shared-libs-non-dev-symlink/build-spec/orig/code.c Examining data/lintian-2.103.0/t/recipes/checks/shared-libs/shared-libs-non-pic-i386/build-spec/orig/non-pic.c Examining data/lintian-2.103.0/t/recipes/checks/shared-libs/shared-libs-symbols-file/build-spec/orig/code.c Examining data/lintian-2.103.0/t/recipes/checks/shared-libs/shared-libs-unversioned/build-spec/orig/foo.c Examining data/lintian-2.103.0/t/recipes/checks/usrmerge/usrmerge-lib/build-spec/orig/basic.c Examining data/lintian-2.103.0/t/recipes/odd-inputs/source/unpack-srcpkg-dot-dir/build-spec/orig/foo.c Examining data/lintian-2.103.0/t/recipes/odd-inputs/source/unpack-srcpkg-dot-dir/build-spec/orig/foo.h Examining data/lintian-2.103.0/t/recipes/odd-inputs/source/unpack-srcpkg-dot-subdir/build-spec/foo.c Examining data/lintian-2.103.0/t/recipes/odd-inputs/source/unpack-srcpkg-dot-subdir/build-spec/foo.h Examining data/lintian-2.103.0/t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/build-spec/orig/foo.c Examining data/lintian-2.103.0/t/recipes/odd-inputs/source/unpack-srcpkg-no-subdir/build-spec/orig/foo.h Examining data/lintian-2.103.0/t/recipes/odd-inputs/strings-elf-detection/build-spec/orig/true.c FINAL RESULTS: data/lintian-2.103.0/t/recipes/checks/binaries/binaries-golang/build-spec/orig/basic.c:11:5: [5] (buffer) gets: Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead. gets (t); data/lintian-2.103.0/t/recipes/checks/debian/control/binaries-golang/build-spec/orig/basic.c:11:5: [5] (buffer) gets: Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead. gets (t); data/lintian-2.103.0/t/recipes/checks/debian/control/control-file-golang-built-using/build-spec/orig/basic.c:11:5: [5] (buffer) gets: Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead. gets (t); data/lintian-2.103.0/t/recipes/checks/debian/control/control-file-golang-xs-go-import-path/build-spec/orig/basic.c:11:5: [5] (buffer) gets: Does not check for buffer overflows (CWE-120, CWE-20). Use fgets() instead. gets (t); data/lintian-2.103.0/t/recipes/checks/binaries/binaries-general/build-spec/orig/basic.c:10:12: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). (void) strcpy(t,argv[0]); data/lintian-2.103.0/t/recipes/checks/binaries/binaries-hardening/build-spec/orig/hello.c:9:5: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). strcpy(buf, string); data/lintian-2.103.0/t/recipes/checks/files/debug/binaries-general/build-spec/orig/basic.c:10:12: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). (void) strcpy(t,argv[0]); data/lintian-2.103.0/t/recipes/checks/binaries/binaries-doesnt-match-sonames/build-spec/orig/code.c:5:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char test[10]; data/lintian-2.103.0/t/recipes/checks/binaries/binaries-doesnt-match-sonames/build-spec/orig/code.c:6:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(test, p, i); data/lintian-2.103.0/t/recipes/checks/binaries/binaries-embedded-libs/build-spec/orig/hardening-trigger.h:2:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char test[10]; data/lintian-2.103.0/t/recipes/checks/binaries/binaries-embedded-libs/build-spec/orig/hardening-trigger.h:3:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(test, p, i); data/lintian-2.103.0/t/recipes/checks/binaries/binaries-general/build-spec/orig/basic.c:7:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char t[10]; data/lintian-2.103.0/t/recipes/checks/binaries/binaries-golang/build-spec/orig/basic.c:6:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char t[10]; data/lintian-2.103.0/t/recipes/checks/binaries/binaries-hardening/build-spec/orig/hello.c:6:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[80]; data/lintian-2.103.0/t/recipes/checks/binaries/binaries-missing-depends-on-libc/build-spec/orig/basic.c:7:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char test[10]; data/lintian-2.103.0/t/recipes/checks/binaries/binaries-missing-depends-on-libc/build-spec/orig/basic.c:8:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(test, p, i); data/lintian-2.103.0/t/recipes/checks/binaries/binaries-missing-depends-on-numpy-abi/build-spec/orig/basic.c:9:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char test[10]; data/lintian-2.103.0/t/recipes/checks/binaries/binaries-missing-depends-on-numpy-abi/build-spec/orig/basic.c:10:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(test, p, i); data/lintian-2.103.0/t/recipes/checks/binaries/binaries-missing-depends-on-xapi/build-spec/orig/basic.c:7:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char test[10]; data/lintian-2.103.0/t/recipes/checks/binaries/binaries-missing-depends-on-xapi/build-spec/orig/basic.c:8:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(test, p, i); data/lintian-2.103.0/t/recipes/checks/binaries/binaries-missing-depends/build-spec/orig/basic.c:7:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char test[10]; data/lintian-2.103.0/t/recipes/checks/binaries/binaries-missing-depends/build-spec/orig/basic.c:8:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(test, p, i); data/lintian-2.103.0/t/recipes/checks/binaries/binaries-missing-lfs/build-spec/orig/basic.c:10:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char test[10]; data/lintian-2.103.0/t/recipes/checks/binaries/binaries-missing-lfs/build-spec/orig/basic.c:11:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(test, p, i); data/lintian-2.103.0/t/recipes/checks/binaries/binaries-missing-lfs/build-spec/orig/basic.c:26:10: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). return open (file, O_RDONLY); data/lintian-2.103.0/t/recipes/checks/binaries/binaries-missing-lfs/build-spec/orig/lfs.c:9:10: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). return open (file, O_RDONLY); data/lintian-2.103.0/t/recipes/checks/binaries/binaries-multiarch-same/build-spec/orig/basic.c:7:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char test[10]; data/lintian-2.103.0/t/recipes/checks/binaries/binaries-multiarch-same/build-spec/orig/basic.c:8:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(test, p, i); data/lintian-2.103.0/t/recipes/checks/binaries/binaries-obsolete-des/build-spec/orig/uses-encrypt.c:11:21: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. extern void encrypt(char block[64], int edflag); data/lintian-2.103.0/t/recipes/checks/binaries/binaries-obsolete-des/build-spec/orig/uses-encrypt.c:22:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char block[64]; data/lintian-2.103.0/t/recipes/checks/binaries/binaries-obsolete-des/build-spec/orig/uses-encrypt_r.c:11:23: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. extern void encrypt_r(char block[64], int edflag, struct crypt_data *data); data/lintian-2.103.0/t/recipes/checks/binaries/binaries-obsolete-des/build-spec/orig/uses-encrypt_r.c:23:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char block[64]; data/lintian-2.103.0/t/recipes/checks/binaries/binaries-obsolete-des/build-spec/orig/uses-setkey.c:22:7: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char key[64] = { data/lintian-2.103.0/t/recipes/checks/binaries/binaries-obsolete-des/build-spec/orig/uses-setkey_r.c:22:7: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. const char key[64] = { data/lintian-2.103.0/t/recipes/checks/binaries/binaries-spelling/build-spec/orig/basic.c:7:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char test[10]; data/lintian-2.103.0/t/recipes/checks/binaries/binaries-spelling/build-spec/orig/basic.c:8:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(test, p, i); data/lintian-2.103.0/t/recipes/checks/binaries/binaries-static-lib/build-spec/orig/code.c:6:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[10]; data/lintian-2.103.0/t/recipes/checks/debian/control/binaries-golang/build-spec/orig/basic.c:6:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char t[10]; data/lintian-2.103.0/t/recipes/checks/debian/control/binaries-multiarch/build-spec/orig/basic.c:7:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char test[10]; data/lintian-2.103.0/t/recipes/checks/debian/control/binaries-multiarch/build-spec/orig/basic.c:8:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(test, p, i); data/lintian-2.103.0/t/recipes/checks/debian/control/control-file-golang-built-using/build-spec/orig/basic.c:6:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char t[10]; data/lintian-2.103.0/t/recipes/checks/debian/control/control-file-golang-xs-go-import-path/build-spec/orig/basic.c:6:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char t[10]; data/lintian-2.103.0/t/recipes/checks/documentation/files-python-general/build-spec/orig/lib.c:2:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char test[10]; data/lintian-2.103.0/t/recipes/checks/files/architecture/binaries-multiarch-wrong-dir/build-spec/orig/basic.c:7:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char test[10]; data/lintian-2.103.0/t/recipes/checks/files/architecture/binaries-multiarch-wrong-dir/build-spec/orig/basic.c:8:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(test, p, i); data/lintian-2.103.0/t/recipes/checks/files/architecture/binaries-multiarch/build-spec/orig/basic.c:7:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char test[10]; data/lintian-2.103.0/t/recipes/checks/files/architecture/binaries-multiarch/build-spec/orig/basic.c:8:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(test, p, i); data/lintian-2.103.0/t/recipes/checks/files/debug/binaries-general/build-spec/orig/basic.c:7:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char t[10]; data/lintian-2.103.0/t/recipes/checks/files/multi-arch/files-wrong-ma-foreign/build-spec/orig/code.c:5:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[10]; data/lintian-2.103.0/t/recipes/checks/languages/python/files-python-general/build-spec/orig/lib.c:2:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char test[10]; data/lintian-2.103.0/t/recipes/checks/shared-libs/binaries-doesnt-match-sonames/build-spec/orig/code.c:5:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char test[10]; data/lintian-2.103.0/t/recipes/checks/shared-libs/binaries-doesnt-match-sonames/build-spec/orig/code.c:6:3: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(test, p, i); data/lintian-2.103.0/t/recipes/checks/shared-libs/binaries-missing-depends-on-libc/build-spec/orig/basic.c:7:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char test[10]; data/lintian-2.103.0/t/recipes/checks/shared-libs/binaries-missing-depends-on-libc/build-spec/orig/basic.c:8:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(test, p, i); data/lintian-2.103.0/t/recipes/checks/shared-libs/binaries-missing-depends/build-spec/orig/basic.c:7:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char test[10]; data/lintian-2.103.0/t/recipes/checks/shared-libs/binaries-missing-depends/build-spec/orig/basic.c:8:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(test, p, i); data/lintian-2.103.0/t/recipes/checks/shared-libs/binaries-multiarch-same/build-spec/orig/basic.c:7:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char test[10]; data/lintian-2.103.0/t/recipes/checks/shared-libs/binaries-multiarch-same/build-spec/orig/basic.c:8:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(test, p, i); data/lintian-2.103.0/t/recipes/checks/shared-libs/binaries-multiarch/build-spec/orig/basic.c:7:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char test[10]; data/lintian-2.103.0/t/recipes/checks/shared-libs/binaries-multiarch/build-spec/orig/basic.c:8:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(test, p, i); data/lintian-2.103.0/t/recipes/checks/shared-libs/files-wrong-ma-foreign/build-spec/orig/code.c:5:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[10]; data/lintian-2.103.0/t/recipes/checks/shared-libs/shared-libs-control-file/build-spec/orig/code.c:5:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[10]; data/lintian-2.103.0/t/recipes/checks/shared-libs/shared-libs-dev-symlink-fp/build-spec/orig/code.c:6:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[10]; data/lintian-2.103.0/t/recipes/checks/shared-libs/shared-libs-dev-symlink/build-spec/orig/code.c:6:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[10]; data/lintian-2.103.0/t/recipes/checks/shared-libs/shared-libs-exec-bit/build-spec/orig/code.c:5:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[10]; data/lintian-2.103.0/t/recipes/checks/shared-libs/shared-libs-exit-fork/build-spec/orig/code.c:5:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[10]; data/lintian-2.103.0/t/recipes/checks/shared-libs/shared-libs-exit/build-spec/orig/code.c:4:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[10]; data/lintian-2.103.0/t/recipes/checks/shared-libs/shared-libs-ldconfig-not-symlink/build-spec/orig/code.c:5:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[10]; data/lintian-2.103.0/t/recipes/checks/shared-libs/shared-libs-ldconfig-scripts/build-spec/orig/code.c:5:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[10]; data/lintian-2.103.0/t/recipes/checks/shared-libs/shared-libs-ldconfig-wrong-file/build-spec/orig/code.c:5:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[10]; data/lintian-2.103.0/t/recipes/checks/shared-libs/shared-libs-missing-ldconfig-symlink/build-spec/orig/code.c:5:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[10]; data/lintian-2.103.0/t/recipes/checks/shared-libs/shared-libs-missing-soname/build-spec/orig/code.c:5:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[10]; data/lintian-2.103.0/t/recipes/checks/shared-libs/shared-libs-multi-arch-foreign/build-spec/orig/code.c:5:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[10]; data/lintian-2.103.0/t/recipes/checks/shared-libs/shared-libs-no-gnu-stack/build-spec/orig/code.c:5:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[10]; data/lintian-2.103.0/t/recipes/checks/shared-libs/shared-libs-non-dev-symlink/build-spec/orig/code.c:5:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[10]; data/lintian-2.103.0/t/recipes/checks/shared-libs/shared-libs-non-pic-i386/build-spec/orig/non-pic.c:9:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buffer[10]; data/lintian-2.103.0/t/recipes/checks/shared-libs/shared-libs-symbols-file/build-spec/orig/code.c:5:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[10]; data/lintian-2.103.0/t/recipes/checks/shared-libs/shared-libs-unversioned/build-spec/orig/foo.c:12:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char tmp[10]; data/lintian-2.103.0/t/recipes/odd-inputs/strings-elf-detection/build-spec/orig/true.c:7:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char test[10]; data/lintian-2.103.0/t/recipes/odd-inputs/strings-elf-detection/build-spec/orig/true.c:8:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(test, p, i); ANALYSIS SUMMARY: Hits = 80 Lines analyzed = 1974 in approximately 2.47 seconds (798 lines/second) Physical Source Lines of Code (SLOC) = 1441 Hits@level = [0] 113 [1] 0 [2] 73 [3] 0 [4] 3 [5] 4 Hits@level+ = [0+] 193 [1+] 80 [2+] 80 [3+] 7 [4+] 7 [5+] 4 Hits/KSLOC@level+ = [0+] 133.935 [1+] 55.517 [2+] 55.517 [3+] 4.85774 [4+] 4.85774 [5+] 2.77585 Dot directories skipped = 3 (--followdotdir overrides) Minimum risk level = 1 Not every hit is necessarily a security vulnerability. There may be other security vulnerabilities; review your code! See 'Secure Programming HOWTO' (https://dwheeler.com/secure-programs) for more information.