{
    "scan": {
        "analyzer-version-clippy": "1.94.0",
        "analyzer-version-cppcheck": "2.20.0",
        "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-126.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.20260320.200800.gd35503f.main-1.el9.noarch",
        "mock-config": "fedora-rawhide-x86_64",
        "project-name": "dnsconfd-2.1.0-1",
        "store-results-to": "/tmp/tmpzfe5i2oz/dnsconfd-2.1.0-1.tar.xz",
        "time-created": "2026-03-24 12:21:19",
        "time-finished": "2026-03-24 12:22:25",
        "tool": "csmock",
        "tool-args": "'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'cppcheck,gcc,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpzfe5i2oz/dnsconfd-2.1.0-1.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpzfe5i2oz/dnsconfd-2.1.0-1.src.rpm'",
        "tool-version": "csmock-3.8.4.20260302.153719.g8203630-1.el9"
    },
    "defects": [
        {
            "checker": "SHELLCHECK_WARNING",
            "cwe": 457,
            "language": "shell",
            "tool": "shellcheck",
            "hash_v1": "e22d58d9b166b8c7200d06a60c26e9e017daa0e1",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "/usr/lib/dracut/modules.d/77dnsconfd/module-setup.sh",
                    "line": 42,
                    "column": 27,
                    "h_size": 8,
                    "event": "warning[SC2154]",
                    "message": "initdir is referenced but not assigned.",
                    "verbosity_level": 0
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   40|       inst_multiple -o /etc/pki/dns/extracted/pem/*",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   41|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   42|->     $SYSTEMCTL -q --root \"$initdir\" enable dnsconfd.service",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   43|   }",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 465,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "80b276b5d3623c36296735db7d8f45ee25c0945d",
            "key_event_idx": 1,
            "events": [
                {
                    "file_name": "dnsconfd-2.1.0/src/dns_managers/unbound_manager.c",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function ‘get_used_servers’",
                    "verbosity_level": 1
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/dns_managers/unbound_manager.c",
                    "line": 25,
                    "column": 18,
                    "event": "warning[-Wanalyzer-deref-before-check]",
                    "message": "check of ‘servers’ for NULL after already dereferencing it",
                    "verbosity_level": 0
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/dns_managers/unbound_manager.c",
                    "line": 466,
                    "column": 5,
                    "event": "note",
                    "message": "(1) entry to ‘update’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/dns_managers/unbound_manager.c",
                    "line": 477,
                    "column": 10,
                    "event": "note",
                    "message": "(2) following ‘true’ branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/dns_managers/unbound_manager.c",
                    "line": 478,
                    "column": 20,
                    "event": "note",
                    "message": "(3) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/dns_managers/unbound_manager.c",
                    "line": 478,
                    "column": 20,
                    "event": "note",
                    "message": "(4) calling ‘get_used_servers’ from ‘update’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/dns_managers/unbound_manager.c",
                    "line": 18,
                    "column": 15,
                    "event": "note",
                    "message": "(5) entry to ‘get_used_servers’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/dns_managers/unbound_manager.c",
                    "line": 20,
                    "column": 17,
                    "event": "note",
                    "message": "(6) pointer ‘servers’ is dereferenced here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/dns_managers/unbound_manager.c",
                    "line": 25,
                    "column": 18,
                    "event": "note",
                    "message": "(7) pointer ‘servers’ is checked for NULL here but it was already dereferenced at (6)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   23|     unsigned char dnssec = cur_server->dnssec;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   24|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   25|->   for (; servers != NULL; servers = servers->next) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   26|       cur_server = ((server_uri_t *)servers->data);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   27|       if (cur_server->priority < max_priority || cur_server->protocol < max_protocol ||",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 688,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "ca4a88700ee240fef83a3957ee6dd24e5471c19f",
            "key_event_idx": 1,
            "events": [
                {
                    "file_name": "dnsconfd-2.1.0/src/dns_managers/unbound_manager.c",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function ‘effective_ca_from_config’",
                    "verbosity_level": 1
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/dns_managers/unbound_manager.c",
                    "line": 184,
                    "column": 12,
                    "event": "warning[-Wanalyzer-null-argument]",
                    "message": "use of NULL ‘effective_ca’ where non-null expected",
                    "verbosity_level": 0
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/dns_managers/unbound_manager.c",
                    "line": 176,
                    "column": 6,
                    "event": "note",
                    "message": "(1) following ‘false’ branch (when ‘backup_ca’ is non-NULL)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/dns_managers/unbound_manager.c",
                    "line": 176,
                    "column": 6,
                    "event": "note",
                    "message": "(2) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/dns_managers/unbound_manager.c",
                    "line": 184,
                    "column": 12,
                    "event": "note",
                    "message": "(3) argument 1 (‘effective_ca’) NULL where non-null expected",
                    "verbosity_level": 2
                },
                {
                    "file_name": "/usr/include/glib-2.0/glib/galloca.h",
                    "line": 35,
                    "event": "included_from",
                    "message": "Included from here.",
                    "verbosity_level": 1
                },
                {
                    "file_name": "/usr/include/glib-2.0/glib.h",
                    "line": 32,
                    "event": "included_from",
                    "message": "Included from here.",
                    "verbosity_level": 1
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/dns_managers/unbound_manager.h",
                    "line": 1,
                    "event": "included_from",
                    "message": "Included from here.",
                    "verbosity_level": 1
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/dns_managers/unbound_manager.c",
                    "line": 1,
                    "event": "included_from",
                    "message": "Included from here.",
                    "verbosity_level": 1
                },
                {
                    "file_name": "/usr/include/string.h",
                    "line": 202,
                    "column": 14,
                    "event": "note",
                    "message": "argument 1 of ‘strdup’ must be non-null",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  182|     }",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  183|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  184|->   result = strdup(effective_ca);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  185|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  186|     free(backup_ca);",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 465,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "80b276b5d3623c36296735db7d8f45ee25c0945d",
            "key_event_idx": 1,
            "events": [
                {
                    "file_name": "dnsconfd-2.1.0/src/dns_managers/unbound_manager.c",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function ‘get_forward_add_command’",
                    "verbosity_level": 1
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/dns_managers/unbound_manager.c",
                    "line": 340,
                    "column": 18,
                    "event": "warning[-Wanalyzer-deref-before-check]",
                    "message": "check of ‘servers’ for NULL after already dereferencing it",
                    "verbosity_level": 0
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/dns_managers/unbound_manager.c",
                    "line": 323,
                    "column": 17,
                    "event": "note",
                    "message": "(1) pointer ‘servers’ is dereferenced here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/dns_managers/unbound_manager.c",
                    "line": 340,
                    "column": 18,
                    "event": "note",
                    "message": "(2) pointer ‘servers’ is checked for NULL here but it was already dereferenced at (1)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  338|     g_ptr_array_add(argv_array, g_strdup(domain));",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  339|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  340|->   for (; servers != NULL; servers = servers->next) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  341|       cur_server = (server_uri_t *)servers->data;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  342|       ip_to_str(&cur_server->address, address_buffer);",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 775,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "65b1278cc9a0da499e5c8d9b0acb7b4f645c66e3",
            "key_event_idx": 1,
            "events": [
                {
                    "file_name": "dnsconfd-2.1.0/src/dns_managers/unbound_manager.c",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function ‘write_resolv_conf’",
                    "verbosity_level": 1
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/dns_managers/unbound_manager.c",
                    "line": 602,
                    "column": 13,
                    "event": "warning[-Wanalyzer-file-leak]",
                    "message": "leak of FILE ‘fopen(*config.resolv_conf_path, \"w\")’",
                    "verbosity_level": 0
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/dns_managers/unbound_manager.c",
                    "line": 566,
                    "column": 22,
                    "event": "note",
                    "message": "(1) opened here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/dns_managers/unbound_manager.c",
                    "line": 567,
                    "column": 6,
                    "event": "note",
                    "message": "(2) assuming ‘fopen(*config.resolv_conf_path, \"w\")’ is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/dns_managers/unbound_manager.c",
                    "line": 567,
                    "column": 6,
                    "event": "note",
                    "message": "(3) following ‘false’ branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/dns_managers/unbound_manager.c",
                    "line": 572,
                    "column": 20,
                    "event": "note",
                    "message": "(4) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/dns_managers/unbound_manager.c",
                    "line": 596,
                    "column": 6,
                    "event": "note",
                    "message": "(5) following ‘false’ branch (when ‘first_search != 0’)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/dns_managers/unbound_manager.c",
                    "line": 600,
                    "column": 3,
                    "event": "note",
                    "message": "(6) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/dns_managers/unbound_manager.c",
                    "line": 602,
                    "column": 13,
                    "event": "note",
                    "message": "(7) ‘fopen(*config.resolv_conf_path, \"w\")’ leaks here; was opened at (1)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  600|     g_hash_table_destroy(searches_table);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  601|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  602|->   if (config->resolver_options) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  603|       fprintf(resolv_conf_file, \"options %s\\n\", config->resolver_options);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  604|     }",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "d2ee341f313357ccc88aaffa89e92c629773e898",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "dnsconfd-2.1.0/src/dns_managers/unbound_manager.c",
                    "line": 602,
                    "column": 13,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of ‘fopen(*config.resolv_conf_path, \"w\")’",
                    "verbosity_level": 0
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/dns_managers/unbound_manager.c",
                    "line": 566,
                    "column": 22,
                    "event": "note",
                    "message": "(1) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/dns_managers/unbound_manager.c",
                    "line": 567,
                    "column": 6,
                    "event": "note",
                    "message": "(2) assuming ‘fopen(*config.resolv_conf_path, \"w\")’ is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/dns_managers/unbound_manager.c",
                    "line": 567,
                    "column": 6,
                    "event": "note",
                    "message": "(3) following ‘false’ branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/dns_managers/unbound_manager.c",
                    "line": 572,
                    "column": 20,
                    "event": "note",
                    "message": "(4) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/dns_managers/unbound_manager.c",
                    "line": 596,
                    "column": 6,
                    "event": "note",
                    "message": "(5) following ‘false’ branch (when ‘first_search != 0’)...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/dns_managers/unbound_manager.c",
                    "line": 600,
                    "column": 3,
                    "event": "note",
                    "message": "(6) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/dns_managers/unbound_manager.c",
                    "line": 602,
                    "column": 13,
                    "event": "note",
                    "message": "(7) ‘fopen(*config.resolv_conf_path, \"w\")’ leaks here; was allocated at (1)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  600|     g_hash_table_destroy(searches_table);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  601|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  602|->   if (config->resolver_options) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  603|       fprintf(resolv_conf_file, \"options %s\\n\", config->resolver_options);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  604|     }",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 775,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "252c98f0cd41ee8a8c672824eb5327f286cd5fbf",
            "key_event_idx": 1,
            "events": [
                {
                    "file_name": "dnsconfd-2.1.0/src/fsm/fsm.c",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function ‘revert_resolv_conf’",
                    "verbosity_level": 1
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/fsm/fsm.c",
                    "line": 260,
                    "column": 63,
                    "event": "warning[-Wanalyzer-file-leak]",
                    "message": "leak of FILE ‘fopen(*ctx_8(D)->config.resolv_conf_path, \"w\")’",
                    "verbosity_level": 0
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/fsm/fsm.c",
                    "line": 275,
                    "column": 5,
                    "event": "note",
                    "message": "(1) entry to ‘state_transition’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/fsm/fsm.c",
                    "line": 281,
                    "column": 5,
                    "event": "note",
                    "message": "(2) following ‘case 5:’ branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/fsm/fsm.c",
                    "line": 378,
                    "column": 5,
                    "event": "note",
                    "message": "(3) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/fsm/fsm.c",
                    "line": 379,
                    "column": 7,
                    "event": "note",
                    "message": "(4) following ‘case 4:’ branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/fsm/fsm.c",
                    "line": 385,
                    "column": 9,
                    "event": "note",
                    "message": "(5) inlined call to ‘set_exit_code’ from ‘state_transition’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/fsm/fsm.c",
                    "line": 269,
                    "column": 10,
                    "event": "note",
                    "message": "(6) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/fsm/fsm.c",
                    "line": 269,
                    "column": 6,
                    "event": "note",
                    "message": "(7) following ‘false’ branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/fsm/fsm.c",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function ‘revert_resolv_conf’",
                    "verbosity_level": 1
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/fsm/fsm.c",
                    "line": 386,
                    "column": 28,
                    "event": "note",
                    "message": "(8) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/fsm/fsm.c",
                    "line": 387,
                    "column": 21,
                    "event": "note",
                    "message": "(9) calling ‘revert_resolv_conf’ from ‘state_transition’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/fsm/fsm.c",
                    "line": 257,
                    "column": 20,
                    "event": "note",
                    "message": "(10) entry to ‘revert_resolv_conf’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/fsm/fsm.c",
                    "line": 258,
                    "column": 28,
                    "event": "note",
                    "message": "(11) opened here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/fsm/fsm.c",
                    "line": 260,
                    "column": 6,
                    "event": "note",
                    "message": "(12) assuming ‘fopen(*ctx_8(D)->config.resolv_conf_path, \"w\")’ is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/fsm/fsm.c",
                    "line": 260,
                    "column": 6,
                    "event": "note",
                    "message": "(13) following ‘false’ branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/fsm/fsm.c",
                    "line": 260,
                    "column": 63,
                    "event": "note",
                    "message": "(14) ...to here (15) ‘fopen(*ctx_8(D)->config.resolv_conf_path, \"w\")’ leaks here; was opened at (11)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  258|     FILE *resolv_conf_file = fopen(ctx->config->resolv_conf_path, \"w\");",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  259|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  260|->   if (!resolv_conf_file || fprintf(resolv_conf_file, \"%s\", ctx->resolv_conf_backup->str) < 0) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  261|       dnsconfd_log(LOG_ERR, \"Failed to revert resolv.conf\");",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  262|       return EVENT_FAILURE;",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 401,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "13bc46d09d0aa7fa7b66733270951a80a86e362a",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "dnsconfd-2.1.0/src/fsm/fsm.c",
                    "line": 260,
                    "column": 63,
                    "event": "warning[-Wanalyzer-malloc-leak]",
                    "message": "leak of ‘fopen(*ctx_8(D)->config.resolv_conf_path, \"w\")’",
                    "verbosity_level": 0
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/fsm/fsm.c",
                    "line": 275,
                    "column": 5,
                    "event": "note",
                    "message": "(1) entry to ‘state_transition’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/fsm/fsm.c",
                    "line": 281,
                    "column": 5,
                    "event": "note",
                    "message": "(2) following ‘case 5:’ branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/fsm/fsm.c",
                    "line": 378,
                    "column": 5,
                    "event": "note",
                    "message": "(3) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/fsm/fsm.c",
                    "line": 379,
                    "column": 7,
                    "event": "note",
                    "message": "(4) following ‘case 4:’ branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/fsm/fsm.c",
                    "line": 385,
                    "column": 9,
                    "event": "note",
                    "message": "(5) inlined call to ‘set_exit_code’ from ‘state_transition’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/fsm/fsm.c",
                    "line": 269,
                    "column": 10,
                    "event": "note",
                    "message": "(6) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/fsm/fsm.c",
                    "line": 269,
                    "column": 6,
                    "event": "note",
                    "message": "(7) following ‘false’ branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/fsm/fsm.c",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function ‘revert_resolv_conf’",
                    "verbosity_level": 1
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/fsm/fsm.c",
                    "line": 386,
                    "column": 28,
                    "event": "note",
                    "message": "(8) ...to here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/fsm/fsm.c",
                    "line": 387,
                    "column": 21,
                    "event": "note",
                    "message": "(9) calling ‘revert_resolv_conf’ from ‘state_transition’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/fsm/fsm.c",
                    "line": 257,
                    "column": 20,
                    "event": "note",
                    "message": "(10) entry to ‘revert_resolv_conf’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/fsm/fsm.c",
                    "line": 258,
                    "column": 28,
                    "event": "note",
                    "message": "(11) allocated here",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/fsm/fsm.c",
                    "line": 260,
                    "column": 6,
                    "event": "note",
                    "message": "(12) assuming ‘fopen(*ctx_8(D)->config.resolv_conf_path, \"w\")’ is non-NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/fsm/fsm.c",
                    "line": 260,
                    "column": 6,
                    "event": "note",
                    "message": "(13) following ‘false’ branch...",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/src/fsm/fsm.c",
                    "line": 260,
                    "column": 63,
                    "event": "note",
                    "message": "(14) ...to here (15) ‘fopen(*ctx_8(D)->config.resolv_conf_path, \"w\")’ leaks here; was allocated at (11)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  258|     FILE *resolv_conf_file = fopen(ctx->config->resolv_conf_path, \"w\");",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  259|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  260|->   if (!resolv_conf_file || fprintf(resolv_conf_file, \"%s\", ctx->resolv_conf_backup->str) < 0) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  261|       dnsconfd_log(LOG_ERR, \"Failed to revert resolv.conf\");",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  262|       return EVENT_FAILURE;",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "CPPCHECK_WARNING",
            "cwe": 404,
            "language": "c/c++",
            "tool": "cppcheck",
            "hash_v1": "ff9b685932d88ed4e49803b2a3b152cc4da625db",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "dnsconfd-2.1.0/src/fsm/fsm.c",
                    "line": 265,
                    "event": "error[resourceLeak]",
                    "message": "Resource leak: resolv_conf_file",
                    "verbosity_level": 0
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  263|     }",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  264|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  265|->   return EVENT_SUCCESS;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  266|   }",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "  267|   ",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "CPPCHECK_WARNING",
            "cwe": 476,
            "language": "c/c++",
            "tool": "cppcheck",
            "hash_v1": "844fff8a21b5a42126c25cead63b8156965feba0",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "dnsconfd-2.1.0/unittests/test_server_uri.c",
                    "line": 11,
                    "event": "warning[nullPointerOutOfMemory]",
                    "message": "If memory allocation fails, then there is a possible null pointer dereference: server",
                    "verbosity_level": 0
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "    9|   static server_uri_t *create_test_server(int priority, dns_protocol_t protocol, int dnssec) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   10|     server_uri_t *server = calloc(1, sizeof(server_uri_t));",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   11|->   server->priority = priority;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   12|     server->protocol = protocol;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   13|     server->dnssec = dnssec;",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 476,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "9a1b3c3f791180c56237bd18094c975c873b46e3",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "dnsconfd-2.1.0/unittests/test_server_uri.c",
                    "line": 11,
                    "column": 20,
                    "event": "warning[-Wanalyzer-possible-null-dereference]",
                    "message": "dereference of possibly-NULL ‘server’",
                    "verbosity_level": 0
                },
                {
                    "file_name": "dnsconfd-2.1.0/unittests/test_server_uri.c",
                    "line": 3,
                    "event": "included_from",
                    "message": "Included from here.",
                    "verbosity_level": 1
                },
                {
                    "file_name": "dnsconfd-2.1.0/unittests/test_server_uri.c",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function ‘test_server_list_to_hash_table_networks_fn’",
                    "verbosity_level": 1
                },
                {
                    "file_name": "dnsconfd-2.1.0/unittests/test_server_uri.c",
                    "line": 129,
                    "column": 12,
                    "event": "note",
                    "message": "(1) entry to ‘test_server_list_to_hash_table_networks_fn’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/unittests/test_server_uri.c",
                    "line": 131,
                    "column": 22,
                    "event": "note",
                    "message": "(2) inlined call to ‘create_test_server’ from ‘test_server_list_to_hash_table_networks_fn’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/unittests/test_server_uri.c",
                    "line": 10,
                    "column": 26,
                    "event": "note",
                    "message": "(3) this call could return NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/unittests/test_server_uri.c",
                    "line": 11,
                    "column": 20,
                    "event": "note",
                    "message": "(4) ‘server’ could be NULL: unchecked value from (3)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "    9|   static server_uri_t *create_test_server(int priority, dns_protocol_t protocol, int dnssec) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   10|     server_uri_t *server = calloc(1, sizeof(server_uri_t));",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   11|->   server->priority = priority;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   12|     server->protocol = protocol;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   13|     server->dnssec = dnssec;",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "CPPCHECK_WARNING",
            "cwe": 476,
            "language": "c/c++",
            "tool": "cppcheck",
            "hash_v1": "03f40eada1f8ea450ffa4883a3f6784644fc1bd1",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "dnsconfd-2.1.0/unittests/test_server_uri.c",
                    "line": 12,
                    "event": "warning[nullPointerOutOfMemory]",
                    "message": "If memory allocation fails, then there is a possible null pointer dereference: server",
                    "verbosity_level": 0
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   10|     server_uri_t *server = calloc(1, sizeof(server_uri_t));",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   11|     server->priority = priority;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   12|->   server->protocol = protocol;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   13|     server->dnssec = dnssec;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   14|     return server;",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "CPPCHECK_WARNING",
            "cwe": 476,
            "language": "c/c++",
            "tool": "cppcheck",
            "hash_v1": "8115e8bf5fc675418fc5988243f1b4504185c1ac",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "dnsconfd-2.1.0/unittests/test_server_uri.c",
                    "line": 13,
                    "event": "warning[nullPointerOutOfMemory]",
                    "message": "If memory allocation fails, then there is a possible null pointer dereference: server",
                    "verbosity_level": 0
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   11|     server->priority = priority;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   12|     server->protocol = protocol;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   13|->   server->dnssec = dnssec;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   14|     return server;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   15|   }",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "CPPCHECK_WARNING",
            "cwe": 476,
            "language": "c/c++",
            "tool": "cppcheck",
            "hash_v1": "3278ac3fcda91b168514d60849835263f4fd300e",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "dnsconfd-2.1.0/unittests/test_server_uri.c",
                    "line": 50,
                    "event": "warning[nullPointerOutOfMemory]",
                    "message": "If memory allocation fails, then there is a possible null pointer dereference: uri",
                    "verbosity_level": 0
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   48|     int ret = server_uri_t_init_from_string(\"dns+udp://127.0.0.1:53\", uri);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   49|     ck_assert_int_eq(ret, 0);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   50|->   ck_assert_int_eq(uri->protocol, DNS_UDP);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   51|   ",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   52|     struct sockaddr_in *s4 = (struct sockaddr_in *)&uri->address;",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "CPPCHECK_WARNING",
            "cwe": 476,
            "language": "c/c++",
            "tool": "cppcheck",
            "hash_v1": "2156be5e7b641b9439f5334baff777c3c0c06b64",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "dnsconfd-2.1.0/unittests/test_unbound_manager.c",
                    "line": 15,
                    "event": "warning[nullPointerOutOfMemory]",
                    "message": "If memory allocation fails, then there is a possible null pointer dereference: server",
                    "verbosity_level": 0
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   13|                                      const char *interface) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   14|     server_uri_t *server = calloc(1, sizeof(server_uri_t));",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   15|->   server->priority = priority;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   16|     server->protocol = protocol;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   17|     server->dnssec = dnssec;",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "GCC_ANALYZER_WARNING",
            "cwe": 476,
            "language": "c/c++",
            "tool": "gcc-analyzer",
            "hash_v1": "38aebb9791dc727226b81ffa9542dc2099e04478",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "dnsconfd-2.1.0/unittests/test_unbound_manager.c",
                    "line": 15,
                    "column": 20,
                    "event": "warning[-Wanalyzer-possible-null-dereference]",
                    "message": "dereference of possibly-NULL ‘server’",
                    "verbosity_level": 0
                },
                {
                    "file_name": "dnsconfd-2.1.0/unittests/test_unbound_manager.c",
                    "line": 0,
                    "event": "scope_hint",
                    "message": "In function ‘test_get_used_servers_mixed_fn’",
                    "verbosity_level": 1
                },
                {
                    "file_name": "dnsconfd-2.1.0/unittests/test_unbound_manager.c",
                    "line": 175,
                    "column": 12,
                    "event": "note",
                    "message": "(1) entry to ‘test_get_used_servers_mixed_fn’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/unittests/test_unbound_manager.c",
                    "line": 177,
                    "column": 22,
                    "event": "note",
                    "message": "(2) inlined call to ‘create_server’ from ‘test_get_used_servers_mixed_fn’",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/unittests/test_unbound_manager.c",
                    "line": 14,
                    "column": 26,
                    "event": "note",
                    "message": "(3) this call could return NULL",
                    "verbosity_level": 2
                },
                {
                    "file_name": "dnsconfd-2.1.0/unittests/test_unbound_manager.c",
                    "line": 15,
                    "column": 20,
                    "event": "note",
                    "message": "(4) ‘server’ could be NULL: unchecked value from (3)",
                    "verbosity_level": 2
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   13|                                      const char *interface) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   14|     server_uri_t *server = calloc(1, sizeof(server_uri_t));",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   15|->   server->priority = priority;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   16|     server->protocol = protocol;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   17|     server->dnssec = dnssec;",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "CPPCHECK_WARNING",
            "cwe": 476,
            "language": "c/c++",
            "tool": "cppcheck",
            "hash_v1": "ef6adec186b51f4eebbd162dccf4a08e4946cb36",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "dnsconfd-2.1.0/unittests/test_unbound_manager.c",
                    "line": 16,
                    "event": "warning[nullPointerOutOfMemory]",
                    "message": "If memory allocation fails, then there is a possible null pointer dereference: server",
                    "verbosity_level": 0
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   14|     server_uri_t *server = calloc(1, sizeof(server_uri_t));",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   15|     server->priority = priority;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   16|->   server->protocol = protocol;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   17|     server->dnssec = dnssec;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   18|     if (interface) {",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "CPPCHECK_WARNING",
            "cwe": 476,
            "language": "c/c++",
            "tool": "cppcheck",
            "hash_v1": "59431aa2130a111e11a3ad5e310cb6f244d06554",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "dnsconfd-2.1.0/unittests/test_unbound_manager.c",
                    "line": 17,
                    "event": "warning[nullPointerOutOfMemory]",
                    "message": "If memory allocation fails, then there is a possible null pointer dereference: server",
                    "verbosity_level": 0
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   15|     server->priority = priority;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   16|     server->protocol = protocol;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   17|->   server->dnssec = dnssec;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   18|     if (interface) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   19|       strncpy(server->interface, interface, IFNAMSIZ - 1);",
                    "verbosity_level": 1
                }
            ]
        },
        {
            "checker": "CPPCHECK_WARNING",
            "cwe": 476,
            "language": "c/c++",
            "tool": "cppcheck",
            "hash_v1": "e66678c4c3e940f377cfef6891184cdac98a1cc9",
            "key_event_idx": 0,
            "events": [
                {
                    "file_name": "dnsconfd-2.1.0/unittests/test_unbound_manager.c",
                    "line": 19,
                    "event": "warning[nullPointerOutOfMemory]",
                    "message": "If memory allocation fails, then there is a possible null pointer dereference: server",
                    "verbosity_level": 0
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   17|     server->dnssec = dnssec;",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   18|     if (interface) {",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   19|->     strncpy(server->interface, interface, IFNAMSIZ - 1);",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   20|     }",
                    "verbosity_level": 1
                },
                {
                    "file_name": "",
                    "line": 0,
                    "event": "#",
                    "message": "   21|     return server;",
                    "verbosity_level": 1
                }
            ]
        }
    ]
}
