{
    "scan": {
        "analyzer-version-clippy": "1.92.0",
        "analyzer-version-cppcheck": "2.18.3",
        "analyzer-version-gcc": "15.2.1",
        "analyzer-version-gcc-analyzer": "15.2.1",
        "analyzer-version-shellcheck": "0.11.0",
        "analyzer-version-unicontrol": "0.0.2",
        "diffbase-analyzer-version-clippy": "1.92.0",
        "diffbase-analyzer-version-cppcheck": "2.18.3",
        "diffbase-analyzer-version-gcc": "15.2.1",
        "diffbase-analyzer-version-gcc-analyzer": "15.2.1",
        "diffbase-analyzer-version-shellcheck": "0.11.0",
        "diffbase-analyzer-version-unicontrol": "0.0.2",
        "diffbase-enabled-plugins": "clippy, cppcheck, gcc, shellcheck, unicontrol",
        "diffbase-exit-code": 0,
        "diffbase-host": "ip-172-16-1-93.us-west-2.compute.internal",
        "diffbase-known-false-positives": "/usr/share/csmock/known-false-positives.js",
        "diffbase-known-false-positives-rpm": "known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch",
        "diffbase-mock-config": "fedora-rawhide-x86_64",
        "diffbase-project-name": "polkit-127-1.20260101051016240372.pr628.2.g7ea0dcf",
        "diffbase-store-results-to": "/tmp/tmp69o6rkud/polkit-127-1.20260101051016240372.pr628.2.g7ea0dcf.tar.xz",
        "diffbase-time-created": "2026-01-01 05:18:50",
        "diffbase-time-finished": "2026-01-01 05:20:56",
        "diffbase-tool": "csmock",
        "diffbase-tool-args": "'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,unicontrol,gcc,shellcheck,clippy' '-o' '/tmp/tmp69o6rkud/polkit-127-1.20260101051016240372.pr628.2.g7ea0dcf.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-add-flag=-flto=auto' '/tmp/tmp69o6rkud/polkit-127-1.20260101051016240372.pr628.2.g7ea0dcf.src.rpm'",
        "diffbase-tool-version": "csmock-3.8.3.20251215.161544.g62de9a5-1.el9",
        "enabled-plugins": "clippy, cppcheck, gcc, shellcheck, unicontrol",
        "exit-code": 0,
        "host": "ip-172-16-1-93.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.20250521.132812.g8eff701.main-1.el9.noarch",
        "mock-config": "fedora-rawhide-x86_64",
        "project-name": "polkit-127-1.20260101051016240372.pr628.2.g7ea0dcf",
        "store-results-to": "/tmp/tmp69o6rkud/polkit-127-1.20260101051016240372.pr628.2.g7ea0dcf.tar.xz",
        "time-created": "2026-01-01 05:18:50",
        "time-finished": "2026-01-01 05:20:56",
        "tool": "csmock",
        "tool-args": "'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,unicontrol,gcc,shellcheck,clippy' '-o' '/tmp/tmp69o6rkud/polkit-127-1.20260101051016240372.pr628.2.g7ea0dcf.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-add-flag=-flto=auto' '/tmp/tmp69o6rkud/polkit-127-1.20260101051016240372.pr628.2.g7ea0dcf.src.rpm'",
        "tool-version": "csmock-3.8.3.20251215.161544.g62de9a5-1.el9"
    },
    "defects": [
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 476,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "ca212ce45311ecaef99c490b0775039c10f0e604",
            "key_event_idx": 1,
            "events": [
                {
                    "file_name": "polkit-127-build/polkit-127/src/polkitbackend/polkitbackendduktapeauthority.c",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function ‘polkit_backend_common_js_authority_get_admin_auth_identities’",
                    "verbosity_level": 1
                },
                {
                    "file_name": "polkit-127-build/polkit-127/src/polkitbackend/polkitbackendduktapeauthority.c",
                    "line": 942,
                    "column": 7,
                    "event": "warning[-Wanalyzer-null-dereference]",
                    "message": "dereference of NULL ‘error’",
                    "verbosity_level": 0
                },
                {
                    "file_name": "polkit-127-build/polkit-127/src/polkitbackend/polkitbackendduktapeauthority.c",
                    "line": 917,
                    "column": 11,
                    "event": "note",
                    "message": "(1) ‘error’ is NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "polkit-127-build/polkit-127/src/polkitbackend/polkitbackendduktapeauthority.c",
                    "line": 923,
                    "column": 6,
                    "event": "note",
                    "message": "(2) following ‘false’ branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "polkit-127-build/polkit-127/src/polkitbackend/polkitbackendduktapeauthority.c",
                    "line": 930,
                    "column": 3,
                    "event": "note",
                    "message": "(3) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "polkit-127-build/polkit-127/src/polkitbackend/polkitbackendduktapeauthority.c",
                    "line": 932,
                    "column": 6,
                    "event": "note",
                    "message": "(4) following ‘false’ branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "polkit-127-build/polkit-127/src/polkitbackend/polkitbackendduktapeauthority.c",
                    "line": 940,
                    "column": 8,
                    "event": "note",
                    "message": "(5) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "polkit-127-build/polkit-127/src/polkitbackend/polkitbackendduktapeauthority.c",
                    "line": 940,
                    "column": 6,
                    "event": "note",
                    "message": "(6) following ‘true’ branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "polkit-127-build/polkit-127/src/polkitbackend/polkitbackendduktapeauthority.c",
                    "line": 945,
                    "column": 42,
                    "event": "note",
                    "message": "(7) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "polkit-127-build/polkit-127/src/polkitbackend/polkitbackendduktapeauthority.c",
                    "line": 945,
                    "column": 42,
                    "event": "note",
                    "message": "(8) ‘error’ is NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "polkit-127-build/polkit-127/src/polkitbackend/polkitbackendduktapeauthority.c",
                    "line": 942,
                    "column": 7,
                    "event": "note",
                    "message": "(9) dereference of NULL ‘error’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  940|     if (!push_subject (cx, subject, user_for_subject, subject_is_local, subject_is_active, &error))",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  941|       {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  942|->       polkit_backend_authority_log (POLKIT_BACKEND_AUTHORITY (authority),",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  943|                                       LOG_LEVEL_ERROR,",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  944|                                       \"Error converting subject to JS object: %s\",",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 476,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "ca212ce45311ecaef99c490b0775039c10f0e604",
            "key_event_idx": 1,
            "events": [
                {
                    "file_name": "polkit-127-build/polkit-127/src/polkitbackend/polkitbackendduktapeauthority.c",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function ‘polkit_backend_common_js_authority_check_authorization_sync’",
                    "verbosity_level": 1
                },
                {
                    "file_name": "polkit-127-build/polkit-127/src/polkitbackend/polkitbackendduktapeauthority.c",
                    "line": 1024,
                    "column": 7,
                    "event": "warning[-Wanalyzer-null-dereference]",
                    "message": "dereference of NULL ‘error’",
                    "verbosity_level": 0
                },
                {
                    "file_name": "polkit-127-build/polkit-127/src/polkitbackend/polkitbackendduktapeauthority.c",
                    "line": 1002,
                    "column": 11,
                    "event": "note",
                    "message": "(1) ‘error’ is NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "polkit-127-build/polkit-127/src/polkitbackend/polkitbackendduktapeauthority.c",
                    "line": 1008,
                    "column": 6,
                    "event": "note",
                    "message": "(2) following ‘false’ branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "polkit-127-build/polkit-127/src/polkitbackend/polkitbackendduktapeauthority.c",
                    "line": 1012,
                    "column": 3,
                    "event": "note",
                    "message": "(3) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "polkit-127-build/polkit-127/src/polkitbackend/polkitbackendduktapeauthority.c",
                    "line": 1014,
                    "column": 6,
                    "event": "note",
                    "message": "(4) following ‘false’ branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "polkit-127-build/polkit-127/src/polkitbackend/polkitbackendduktapeauthority.c",
                    "line": 1022,
                    "column": 8,
                    "event": "note",
                    "message": "(5) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "polkit-127-build/polkit-127/src/polkitbackend/polkitbackendduktapeauthority.c",
                    "line": 1022,
                    "column": 6,
                    "event": "note",
                    "message": "(6) following ‘true’ branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "polkit-127-build/polkit-127/src/polkitbackend/polkitbackendduktapeauthority.c",
                    "line": 1027,
                    "column": 42,
                    "event": "note",
                    "message": "(7) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "polkit-127-build/polkit-127/src/polkitbackend/polkitbackendduktapeauthority.c",
                    "line": 1027,
                    "column": 42,
                    "event": "note",
                    "message": "(8) ‘error’ is NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "polkit-127-build/polkit-127/src/polkitbackend/polkitbackendduktapeauthority.c",
                    "line": 1024,
                    "column": 7,
                    "event": "note",
                    "message": "(9) dereference of NULL ‘error’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": " 1022|     if (!push_subject (cx, subject, user_for_subject, subject_is_local, subject_is_active, &error))",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": " 1023|       {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": " 1024|->       polkit_backend_authority_log (POLKIT_BACKEND_AUTHORITY (authority),",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": " 1025|                                       LOG_LEVEL_ERROR,",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": " 1026|                                       \"Error converting subject to JS object: %s\",",
                    "verbosity_level": 1
                }
            ]
        }
    ]
}
