{
    "scan": {
        "analyzer-version-clippy": "1.92.0",
        "analyzer-version-cppcheck": "2.19.1",
        "analyzer-version-gcc": "16.0.1",
        "analyzer-version-gcc-analyzer": "16.0.1",
        "analyzer-version-shellcheck": "0.11.0",
        "analyzer-version-unicontrol": "0.0.2",
        "enabled-plugins": "clippy, cppcheck, gcc, shellcheck, unicontrol",
        "exit-code": 0,
        "host": "ip-172-16-1-208.us-west-2.compute.internal",
        "known-false-positives": "/usr/share/csmock/known-false-positives.js",
        "known-false-positives-rpm": "known-false-positives-0.0.0.20260115.191212.ge69ffd8.main-1.el9.noarch",
        "mock-config": "fedora-rawhide-x86_64",
        "project-name": "authselect-1.7.0-1.20260116093730234883.master.0.g96d286f",
        "store-results-to": "/tmp/tmp8ik9o5zx/authselect-1.7.0-1.20260116093730234883.master.0.g96d286f.tar.xz",
        "time-created": "2026-01-16 10:55:28",
        "time-finished": "2026-01-16 10:58:14",
        "tool": "csmock",
        "tool-args": "'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmp8ik9o5zx/authselect-1.7.0-1.20260116093730234883.master.0.g96d286f.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp8ik9o5zx/authselect-1.7.0-1.20260116093730234883.master.0.g96d286f.src.rpm'",
        "tool-version": "csmock-3.8.3.20251215.161544.g62de9a5-1.el9"
    },
    "defects": [
        {
            "checker": "SHELLCHECK_WARNING",
            "cwe": 758,
            "language": "shell",
            "tool": "shellcheck",
            "hash_v1": "915c6813c830e7a11caf31b22d7513d208fabb90",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "/etc/bash_completion.d/authselect-completion.sh",
                    "line": 1,
                    "column": 1,
                    "event": "error[SC2148]",
                    "message": "Tips depend on target shell and yours is unknown. Add a shebang or a 'shell' directive.",
                    "verbosity_level": 0
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "    1|-> #",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "    2|   #    Authors:",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "    3|   #        Tomas Halman <thalman@redhat.com>",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "SHELLCHECK_WARNING",
            "cwe": 140,
            "language": "shell",
            "tool": "shellcheck",
            "hash_v1": "539104beab32da128b6773b880c3ce5b891de0cf",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "/etc/bash_completion.d/authselect-completion.sh",
                    "line": 199,
                    "column": 24,
                    "h_size": 29,
                    "event": "warning[SC2207]",
                    "message": "Prefer mapfile or read -a to split command output (or quote to avoid splitting).",
                    "verbosity_level": 0
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  197|       if [[ \"$possibleopts\" != \"\" ]]; then",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  198|           if [[ \"${COMP_WORDS[$COMP_CWORD]}\" = \"=\" ]]; then",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  199|->             COMPREPLY=($(compgen -W \"$possibleopts\"))",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  200|           else",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  201|               COMPREPLY=($(compgen -W \"$possibleopts\" -- \"${COMP_WORDS[$COMP_CWORD]}\"))",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "SHELLCHECK_WARNING",
            "cwe": 140,
            "language": "shell",
            "tool": "shellcheck",
            "hash_v1": "9129bfee81f65add146f5d839abb4529658f6a17",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "/etc/bash_completion.d/authselect-completion.sh",
                    "line": 201,
                    "column": 24,
                    "h_size": 61,
                    "event": "warning[SC2207]",
                    "message": "Prefer mapfile or read -a to split command output (or quote to avoid splitting).",
                    "verbosity_level": 0
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  199|               COMPREPLY=($(compgen -W \"$possibleopts\"))",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  200|           else",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  201|->             COMPREPLY=($(compgen -W \"$possibleopts\" -- \"${COMP_WORDS[$COMP_CWORD]}\"))",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  202|           fi",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  203|       else",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "SHELLCHECK_WARNING",
            "cwe": 569,
            "language": "shell",
            "tool": "shellcheck",
            "hash_v1": "0918b5ac798e61779323802bdc691c67b608a9d8",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "/etc/bash_completion.d/authselect-completion.sh",
                    "line": 206,
                    "column": 26,
                    "h_size": 38,
                    "event": "warning[SC2124]",
                    "message": "Assigning an array to a string! Assign as array, or use * instead of @ to concatenate.",
                    "verbosity_level": 0
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  204|           command=\"$(get_command)\"",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  205|           if [[ \"$command\" = \"\" ]]; then",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  206|->             possibleopts=\"$(get_global_options) ${COMMANDS[@]}\"",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  207|           else",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  208|               possibleopts=\"$(get_global_options) $(get_command_params) $(get_command_keywords) $(get_command_options)\"",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "SHELLCHECK_WARNING",
            "cwe": 140,
            "language": "shell",
            "tool": "shellcheck",
            "hash_v1": "9129bfee81f65add146f5d839abb4529658f6a17",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "/etc/bash_completion.d/authselect-completion.sh",
                    "line": 210,
                    "column": 20,
                    "h_size": 61,
                    "event": "warning[SC2207]",
                    "message": "Prefer mapfile or read -a to split command output (or quote to avoid splitting).",
                    "verbosity_level": 0
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  208|               possibleopts=\"$(get_global_options) $(get_command_params) $(get_command_keywords) $(get_command_options)\"",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  209|           fi",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  210|->         COMPREPLY=($(compgen -W \"$possibleopts\" -- \"${COMP_WORDS[$COMP_CWORD]}\"))",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  211|       fi",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  212|   }",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "5e6b78a83a234797ec29365786369e0b73190b95",
            "key_event_idx": 1,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function ‘activate’",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 174,
                    "column": 11,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of ‘features’",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 145,
                    "column": 16,
                    "event": "note",
                    "message": "(1) entry to ‘activate’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 169,
                    "column": 11,
                    "event": "note",
                    "message": "(2) calling ‘parse_profile_options’ from ‘activate’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 62,
                    "column": 1,
                    "event": "note",
                    "message": "(3) entry to ‘parse_profile_options’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 78,
                    "column": 8,
                    "event": "note",
                    "message": "(4) following ‘false’ branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 32,
                    "event": "included_from",
                    "message": "Included from here.",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 83,
                    "column": 55,
                    "event": "note",
                    "message": "(5) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 42,
                    "column": 22,
                    "event": "note",
                    "message": "in definition of macro ‘malloc_zero_array’",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 42,
                    "column": 14,
                    "event": "note",
                    "message": "(6) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 83,
                    "column": 16,
                    "event": "note",
                    "message": "in expansion of macro ‘malloc_zero_array’",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 84,
                    "column": 8,
                    "event": "note",
                    "message": "(7) assuming ‘features’ is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 84,
                    "column": 8,
                    "event": "note",
                    "message": "(8) following ‘false’ branch (when ‘features’ is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 84,
                    "column": 8,
                    "event": "note",
                    "message": "(9) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 169,
                    "column": 11,
                    "event": "note",
                    "message": "(10) returning to ‘activate’ from ‘parse_profile_options’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 170,
                    "column": 8,
                    "event": "note",
                    "message": "(11) following ‘false’ branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 174,
                    "column": 11,
                    "event": "note",
                    "message": "(12) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 174,
                    "column": 11,
                    "event": "note",
                    "message": "(13) if ‘authselect_profile’ throws an exception... (14) ‘features’ leaks here; was allocated at (6)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  172|       }",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  173|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  174|->     ret = authselect_profile(profile_id, &profile);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  175|       if (ret != EOK) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  176|           ERROR(\"Unable to get profile information [%d]: %s\",",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "9e19774108d3f46a6aa49d89d2569d2dc17441eb",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 182,
                    "column": 20,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of ‘features’",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 145,
                    "column": 16,
                    "event": "note",
                    "message": "(1) entry to ‘activate’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 169,
                    "column": 11,
                    "event": "note",
                    "message": "(2) calling ‘parse_profile_options’ from ‘activate’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 62,
                    "column": 1,
                    "event": "note",
                    "message": "(3) entry to ‘parse_profile_options’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 78,
                    "column": 8,
                    "event": "note",
                    "message": "(4) following ‘false’ branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 83,
                    "column": 55,
                    "event": "note",
                    "message": "(5) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 42,
                    "column": 22,
                    "event": "note",
                    "message": "in definition of macro ‘malloc_zero_array’",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 42,
                    "column": 14,
                    "event": "note",
                    "message": "(6) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 83,
                    "column": 16,
                    "event": "note",
                    "message": "in expansion of macro ‘malloc_zero_array’",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 84,
                    "column": 8,
                    "event": "note",
                    "message": "(7) assuming ‘features’ is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 84,
                    "column": 8,
                    "event": "note",
                    "message": "(8) following ‘false’ branch (when ‘features’ is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 84,
                    "column": 8,
                    "event": "note",
                    "message": "(9) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 169,
                    "column": 11,
                    "event": "note",
                    "message": "(10) returning to ‘activate’ from ‘parse_profile_options’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 170,
                    "column": 8,
                    "event": "note",
                    "message": "(11) following ‘false’ branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 174,
                    "column": 11,
                    "event": "note",
                    "message": "(12) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 175,
                    "column": 8,
                    "event": "note",
                    "message": "(13) following ‘false’ branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 182,
                    "column": 20,
                    "event": "note",
                    "message": "(14) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 182,
                    "column": 20,
                    "event": "note",
                    "message": "(15) if ‘authselect_profile_requirements’ throws an exception... (16) ‘features’ leaks here; was allocated at (6)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  180|       }",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  181|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  182|->     requirements = authselect_profile_requirements(profile, features);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  183|       if (requirements == NULL) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  184|           ERROR(\"Unable to read profile requirements!\");",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "5e6b78a83a234797ec29365786369e0b73190b95",
            "key_event_idx": 1,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function ‘requirements’",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 520,
                    "column": 11,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of ‘features’",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 507,
                    "column": 16,
                    "event": "note",
                    "message": "(1) entry to ‘requirements’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 515,
                    "column": 11,
                    "event": "note",
                    "message": "(2) calling ‘parse_profile_options’ from ‘requirements’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 62,
                    "column": 1,
                    "event": "note",
                    "message": "(3) entry to ‘parse_profile_options’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 78,
                    "column": 8,
                    "event": "note",
                    "message": "(4) following ‘false’ branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 83,
                    "column": 55,
                    "event": "note",
                    "message": "(5) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 42,
                    "column": 22,
                    "event": "note",
                    "message": "in definition of macro ‘malloc_zero_array’",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 42,
                    "column": 14,
                    "event": "note",
                    "message": "(6) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 83,
                    "column": 16,
                    "event": "note",
                    "message": "in expansion of macro ‘malloc_zero_array’",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 84,
                    "column": 8,
                    "event": "note",
                    "message": "(7) assuming ‘features’ is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 84,
                    "column": 8,
                    "event": "note",
                    "message": "(8) following ‘false’ branch (when ‘features’ is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 84,
                    "column": 8,
                    "event": "note",
                    "message": "(9) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 515,
                    "column": 11,
                    "event": "note",
                    "message": "(10) returning to ‘requirements’ from ‘parse_profile_options’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 516,
                    "column": 8,
                    "event": "note",
                    "message": "(11) following ‘false’ branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 520,
                    "column": 11,
                    "event": "note",
                    "message": "(12) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 520,
                    "column": 11,
                    "event": "note",
                    "message": "(13) if ‘authselect_profile’ throws an exception... (14) ‘features’ leaks here; was allocated at (6)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  518|       }",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  519|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  520|->     ret = authselect_profile(profile_id, &profile);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  521|       if (ret != EOK) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  522|           ERROR(\"Unable to get profile information [%d]: %s\",",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "9e19774108d3f46a6aa49d89d2569d2dc17441eb",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 528,
                    "column": 20,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of ‘features’",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 507,
                    "column": 16,
                    "event": "note",
                    "message": "(1) entry to ‘requirements’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 515,
                    "column": 11,
                    "event": "note",
                    "message": "(2) calling ‘parse_profile_options’ from ‘requirements’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 62,
                    "column": 1,
                    "event": "note",
                    "message": "(3) entry to ‘parse_profile_options’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 78,
                    "column": 8,
                    "event": "note",
                    "message": "(4) following ‘false’ branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 83,
                    "column": 55,
                    "event": "note",
                    "message": "(5) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 42,
                    "column": 22,
                    "event": "note",
                    "message": "in definition of macro ‘malloc_zero_array’",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 42,
                    "column": 14,
                    "event": "note",
                    "message": "(6) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 83,
                    "column": 16,
                    "event": "note",
                    "message": "in expansion of macro ‘malloc_zero_array’",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 84,
                    "column": 8,
                    "event": "note",
                    "message": "(7) assuming ‘features’ is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 84,
                    "column": 8,
                    "event": "note",
                    "message": "(8) following ‘false’ branch (when ‘features’ is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 84,
                    "column": 8,
                    "event": "note",
                    "message": "(9) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 515,
                    "column": 11,
                    "event": "note",
                    "message": "(10) returning to ‘requirements’ from ‘parse_profile_options’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 516,
                    "column": 8,
                    "event": "note",
                    "message": "(11) following ‘false’ branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 520,
                    "column": 11,
                    "event": "note",
                    "message": "(12) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 521,
                    "column": 8,
                    "event": "note",
                    "message": "(13) following ‘false’ branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 528,
                    "column": 20,
                    "event": "note",
                    "message": "(14) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 528,
                    "column": 20,
                    "event": "note",
                    "message": "(15) if ‘authselect_profile_requirements’ throws an exception... (16) ‘features’ leaks here; was allocated at (6)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  526|       }",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  527|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  528|->     requirements = authselect_profile_requirements(profile, features);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  529|       if (requirements == NULL) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  530|           ERROR(\"Unable to read profile requirements!\");",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "b0304777c9bc935e8b42cbbef8caf453459445b5",
            "key_event_idx": 1,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function ‘test’",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 605,
                    "column": 11,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of ‘features’",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 549,
                    "column": 16,
                    "event": "note",
                    "message": "(1) entry to ‘test’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 600,
                    "column": 11,
                    "event": "note",
                    "message": "(2) calling ‘parse_profile_options’ from ‘test’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 62,
                    "column": 1,
                    "event": "note",
                    "message": "(3) entry to ‘parse_profile_options’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 78,
                    "column": 8,
                    "event": "note",
                    "message": "(4) following ‘false’ branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 83,
                    "column": 55,
                    "event": "note",
                    "message": "(5) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 42,
                    "column": 22,
                    "event": "note",
                    "message": "in definition of macro ‘malloc_zero_array’",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 42,
                    "column": 14,
                    "event": "note",
                    "message": "(6) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 83,
                    "column": 16,
                    "event": "note",
                    "message": "in expansion of macro ‘malloc_zero_array’",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 84,
                    "column": 8,
                    "event": "note",
                    "message": "(7) assuming ‘features’ is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 84,
                    "column": 8,
                    "event": "note",
                    "message": "(8) following ‘false’ branch (when ‘features’ is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 84,
                    "column": 8,
                    "event": "note",
                    "message": "(9) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 600,
                    "column": 11,
                    "event": "note",
                    "message": "(10) returning to ‘test’ from ‘parse_profile_options’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 601,
                    "column": 8,
                    "event": "note",
                    "message": "(11) following ‘false’ branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 605,
                    "column": 11,
                    "event": "note",
                    "message": "(12) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 605,
                    "column": 11,
                    "event": "note",
                    "message": "(13) if ‘authselect_files’ throws an exception... (14) ‘features’ leaks here; was allocated at (6)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  603|       }",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  604|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  605|->     ret = authselect_files(profile_id, features, &files);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  606|       if (ret != EOK) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  607|           ERROR(\"Unable to get generated content [%d]: %s\", ret, strerror(ret));",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 775,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "1a034291709fbb6b1d7847eae95e1a59b93ece22",
            "key_event_idx": 2,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 27,
                    "event": "included_from",
                    "message": "Included from here.",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function 'authselect_profile_open'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 64,
                    "column": 5,
                    "event": "warning[-Wanalyzer-fd-leak]",
                    "message": "leak of file descriptor 'dirfd'",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 133,
                    "column": 13,
                    "event": "note",
                    "message": "in expansion of macro 'INFO'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 94,
                    "column": 1,
                    "event": "note",
                    "message": "(1) entry to 'authselect_profile_open'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 109,
                    "column": 8,
                    "event": "note",
                    "message": "(2) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 114,
                    "column": 12,
                    "event": "note",
                    "message": "(3) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 117,
                    "column": 30,
                    "event": "note",
                    "message": "(4) following 'true' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 118,
                    "column": 20,
                    "event": "note",
                    "message": "(5) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 119,
                    "column": 12,
                    "event": "note",
                    "message": "(6) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 123,
                    "column": 15,
                    "event": "note",
                    "message": "(7) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 123,
                    "column": 15,
                    "event": "note",
                    "message": "(8) calling 'authselect_profile_open_location' from 'authselect_profile_open'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 65,
                    "column": 1,
                    "event": "note",
                    "message": "(9) entry to 'authselect_profile_open_location'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 71,
                    "column": 13,
                    "event": "note",
                    "message": "(10) opened here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 72,
                    "column": 8,
                    "event": "note",
                    "message": "(11) assuming 'open(path, 65536)' is a valid file descriptor (>= 0)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 72,
                    "column": 8,
                    "event": "note",
                    "message": "(12) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 88,
                    "column": 13,
                    "event": "note",
                    "message": "(13) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 123,
                    "column": 15,
                    "event": "note",
                    "message": "(14) returning to 'authselect_profile_open' from 'authselect_profile_open_location'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 124,
                    "column": 12,
                    "event": "note",
                    "message": "(15) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 127,
                    "column": 19,
                    "event": "note",
                    "message": "(16) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 127,
                    "column": 19,
                    "event": "note",
                    "message": "(17) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 132,
                    "column": 13,
                    "event": "note",
                    "message": "(18) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 132,
                    "column": 12,
                    "event": "note",
                    "message": "(19) following 'true' branch (when the strings are equal)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/common/gettext.h",
                    "line": 25,
                    "event": "included_from",
                    "message": "Included from here.",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 30,
                    "event": "included_from",
                    "message": "Included from here.",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 65,
                    "column": 11,
                    "event": "note",
                    "message": "(20) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 133,
                    "column": 13,
                    "event": "note",
                    "message": "in expansion of macro 'INFO'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 64,
                    "column": 5,
                    "event": "note",
                    "message": "(21) if 'debug' throws an exception...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 133,
                    "column": 13,
                    "event": "note",
                    "message": "in expansion of macro 'INFO'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 64,
                    "column": 5,
                    "event": "note",
                    "message": "(22) 'dirfd' leaks here; was opened at (10)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 133,
                    "column": 13,
                    "event": "note",
                    "message": "in expansion of macro 'INFO'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   62|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   63|   #define INFO(fmt, ...)                                                        \\",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   64|->     debug(AUTHSELECT_INFO, __FILE__, __LINE__, __FUNCTION__,                  \\",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   65|             gettext(fmt), ## __VA_ARGS__)",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   66|   ",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "1152d95964a59398e2a33e89adb5c2b4168779d3",
            "key_event_idx": 2,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/lib/files/system.c",
                    "line": 28,
                    "event": "included_from",
                    "message": "Included from here.",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/system.c",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function 'authselect_system_read_templates'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 64,
                    "column": 5,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of 'templates'",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/system.c",
                    "line": 74,
                    "column": 9,
                    "event": "note",
                    "message": "in expansion of macro 'INFO'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 39,
                    "column": 14,
                    "event": "note",
                    "message": "(1) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/system.c",
                    "line": 55,
                    "column": 17,
                    "event": "note",
                    "message": "in expansion of macro 'malloc_zero'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/system.c",
                    "line": 56,
                    "column": 8,
                    "event": "note",
                    "message": "(2) assuming 'templates' is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/system.c",
                    "line": 56,
                    "column": 8,
                    "event": "note",
                    "message": "(3) following 'false' branch (when 'templates' is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/system.c",
                    "line": 60,
                    "column": 36,
                    "event": "note",
                    "message": "(4) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/system.c",
                    "line": 73,
                    "column": 31,
                    "event": "note",
                    "message": "(5) following 'true' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/common/gettext.h",
                    "line": 25,
                    "event": "included_from",
                    "message": "Included from here.",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 30,
                    "event": "included_from",
                    "message": "Included from here.",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 65,
                    "column": 11,
                    "event": "note",
                    "message": "(6) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/system.c",
                    "line": 74,
                    "column": 9,
                    "event": "note",
                    "message": "in expansion of macro 'INFO'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 64,
                    "column": 5,
                    "event": "note",
                    "message": "(7) if 'debug' throws an exception...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/system.c",
                    "line": 74,
                    "column": 9,
                    "event": "note",
                    "message": "in expansion of macro 'INFO'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 64,
                    "column": 5,
                    "event": "note",
                    "message": "(8) 'templates' leaks here; was allocated at (1)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/system.c",
                    "line": 74,
                    "column": 9,
                    "event": "note",
                    "message": "in expansion of macro 'INFO'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   62|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   63|   #define INFO(fmt, ...)                                                        \\",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   64|->     debug(AUTHSELECT_INFO, __FILE__, __LINE__, __FUNCTION__,                  \\",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   65|             gettext(fmt), ## __VA_ARGS__)",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   66|   ",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 775,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "f8673c4b2db54b7f179fa0cda84a21575a370b89",
            "key_event_idx": 1,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function 'textfile_write'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 72,
                    "column": 5,
                    "event": "warning[-Wanalyzer-file-leak]",
                    "message": "leak of FILE 'fopen(filepath, \"w\")'",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 167,
                    "column": 9,
                    "event": "note",
                    "message": "in expansion of macro 'ERROR'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 144,
                    "column": 8,
                    "event": "note",
                    "message": "(1) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 149,
                    "column": 8,
                    "event": "note",
                    "message": "(2) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 155,
                    "column": 12,
                    "event": "note",
                    "message": "(3) opened here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 156,
                    "column": 8,
                    "event": "note",
                    "message": "(4) assuming 'fopen(filepath, \"w\")' is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 156,
                    "column": 8,
                    "event": "note",
                    "message": "(5) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 163,
                    "column": 11,
                    "event": "note",
                    "message": "(6) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 165,
                    "column": 8,
                    "event": "note",
                    "message": "(7) following 'true' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/common/errno_t.h",
                    "line": 24,
                    "event": "included_from",
                    "message": "Included from here.",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 29,
                    "event": "included_from",
                    "message": "Included from here.",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 166,
                    "column": 15,
                    "event": "note",
                    "message": "(8) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 72,
                    "column": 5,
                    "event": "note",
                    "message": "(9) if 'debug' throws an exception...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 167,
                    "column": 9,
                    "event": "note",
                    "message": "in expansion of macro 'ERROR'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 72,
                    "column": 5,
                    "event": "note",
                    "message": "(10) 'fopen(filepath, \"w\")' leaks here; was opened at (3)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 167,
                    "column": 9,
                    "event": "note",
                    "message": "in expansion of macro 'ERROR'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   70|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   71|   #define ERROR(fmt, ...)                                                       \\",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   72|->     debug(AUTHSELECT_ERROR, __FILE__, __LINE__, __FUNCTION__,                 \\",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   73|             gettext(fmt), ## __VA_ARGS__)",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   74|   ",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "9f46ccfd6f0e802c4f047a5229b90f74c8b9aedd",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 72,
                    "column": 5,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of 'file'",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 56,
                    "column": 9,
                    "event": "note",
                    "message": "in expansion of macro 'ERROR'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 108,
                    "column": 1,
                    "event": "note",
                    "message": "(1) entry to 'textfile_read_dirfd'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 119,
                    "column": 8,
                    "event": "note",
                    "message": "(2) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 123,
                    "column": 12,
                    "event": "note",
                    "message": "(3) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 123,
                    "column": 12,
                    "event": "note",
                    "message": "(4) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 124,
                    "column": 8,
                    "event": "note",
                    "message": "(5) assuming 'file' is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 124,
                    "column": 8,
                    "event": "note",
                    "message": "(6) following 'false' branch (when 'file' is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 130,
                    "column": 12,
                    "event": "note",
                    "message": "(7) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 130,
                    "column": 12,
                    "event": "note",
                    "message": "(8) calling 'textfile_read_content' from 'textfile_read_dirfd'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 33,
                    "column": 1,
                    "event": "note",
                    "message": "(9) entry to 'textfile_read_content'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 44,
                    "column": 8,
                    "event": "note",
                    "message": "(10) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 49,
                    "column": 15,
                    "event": "note",
                    "message": "(11) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 50,
                    "column": 8,
                    "event": "note",
                    "message": "(12) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 55,
                    "column": 29,
                    "event": "note",
                    "message": "(13) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 55,
                    "column": 8,
                    "event": "note",
                    "message": "(14) following 'true' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 73,
                    "column": 11,
                    "event": "note",
                    "message": "(15) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 56,
                    "column": 9,
                    "event": "note",
                    "message": "in expansion of macro 'ERROR'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 72,
                    "column": 5,
                    "event": "note",
                    "message": "(16) if 'debug' throws an exception...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 56,
                    "column": 9,
                    "event": "note",
                    "message": "in expansion of macro 'ERROR'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 72,
                    "column": 5,
                    "event": "note",
                    "message": "(17) 'file' leaks here; was allocated at (4)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 56,
                    "column": 9,
                    "event": "note",
                    "message": "in expansion of macro 'ERROR'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   70|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   71|   #define ERROR(fmt, ...)                                                       \\",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   72|->     debug(AUTHSELECT_ERROR, __FILE__, __LINE__, __FUNCTION__,                 \\",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   73|             gettext(fmt), ## __VA_ARGS__)",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   74|   ",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "59870b34dd84c161d00d66d950755008a13950bf",
            "key_event_idx": 2,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 31,
                    "event": "included_from",
                    "message": "Included from here.",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function 'file_get_parent_directory'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 72,
                    "column": 5,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of 'file_get_parent_directory(path)'",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 313,
                    "column": 9,
                    "event": "note",
                    "message": "in expansion of macro 'ERROR'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 454,
                    "column": 1,
                    "event": "note",
                    "message": "(1) entry to 'file_copy'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 469,
                    "column": 11,
                    "event": "note",
                    "message": "(2) calling 'file_make_path' from 'file_copy'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 321,
                    "column": 1,
                    "event": "note",
                    "message": "(3) entry to 'file_make_path'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 327,
                    "column": 8,
                    "event": "note",
                    "message": "(4) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 331,
                    "column": 14,
                    "event": "note",
                    "message": "(5) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 331,
                    "column": 14,
                    "event": "note",
                    "message": "(6) calling 'file_get_parent_directory' from 'file_make_path'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 273,
                    "column": 1,
                    "event": "note",
                    "message": "(7) entry to 'file_get_parent_directory'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 280,
                    "column": 8,
                    "event": "note",
                    "message": "(8) following 'false' branch (when 'filepath' is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 285,
                    "column": 12,
                    "event": "note",
                    "message": "(9) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 286,
                    "column": 8,
                    "event": "note",
                    "message": "(10) following 'false' branch (when 'copy' is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 293,
                    "column": 11,
                    "event": "note",
                    "message": "(11) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 294,
                    "column": 8,
                    "event": "note",
                    "message": "(12) following 'false' branch (when 'dir' is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 299,
                    "column": 11,
                    "event": "note",
                    "message": "(13) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 299,
                    "column": 11,
                    "event": "note",
                    "message": "(14) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 300,
                    "column": 8,
                    "event": "note",
                    "message": "(15) assuming 'out' is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 300,
                    "column": 8,
                    "event": "note",
                    "message": "(16) following 'false' branch (when 'out' is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 307,
                    "column": 1,
                    "event": "note",
                    "message": "(17) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 312,
                    "column": 8,
                    "event": "note",
                    "message": "(18) following 'false' branch (when 'ret == 0')...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 312,
                    "column": 8,
                    "event": "note",
                    "message": "(19) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 331,
                    "column": 14,
                    "event": "note",
                    "message": "(20) returning to 'file_make_path' from 'file_get_parent_directory'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 332,
                    "column": 8,
                    "event": "note",
                    "message": "(21) following 'true' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 333,
                    "column": 15,
                    "event": "note",
                    "message": "(22) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 333,
                    "column": 15,
                    "event": "note",
                    "message": "(23) calling 'file_make_path' from 'file_make_path'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 321,
                    "column": 1,
                    "event": "note",
                    "message": "(24) entry to 'file_make_path'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 327,
                    "column": 8,
                    "event": "note",
                    "message": "(25) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 331,
                    "column": 14,
                    "event": "note",
                    "message": "(26) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 331,
                    "column": 14,
                    "event": "note",
                    "message": "(27) calling 'file_get_parent_directory' from 'file_make_path'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 273,
                    "column": 1,
                    "event": "note",
                    "message": "(28) entry to 'file_get_parent_directory'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 280,
                    "column": 8,
                    "event": "note",
                    "message": "(29) following 'false' branch (when 'filepath' is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 285,
                    "column": 12,
                    "event": "note",
                    "message": "(30) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 312,
                    "column": 8,
                    "event": "note",
                    "message": "(31) following 'true' branch (when 'ret != 0')...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 72,
                    "column": 5,
                    "event": "note",
                    "message": "(32) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 313,
                    "column": 9,
                    "event": "note",
                    "message": "in expansion of macro 'ERROR'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 72,
                    "column": 5,
                    "event": "note",
                    "message": "(33) if 'debug' throws an exception...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 313,
                    "column": 9,
                    "event": "note",
                    "message": "in expansion of macro 'ERROR'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 72,
                    "column": 5,
                    "event": "note",
                    "message": "(34) 'file_get_parent_directory(path)' leaks here; was allocated at (14)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 313,
                    "column": 9,
                    "event": "note",
                    "message": "in expansion of macro 'ERROR'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   70|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   71|   #define ERROR(fmt, ...)                                                       \\",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   72|->     debug(AUTHSELECT_ERROR, __FILE__, __LINE__, __FUNCTION__,                 \\",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   73|             gettext(fmt), ## __VA_ARGS__)",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   74|   ",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "9c621d941a3bd4529bc1a2155301150fc891c591",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 72,
                    "column": 5,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of 'fopen(filepath, \"w\")'",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 167,
                    "column": 9,
                    "event": "note",
                    "message": "in expansion of macro 'ERROR'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 144,
                    "column": 8,
                    "event": "note",
                    "message": "(1) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 149,
                    "column": 8,
                    "event": "note",
                    "message": "(2) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 155,
                    "column": 12,
                    "event": "note",
                    "message": "(3) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 156,
                    "column": 8,
                    "event": "note",
                    "message": "(4) assuming 'fopen(filepath, \"w\")' is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 156,
                    "column": 8,
                    "event": "note",
                    "message": "(5) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 163,
                    "column": 11,
                    "event": "note",
                    "message": "(6) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 165,
                    "column": 8,
                    "event": "note",
                    "message": "(7) following 'true' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 166,
                    "column": 15,
                    "event": "note",
                    "message": "(8) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 72,
                    "column": 5,
                    "event": "note",
                    "message": "(9) if 'debug' throws an exception...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 167,
                    "column": 9,
                    "event": "note",
                    "message": "in expansion of macro 'ERROR'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 72,
                    "column": 5,
                    "event": "note",
                    "message": "(10) 'fopen(filepath, \"w\")' leaks here; was allocated at (3)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 167,
                    "column": 9,
                    "event": "note",
                    "message": "in expansion of macro 'ERROR'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   70|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   71|   #define ERROR(fmt, ...)                                                       \\",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   72|->     debug(AUTHSELECT_ERROR, __FILE__, __LINE__, __FUNCTION__,                 \\",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   73|             gettext(fmt), ## __VA_ARGS__)",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   74|   ",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "2943e847d1a0b9a764476c99273956a8dd48c97b",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 72,
                    "column": 5,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of 'name'",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 222,
                    "column": 9,
                    "event": "note",
                    "message": "in expansion of macro 'ERROR'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 197,
                    "column": 8,
                    "event": "note",
                    "message": "(1) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 201,
                    "column": 15,
                    "event": "note",
                    "message": "(2) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 202,
                    "column": 8,
                    "event": "note",
                    "message": "(3) following 'false' branch (when 'lineend != 0')...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 209,
                    "column": 12,
                    "event": "note",
                    "message": "(4) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 209,
                    "column": 12,
                    "event": "note",
                    "message": "(5) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 210,
                    "column": 8,
                    "event": "note",
                    "message": "(6) assuming 'name' is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 210,
                    "column": 8,
                    "event": "note",
                    "message": "(7) following 'false' branch (when 'name' is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 215,
                    "column": 15,
                    "event": "note",
                    "message": "(8) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 216,
                    "column": 8,
                    "event": "note",
                    "message": "(9) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 221,
                    "column": 9,
                    "event": "note",
                    "message": "(10) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 221,
                    "column": 8,
                    "event": "note",
                    "message": "(11) following 'true' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 73,
                    "column": 11,
                    "event": "note",
                    "message": "(12) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 222,
                    "column": 9,
                    "event": "note",
                    "message": "in expansion of macro 'ERROR'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 72,
                    "column": 5,
                    "event": "note",
                    "message": "(13) if 'debug' throws an exception...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 222,
                    "column": 9,
                    "event": "note",
                    "message": "in expansion of macro 'ERROR'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 72,
                    "column": 5,
                    "event": "note",
                    "message": "(14) 'name' leaks here; was allocated at (5)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 222,
                    "column": 9,
                    "event": "note",
                    "message": "in expansion of macro 'ERROR'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   70|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   71|   #define ERROR(fmt, ...)                                                       \\",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   72|->     debug(AUTHSELECT_ERROR, __FILE__, __LINE__, __FUNCTION__,                 \\",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   73|             gettext(fmt), ## __VA_ARGS__)",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   74|   ",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "ea757ca4511a5e4eb85e40d74a618f843b7de0bb",
            "key_event_idx": 1,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 28,
                    "event": "included_from",
                    "message": "Included from here.",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 72,
                    "column": 5,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of 'output'",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 450,
                    "column": 9,
                    "event": "note",
                    "message": "in expansion of macro 'ERROR'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 514,
                    "column": 1,
                    "event": "note",
                    "message": "(1) entry to 'template_generate'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 521,
                    "column": 8,
                    "event": "note",
                    "message": "(2) following 'false' branch (when 'template' is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 525,
                    "column": 14,
                    "event": "note",
                    "message": "(3) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 525,
                    "column": 14,
                    "event": "note",
                    "message": "(4) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 526,
                    "column": 8,
                    "event": "note",
                    "message": "(5) assuming 'output' is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 526,
                    "column": 8,
                    "event": "note",
                    "message": "(6) following 'false' branch (when 'output' is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 530,
                    "column": 11,
                    "event": "note",
                    "message": "(7) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 530,
                    "column": 11,
                    "event": "note",
                    "message": "(8) calling 'template_process_operators' from 'template_generate'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 424,
                    "column": 1,
                    "event": "note",
                    "message": "(9) entry to 'template_process_operators'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 442,
                    "column": 8,
                    "event": "note",
                    "message": "(10) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 446,
                    "column": 16,
                    "event": "note",
                    "message": "(11) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 449,
                    "column": 8,
                    "event": "note",
                    "message": "(12) following 'true' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/common/gettext.h",
                    "line": 25,
                    "event": "included_from",
                    "message": "Included from here.",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 30,
                    "event": "included_from",
                    "message": "Included from here.",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 73,
                    "column": 11,
                    "event": "note",
                    "message": "(13) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 450,
                    "column": 9,
                    "event": "note",
                    "message": "in expansion of macro 'ERROR'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 72,
                    "column": 5,
                    "event": "note",
                    "message": "(14) if 'debug' throws an exception...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 450,
                    "column": 9,
                    "event": "note",
                    "message": "in expansion of macro 'ERROR'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 72,
                    "column": 5,
                    "event": "note",
                    "message": "(15) 'output' leaks here; was allocated at (4)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 450,
                    "column": 9,
                    "event": "note",
                    "message": "in expansion of macro 'ERROR'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   70|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   71|   #define ERROR(fmt, ...)                                                       \\",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   72|->     debug(AUTHSELECT_ERROR, __FILE__, __LINE__, __FUNCTION__,                 \\",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   73|             gettext(fmt), ## __VA_ARGS__)",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   74|   ",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "5dc0859a8d6319406c271497c36e9cabceeb9f43",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 72,
                    "column": 5,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of ‘features’",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 176,
                    "column": 9,
                    "event": "note",
                    "message": "in expansion of macro ‘ERROR’",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 145,
                    "column": 16,
                    "event": "note",
                    "message": "(1) entry to ‘activate’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 169,
                    "column": 11,
                    "event": "note",
                    "message": "(2) calling ‘parse_profile_options’ from ‘activate’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 62,
                    "column": 1,
                    "event": "note",
                    "message": "(3) entry to ‘parse_profile_options’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 78,
                    "column": 8,
                    "event": "note",
                    "message": "(4) following ‘false’ branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 83,
                    "column": 55,
                    "event": "note",
                    "message": "(5) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 42,
                    "column": 22,
                    "event": "note",
                    "message": "in definition of macro ‘malloc_zero_array’",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 42,
                    "column": 14,
                    "event": "note",
                    "message": "(6) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 83,
                    "column": 16,
                    "event": "note",
                    "message": "in expansion of macro ‘malloc_zero_array’",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 84,
                    "column": 8,
                    "event": "note",
                    "message": "(7) assuming ‘features’ is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 84,
                    "column": 8,
                    "event": "note",
                    "message": "(8) following ‘false’ branch (when ‘features’ is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 84,
                    "column": 8,
                    "event": "note",
                    "message": "(9) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 169,
                    "column": 11,
                    "event": "note",
                    "message": "(10) returning to ‘activate’ from ‘parse_profile_options’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 170,
                    "column": 8,
                    "event": "note",
                    "message": "(11) following ‘false’ branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 174,
                    "column": 11,
                    "event": "note",
                    "message": "(12) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 175,
                    "column": 8,
                    "event": "note",
                    "message": "(13) following ‘true’ branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 72,
                    "column": 5,
                    "event": "note",
                    "message": "(14) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 176,
                    "column": 9,
                    "event": "note",
                    "message": "in expansion of macro ‘ERROR’",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 72,
                    "column": 5,
                    "event": "note",
                    "message": "(15) if ‘debug’ throws an exception...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 176,
                    "column": 9,
                    "event": "note",
                    "message": "in expansion of macro ‘ERROR’",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 72,
                    "column": 5,
                    "event": "note",
                    "message": "(16) ‘features’ leaks here; was allocated at (6)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/cli/main.c",
                    "line": 176,
                    "column": 9,
                    "event": "note",
                    "message": "in expansion of macro ‘ERROR’",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   70|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   71|   #define ERROR(fmt, ...)                                                       \\",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   72|->     debug(AUTHSELECT_ERROR, __FILE__, __LINE__, __FUNCTION__,                 \\",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   73|             gettext(fmt), ## __VA_ARGS__)",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   74|   ",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 404,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "a3b007697ba8fbd19065662be3b7a6f03f1e095b",
            "key_event_idx": 1,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/common/debug.c",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function 'debug'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/common/debug.c",
                    "line": 48,
                    "column": 11,
                    "event": "warning[-Wanalyzer-va-list-leak]",
                    "message": "missing call to 'va_end'",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/common/debug.c",
                    "line": 47,
                    "column": 5,
                    "event": "note",
                    "message": "(1) 'va_start' called here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/common/debug.c",
                    "line": 48,
                    "column": 11,
                    "event": "note",
                    "message": "(2) if 'vaformat' throws an exception... (3) missing call to 'va_end' to match 'va_start' at (1)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   46|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   47|       va_start(va, fmt);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   48|->     msg = vaformat(fmt, va);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   49|       va_end(va);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   50|   ",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "32b583dd3ec96acfb2c47bb9306d5a2d96a4c542",
            "key_event_idx": 1,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function 'authselect_config_read_features'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 44,
                    "column": 16,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of 'strdup(*<unknown>)'",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 61,
                    "column": 1,
                    "event": "note",
                    "message": "(1) entry to 'authselect_config_read'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 73,
                    "column": 8,
                    "event": "note",
                    "message": "(2) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 77,
                    "column": 13,
                    "event": "note",
                    "message": "(3) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 79,
                    "column": 8,
                    "event": "note",
                    "message": "(4) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 83,
                    "column": 14,
                    "event": "note",
                    "message": "(5) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 83,
                    "column": 8,
                    "event": "note",
                    "message": "(6) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 88,
                    "column": 18,
                    "event": "note",
                    "message": "(7) inlined call to 'authselect_config_read_profile_id' from 'authselect_config_read'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 34,
                    "column": 12,
                    "event": "note",
                    "message": "(8) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 34,
                    "column": 12,
                    "event": "note",
                    "message": "(9) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function 'authselect_config_read_features'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 89,
                    "column": 8,
                    "event": "note",
                    "message": "(10) assuming 'strdup(*<unknown>)' is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 89,
                    "column": 8,
                    "event": "note",
                    "message": "(11) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 94,
                    "column": 8,
                    "event": "note",
                    "message": "(12) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 94,
                    "column": 8,
                    "event": "note",
                    "message": "(13) following 'true' branch (when '_features' is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 95,
                    "column": 20,
                    "event": "note",
                    "message": "(14) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 95,
                    "column": 20,
                    "event": "note",
                    "message": "(15) calling 'authselect_config_read_features' from 'authselect_config_read'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 38,
                    "column": 1,
                    "event": "note",
                    "message": "(16) entry to 'authselect_config_read_features'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 44,
                    "column": 16,
                    "event": "note",
                    "message": "(17) if 'string_array_create' throws an exception... (18) 'strdup(*<unknown>)' leaks here; was allocated at (9)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   42|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   43|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   44|->     features = string_array_create(0);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   45|       if (features == NULL) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   46|           return NULL;",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "26b112154bec32cd52ba8407dfd64232e037f76f",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 50,
                    "column": 23,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of 'strdup(*<unknown>)'",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 61,
                    "column": 1,
                    "event": "note",
                    "message": "(1) entry to 'authselect_config_read'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 73,
                    "column": 8,
                    "event": "note",
                    "message": "(2) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 77,
                    "column": 13,
                    "event": "note",
                    "message": "(3) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 79,
                    "column": 8,
                    "event": "note",
                    "message": "(4) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 83,
                    "column": 14,
                    "event": "note",
                    "message": "(5) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 83,
                    "column": 8,
                    "event": "note",
                    "message": "(6) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 88,
                    "column": 18,
                    "event": "note",
                    "message": "(7) inlined call to 'authselect_config_read_profile_id' from 'authselect_config_read'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 34,
                    "column": 12,
                    "event": "note",
                    "message": "(8) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 34,
                    "column": 12,
                    "event": "note",
                    "message": "(9) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function 'authselect_config_read_features'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 89,
                    "column": 8,
                    "event": "note",
                    "message": "(10) assuming 'strdup(*<unknown>)' is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 89,
                    "column": 8,
                    "event": "note",
                    "message": "(11) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 94,
                    "column": 8,
                    "event": "note",
                    "message": "(12) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 94,
                    "column": 8,
                    "event": "note",
                    "message": "(13) following 'true' branch (when '_features' is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 95,
                    "column": 20,
                    "event": "note",
                    "message": "(14) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 95,
                    "column": 20,
                    "event": "note",
                    "message": "(15) calling 'authselect_config_read_features' from 'authselect_config_read'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 38,
                    "column": 1,
                    "event": "note",
                    "message": "(16) entry to 'authselect_config_read_features'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 45,
                    "column": 8,
                    "event": "note",
                    "message": "(17) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 45,
                    "column": 8,
                    "event": "note",
                    "message": "(18) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 50,
                    "column": 27,
                    "event": "note",
                    "message": "(19) following 'true' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 51,
                    "column": 20,
                    "event": "note",
                    "message": "(20) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 51,
                    "column": 20,
                    "event": "note",
                    "message": "(21) if 'string_array_add_value' throws an exception...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/config.c",
                    "line": 50,
                    "column": 23,
                    "event": "note",
                    "message": "(22) 'strdup(*<unknown>)' leaks here; was allocated at (9)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   48|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   49|       /* Skip profile name. */",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   50|->     for (i = 1; config[i] != NULL; i++) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   51|           features = string_array_add_value(features, config[i], true);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   52|           if (features == NULL) {",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "55fcd1212e3371679b983b9c401c6d93364b649e",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/lib/files/system.c",
                    "line": 76,
                    "column": 15,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of 'templates'",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 39,
                    "column": 14,
                    "event": "note",
                    "message": "(1) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/system.c",
                    "line": 55,
                    "column": 17,
                    "event": "note",
                    "message": "in expansion of macro 'malloc_zero'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/system.c",
                    "line": 56,
                    "column": 8,
                    "event": "note",
                    "message": "(2) assuming 'templates' is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/system.c",
                    "line": 56,
                    "column": 8,
                    "event": "note",
                    "message": "(3) following 'false' branch (when 'templates' is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/system.c",
                    "line": 60,
                    "column": 36,
                    "event": "note",
                    "message": "(4) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/system.c",
                    "line": 73,
                    "column": 31,
                    "event": "note",
                    "message": "(5) following 'true' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 65,
                    "column": 11,
                    "event": "note",
                    "message": "(6) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/system.c",
                    "line": 74,
                    "column": 9,
                    "event": "note",
                    "message": "in expansion of macro 'INFO'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/system.c",
                    "line": 76,
                    "column": 15,
                    "event": "note",
                    "message": "(7) if 'textfile_read_dirfd' throws an exception... (8) 'templates' leaks here; was allocated at (1)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   74|           INFO(\"Reading file [%s/%s]\", dirname, paths[i].path);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   75|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   76|->         ret = textfile_read_dirfd(dirfd, dirname, paths[i].path,",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   77|                                     AUTHSELECT_FILE_SIZE_LIMIT,",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   78|                                     paths[i].content);",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "b655368965519953217ff9d58f482de7e4b5dd5c",
            "key_event_idx": 1,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/lib/files/system.c",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function 'authselect_system_generate'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/system.c",
                    "line": 131,
                    "column": 30,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of 'files'",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/system.c",
                    "line": 103,
                    "column": 8,
                    "event": "note",
                    "message": "(1) following 'false' branch (when 'templates' is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 39,
                    "column": 14,
                    "event": "note",
                    "message": "(2) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/system.c",
                    "line": 107,
                    "column": 13,
                    "event": "note",
                    "message": "in expansion of macro 'malloc_zero'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 39,
                    "column": 14,
                    "event": "note",
                    "message": "(3) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/system.c",
                    "line": 107,
                    "column": 13,
                    "event": "note",
                    "message": "in expansion of macro 'malloc_zero'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/system.c",
                    "line": 108,
                    "column": 8,
                    "event": "note",
                    "message": "(4) assuming 'files' is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/system.c",
                    "line": 108,
                    "column": 8,
                    "event": "note",
                    "message": "(5) following 'false' branch (when 'files' is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/system.c",
                    "line": 113,
                    "column": 19,
                    "event": "note",
                    "message": "(6) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/system.c",
                    "line": 125,
                    "column": 35,
                    "event": "note",
                    "message": "(7) following 'true' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/system.c",
                    "line": 126,
                    "column": 20,
                    "event": "note",
                    "message": "(8) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/system.c",
                    "line": 126,
                    "column": 12,
                    "event": "note",
                    "message": "(9) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/system.c",
                    "line": 131,
                    "column": 30,
                    "event": "note",
                    "message": "(10) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/files/system.c",
                    "line": 131,
                    "column": 30,
                    "event": "note",
                    "message": "(11) if 'template_generate' throws an exception... (12) 'files' leaks here; was allocated at (3)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  129|           }",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  130|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  131|->         *tpls[i].generated = template_generate(tpls[i].template, features);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  132|           if (tpls[i].generated == NULL) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  133|               ret = ENOMEM;",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "233b7e63ded209da46706755dadd2e738d71c884",
            "key_event_idx": 1,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function 'authselect_profile_read_readme'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 215,
                    "column": 15,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of 'name'",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 197,
                    "column": 8,
                    "event": "note",
                    "message": "(1) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 201,
                    "column": 15,
                    "event": "note",
                    "message": "(2) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 202,
                    "column": 8,
                    "event": "note",
                    "message": "(3) following 'false' branch (when 'lineend != 0')...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 209,
                    "column": 12,
                    "event": "note",
                    "message": "(4) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 209,
                    "column": 12,
                    "event": "note",
                    "message": "(5) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 210,
                    "column": 8,
                    "event": "note",
                    "message": "(6) assuming 'name' is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 210,
                    "column": 8,
                    "event": "note",
                    "message": "(7) following 'false' branch (when 'name' is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 215,
                    "column": 15,
                    "event": "note",
                    "message": "(8) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 215,
                    "column": 15,
                    "event": "note",
                    "message": "(9) if 'string_trim' throws an exception... (10) 'name' leaks here; was allocated at (5)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  213|       }",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  214|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  215|->     trimmed = string_trim(name);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  216|       if (trimmed == NULL) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  217|           ret = ENOMEM;",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "a95921e704b940ffc80b3faba4b8f8a356e9d13d",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 221,
                    "column": 9,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of 'name'",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 197,
                    "column": 8,
                    "event": "note",
                    "message": "(1) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 201,
                    "column": 15,
                    "event": "note",
                    "message": "(2) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 202,
                    "column": 8,
                    "event": "note",
                    "message": "(3) following 'false' branch (when 'lineend != 0')...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 209,
                    "column": 12,
                    "event": "note",
                    "message": "(4) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 209,
                    "column": 12,
                    "event": "note",
                    "message": "(5) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 210,
                    "column": 8,
                    "event": "note",
                    "message": "(6) assuming 'name' is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 210,
                    "column": 8,
                    "event": "note",
                    "message": "(7) following 'false' branch (when 'name' is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 215,
                    "column": 15,
                    "event": "note",
                    "message": "(8) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 216,
                    "column": 8,
                    "event": "note",
                    "message": "(9) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 221,
                    "column": 9,
                    "event": "note",
                    "message": "(10) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/profiles/read.c",
                    "line": 221,
                    "column": 9,
                    "event": "note",
                    "message": "(11) if 'string_is_empty' throws an exception... (12) 'name' leaks here; was allocated at (5)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  219|       }",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  220|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  221|->     if (string_is_empty(trimmed)) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  222|           ERROR(\"Profile [%s] does not contain a name in [%s]!\",",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  223|                 location, FILE_README);",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "1d4a7d00aca9cc1458099931a19e5db907d0d3d7",
            "key_event_idx": 1,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function 'evaluator_get_feature.part.0'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 187,
                    "column": 20,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of '<unknown>'",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 513,
                    "column": 9,
                    "event": "note",
                    "message": "(1) entry to 'evaluate'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 519,
                    "column": 8,
                    "event": "note",
                    "message": "(2) following 'false' branch (when 'evaluator' is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 523,
                    "column": 11,
                    "event": "note",
                    "message": "(3) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 523,
                    "column": 11,
                    "event": "note",
                    "message": "(4) calling 'evaluator_set_expression' from 'evaluate'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 473,
                    "column": 16,
                    "event": "note",
                    "message": "(5) entry to 'evaluator_set_expression'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 476,
                    "column": 8,
                    "event": "note",
                    "message": "(6) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 480,
                    "column": 22,
                    "event": "note",
                    "message": "(7) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 487,
                    "column": 19,
                    "event": "note",
                    "message": "(8) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 488,
                    "column": 8,
                    "event": "note",
                    "message": "(9) assuming '<unknown>' is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 488,
                    "column": 8,
                    "event": "note",
                    "message": "(10) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 488,
                    "column": 8,
                    "event": "note",
                    "message": "(11) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 523,
                    "column": 11,
                    "event": "note",
                    "message": "(12) returning to 'evaluate' from 'evaluator_set_expression'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 524,
                    "column": 8,
                    "event": "note",
                    "message": "(13) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 528,
                    "column": 11,
                    "event": "note",
                    "message": "(14) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 528,
                    "column": 11,
                    "event": "note",
                    "message": "(15) calling 'evaluator_evaluate' from 'evaluate'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 500,
                    "column": 16,
                    "event": "note",
                    "message": "(16) entry to 'evaluator_evaluate'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 504,
                    "column": 8,
                    "event": "note",
                    "message": "(17) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 508,
                    "column": 24,
                    "event": "note",
                    "message": "(18) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 509,
                    "column": 12,
                    "event": "note",
                    "message": "(19) calling 'evaluator_state_machine' from 'evaluator_evaluate'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 386,
                    "column": 16,
                    "event": "note",
                    "message": "(20) entry to 'evaluator_state_machine'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 391,
                    "column": 8,
                    "event": "note",
                    "message": "(21) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 397,
                    "column": 10,
                    "event": "note",
                    "message": "(22) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 404,
                    "column": 12,
                    "event": "note",
                    "message": "(23) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 408,
                    "column": 17,
                    "event": "note",
                    "message": "(24) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 408,
                    "column": 12,
                    "event": "note",
                    "message": "(25) following 'true' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 409,
                    "column": 25,
                    "event": "note",
                    "message": "(26) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 410,
                    "column": 13,
                    "event": "note",
                    "message": "(27) following 'case 1:' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 411,
                    "column": 13,
                    "event": "note",
                    "message": "(28) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 412,
                    "column": 23,
                    "event": "note",
                    "message": "(29) calling 'evaluator_handle_begin_state' from 'evaluator_state_machine'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 201,
                    "column": 16,
                    "event": "note",
                    "message": "(30) entry to 'evaluator_handle_begin_state'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 213,
                    "column": 5,
                    "event": "note",
                    "message": "(31) following 'case 2:' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 214,
                    "column": 5,
                    "event": "note",
                    "message": "(32) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 215,
                    "column": 16,
                    "event": "note",
                    "message": "(33) calling 'evaluator_get_feature' from 'evaluator_handle_begin_state'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 174,
                    "column": 16,
                    "event": "note",
                    "message": "(34) entry to 'evaluator_get_feature'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 182,
                    "column": 8,
                    "event": "note",
                    "message": "(35) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "cc1",
                    "line": 0,
                    "event": "note",
                    "message": "(36) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "cc1",
                    "line": 0,
                    "event": "note",
                    "message": "(37) calling 'evaluator_get_feature' from 'evaluator_get_feature'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 174,
                    "column": 16,
                    "event": "note",
                    "message": "(38) entry to 'evaluator_get_feature'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 187,
                    "column": 20,
                    "event": "note",
                    "message": "(39) if 'format' throws an exception... (40) '<unknown>' leaks here; was allocated at (8)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  185|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  186|       len = strlen(token) - 2;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  187|->     feature_name = format(\"%.*s\", len, &token[1]);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  188|       if (feature_name == NULL) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  189|           return ENOMEM;",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "3e83b6eebccbed556afc0eb8b860df9554801ec7",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 187,
                    "column": 20,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of 'evaluator'",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 513,
                    "column": 9,
                    "event": "note",
                    "message": "(1) entry to 'evaluate'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 30,
                    "event": "included_from",
                    "message": "Included from here.",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 39,
                    "column": 14,
                    "event": "note",
                    "message": "(2) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 518,
                    "column": 17,
                    "event": "note",
                    "message": "in expansion of macro 'malloc_zero'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 519,
                    "column": 8,
                    "event": "note",
                    "message": "(3) assuming 'evaluator' is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 519,
                    "column": 8,
                    "event": "note",
                    "message": "(4) following 'false' branch (when 'evaluator' is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 523,
                    "column": 11,
                    "event": "note",
                    "message": "(5) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 523,
                    "column": 11,
                    "event": "note",
                    "message": "(6) calling 'evaluator_set_expression' from 'evaluate'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 473,
                    "column": 16,
                    "event": "note",
                    "message": "(7) entry to 'evaluator_set_expression'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 476,
                    "column": 8,
                    "event": "note",
                    "message": "(8) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 480,
                    "column": 22,
                    "event": "note",
                    "message": "(9) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 488,
                    "column": 8,
                    "event": "note",
                    "message": "(10) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 488,
                    "column": 8,
                    "event": "note",
                    "message": "(11) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 523,
                    "column": 11,
                    "event": "note",
                    "message": "(12) returning to 'evaluate' from 'evaluator_set_expression'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 524,
                    "column": 8,
                    "event": "note",
                    "message": "(13) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 528,
                    "column": 11,
                    "event": "note",
                    "message": "(14) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 528,
                    "column": 11,
                    "event": "note",
                    "message": "(15) calling 'evaluator_evaluate' from 'evaluate'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 500,
                    "column": 16,
                    "event": "note",
                    "message": "(16) entry to 'evaluator_evaluate'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 504,
                    "column": 8,
                    "event": "note",
                    "message": "(17) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 508,
                    "column": 24,
                    "event": "note",
                    "message": "(18) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 509,
                    "column": 12,
                    "event": "note",
                    "message": "(19) calling 'evaluator_state_machine' from 'evaluator_evaluate'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 386,
                    "column": 16,
                    "event": "note",
                    "message": "(20) entry to 'evaluator_state_machine'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 391,
                    "column": 8,
                    "event": "note",
                    "message": "(21) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 397,
                    "column": 10,
                    "event": "note",
                    "message": "(22) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 404,
                    "column": 12,
                    "event": "note",
                    "message": "(23) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 408,
                    "column": 17,
                    "event": "note",
                    "message": "(24) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 408,
                    "column": 12,
                    "event": "note",
                    "message": "(25) following 'true' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 409,
                    "column": 25,
                    "event": "note",
                    "message": "(26) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 410,
                    "column": 13,
                    "event": "note",
                    "message": "(27) following 'case 1:' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 411,
                    "column": 13,
                    "event": "note",
                    "message": "(28) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 412,
                    "column": 23,
                    "event": "note",
                    "message": "(29) calling 'evaluator_handle_begin_state' from 'evaluator_state_machine'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 201,
                    "column": 16,
                    "event": "note",
                    "message": "(30) entry to 'evaluator_handle_begin_state'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 213,
                    "column": 5,
                    "event": "note",
                    "message": "(31) following 'case 2:' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 214,
                    "column": 5,
                    "event": "note",
                    "message": "(32) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 215,
                    "column": 16,
                    "event": "note",
                    "message": "(33) calling 'evaluator_get_feature' from 'evaluator_handle_begin_state'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 174,
                    "column": 16,
                    "event": "note",
                    "message": "(34) entry to 'evaluator_get_feature'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 182,
                    "column": 8,
                    "event": "note",
                    "message": "(35) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "cc1",
                    "line": 0,
                    "event": "note",
                    "message": "(36) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "cc1",
                    "line": 0,
                    "event": "note",
                    "message": "(37) calling 'evaluator_get_feature' from 'evaluator_get_feature'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 174,
                    "column": 16,
                    "event": "note",
                    "message": "(38) entry to 'evaluator_get_feature'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 187,
                    "column": 20,
                    "event": "note",
                    "message": "(39) if 'format' throws an exception... (40) 'evaluator' leaks here; was allocated at (2)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  185|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  186|       len = strlen(token) - 2;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  187|->     feature_name = format(\"%.*s\", len, &token[1]);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  188|       if (feature_name == NULL) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  189|           return ENOMEM;",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "e3482b77adc7c1b5b5230ad98f91307ea86ed547",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 192,
                    "column": 16,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of 'evaluator'",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 513,
                    "column": 9,
                    "event": "note",
                    "message": "(1) entry to 'evaluate'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 39,
                    "column": 14,
                    "event": "note",
                    "message": "(2) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 518,
                    "column": 17,
                    "event": "note",
                    "message": "in expansion of macro 'malloc_zero'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 519,
                    "column": 8,
                    "event": "note",
                    "message": "(3) assuming 'evaluator' is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 519,
                    "column": 8,
                    "event": "note",
                    "message": "(4) following 'false' branch (when 'evaluator' is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 523,
                    "column": 11,
                    "event": "note",
                    "message": "(5) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 523,
                    "column": 11,
                    "event": "note",
                    "message": "(6) calling 'evaluator_set_expression' from 'evaluate'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 473,
                    "column": 16,
                    "event": "note",
                    "message": "(7) entry to 'evaluator_set_expression'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 476,
                    "column": 8,
                    "event": "note",
                    "message": "(8) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 480,
                    "column": 22,
                    "event": "note",
                    "message": "(9) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 488,
                    "column": 8,
                    "event": "note",
                    "message": "(10) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 488,
                    "column": 8,
                    "event": "note",
                    "message": "(11) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 523,
                    "column": 11,
                    "event": "note",
                    "message": "(12) returning to 'evaluate' from 'evaluator_set_expression'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 524,
                    "column": 8,
                    "event": "note",
                    "message": "(13) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 528,
                    "column": 11,
                    "event": "note",
                    "message": "(14) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 528,
                    "column": 11,
                    "event": "note",
                    "message": "(15) calling 'evaluator_evaluate' from 'evaluate'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 500,
                    "column": 16,
                    "event": "note",
                    "message": "(16) entry to 'evaluator_evaluate'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 504,
                    "column": 8,
                    "event": "note",
                    "message": "(17) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 508,
                    "column": 24,
                    "event": "note",
                    "message": "(18) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 509,
                    "column": 12,
                    "event": "note",
                    "message": "(19) calling 'evaluator_state_machine' from 'evaluator_evaluate'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 386,
                    "column": 16,
                    "event": "note",
                    "message": "(20) entry to 'evaluator_state_machine'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 391,
                    "column": 8,
                    "event": "note",
                    "message": "(21) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 397,
                    "column": 10,
                    "event": "note",
                    "message": "(22) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 404,
                    "column": 12,
                    "event": "note",
                    "message": "(23) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 408,
                    "column": 17,
                    "event": "note",
                    "message": "(24) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 408,
                    "column": 12,
                    "event": "note",
                    "message": "(25) following 'true' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 409,
                    "column": 25,
                    "event": "note",
                    "message": "(26) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 410,
                    "column": 13,
                    "event": "note",
                    "message": "(27) following 'case 1:' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 411,
                    "column": 13,
                    "event": "note",
                    "message": "(28) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 412,
                    "column": 23,
                    "event": "note",
                    "message": "(29) calling 'evaluator_handle_begin_state' from 'evaluator_state_machine'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 201,
                    "column": 16,
                    "event": "note",
                    "message": "(30) entry to 'evaluator_handle_begin_state'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 213,
                    "column": 5,
                    "event": "note",
                    "message": "(31) following 'case 2:' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 214,
                    "column": 5,
                    "event": "note",
                    "message": "(32) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 215,
                    "column": 16,
                    "event": "note",
                    "message": "(33) calling 'evaluator_get_feature' from 'evaluator_handle_begin_state'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 174,
                    "column": 16,
                    "event": "note",
                    "message": "(34) entry to 'evaluator_get_feature'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 182,
                    "column": 8,
                    "event": "note",
                    "message": "(35) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "cc1",
                    "line": 0,
                    "event": "note",
                    "message": "(36) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "cc1",
                    "line": 0,
                    "event": "note",
                    "message": "(37) calling 'evaluator_get_feature' from 'evaluator_get_feature'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 174,
                    "column": 16,
                    "event": "note",
                    "message": "(38) entry to 'evaluator_get_feature'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 188,
                    "column": 8,
                    "event": "note",
                    "message": "(39) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 192,
                    "column": 16,
                    "event": "note",
                    "message": "(40) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/evaluator.c",
                    "line": 192,
                    "column": 16,
                    "event": "note",
                    "message": "(41) if 'string_array_has_value' throws an exception... (42) 'evaluator' leaks here; was allocated at (2)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  190|       }",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  191|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  192|->     *_result = string_array_has_value((char **)features, feature_name);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  193|       free(feature_name);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  194|   ",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 775,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "46976795ca12b1c51de7ec7f9798022b2828aecb",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 521,
                    "column": 40,
                    "event": "warning[-Wanalyzer-file-leak]",
                    "message": "leak of FILE 'fopen(format(\"%s/%s\", destdir,  destname), \"w\")'",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 475,
                    "column": 8,
                    "event": "note",
                    "message": "(1) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 480,
                    "column": 15,
                    "event": "note",
                    "message": "(2) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 483,
                    "column": 8,
                    "event": "note",
                    "message": "(3) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 488,
                    "column": 11,
                    "event": "note",
                    "message": "(4) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 489,
                    "column": 8,
                    "event": "note",
                    "message": "(5) following 'false' branch (when 'ret != -1')...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 494,
                    "column": 13,
                    "event": "note",
                    "message": "(6) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 494,
                    "column": 13,
                    "event": "note",
                    "message": "(7) opened here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 495,
                    "column": 8,
                    "event": "note",
                    "message": "(8) assuming 'fopen(format(\"%s/%s\", destdir,  destname), \"w\")' is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 495,
                    "column": 8,
                    "event": "note",
                    "message": "(9) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 495,
                    "column": 8,
                    "event": "note",
                    "message": "(10) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 522,
                    "column": 8,
                    "event": "note",
                    "message": "(11) following 'true' branch (when 'ret != 0')...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 523,
                    "column": 15,
                    "event": "note",
                    "message": "(12) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 68,
                    "column": 5,
                    "event": "note",
                    "message": "(13) if 'debug' throws an exception...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 524,
                    "column": 9,
                    "event": "note",
                    "message": "in expansion of macro 'WARN'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 521,
                    "column": 40,
                    "event": "note",
                    "message": "(14) 'fopen(format(\"%s/%s\", destdir,  destname), \"w\")' leaks here; was opened at (7)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  519|       /* Restore original owner and mode.  Errors here are not fatal, since we",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  520|        * have the original content already stored and owned by root. */",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  521|->     ret = fchmod(fileno(fdest), statbuf.st_mode & ALLPERMS);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  522|       if (ret != 0) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  523|           ret = errno;",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 775,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "e4ac592298de1996fb562e9c8c102591999ae920",
            "key_event_idx": 1,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function 'file_copy.part.0'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 521,
                    "column": 40,
                    "event": "warning[-Wanalyzer-file-leak]",
                    "message": "leak of FILE 'fopen(source, \"r\")'",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 475,
                    "column": 8,
                    "event": "note",
                    "message": "(1) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 480,
                    "column": 15,
                    "event": "note",
                    "message": "(2) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 482,
                    "column": 15,
                    "event": "note",
                    "message": "(3) opened here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 483,
                    "column": 8,
                    "event": "note",
                    "message": "(4) assuming 'fopen(source, \"r\")' is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 483,
                    "column": 8,
                    "event": "note",
                    "message": "(5) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 488,
                    "column": 11,
                    "event": "note",
                    "message": "(6) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 489,
                    "column": 8,
                    "event": "note",
                    "message": "(7) following 'false' branch (when 'ret != -1')...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 494,
                    "column": 13,
                    "event": "note",
                    "message": "(8) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 495,
                    "column": 8,
                    "event": "note",
                    "message": "(9) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 495,
                    "column": 8,
                    "event": "note",
                    "message": "(10) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 522,
                    "column": 8,
                    "event": "note",
                    "message": "(11) following 'true' branch (when 'ret != 0')...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/common/errno_t.h",
                    "line": 24,
                    "event": "included_from",
                    "message": "Included from here.",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 29,
                    "event": "included_from",
                    "message": "Included from here.",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 523,
                    "column": 15,
                    "event": "note",
                    "message": "(12) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 68,
                    "column": 5,
                    "event": "note",
                    "message": "(13) if 'debug' throws an exception...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 524,
                    "column": 9,
                    "event": "note",
                    "message": "in expansion of macro 'WARN'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 521,
                    "column": 40,
                    "event": "note",
                    "message": "(14) 'fopen(source, \"r\")' leaks here; was opened at (3)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  519|       /* Restore original owner and mode.  Errors here are not fatal, since we",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  520|        * have the original content already stored and owned by root. */",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  521|->     ret = fchmod(fileno(fdest), statbuf.st_mode & ALLPERMS);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  522|       if (ret != 0) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  523|           ret = errno;",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "12cbb8f0061d44db29a22ef0cf133b5fbdc55bee",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 521,
                    "column": 40,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of 'fopen(format(\"%s/%s\", destdir,  destname), \"w\")'",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 475,
                    "column": 8,
                    "event": "note",
                    "message": "(1) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 480,
                    "column": 15,
                    "event": "note",
                    "message": "(2) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 483,
                    "column": 8,
                    "event": "note",
                    "message": "(3) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 488,
                    "column": 11,
                    "event": "note",
                    "message": "(4) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 489,
                    "column": 8,
                    "event": "note",
                    "message": "(5) following 'false' branch (when 'ret != -1')...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 494,
                    "column": 13,
                    "event": "note",
                    "message": "(6) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 494,
                    "column": 13,
                    "event": "note",
                    "message": "(7) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 495,
                    "column": 8,
                    "event": "note",
                    "message": "(8) assuming 'fopen(format(\"%s/%s\", destdir,  destname), \"w\")' is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 495,
                    "column": 8,
                    "event": "note",
                    "message": "(9) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 495,
                    "column": 8,
                    "event": "note",
                    "message": "(10) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 522,
                    "column": 8,
                    "event": "note",
                    "message": "(11) following 'true' branch (when 'ret != 0')...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 523,
                    "column": 15,
                    "event": "note",
                    "message": "(12) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 68,
                    "column": 5,
                    "event": "note",
                    "message": "(13) if 'debug' throws an exception...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 524,
                    "column": 9,
                    "event": "note",
                    "message": "in expansion of macro 'WARN'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 521,
                    "column": 40,
                    "event": "note",
                    "message": "(14) 'fopen(format(\"%s/%s\", destdir,  destname), \"w\")' leaks here; was allocated at (7)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  519|       /* Restore original owner and mode.  Errors here are not fatal, since we",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  520|        * have the original content already stored and owned by root. */",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  521|->     ret = fchmod(fileno(fdest), statbuf.st_mode & ALLPERMS);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  522|       if (ret != 0) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  523|           ret = errno;",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "a02b92bdd7a5a9aaf4ebdfe5aa5e7114c95bc660",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 521,
                    "column": 40,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of 'fopen(source, \"r\")'",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 475,
                    "column": 8,
                    "event": "note",
                    "message": "(1) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 480,
                    "column": 15,
                    "event": "note",
                    "message": "(2) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 482,
                    "column": 15,
                    "event": "note",
                    "message": "(3) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 483,
                    "column": 8,
                    "event": "note",
                    "message": "(4) assuming 'fopen(source, \"r\")' is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 483,
                    "column": 8,
                    "event": "note",
                    "message": "(5) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 488,
                    "column": 11,
                    "event": "note",
                    "message": "(6) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 489,
                    "column": 8,
                    "event": "note",
                    "message": "(7) following 'false' branch (when 'ret != -1')...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 494,
                    "column": 13,
                    "event": "note",
                    "message": "(8) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 495,
                    "column": 8,
                    "event": "note",
                    "message": "(9) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 495,
                    "column": 8,
                    "event": "note",
                    "message": "(10) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 522,
                    "column": 8,
                    "event": "note",
                    "message": "(11) following 'true' branch (when 'ret != 0')...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 523,
                    "column": 15,
                    "event": "note",
                    "message": "(12) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 68,
                    "column": 5,
                    "event": "note",
                    "message": "(13) if 'debug' throws an exception...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 524,
                    "column": 9,
                    "event": "note",
                    "message": "in expansion of macro 'WARN'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/file.c",
                    "line": 521,
                    "column": 40,
                    "event": "note",
                    "message": "(14) 'fopen(source, \"r\")' leaks here; was allocated at (3)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  519|       /* Restore original owner and mode.  Errors here are not fatal, since we",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  520|        * have the original content already stored and owned by root. */",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  521|->     ret = fchmod(fileno(fdest), statbuf.st_mode & ALLPERMS);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  522|       if (ret != 0) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  523|           ret = errno;",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "02e8eb75d39dfa5d2df6ec3486546d05efbf111b",
            "key_event_idx": 1,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string.c",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function 'string_explode_add_value'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string.c",
                    "line": 174,
                    "column": 13,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of 'token'",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string.c",
                    "line": 181,
                    "column": 1,
                    "event": "note",
                    "message": "(1) entry to 'string_explode'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string.c",
                    "line": 189,
                    "column": 8,
                    "event": "note",
                    "message": "(2) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string.c",
                    "line": 189,
                    "column": 8,
                    "event": "note",
                    "message": "(3) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "/usr/include/features.h",
                    "line": 540,
                    "event": "included_from",
                    "message": "Included from here.",
                    "verbosity_level": 1
                },
                {
                    "file_name": "/usr/include/ctype.h",
                    "line": 25,
                    "event": "included_from",
                    "message": "Included from here.",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string.c",
                    "line": 21,
                    "event": "included_from",
                    "message": "Included from here.",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string.c",
                    "line": 194,
                    "column": 19,
                    "event": "note",
                    "message": "(4) when 'strchr' returns non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string.c",
                    "line": 194,
                    "column": 49,
                    "event": "note",
                    "message": "(5) following 'true' branch (when 'pos' is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string.c",
                    "line": 195,
                    "column": 19,
                    "event": "note",
                    "message": "(6) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string.c",
                    "line": 196,
                    "column": 17,
                    "event": "note",
                    "message": "(7) calling 'string_explode_add_value' from 'string_explode'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string.c",
                    "line": 156,
                    "column": 1,
                    "event": "note",
                    "message": "(8) entry to 'string_explode_add_value'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string.c",
                    "line": 164,
                    "column": 11,
                    "event": "note",
                    "message": "(9) calling 'string_explode_get_token' from 'string_explode_add_value'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string.c",
                    "line": 99,
                    "column": 1,
                    "event": "note",
                    "message": "(10) entry to 'string_explode_get_token'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string.c",
                    "line": 107,
                    "column": 13,
                    "event": "note",
                    "message": "(11) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string.c",
                    "line": 108,
                    "column": 8,
                    "event": "note",
                    "message": "(12) assuming 'token' is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string.c",
                    "line": 108,
                    "column": 8,
                    "event": "note",
                    "message": "(13) following 'false' branch (when 'token' is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string.c",
                    "line": 112,
                    "column": 15,
                    "event": "note",
                    "message": "(14) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string.c",
                    "line": 112,
                    "column": 8,
                    "event": "note",
                    "message": "(15) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string.c",
                    "line": 128,
                    "column": 22,
                    "event": "note",
                    "message": "(16) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string.c",
                    "line": 128,
                    "column": 15,
                    "event": "note",
                    "message": "(17) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string.c",
                    "line": 138,
                    "column": 15,
                    "event": "note",
                    "message": "(18) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string.c",
                    "line": 164,
                    "column": 11,
                    "event": "note",
                    "message": "(19) returning to 'string_explode_add_value' from 'string_explode_get_token'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string.c",
                    "line": 165,
                    "column": 8,
                    "event": "note",
                    "message": "(20) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string.c",
                    "line": 170,
                    "column": 15,
                    "event": "note",
                    "message": "(21) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string.c",
                    "line": 170,
                    "column": 8,
                    "event": "note",
                    "message": "(22) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string.c",
                    "line": 174,
                    "column": 13,
                    "event": "note",
                    "message": "(23) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string.c",
                    "line": 174,
                    "column": 13,
                    "event": "note",
                    "message": "(24) if 'string_array_add_value' throws an exception... (25) 'token' leaks here; was allocated at (11)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  172|       }",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  173|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  174|->     array = string_array_add_value(array, token, false);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  175|       free(token);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  176|   ",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 416,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "f5b84eb0e3e2facc2785727252bdadeb6974283d",
            "key_event_idx": 1,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string_array.c",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function 'string_array_free.part.0'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string_array.c",
                    "line": 100,
                    "column": 22,
                    "event": "warning[-Wanalyzer-use-after-free]",
                    "message": "use after 'reallocarray' of 'array'",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string_array.c",
                    "line": 210,
                    "column": 1,
                    "event": "note",
                    "message": "(1) entry to 'string_array_concat'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string_array.c",
                    "line": 214,
                    "column": 8,
                    "event": "note",
                    "message": "(2) following 'false' branch (when 'items' is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string_array.c",
                    "line": 214,
                    "column": 8,
                    "event": "note",
                    "message": "(3) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string_array.c",
                    "line": 218,
                    "column": 26,
                    "event": "note",
                    "message": "(4) following 'true' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string_array.c",
                    "line": 219,
                    "column": 14,
                    "event": "note",
                    "message": "(5) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string_array.c",
                    "line": 219,
                    "column": 14,
                    "event": "note",
                    "message": "(6) calling 'string_array_add_value' from 'string_array_concat'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string_array.c",
                    "line": 171,
                    "column": 1,
                    "event": "note",
                    "message": "(7) entry to 'string_array_add_value'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string_array.c",
                    "line": 173,
                    "column": 12,
                    "event": "note",
                    "message": "(8) calling 'string_array_add_value_safe' from 'string_array_add_value'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string_array.c",
                    "line": 144,
                    "column": 1,
                    "event": "note",
                    "message": "(9) entry to 'string_array_add_value_safe'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string_array.c",
                    "line": 155,
                    "column": 13,
                    "event": "note",
                    "message": "(10) calling 'string_array_count' from 'string_array_add_value_safe'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string_array.c",
                    "line": 108,
                    "column": 1,
                    "event": "note",
                    "message": "(11) entry to 'string_array_count'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string_array.c",
                    "line": 112,
                    "column": 26,
                    "event": "note",
                    "message": "(12) state of 'INIT_VAL(to_11(D))': 'start' -> 'assumed-non-null' (NULL origin)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string_array.c",
                    "line": 155,
                    "column": 13,
                    "event": "note",
                    "message": "(13) returning to 'string_array_add_value_safe' from 'string_array_count'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string_array.c",
                    "line": 156,
                    "column": 13,
                    "event": "note",
                    "message": "(14) calling 'string_array_resize' from 'string_array_add_value_safe'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string_array.c",
                    "line": 67,
                    "column": 1,
                    "event": "note",
                    "message": "(15) entry to 'string_array_resize'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string_array.c",
                    "line": 28,
                    "event": "included_from",
                    "message": "Included from here.",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 46,
                    "column": 14,
                    "event": "note",
                    "message": "(16) deallocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string_array.c",
                    "line": 81,
                    "column": 19,
                    "event": "note",
                    "message": "in expansion of macro 'realloc_array'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string_array.c",
                    "line": 82,
                    "column": 8,
                    "event": "note",
                    "message": "(17) following 'true' branch (when 'reallocated' is NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string_array.c",
                    "line": 83,
                    "column": 9,
                    "event": "note",
                    "message": "(18) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string_array.c",
                    "line": 83,
                    "column": 9,
                    "event": "note",
                    "message": "(19) calling 'string_array_free' from 'string_array_resize'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string_array.c",
                    "line": 92,
                    "column": 1,
                    "event": "note",
                    "message": "(20) entry to 'string_array_free'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string_array.c",
                    "line": 96,
                    "column": 8,
                    "event": "note",
                    "message": "(21) following 'false' branch (when 'array' is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "cc1",
                    "line": 0,
                    "event": "note",
                    "message": "(22) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "cc1",
                    "line": 0,
                    "event": "note",
                    "message": "(23) calling 'string_array_free' from 'string_array_free'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string_array.c",
                    "line": 92,
                    "column": 1,
                    "event": "note",
                    "message": "(24) entry to 'string_array_free'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string_array.c",
                    "line": 100,
                    "column": 22,
                    "event": "note",
                    "message": "(25) use after 'reallocarray' of 'array + i * 8'; deallocated at (16)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   98|       }",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   99|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  100|->     for (i = 0; array[i] != NULL; i++) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  101|           free(array[i]);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  102|       }",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 688,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "166d08d9f7ecf57ddfe26763bcb17097842e936a",
            "key_event_idx": 1,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string_array.c",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function 'string_array_del_value'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string_array.c",
                    "line": 189,
                    "column": 13,
                    "event": "warning[-Wanalyzer-null-argument]",
                    "message": "use of NULL '*array' where non-null expected",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string_array.c",
                    "line": 183,
                    "column": 8,
                    "event": "note",
                    "message": "(1) following 'false' branch (when 'array' is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string_array.c",
                    "line": 187,
                    "column": 13,
                    "event": "note",
                    "message": "(2) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string_array.c",
                    "line": 188,
                    "column": 19,
                    "event": "note",
                    "message": "(3) following 'true' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string_array.c",
                    "line": 189,
                    "column": 25,
                    "event": "note",
                    "message": "(4) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string_array.c",
                    "line": 189,
                    "column": 12,
                    "event": "note",
                    "message": "(5) following 'true' branch (when the strings are equal)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string_array.c",
                    "line": 190,
                    "column": 13,
                    "event": "note",
                    "message": "(6) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string_array.c",
                    "line": 188,
                    "column": 19,
                    "event": "note",
                    "message": "(7) following 'true' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string_array.c",
                    "line": 189,
                    "column": 25,
                    "event": "note",
                    "message": "(8) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string_array.c",
                    "line": 189,
                    "column": 13,
                    "event": "note",
                    "message": "(9) '*array' is NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string_array.c",
                    "line": 189,
                    "column": 13,
                    "event": "note",
                    "message": "(10) argument 1 ('*<unknown>') NULL where non-null expected",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/string_array.c",
                    "line": 23,
                    "event": "included_from",
                    "message": "Included from here.",
                    "verbosity_level": 1
                },
                {
                    "file_name": "/usr/include/string.h",
                    "line": 171,
                    "column": 12,
                    "event": "note",
                    "message": "argument 1 of 'strcmp' must be non-null",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  187|       count = string_array_count(array);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  188|       for (i = 0; i < count; i++) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  189|->         if (strcmp(array[i], value) == 0) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  190|               free(array[i]);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  191|               array[i] = NULL;",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "c57585cc498b97d12ca5226ef54f3e2f8c6b3e8e",
            "key_event_idx": 1,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function 'template_process_operators'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 441,
                    "column": 21,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of 'output'",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 514,
                    "column": 1,
                    "event": "note",
                    "message": "(1) entry to 'template_generate'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 521,
                    "column": 8,
                    "event": "note",
                    "message": "(2) following 'false' branch (when 'template' is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 525,
                    "column": 14,
                    "event": "note",
                    "message": "(3) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 525,
                    "column": 14,
                    "event": "note",
                    "message": "(4) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 526,
                    "column": 8,
                    "event": "note",
                    "message": "(5) assuming 'output' is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 526,
                    "column": 8,
                    "event": "note",
                    "message": "(6) following 'false' branch (when 'output' is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 530,
                    "column": 11,
                    "event": "note",
                    "message": "(7) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 530,
                    "column": 11,
                    "event": "note",
                    "message": "(8) calling 'template_process_operators' from 'template_generate'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 424,
                    "column": 1,
                    "event": "note",
                    "message": "(9) entry to 'template_process_operators'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 441,
                    "column": 21,
                    "event": "note",
                    "message": "(10) if 'string_array_copy' throws an exception... (11) 'output' leaks here; was allocated at (4)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  439|       int reret;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  440|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  441|->     features_copy = string_array_copy((char**)features, true);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  442|       if (features_copy == NULL) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  443|           return ENOMEM;",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "a56ed1534465745c4f88cbabcfebd4b4ace8cdb5",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 448,
                    "column": 13,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of 'output'",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 514,
                    "column": 1,
                    "event": "note",
                    "message": "(1) entry to 'template_generate'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 521,
                    "column": 8,
                    "event": "note",
                    "message": "(2) following 'false' branch (when 'template' is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 525,
                    "column": 14,
                    "event": "note",
                    "message": "(3) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 525,
                    "column": 14,
                    "event": "note",
                    "message": "(4) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 526,
                    "column": 8,
                    "event": "note",
                    "message": "(5) assuming 'output' is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 526,
                    "column": 8,
                    "event": "note",
                    "message": "(6) following 'false' branch (when 'output' is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 530,
                    "column": 11,
                    "event": "note",
                    "message": "(7) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 530,
                    "column": 11,
                    "event": "note",
                    "message": "(8) calling 'template_process_operators' from 'template_generate'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 424,
                    "column": 1,
                    "event": "note",
                    "message": "(9) entry to 'template_process_operators'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 442,
                    "column": 8,
                    "event": "note",
                    "message": "(10) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 446,
                    "column": 16,
                    "event": "note",
                    "message": "(11) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 448,
                    "column": 13,
                    "event": "note",
                    "message": "(12) if 'regcomp' throws an exception... (13) 'output' leaks here; was allocated at (4)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  446|       orig_len = strlen(content);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  447|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  448|->     reret = regcomp(&regex, OP_RE, REG_EXTENDED | REG_NEWLINE);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  449|       if (reret != REG_NOERROR) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  450|           ERROR(\"Unable to compile regular expression: regex error %d\", reret);",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "17ea8f131505e776126c1a1411e392e58c01ee07",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 451,
                    "column": 9,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of 'output'",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 514,
                    "column": 1,
                    "event": "note",
                    "message": "(1) entry to 'template_generate'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 521,
                    "column": 8,
                    "event": "note",
                    "message": "(2) following 'false' branch (when 'template' is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 525,
                    "column": 14,
                    "event": "note",
                    "message": "(3) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 525,
                    "column": 14,
                    "event": "note",
                    "message": "(4) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 526,
                    "column": 8,
                    "event": "note",
                    "message": "(5) assuming 'output' is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 526,
                    "column": 8,
                    "event": "note",
                    "message": "(6) following 'false' branch (when 'output' is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 530,
                    "column": 11,
                    "event": "note",
                    "message": "(7) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 530,
                    "column": 11,
                    "event": "note",
                    "message": "(8) calling 'template_process_operators' from 'template_generate'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 424,
                    "column": 1,
                    "event": "note",
                    "message": "(9) entry to 'template_process_operators'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 442,
                    "column": 8,
                    "event": "note",
                    "message": "(10) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 446,
                    "column": 16,
                    "event": "note",
                    "message": "(11) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 449,
                    "column": 8,
                    "event": "note",
                    "message": "(12) following 'true' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/common/common.h",
                    "line": 73,
                    "column": 11,
                    "event": "note",
                    "message": "(13) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 450,
                    "column": 9,
                    "event": "note",
                    "message": "in expansion of macro 'ERROR'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 451,
                    "column": 9,
                    "event": "note",
                    "message": "(14) if 'string_array_free' throws an exception... (15) 'output' leaks here; was allocated at (4)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  449|       if (reret != REG_NOERROR) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  450|           ERROR(\"Unable to compile regular expression: regex error %d\", reret);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  451|->         string_array_free(features_copy);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  452|           return EFAULT;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  453|       }",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "3e9396310ded55fdd28647e3d825379d68f4a02a",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 456,
                    "column": 21,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of 'output'",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 514,
                    "column": 1,
                    "event": "note",
                    "message": "(1) entry to 'template_generate'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 521,
                    "column": 8,
                    "event": "note",
                    "message": "(2) following 'false' branch (when 'template' is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 525,
                    "column": 14,
                    "event": "note",
                    "message": "(3) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 525,
                    "column": 14,
                    "event": "note",
                    "message": "(4) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 526,
                    "column": 8,
                    "event": "note",
                    "message": "(5) assuming 'output' is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 526,
                    "column": 8,
                    "event": "note",
                    "message": "(6) following 'false' branch (when 'output' is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 530,
                    "column": 11,
                    "event": "note",
                    "message": "(7) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 530,
                    "column": 11,
                    "event": "note",
                    "message": "(8) calling 'template_process_operators' from 'template_generate'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 424,
                    "column": 1,
                    "event": "note",
                    "message": "(9) entry to 'template_process_operators'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 442,
                    "column": 8,
                    "event": "note",
                    "message": "(10) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 446,
                    "column": 16,
                    "event": "note",
                    "message": "(11) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 449,
                    "column": 8,
                    "event": "note",
                    "message": "(12) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 449,
                    "column": 8,
                    "event": "note",
                    "message": "(13) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 456,
                    "column": 21,
                    "event": "note",
                    "message": "(14) if 'regexec' throws an exception... (15) 'output' leaks here; was allocated at (4)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  454|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  455|       match_string = content;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  456|->     while ((reret = regexec(&regex, match_string, RE_MATCHES, m, 0)) == REG_NOERROR) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  457|           ret = template_process_matches(match_string, m, &op, &expression,",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  458|                                          &if_true, &if_false, &value);",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "3e1996841788f4e2787d4bd8b0d8217e56de1769",
            "key_event_idx": 1,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function 'template_write'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 680,
                    "column": 18,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of 'strdup(\"# Generated by authselect\\012# Do not modify this file manually, use authselect instead. Any user changes will be overwritten.\\012# You can stop authselect from managing your configuration by calling \\'authselect opt-out\\'.\\012# See authselect(8) for more details.\\012\\012\")'",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 668,
                    "column": 1,
                    "event": "note",
                    "message": "(1) entry to 'template_write'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 676,
                    "column": 16,
                    "event": "note",
                    "message": "(2) inlined call to 'template_generate_preamble' from 'template_write'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 559,
                    "column": 12,
                    "event": "note",
                    "message": "(3) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function 'template_write'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 677,
                    "column": 8,
                    "event": "note",
                    "message": "(4) following 'false' branch (when 'content' is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 680,
                    "column": 18,
                    "event": "note",
                    "message": "(5) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 680,
                    "column": 18,
                    "event": "note",
                    "message": "(6) if 'format' throws an exception... (7) 'strdup(\"# Generated by authselect\\012# Do not modify this file manually, use authselect instead. Any user changes will be overwritten.\\012# You can stop authselect from managing your configuration by calling \\'authselect opt-out\\'.\\012# See authselect(8) for more details.\\012\\012\")' leaks here; was allocated at (3)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  678|           output = preamble;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  679|       } else {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  680|->         output = format(\"%s%s\", preamble, content);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  681|           free(preamble);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  682|       }",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "3a481ae0d633dd13de9797ca1af505153d88bf16",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 688,
                    "column": 11,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of 'output'",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 668,
                    "column": 1,
                    "event": "note",
                    "message": "(1) entry to 'template_write'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 676,
                    "column": 16,
                    "event": "note",
                    "message": "(2) inlined call to 'template_generate_preamble' from 'template_write'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 559,
                    "column": 12,
                    "event": "note",
                    "message": "(3) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function 'template_write'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 677,
                    "column": 8,
                    "event": "note",
                    "message": "(4) following 'true' branch (when 'content' is NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 684,
                    "column": 8,
                    "event": "note",
                    "message": "(5) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 684,
                    "column": 8,
                    "event": "note",
                    "message": "(6) assuming 'output' is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 684,
                    "column": 8,
                    "event": "note",
                    "message": "(7) following 'false' branch (when 'output' is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 688,
                    "column": 11,
                    "event": "note",
                    "message": "(8) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/template.c",
                    "line": 688,
                    "column": 11,
                    "event": "note",
                    "message": "(9) if 'textfile_write' throws an exception... (10) 'output' leaks here; was allocated at (3)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  686|       }",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  687|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  688|->     ret = textfile_write(filepath, output, mode);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  689|       free(output);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  690|   ",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "efe0943f2cadfa48ee10e33aeb30244e75ed0c3b",
            "key_event_idx": 1,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function 'textfile_read_content'",
                    "verbosity_level": 1
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 43,
                    "column": 11,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of 'file'",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 108,
                    "column": 1,
                    "event": "note",
                    "message": "(1) entry to 'textfile_read_dirfd'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 119,
                    "column": 8,
                    "event": "note",
                    "message": "(2) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 123,
                    "column": 12,
                    "event": "note",
                    "message": "(3) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 123,
                    "column": 12,
                    "event": "note",
                    "message": "(4) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 124,
                    "column": 8,
                    "event": "note",
                    "message": "(5) assuming 'file' is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 124,
                    "column": 8,
                    "event": "note",
                    "message": "(6) following 'false' branch (when 'file' is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 130,
                    "column": 12,
                    "event": "note",
                    "message": "(7) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 130,
                    "column": 12,
                    "event": "note",
                    "message": "(8) calling 'textfile_read_content' from 'textfile_read_dirfd'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 33,
                    "column": 1,
                    "event": "note",
                    "message": "(9) entry to 'textfile_read_content'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 43,
                    "column": 11,
                    "event": "note",
                    "message": "(10) if 'fseek' throws an exception... (11) 'file' leaks here; was allocated at (4)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   41|       errno_t ret;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   42|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   43|->     ret = fseek(file, 0, SEEK_END);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   44|       if (ret != 0) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   45|           ret = errno;",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 775,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "65c0ee8a60abcbd47b2913f85c812576474fd366",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 44,
                    "column": 8,
                    "event": "warning[-Wanalyzer-file-leak]",
                    "message": "leak of FILE 'fopen(filepath, \"r\")'",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 93,
                    "column": 1,
                    "event": "note",
                    "message": "(1) entry to 'textfile_read'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 99,
                    "column": 12,
                    "event": "note",
                    "message": "(2) opened here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 100,
                    "column": 8,
                    "event": "note",
                    "message": "(3) assuming 'fopen(filepath, \"r\")' is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 100,
                    "column": 8,
                    "event": "note",
                    "message": "(4) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 104,
                    "column": 12,
                    "event": "note",
                    "message": "(5) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 104,
                    "column": 12,
                    "event": "note",
                    "message": "(6) calling 'textfile_read_content' from 'textfile_read'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 33,
                    "column": 1,
                    "event": "note",
                    "message": "(7) entry to 'textfile_read_content'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 43,
                    "column": 11,
                    "event": "note",
                    "message": "(8) if 'fseek' throws an exception...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 44,
                    "column": 8,
                    "event": "note",
                    "message": "(9) 'fopen(filepath, \"r\")' leaks here; was opened at (2)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   42|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   43|       ret = fseek(file, 0, SEEK_END);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   44|->     if (ret != 0) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   45|           ret = errno;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   46|           goto done;",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "046ecb3fd073bdcfe1e43ea3a58a1fbcf64c676b",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 44,
                    "column": 8,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of 'fopen(filepath, \"r\")'",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 93,
                    "column": 1,
                    "event": "note",
                    "message": "(1) entry to 'textfile_read'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 99,
                    "column": 12,
                    "event": "note",
                    "message": "(2) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 100,
                    "column": 8,
                    "event": "note",
                    "message": "(3) assuming 'fopen(filepath, \"r\")' is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 100,
                    "column": 8,
                    "event": "note",
                    "message": "(4) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 104,
                    "column": 12,
                    "event": "note",
                    "message": "(5) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 104,
                    "column": 12,
                    "event": "note",
                    "message": "(6) calling 'textfile_read_content' from 'textfile_read'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 33,
                    "column": 1,
                    "event": "note",
                    "message": "(7) entry to 'textfile_read_content'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 43,
                    "column": 11,
                    "event": "note",
                    "message": "(8) if 'fseek' throws an exception...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 44,
                    "column": 8,
                    "event": "note",
                    "message": "(9) 'fopen(filepath, \"r\")' leaks here; was allocated at (2)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   42|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   43|       ret = fseek(file, 0, SEEK_END);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   44|->     if (ret != 0) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   45|           ret = errno;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   46|           goto done;",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "15408bca49c124bc0490fd718e93fa5e09c07e39",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 49,
                    "column": 15,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of 'file'",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 108,
                    "column": 1,
                    "event": "note",
                    "message": "(1) entry to 'textfile_read_dirfd'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 119,
                    "column": 8,
                    "event": "note",
                    "message": "(2) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 123,
                    "column": 12,
                    "event": "note",
                    "message": "(3) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 123,
                    "column": 12,
                    "event": "note",
                    "message": "(4) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 124,
                    "column": 8,
                    "event": "note",
                    "message": "(5) assuming 'file' is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 124,
                    "column": 8,
                    "event": "note",
                    "message": "(6) following 'false' branch (when 'file' is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 130,
                    "column": 12,
                    "event": "note",
                    "message": "(7) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 130,
                    "column": 12,
                    "event": "note",
                    "message": "(8) calling 'textfile_read_content' from 'textfile_read_dirfd'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 33,
                    "column": 1,
                    "event": "note",
                    "message": "(9) entry to 'textfile_read_content'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 44,
                    "column": 8,
                    "event": "note",
                    "message": "(10) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 49,
                    "column": 15,
                    "event": "note",
                    "message": "(11) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 49,
                    "column": 15,
                    "event": "note",
                    "message": "(12) if 'ftell' throws an exception... (13) 'file' leaks here; was allocated at (4)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   47|       }",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   48|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   49|->     filelen = ftell(file);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   50|       if (filelen == -1) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   51|           ret = errno;",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 775,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "8c8cfb5acdb97c593ce06cbc62d7376b27d67054",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 50,
                    "column": 8,
                    "event": "warning[-Wanalyzer-file-leak]",
                    "message": "leak of FILE 'fopen(filepath, \"r\")'",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 93,
                    "column": 1,
                    "event": "note",
                    "message": "(1) entry to 'textfile_read'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 99,
                    "column": 12,
                    "event": "note",
                    "message": "(2) opened here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 100,
                    "column": 8,
                    "event": "note",
                    "message": "(3) assuming 'fopen(filepath, \"r\")' is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 100,
                    "column": 8,
                    "event": "note",
                    "message": "(4) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 104,
                    "column": 12,
                    "event": "note",
                    "message": "(5) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 104,
                    "column": 12,
                    "event": "note",
                    "message": "(6) calling 'textfile_read_content' from 'textfile_read'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 33,
                    "column": 1,
                    "event": "note",
                    "message": "(7) entry to 'textfile_read_content'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 44,
                    "column": 8,
                    "event": "note",
                    "message": "(8) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 49,
                    "column": 15,
                    "event": "note",
                    "message": "(9) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 49,
                    "column": 15,
                    "event": "note",
                    "message": "(10) if 'ftell' throws an exception...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 50,
                    "column": 8,
                    "event": "note",
                    "message": "(11) 'fopen(filepath, \"r\")' leaks here; was opened at (2)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   48|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   49|       filelen = ftell(file);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   50|->     if (filelen == -1) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   51|           ret = errno;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   52|           goto done;",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "4a2c9d82fe211853d74f8b3a5e787690f928ca6c",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 50,
                    "column": 8,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of 'fopen(filepath, \"r\")'",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 93,
                    "column": 1,
                    "event": "note",
                    "message": "(1) entry to 'textfile_read'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 99,
                    "column": 12,
                    "event": "note",
                    "message": "(2) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 100,
                    "column": 8,
                    "event": "note",
                    "message": "(3) assuming 'fopen(filepath, \"r\")' is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 100,
                    "column": 8,
                    "event": "note",
                    "message": "(4) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 104,
                    "column": 12,
                    "event": "note",
                    "message": "(5) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 104,
                    "column": 12,
                    "event": "note",
                    "message": "(6) calling 'textfile_read_content' from 'textfile_read'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 33,
                    "column": 1,
                    "event": "note",
                    "message": "(7) entry to 'textfile_read_content'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 44,
                    "column": 8,
                    "event": "note",
                    "message": "(8) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 49,
                    "column": 15,
                    "event": "note",
                    "message": "(9) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 49,
                    "column": 15,
                    "event": "note",
                    "message": "(10) if 'ftell' throws an exception...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 50,
                    "column": 8,
                    "event": "note",
                    "message": "(11) 'fopen(filepath, \"r\")' leaks here; was allocated at (2)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   48|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   49|       filelen = ftell(file);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   50|->     if (filelen == -1) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   51|           ret = errno;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   52|           goto done;",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 775,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "086ceb7b38844a6880b6de061ad2bfcc682375ed",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 55,
                    "column": 29,
                    "event": "warning[-Wanalyzer-file-leak]",
                    "message": "leak of FILE 'fopen(filepath, \"r\")'",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 93,
                    "column": 1,
                    "event": "note",
                    "message": "(1) entry to 'textfile_read'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 99,
                    "column": 12,
                    "event": "note",
                    "message": "(2) opened here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 100,
                    "column": 8,
                    "event": "note",
                    "message": "(3) assuming 'fopen(filepath, \"r\")' is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 100,
                    "column": 8,
                    "event": "note",
                    "message": "(4) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 104,
                    "column": 12,
                    "event": "note",
                    "message": "(5) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 104,
                    "column": 12,
                    "event": "note",
                    "message": "(6) calling 'textfile_read_content' from 'textfile_read'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 33,
                    "column": 1,
                    "event": "note",
                    "message": "(7) entry to 'textfile_read_content'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 44,
                    "column": 8,
                    "event": "note",
                    "message": "(8) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 49,
                    "column": 15,
                    "event": "note",
                    "message": "(9) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 50,
                    "column": 8,
                    "event": "note",
                    "message": "(10) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 55,
                    "column": 29,
                    "event": "note",
                    "message": "(11) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 55,
                    "column": 8,
                    "event": "note",
                    "message": "(12) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 61,
                    "column": 5,
                    "event": "note",
                    "message": "(13) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 61,
                    "column": 5,
                    "event": "note",
                    "message": "(14) if 'rewind' throws an exception...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 55,
                    "column": 29,
                    "event": "note",
                    "message": "(15) 'fopen(filepath, \"r\")' leaks here; was opened at (2)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   53|       }",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   54|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   55|->     if (filelen > limit_KiB * 1024) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   56|           ERROR(\"File [%s] is bigger than %uKiB!\", filename, limit_KiB);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   57|           ret = ERANGE;",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "2eed89c3b7dfc66551dc96b1e6bb12bba708186d",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 55,
                    "column": 29,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of 'fopen(filepath, \"r\")'",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 93,
                    "column": 1,
                    "event": "note",
                    "message": "(1) entry to 'textfile_read'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 99,
                    "column": 12,
                    "event": "note",
                    "message": "(2) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 100,
                    "column": 8,
                    "event": "note",
                    "message": "(3) assuming 'fopen(filepath, \"r\")' is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 100,
                    "column": 8,
                    "event": "note",
                    "message": "(4) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 104,
                    "column": 12,
                    "event": "note",
                    "message": "(5) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 104,
                    "column": 12,
                    "event": "note",
                    "message": "(6) calling 'textfile_read_content' from 'textfile_read'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 33,
                    "column": 1,
                    "event": "note",
                    "message": "(7) entry to 'textfile_read_content'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 44,
                    "column": 8,
                    "event": "note",
                    "message": "(8) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 49,
                    "column": 15,
                    "event": "note",
                    "message": "(9) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 50,
                    "column": 8,
                    "event": "note",
                    "message": "(10) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 55,
                    "column": 29,
                    "event": "note",
                    "message": "(11) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 55,
                    "column": 8,
                    "event": "note",
                    "message": "(12) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 61,
                    "column": 5,
                    "event": "note",
                    "message": "(13) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 61,
                    "column": 5,
                    "event": "note",
                    "message": "(14) if 'rewind' throws an exception...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 55,
                    "column": 29,
                    "event": "note",
                    "message": "(15) 'fopen(filepath, \"r\")' leaks here; was allocated at (2)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   53|       }",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   54|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   55|->     if (filelen > limit_KiB * 1024) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   56|           ERROR(\"File [%s] is bigger than %uKiB!\", filename, limit_KiB);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   57|           ret = ERANGE;",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "e2e687a77fcf609bd8fcf275b9cd81c356f5c8d5",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 61,
                    "column": 5,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of 'file'",
                    "verbosity_level": 0
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 108,
                    "column": 1,
                    "event": "note",
                    "message": "(1) entry to 'textfile_read_dirfd'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 119,
                    "column": 8,
                    "event": "note",
                    "message": "(2) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 123,
                    "column": 12,
                    "event": "note",
                    "message": "(3) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 123,
                    "column": 12,
                    "event": "note",
                    "message": "(4) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 124,
                    "column": 8,
                    "event": "note",
                    "message": "(5) assuming 'file' is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 124,
                    "column": 8,
                    "event": "note",
                    "message": "(6) following 'false' branch (when 'file' is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 130,
                    "column": 12,
                    "event": "note",
                    "message": "(7) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 130,
                    "column": 12,
                    "event": "note",
                    "message": "(8) calling 'textfile_read_content' from 'textfile_read_dirfd'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 33,
                    "column": 1,
                    "event": "note",
                    "message": "(9) entry to 'textfile_read_content'",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 44,
                    "column": 8,
                    "event": "note",
                    "message": "(10) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 49,
                    "column": 15,
                    "event": "note",
                    "message": "(11) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 50,
                    "column": 8,
                    "event": "note",
                    "message": "(12) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 55,
                    "column": 29,
                    "event": "note",
                    "message": "(13) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 55,
                    "column": 8,
                    "event": "note",
                    "message": "(14) following 'false' branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 61,
                    "column": 5,
                    "event": "note",
                    "message": "(15) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "authselect-1.7.0/src/lib/util/textfile.c",
                    "line": 61,
                    "column": 5,
                    "event": "note",
                    "message": "(16) if 'rewind' throws an exception... (17) 'file' leaks here; was allocated at (4)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   59|       }",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   60|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   61|->     rewind(file);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   62|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   63|       buffer = malloc_zero_array(char, filelen + 1);",
                    "verbosity_level": 1
                }
            ]
        }
    ]
}
