Task #20847 - buildah-1.37.0-1.20241104130514106205.pr5804.191.g9a5b88d3e/scan-results.js
back to task #20847download
{ "scan": { "analyzer-version-clippy": "1.82.0", "analyzer-version-cppcheck": "2.16.0", "analyzer-version-gcc": "14.2.1", "analyzer-version-gcc-analyzer": "14.2.1", "analyzer-version-shellcheck": "0.10.0", "analyzer-version-unicontrol": "0.0.2", "enabled-plugins": "clippy, cppcheck, gcc, shellcheck, unicontrol", "exit-code": 0, "host": "ip-172-16-1-88.us-west-2.compute.internal", "mock-config": "fedora-rawhide-x86_64", "project-name": "buildah-1.37.0-1.20241104130514106205.pr5804.191.g9a5b88d3e", "store-results-to": "/tmp/tmpavi6n36p/buildah-1.37.0-1.20241104130514106205.pr5804.191.g9a5b88d3e.tar.xz", "time-created": "2024-11-04 20:02:23", "time-finished": "2024-11-04 20:16:45", "tool": "csmock", "tool-args": "'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpavi6n36p/buildah-1.37.0-1.20241104130514106205.pr5804.191.g9a5b88d3e.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '/tmp/tmpavi6n36p/buildah-1.37.0-1.20241104130514106205.pr5804.191.g9a5b88d3e.src.rpm'", "tool-version": "csmock-3.7.1-1.el9" }, "defects": [ { "checker": "GCC_ANALYZER_WARNING", "cwe": 775, "language": "c/c++", "tool": "gcc-analyzer", "hash_v1": "20c78d06f33e6fa39304efc3ba6855cf564295be", "key_event_idx": 1, "events": [ { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 0, "event": "scope_hint", "message": "In function ‘parse_proc_stringlist’", "verbosity_level": 1 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 118, "column": 20, "event": "warning[-Wanalyzer-fd-leak]", "message": "leak of file descriptor ‘open(list, 0)’", "verbosity_level": 0 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 275, "column": 12, "event": "note", "message": "(1) entry to ‘containers_reexec’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 279, "column": 16, "event": "note", "message": "(2) calling ‘parse_proc_stringlist’ from ‘containers_reexec’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 103, "column": 15, "event": "note", "message": "(3) entry to ‘parse_proc_stringlist’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 108, "column": 14, "event": "note", "message": "(4) opened here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 109, "column": 12, "event": "note", "message": "(5) assuming ‘open(list, 0)’ is a valid file descriptor (>= 0)", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 109, "column": 12, "event": "note", "message": "(6) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "cc1", "line": 0, "event": "note", "message": "(7) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 117, "column": 27, "event": "note", "message": "(8) when ‘realloc’ fails", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 118, "column": 20, "event": "note", "message": "(9) ‘open(list, 0)’ leaks here; was opened at (4)", "verbosity_level": 2 }, { "file_name": "", "line": 0, "event": "#", "message": " 116| \t\tnew_size = used + BUFSTEP;", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 117| \t\tnew_buf = realloc(buf, new_size);", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 118|-> \t\tif (new_buf == NULL) {", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 119| \t\t\tfree(buf);", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 120| \t\t\tfprintf(stderr, \"realloc(%ld): out of memory\\n\", (long)(size + BUFSTEP));", "verbosity_level": 1 } ] }, { "checker": "GCC_ANALYZER_WARNING", "cwe": 775, "language": "c/c++", "tool": "gcc-analyzer", "hash_v1": "b7077c48e3b4e78d8c1bd79db976b1060668ede6", "key_event_idx": 0, "events": [ { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 125, "column": 28, "event": "warning[-Wanalyzer-fd-leak]", "message": "leak of file descriptor ‘open(list, 0)’", "verbosity_level": 0 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 275, "column": 12, "event": "note", "message": "(1) entry to ‘containers_reexec’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 279, "column": 16, "event": "note", "message": "(2) calling ‘parse_proc_stringlist’ from ‘containers_reexec’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 103, "column": 15, "event": "note", "message": "(3) entry to ‘parse_proc_stringlist’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 108, "column": 14, "event": "note", "message": "(4) opened here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 109, "column": 12, "event": "note", "message": "(5) assuming ‘open(list, 0)’ is a valid file descriptor (>= 0)", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 109, "column": 12, "event": "note", "message": "(6) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "cc1", "line": 0, "event": "note", "message": "(7) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 117, "column": 27, "event": "note", "message": "(8) when ‘realloc’ succeeds, moving buffer", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 118, "column": 20, "event": "note", "message": "(9) following ‘false’ branch (when ‘new_buf’ is non-NULL)...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 125, "column": 28, "event": "note", "message": "(10) ...to here (11) ‘open(list, 0)’ leaks here; was opened at (4)", "verbosity_level": 2 }, { "file_name": "", "line": 0, "event": "#", "message": " 123| \t\tbuf = new_buf;", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 124| \t\tsize = new_size;", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 125|-> \t\tmemset(buf + used, '\\0', size - used);", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 126| \t\tn = read(fd, buf + used, size - used - 1);", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 127| \t\tif (n < 0) {", "verbosity_level": 1 } ] }, { "checker": "GCC_ANALYZER_WARNING", "cwe": 401, "language": "c/c++", "tool": "gcc-analyzer", "hash_v1": "3e88f65b8416c5c49a9c6842198afcb0695ad1cc", "key_event_idx": 1, "events": [ { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 0, "event": "scope_hint", "message": "In function ‘containers_reexec’", "verbosity_level": 1 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 125, "column": 28, "event": "warning[-Wanalyzer-malloc-leak]", "message": "leak of ‘parse_proc_stringlist(\"/proc/self/cmdline\")’", "verbosity_level": 0 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 300, "column": 6, "event": "note", "message": "(1) entry to ‘_containers_unshare’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 305, "column": 17, "event": "note", "message": "(2) calling ‘_containers_unshare_parse_envint’ from ‘_containers_unshare’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 59, "column": 12, "event": "note", "message": "(3) entry to ‘_containers_unshare_parse_envint’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 64, "column": 12, "event": "note", "message": "(4) following ‘false’ branch (when ‘p’ is non-NULL)...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 67, "column": 11, "event": "note", "message": "(5) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 69, "column": 12, "event": "note", "message": "(6) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 73, "column": 9, "event": "note", "message": "(7) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 305, "column": 17, "event": "note", "message": "(8) returning to ‘_containers_unshare’ from ‘_containers_unshare_parse_envint’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 306, "column": 12, "event": "note", "message": "(9) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 309, "column": 20, "event": "note", "message": "(10) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 318, "column": 12, "event": "note", "message": "(11) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 327, "column": 22, "event": "note", "message": "(12) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 328, "column": 12, "event": "note", "message": "(13) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 336, "column": 15, "event": "note", "message": "(14) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 337, "column": 12, "event": "note", "message": "(15) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 343, "column": 16, "event": "note", "message": "(16) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 344, "column": 12, "event": "note", "message": "(17) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 350, "column": 16, "event": "note", "message": "(18) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 351, "column": 12, "event": "note", "message": "(19) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 357, "column": 12, "event": "note", "message": "(20) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 373, "column": 13, "event": "note", "message": "(21) calling ‘containers_reexec’ from ‘_containers_unshare’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 275, "column": 12, "event": "note", "message": "(22) entry to ‘containers_reexec’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 279, "column": 16, "event": "note", "message": "(23) calling ‘parse_proc_stringlist’ from ‘containers_reexec’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 103, "column": 15, "event": "note", "message": "(24) entry to ‘parse_proc_stringlist’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 109, "column": 12, "event": "note", "message": "(25) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "cc1", "line": 0, "event": "note", "message": "(26) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 117, "column": 27, "event": "note", "message": "(27) when ‘realloc’ succeeds, moving buffer", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 118, "column": 20, "event": "note", "message": "(28) following ‘false’ branch (when ‘new_buf’ is non-NULL)...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 125, "column": 28, "event": "note", "message": "(29) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 127, "column": 20, "event": "note", "message": "(30) following ‘false’ branch (when ‘n >= 0’)...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 131, "column": 20, "event": "note", "message": "(31) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 131, "column": 20, "event": "note", "message": "(32) following ‘true’ branch (when ‘n == 0’)...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 136, "column": 9, "event": "note", "message": "(33) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 138, "column": 23, "event": "note", "message": "(34) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 143, "column": 32, "event": "note", "message": "(35) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 143, "column": 15, "event": "note", "message": "(36) allocated here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 144, "column": 12, "event": "note", "message": "(37) assuming ‘ret’ is non-NULL", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 144, "column": 12, "event": "note", "message": "(38) following ‘false’ branch (when ‘ret’ is non-NULL)...", "verbosity_level": 2 }, { "file_name": "cc1", "line": 0, "event": "note", "message": "(39) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 149, "column": 23, "event": "note", "message": "(40) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 154, "column": 12, "event": "note", "message": "(41) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 279, "column": 16, "event": "note", "message": "(42) returning to ‘containers_reexec’ from ‘parse_proc_stringlist’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 280, "column": 12, "event": "note", "message": "(43) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 284, "column": 19, "event": "note", "message": "(44) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 125, "column": 28, "event": "note", "message": "(45) ‘parse_proc_stringlist(\"/proc/self/cmdline\")’ leaks here; was allocated at (36)", "verbosity_level": 2 }, { "file_name": "", "line": 0, "event": "#", "message": " 123| \t\tbuf = new_buf;", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 124| \t\tsize = new_size;", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 125|-> \t\tmemset(buf + used, '\\0', size - used);", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 126| \t\tn = read(fd, buf + used, size - used - 1);", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 127| \t\tif (n < 0) {", "verbosity_level": 1 } ] }, { "checker": "GCC_ANALYZER_WARNING", "cwe": 401, "language": "c/c++", "tool": "gcc-analyzer", "hash_v1": "9639f385969ee11c2cd0f3659ad2eb1775291d8d", "key_event_idx": 0, "events": [ { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 128, "column": 25, "event": "warning[-Wanalyzer-malloc-leak]", "message": "leak of ‘buf’", "verbosity_level": 0 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 275, "column": 12, "event": "note", "message": "(1) entry to ‘containers_reexec’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 279, "column": 16, "event": "note", "message": "(2) calling ‘parse_proc_stringlist’ from ‘containers_reexec’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 103, "column": 15, "event": "note", "message": "(3) entry to ‘parse_proc_stringlist’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 109, "column": 12, "event": "note", "message": "(4) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "cc1", "line": 0, "event": "note", "message": "(5) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 117, "column": 27, "event": "note", "message": "(6) allocated here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 117, "column": 27, "event": "note", "message": "(7) when ‘realloc’ succeeds, moving buffer", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 118, "column": 20, "event": "note", "message": "(8) following ‘false’ branch (when ‘new_buf’ is non-NULL)...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 125, "column": 28, "event": "note", "message": "(9) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 127, "column": 20, "event": "note", "message": "(10) following ‘false’ branch (when ‘n >= 0’)...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 131, "column": 20, "event": "note", "message": "(11) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 131, "column": 20, "event": "note", "message": "(12) following ‘false’ branch (when ‘n != 0’)...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 134, "column": 22, "event": "note", "message": "(13) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 117, "column": 27, "event": "note", "message": "(14) when ‘realloc’ succeeds, without moving buffer", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 118, "column": 20, "event": "note", "message": "(15) following ‘false’ branch (when ‘new_buf’ is non-NULL)...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 125, "column": 28, "event": "note", "message": "(16) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 128, "column": 25, "event": "note", "message": "(17) ‘buf’ leaks here; was allocated at (6)", "verbosity_level": 2 }, { "file_name": "", "line": 0, "event": "#", "message": " 126| \t\tn = read(fd, buf + used, size - used - 1);", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 127| \t\tif (n < 0) {", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 128|-> \t\t\tfprintf(stderr, \"read(): %m\\n\");", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 129| \t\t\treturn NULL;", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 130| \t\t}", "verbosity_level": 1 } ] }, { "checker": "GCC_ANALYZER_WARNING", "cwe": 401, "language": "c/c++", "tool": "gcc-analyzer", "hash_v1": "5ad25f3873a6f042ca6107c96c0bcd7e1fec9497", "key_event_idx": 1, "events": [ { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 0, "event": "scope_hint", "message": "In function ‘parse_proc_stringlist’", "verbosity_level": 1 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 128, "column": 25, "event": "warning[-Wanalyzer-malloc-leak]", "message": "leak of ‘new_buf’", "verbosity_level": 0 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 275, "column": 12, "event": "note", "message": "(1) entry to ‘containers_reexec’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 279, "column": 16, "event": "note", "message": "(2) calling ‘parse_proc_stringlist’ from ‘containers_reexec’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 103, "column": 15, "event": "note", "message": "(3) entry to ‘parse_proc_stringlist’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 109, "column": 12, "event": "note", "message": "(4) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "cc1", "line": 0, "event": "note", "message": "(5) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 117, "column": 27, "event": "note", "message": "(6) allocated here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 117, "column": 27, "event": "note", "message": "(7) when ‘realloc’ succeeds, moving buffer", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 118, "column": 20, "event": "note", "message": "(8) following ‘false’ branch (when ‘new_buf’ is non-NULL)...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 125, "column": 28, "event": "note", "message": "(9) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 128, "column": 25, "event": "note", "message": "(10) ‘new_buf’ leaks here; was allocated at (6)", "verbosity_level": 2 }, { "file_name": "", "line": 0, "event": "#", "message": " 126| \t\tn = read(fd, buf + used, size - used - 1);", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 127| \t\tif (n < 0) {", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 128|-> \t\t\tfprintf(stderr, \"read(): %m\\n\");", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 129| \t\t\treturn NULL;", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 130| \t\t}", "verbosity_level": 1 } ] }, { "checker": "GCC_ANALYZER_WARNING", "cwe": 401, "language": "c/c++", "tool": "gcc-analyzer", "hash_v1": "f024b227c2ef1637bef78c06754bff2a09d377a2", "key_event_idx": 0, "events": [ { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 154, "column": 16, "event": "warning[-Wanalyzer-malloc-leak]", "message": "leak of ‘buf’", "verbosity_level": 0 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 275, "column": 12, "event": "note", "message": "(1) entry to ‘containers_reexec’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 279, "column": 16, "event": "note", "message": "(2) calling ‘parse_proc_stringlist’ from ‘containers_reexec’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 103, "column": 15, "event": "note", "message": "(3) entry to ‘parse_proc_stringlist’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 109, "column": 12, "event": "note", "message": "(4) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "cc1", "line": 0, "event": "note", "message": "(5) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 117, "column": 27, "event": "note", "message": "(6) allocated here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 117, "column": 27, "event": "note", "message": "(7) when ‘realloc’ succeeds, moving buffer", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 118, "column": 20, "event": "note", "message": "(8) following ‘false’ branch (when ‘new_buf’ is non-NULL)...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 125, "column": 28, "event": "note", "message": "(9) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 127, "column": 20, "event": "note", "message": "(10) following ‘false’ branch (when ‘n >= 0’)...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 131, "column": 20, "event": "note", "message": "(11) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 131, "column": 20, "event": "note", "message": "(12) following ‘false’ branch (when ‘n != 0’)...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 134, "column": 22, "event": "note", "message": "(13) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 117, "column": 27, "event": "note", "message": "(14) when ‘realloc’ succeeds, without moving buffer", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 118, "column": 20, "event": "note", "message": "(15) following ‘false’ branch (when ‘new_buf’ is non-NULL)...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 125, "column": 28, "event": "note", "message": "(16) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 127, "column": 20, "event": "note", "message": "(17) following ‘false’ branch (when ‘n >= 0’)...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 131, "column": 20, "event": "note", "message": "(18) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 144, "column": 12, "event": "note", "message": "(19) following ‘false’ branch (when ‘ret’ is non-NULL)...", "verbosity_level": 2 }, { "file_name": "cc1", "line": 0, "event": "note", "message": "(20) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 149, "column": 23, "event": "note", "message": "(21) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 154, "column": 12, "event": "note", "message": "(22) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 154, "column": 16, "event": "note", "message": "(23) ‘buf’ leaks here; was allocated at (6)", "verbosity_level": 2 }, { "file_name": "", "line": 0, "event": "#", "message": " 152| \t\t}", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 153| \t}", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 154|-> \tret[i] = NULL;", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 155| \treturn ret;", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 156| }", "verbosity_level": 1 } ] }, { "checker": "GCC_ANALYZER_WARNING", "cwe": 401, "language": "c/c++", "tool": "gcc-analyzer", "hash_v1": "24c5b2ec82f2fa9fc9e2a0d8b57979094c468118", "key_event_idx": 0, "events": [ { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 154, "column": 16, "event": "warning[-Wanalyzer-malloc-leak]", "message": "leak of ‘new_buf’", "verbosity_level": 0 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 275, "column": 12, "event": "note", "message": "(1) entry to ‘containers_reexec’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 279, "column": 16, "event": "note", "message": "(2) calling ‘parse_proc_stringlist’ from ‘containers_reexec’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 103, "column": 15, "event": "note", "message": "(3) entry to ‘parse_proc_stringlist’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 109, "column": 12, "event": "note", "message": "(4) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "cc1", "line": 0, "event": "note", "message": "(5) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 117, "column": 27, "event": "note", "message": "(6) allocated here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 117, "column": 27, "event": "note", "message": "(7) when ‘realloc’ succeeds, moving buffer", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 118, "column": 20, "event": "note", "message": "(8) following ‘false’ branch (when ‘new_buf’ is non-NULL)...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 125, "column": 28, "event": "note", "message": "(9) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 127, "column": 20, "event": "note", "message": "(10) following ‘false’ branch (when ‘n >= 0’)...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 131, "column": 20, "event": "note", "message": "(11) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 131, "column": 20, "event": "note", "message": "(12) following ‘true’ branch (when ‘n == 0’)...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 136, "column": 9, "event": "note", "message": "(13) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 138, "column": 23, "event": "note", "message": "(14) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 143, "column": 32, "event": "note", "message": "(15) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 144, "column": 12, "event": "note", "message": "(16) following ‘false’ branch (when ‘ret’ is non-NULL)...", "verbosity_level": 2 }, { "file_name": "cc1", "line": 0, "event": "note", "message": "(17) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 149, "column": 23, "event": "note", "message": "(18) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 154, "column": 12, "event": "note", "message": "(19) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 154, "column": 16, "event": "note", "message": "(20) ‘new_buf’ leaks here; was allocated at (6)", "verbosity_level": 2 }, { "file_name": "", "line": 0, "event": "#", "message": " 152| \t\t}", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 153| \t}", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 154|-> \tret[i] = NULL;", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 155| \treturn ret;", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 156| }", "verbosity_level": 1 } ] }, { "checker": "GCC_ANALYZER_WARNING", "cwe": 401, "language": "c/c++", "tool": "gcc-analyzer", "hash_v1": "bc0d52cace969cd406b033502350944df4f3f12e", "key_event_idx": 1, "events": [ { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 0, "event": "scope_hint", "message": "In function ‘containers_reexec’", "verbosity_level": 1 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 291, "column": 12, "event": "warning[-Wanalyzer-malloc-leak]", "message": "leak of ‘parse_proc_stringlist(\"/proc/self/cmdline\")’", "verbosity_level": 0 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 300, "column": 6, "event": "note", "message": "(1) entry to ‘_containers_unshare’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 305, "column": 17, "event": "note", "message": "(2) calling ‘_containers_unshare_parse_envint’ from ‘_containers_unshare’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 59, "column": 12, "event": "note", "message": "(3) entry to ‘_containers_unshare_parse_envint’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 64, "column": 12, "event": "note", "message": "(4) following ‘false’ branch (when ‘p’ is non-NULL)...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 67, "column": 11, "event": "note", "message": "(5) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 69, "column": 12, "event": "note", "message": "(6) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 73, "column": 9, "event": "note", "message": "(7) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 305, "column": 17, "event": "note", "message": "(8) returning to ‘_containers_unshare’ from ‘_containers_unshare_parse_envint’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 306, "column": 12, "event": "note", "message": "(9) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 309, "column": 20, "event": "note", "message": "(10) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 318, "column": 12, "event": "note", "message": "(11) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 327, "column": 22, "event": "note", "message": "(12) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 328, "column": 12, "event": "note", "message": "(13) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 336, "column": 15, "event": "note", "message": "(14) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 337, "column": 12, "event": "note", "message": "(15) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 343, "column": 16, "event": "note", "message": "(16) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 344, "column": 12, "event": "note", "message": "(17) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 350, "column": 16, "event": "note", "message": "(18) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 351, "column": 12, "event": "note", "message": "(19) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 357, "column": 12, "event": "note", "message": "(20) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 373, "column": 13, "event": "note", "message": "(21) calling ‘containers_reexec’ from ‘_containers_unshare’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 275, "column": 12, "event": "note", "message": "(22) entry to ‘containers_reexec’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 279, "column": 16, "event": "note", "message": "(23) calling ‘parse_proc_stringlist’ from ‘containers_reexec’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 103, "column": 15, "event": "note", "message": "(24) entry to ‘parse_proc_stringlist’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 109, "column": 12, "event": "note", "message": "(25) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "cc1", "line": 0, "event": "note", "message": "(26) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 117, "column": 27, "event": "note", "message": "(27) when ‘realloc’ succeeds, moving buffer", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 118, "column": 20, "event": "note", "message": "(28) following ‘false’ branch (when ‘new_buf’ is non-NULL)...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 125, "column": 28, "event": "note", "message": "(29) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 127, "column": 20, "event": "note", "message": "(30) following ‘false’ branch (when ‘n >= 0’)...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 131, "column": 20, "event": "note", "message": "(31) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 131, "column": 20, "event": "note", "message": "(32) following ‘true’ branch (when ‘n == 0’)...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 136, "column": 9, "event": "note", "message": "(33) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 138, "column": 23, "event": "note", "message": "(34) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 143, "column": 32, "event": "note", "message": "(35) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 143, "column": 15, "event": "note", "message": "(36) allocated here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 144, "column": 12, "event": "note", "message": "(37) assuming ‘ret’ is non-NULL", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 144, "column": 12, "event": "note", "message": "(38) following ‘false’ branch (when ‘ret’ is non-NULL)...", "verbosity_level": 2 }, { "file_name": "cc1", "line": 0, "event": "note", "message": "(39) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 149, "column": 23, "event": "note", "message": "(40) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 154, "column": 12, "event": "note", "message": "(41) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 279, "column": 16, "event": "note", "message": "(42) returning to ‘containers_reexec’ from ‘parse_proc_stringlist’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 280, "column": 12, "event": "note", "message": "(43) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 284, "column": 19, "event": "note", "message": "(44) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 287, "column": 22, "event": "note", "message": "(45) calling ‘copy_self_proc_exe’ from ‘containers_reexec’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 220, "column": 12, "event": "note", "message": "(46) entry to ‘copy_self_proc_exe’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 227, "column": 12, "event": "note", "message": "(47) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 231, "column": 13, "event": "note", "message": "(48) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 231, "column": 12, "event": "note", "message": "(49) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 18, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 236, "column": 19, "event": "note", "message": "(50) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 238, "column": 12, "event": "note", "message": "(51) following ‘false’ branch (when ‘mmfd != -1’)...", "verbosity_level": 2 }, { "file_name": "cc1", "line": 0, "event": "note", "message": "(52) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 244, "column": 20, "event": "note", "message": "(53) following ‘false’ branch (when ‘n_read >= 0’)...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 248, "column": 20, "event": "note", "message": "(54) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 262, "column": 12, "event": "note", "message": "(55) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 229, "column": 24, "event": "note", "message": "(56) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 287, "column": 22, "event": "note", "message": "(57) returning to ‘containers_reexec’ from ‘copy_self_proc_exe’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 288, "column": 12, "event": "note", "message": "(58) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 291, "column": 13, "event": "note", "message": "(59) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/containers/storage/pkg/unshare/unshare.c", "line": 291, "column": 12, "event": "note", "message": "(60) ‘parse_proc_stringlist(\"/proc/self/cmdline\")’ leaks here; was allocated at (36)", "verbosity_level": 2 }, { "file_name": "", "line": 0, "event": "#", "message": " 289| \t\treturn fd;", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 290| ", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 291|-> \tif (fexecve(fd, argv, environ) == -1) {", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 292| \t\tclose(fd);", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 293| \t\tfprintf(stderr, \"Error during reexec(...): %m\\n\");", "verbosity_level": 1 } ] }, { "checker": "COMPILER_WARNING", "language": "c/c++", "tool": "gcc", "key_event_idx": 0, "events": [ { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c", "line": 0, "event": "internal warning", "message": "child 12700 timed out after 30s", "verbosity_level": 0 } ] }, { "checker": "CPPCHECK_WARNING", "language": "c/c++", "tool": "cppcheck", "key_event_idx": 0, "events": [ { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c", "line": 0, "event": "internal warning", "message": "child 12724 timed out after 30s", "verbosity_level": 0 } ] }, { "checker": "CPPCHECK_WARNING", "language": "c/c++", "tool": "cppcheck", "key_event_idx": 0, "events": [ { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c", "line": 0, "event": "internal warning", "message": "child 20795 timed out after 30s", "verbosity_level": 0 } ] }, { "checker": "COMPILER_WARNING", "language": "c/c++", "tool": "gcc", "key_event_idx": 0, "events": [ { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c", "line": 0, "event": "internal warning", "message": "child 20796 timed out after 30s", "verbosity_level": 0 } ] }, { "checker": "COMPILER_WARNING", "language": "c/c++", "tool": "gcc", "key_event_idx": 0, "events": [ { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c", "line": 0, "event": "internal warning", "message": "child 29051 timed out after 30s", "verbosity_level": 0 } ] }, { "checker": "CPPCHECK_WARNING", "language": "c/c++", "tool": "cppcheck", "key_event_idx": 0, "events": [ { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c", "line": 0, "event": "internal warning", "message": "child 29052 timed out after 30s", "verbosity_level": 0 } ] }, { "checker": "COMPILER_WARNING", "language": "c/c++", "tool": "gcc", "key_event_idx": 0, "events": [ { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c", "line": 0, "event": "internal warning", "message": "child 4729 timed out after 30s", "verbosity_level": 0 } ] }, { "checker": "CPPCHECK_WARNING", "language": "c/c++", "tool": "cppcheck", "key_event_idx": 0, "events": [ { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/mattn/go-sqlite3/sqlite3-binding.c", "line": 0, "event": "internal warning", "message": "child 4732 timed out after 30s", "verbosity_level": 0 } ] }, { "checker": "COMPILER_WARNING", "cwe": 1164, "language": "c/c++", "tool": "gcc", "hash_v1": "0506826b1416888ae353fcaa31fa5e58a0ba1126", "key_event_idx": 0, "events": [ { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/mattn/go-sqlite3/sqlite3.go", "line": 85, "column": 1, "event": "warning[-Wunused-function]", "message": "‘_sqlite3_exec’ defined but not used", "verbosity_level": 0 }, { "file_name": "", "line": 0, "event": "#", "message": " 85 | _sqlite3_exec(sqlite3* db, const char* pcmd, long long* rowid, long long* changes)", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " | ^~~~~~~~~~~~~", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 83| ", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 84| static int", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 85|-> _sqlite3_exec(sqlite3* db, const char* pcmd, long long* rowid, long long* changes)", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 86| {", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 87| int rv = sqlite3_exec(db, pcmd, 0, 0, 0);", "verbosity_level": 1 } ] }, { "checker": "GCC_ANALYZER_WARNING", "cwe": 476, "language": "c/c++", "tool": "gcc-analyzer", "hash_v1": "22ef72e3f5f02528c02f9a8898841ee2d04a9c00", "key_event_idx": 1, "events": [ { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/miekg/pkcs11/pkcs11.go", "line": 0, "event": "scope_hint", "message": "In function 'New'", "verbosity_level": 1 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/miekg/pkcs11/pkcs11.go", "line": 77, "column": 19, "event": "warning[-Wanalyzer-possible-null-dereference]", "message": "dereference of possibly-NULL 'c'", "verbosity_level": 0 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/miekg/pkcs11/pkcs11.go", "line": 76, "column": 25, "event": "note", "message": "(1) this call could return NULL", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/miekg/pkcs11/pkcs11.go", "line": 77, "column": 19, "event": "note", "message": "(2) 'c' could be NULL: unchecked value from (1)", "verbosity_level": 2 }, { "file_name": "", "line": 0, "event": "#", "message": " 75| \tCK_C_GetFunctionList list;", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 76| \tstruct ctx *c = calloc(1, sizeof(struct ctx));", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 77|-> \tc->handle = dlopen(module, RTLD_LAZY);", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 78| \tif (c->handle == NULL) {", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 79| \t\tfree(c);", "verbosity_level": 1 } ] }, { "checker": "GCC_ANALYZER_WARNING", "cwe": 476, "language": "c/c++", "tool": "gcc-analyzer", "hash_v1": "7954094398f834fa1f6d720b0d10f84b08d5ccba", "key_event_idx": 1, "events": [ { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/miekg/pkcs11/pkcs11.go", "line": 0, "event": "scope_hint", "message": "In function ‘New’", "verbosity_level": 1 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/miekg/pkcs11/pkcs11.go", "line": 77, "column": 19, "event": "warning[-Wanalyzer-possible-null-dereference]", "message": "dereference of possibly-NULL ‘c’", "verbosity_level": 0 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/miekg/pkcs11/pkcs11.go", "line": 76, "column": 25, "event": "note", "message": "(1) this call could return NULL", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/miekg/pkcs11/pkcs11.go", "line": 77, "column": 19, "event": "note", "message": "(2) ‘c’ could be NULL: unchecked value from (1)", "verbosity_level": 2 }, { "file_name": "", "line": 0, "event": "#", "message": " 75| \tCK_C_GetFunctionList list;", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 76| \tstruct ctx *c = calloc(1, sizeof(struct ctx));", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 77|-> \tc->handle = dlopen(module, RTLD_LAZY);", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 78| \tif (c->handle == NULL) {", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 79| \t\tfree(c);", "verbosity_level": 1 } ] }, { "checker": "GCC_ANALYZER_WARNING", "cwe": 401, "language": "c/c++", "tool": "gcc-analyzer", "hash_v1": "3f8c317b2ab414779bbd3e338741a5ebe27352ac", "key_event_idx": 1, "events": [ { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/miekg/pkcs11/pkcs11.go", "line": 0, "event": "scope_hint", "message": "In function ‘GetAttributeValue.part.0’", "verbosity_level": 1 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/miekg/pkcs11/pkcs11.go", "line": 316, "column": 32, "event": "warning[-Wanalyzer-malloc-leak]", "message": "leak of ‘*((CK_ATTRIBUTE *)temp).pValue’", "verbosity_level": 0 }, { "file_name": "cgo-gcc-prolog", "line": 684, "column": 1, "event": "note", "message": "(1) entry to ‘_cgo_6020a31fdefd_Cfunc_GetAttributeValue’", "verbosity_level": 2 }, { "file_name": "cgo-gcc-prolog", "line": 697, "column": 11, "event": "note", "message": "(2) calling ‘GetAttributeValue’ from ‘_cgo_6020a31fdefd_Cfunc_GetAttributeValue’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/miekg/pkcs11/pkcs11.go", "line": 300, "column": 7, "event": "note", "message": "(3) entry to ‘GetAttributeValue’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/miekg/pkcs11/pkcs11.go", "line": 307, "column": 12, "event": "note", "message": "(4) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "cc1", "line": 0, "event": "note", "message": "(5) ...to here", "verbosity_level": 2 }, { "file_name": "cc1", "line": 0, "event": "note", "message": "(6) calling ‘GetAttributeValue.part.0’ from ‘GetAttributeValue’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/miekg/pkcs11/pkcs11.go", "line": 300, "column": 7, "event": "note", "message": "(7) entry to ‘GetAttributeValue.part.0’", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/miekg/pkcs11/pkcs11.go", "line": 311, "column": 23, "event": "note", "message": "(8) following ‘true’ branch (when ‘i < templen’)...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/miekg/pkcs11/pkcs11.go", "line": 312, "column": 35, "event": "note", "message": "(9) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/miekg/pkcs11/pkcs11.go", "line": 312, "column": 20, "event": "note", "message": "(10) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/miekg/pkcs11/pkcs11.go", "line": 316, "column": 34, "event": "note", "message": "(11) ...to here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/miekg/pkcs11/pkcs11.go", "line": 316, "column": 34, "event": "note", "message": "(12) allocated here", "verbosity_level": 2 }, { "file_name": "buildah-1.37.0-build/buildah-1.37.0/vendor/github.com/miekg/pkcs11/pkcs11.go", "line": 316, "column": 32, "event": "note", "message": "(13) ‘*((CK_ATTRIBUTE *)temp).pValue’ leaks here; was allocated at (12)", "verbosity_level": 2 }, { "file_name": "", "line": 0, "event": "#", "message": " 314| \t\t\tcontinue;", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 315| \t\t}", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 316|-> \t\ttemp[i].pValue = calloc(temp[i].ulValueLen, sizeof(CK_BYTE));", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 317| \t}", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 318| \treturn c->sym->C_GetAttributeValue(session, object, temp, templen);", "verbosity_level": 1 } ] } ] }