Task #18839 - udisks2-2.11.0-1.20241023061043503539.pr1326.12.g14f03ed4/scan-results.js
back to task #18839download
{ "scan": { "analyzer-version-clippy": "1.82.0", "analyzer-version-cppcheck": "2.15.0", "analyzer-version-gcc": "14.2.1", "analyzer-version-gcc-analyzer": "14.2.1", "analyzer-version-shellcheck": "0.10.0", "analyzer-version-unicontrol": "0.0.2", "enabled-plugins": "clippy, cppcheck, gcc, shellcheck, unicontrol", "exit-code": 0, "host": "ip-172-16-1-206.us-west-2.compute.internal", "mock-config": "fedora-rawhide-x86_64", "project-name": "udisks2-2.11.0-1.20241023061043503539.pr1326.12.g14f03ed4", "store-results-to": "/tmp/tmpubw0yt9j/udisks2-2.11.0-1.20241023061043503539.pr1326.12.g14f03ed4.tar.xz", "time-created": "2024-10-23 06:40:07", "time-finished": "2024-10-23 06:45:44", "tool": "csmock", "tool-args": "'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'clippy,gcc,cppcheck,shellcheck,unicontrol' '-o' '/tmp/tmpubw0yt9j/udisks2-2.11.0-1.20241023061043503539.pr1326.12.g14f03ed4.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '/tmp/tmpubw0yt9j/udisks2-2.11.0-1.20241023061043503539.pr1326.12.g14f03ed4.src.rpm'", "tool-version": "csmock-3.7.1-1.el9" }, "defects": [ { "checker": "GCC_ANALYZER_WARNING", "cwe": 476, "language": "c/c++", "tool": "gcc-analyzer", "hash_v1": "69743ebb2cf0a8d16d5e01eced1af12a568803f5", "key_event_idx": 1, "events": [ { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lsm/lsm_data.c", "line": 0, "event": "scope_hint", "message": "In function '_fill_pl_id_2_lsm_pl_data_hash'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lsm/lsm_data.c", "line": 587, "column": 31, "event": "warning[-Wanalyzer-null-dereference]", "message": "dereference of NULL 'lsm_pl_array'", "verbosity_level": 0 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lsm/lsm_data.c", "line": 1037, "column": 1, "event": "note", "message": "(1) entry to 'std_lsm_vol_data_get'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lsm/lsm_data.c", "line": 1043, "column": 17, "event": "note", "message": "(2) calling '_lsm_pl_data_lookup' from 'std_lsm_vol_data_get'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lsm/lsm_data.c", "line": 780, "column": 1, "event": "note", "message": "(3) entry to '_lsm_pl_data_lookup'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lsm/lsm_data.c", "line": 792, "column": 6, "event": "note", "message": "(4) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lsm/lsm_data.c", "line": 793, "column": 34, "event": "note", "message": "(5) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lsm/lsm_data.c", "line": 792, "column": 45, "event": "note", "message": "(6) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lsm/lsm_data.c", "line": 796, "column": 19, "event": "note", "message": "(7) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lsm/lsm_data.c", "line": 798, "column": 6, "event": "note", "message": "(8) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lsm/lsm_data.c", "line": 801, "column": 17, "event": "note", "message": "(9) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lsm/lsm_data.c", "line": 803, "column": 6, "event": "note", "message": "(10) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lsm/lsm_data.c", "line": 806, "column": 18, "event": "note", "message": "(11) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lsm/lsm_data.c", "line": 808, "column": 6, "event": "note", "message": "(12) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lsm/lsm_data.c", "line": 813, "column": 22, "event": "note", "message": "(13) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lsm/lsm_data.c", "line": 813, "column": 22, "event": "note", "message": "(14) calling '_get_supported_lsm_pls' from '_lsm_pl_data_lookup'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lsm/lsm_data.c", "line": 527, "column": 1, "event": "note", "message": "(15) entry to '_get_supported_lsm_pls'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lsm/lsm_data.c", "line": 566, "column": 6, "event": "note", "message": "(16) following 'true' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lsm/lsm_data.c", "line": 568, "column": 7, "event": "note", "message": "(17) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lsm/lsm_data.c", "line": 813, "column": 22, "event": "note", "message": "(18) returning to '_lsm_pl_data_lookup' from '_get_supported_lsm_pls'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lsm/lsm_data.c", "line": 814, "column": 3, "event": "note", "message": "(19) calling '_fill_pl_id_2_lsm_pl_data_hash' from '_lsm_pl_data_lookup'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lsm/lsm_data.c", "line": 577, "column": 1, "event": "note", "message": "(20) entry to '_fill_pl_id_2_lsm_pl_data_hash'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lsm/lsm_data.c", "line": 587, "column": 31, "event": "note", "message": "(21) dereference of NULL 'lsm_pl_array'", "verbosity_level": 2 }, { "file_name": "", "line": 0, "event": "#", "message": " 585| guint i;", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 586| ", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 587|-> for (i = 0; i < lsm_pl_array->len; ++i)", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 588| {", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 589| lsm_pl = g_ptr_array_index (lsm_pl_array, i);", "verbosity_level": 1 } ] }, { "checker": "GCC_ANALYZER_WARNING", "cwe": 476, "language": "c/c++", "tool": "gcc-analyzer", "hash_v1": "dfa9d151cae434cd633c2ec33be61be9349e7e60", "key_event_idx": 1, "events": [ { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lvm2/udiskslinuxvolumegroup.c", "line": 0, "event": "scope_hint", "message": "In function 'handle_create_volume'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lvm2/udiskslinuxvolumegroup.c", "line": 1126, "column": 3, "event": "warning[-Wanalyzer-jump-through-null]", "message": "jump through null pointer", "verbosity_level": 0 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lvm2/udiskslinuxvolumegroup.c", "line": 938, "column": 1, "event": "note", "message": "(1) entry to 'handle_create_volume'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lvm2/udiskslinuxvolumegroup.c", "line": 967, "column": 6, "event": "note", "message": "(2) following 'false' branch (when 'vol_creation_type != 0')...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lvm2/udiskslinuxvolumegroup.c", "line": 973, "column": 11, "event": "note", "message": "(3) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lvm2/udiskslinuxvolumegroup.c", "line": 973, "column": 11, "event": "note", "message": "(4) following 'false' branch (when 'vol_creation_type != 2')...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lvm2/udiskslinuxvolumegroup.c", "line": 979, "column": 11, "event": "note", "message": "(5) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lvm2/udiskslinuxvolumegroup.c", "line": 979, "column": 11, "event": "note", "message": "(6) following 'false' branch (when 'vol_creation_type != 1')...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lvm2/udiskslinuxvolumegroup.c", "line": 985, "column": 11, "event": "note", "message": "(7) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lvm2/udiskslinuxvolumegroup.c", "line": 985, "column": 11, "event": "note", "message": "(8) following 'false' branch (when 'vol_creation_type != 3')...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lvm2/udiskslinuxvolumegroup.c", "line": 992, "column": 12, "event": "note", "message": "(9) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lvm2/udiskslinuxvolumegroup.c", "line": 993, "column": 6, "event": "note", "message": "(10) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lvm2/udiskslinuxvolumegroup.c", "line": 999, "column": 12, "event": "note", "message": "(11) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lvm2/udiskslinuxvolumegroup.c", "line": 1001, "column": 6, "event": "note", "message": "(12) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lvm2/udiskslinuxvolumegroup.c", "line": 42, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udisksdaemonutil.h", "line": 147, "column": 9, "event": "note", "message": "(13) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lvm2/udiskslinuxvolumegroup.c", "line": 1013, "column": 3, "event": "note", "message": "in expansion of macro 'UDISKS_DAEMON_CHECK_AUTHORIZATION'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udisksdaemonutil.h", "line": 147, "column": 6, "event": "note", "message": "(14) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lvm2/udiskslinuxvolumegroup.c", "line": 1013, "column": 3, "event": "note", "message": "in expansion of macro 'UDISKS_DAEMON_CHECK_AUTHORIZATION'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lvm2/udiskslinuxvolumegroup.c", "line": 1020, "column": 18, "event": "note", "message": "(15) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lvm2/udiskslinuxvolumegroup.c", "line": 1024, "column": 6, "event": "note", "message": "(16) following 'false' branch (when 'vol_creation_type != 0')...", "verbosity_level": 2 }, { "file_name": "cc1", "line": 0, "event": "note", "message": "(17) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lvm2/udiskslinuxvolumegroup.c", "line": 1072, "column": 6, "event": "note", "message": "(18) following 'false' branch (when 'vol_creation_type != 1')...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lvm2/udiskslinuxvolumegroup.c", "line": 1075, "column": 6, "event": "note", "message": "(19) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lvm2/udiskslinuxvolumegroup.c", "line": 1075, "column": 6, "event": "note", "message": "(20) following 'false' branch (when 'vol_creation_type != 2')...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lvm2/udiskslinuxvolumegroup.c", "line": 1087, "column": 6, "event": "note", "message": "(21) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lvm2/udiskslinuxvolumegroup.c", "line": 1087, "column": 6, "event": "note", "message": "(22) following 'false' branch (when 'vol_creation_type != 3')...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lvm2/udiskslinuxvolumegroup.c", "line": 1097, "column": 8, "event": "note", "message": "(23) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lvm2/udiskslinuxvolumegroup.c", "line": 1097, "column": 6, "event": "note", "message": "(24) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lvm2/udiskslinuxvolumegroup.c", "line": 1116, "column": 16, "event": "note", "message": "(25) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lvm2/udiskslinuxvolumegroup.c", "line": 1116, "column": 16, "event": "note", "message": "(26) calling 'wait_for_logical_volume_path' from 'handle_create_volume'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lvm2/udiskslinuxvolumegroup.c", "line": 901, "column": 1, "event": "note", "message": "(27) entry to 'wait_for_logical_volume_path'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lvm2/udiskslinuxvolumegroup.c", "line": 921, "column": 6, "event": "note", "message": "(28) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lvm2/udiskslinuxvolumegroup.c", "line": 924, "column": 17, "event": "note", "message": "(29) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lvm2/udiskslinuxvolumegroup.c", "line": 1116, "column": 16, "event": "note", "message": "(30) returning to 'handle_create_volume' from 'wait_for_logical_volume_path'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lvm2/udiskslinuxvolumegroup.c", "line": 1117, "column": 6, "event": "note", "message": "(31) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lvm2/udiskslinuxvolumegroup.c", "line": 1126, "column": 3, "event": "note", "message": "(32) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/modules/lvm2/udiskslinuxvolumegroup.c", "line": 1126, "column": 3, "event": "note", "message": "(33) jump through null pointer here", "verbosity_level": 2 }, { "file_name": "", "line": 0, "event": "#", "message": " 1124| }", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 1125| ", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 1126|-> completion_function (_group, invocation, lv_objpath);", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 1127| ", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 1128| out:", "verbosity_level": 1 } ] }, { "checker": "CPPCHECK_WARNING", "cwe": 476, "language": "c/c++", "tool": "cppcheck", "hash_v1": "b89a677f4bcd034084f6a13f6b066a2cebc18fe6", "key_event_idx": 0, "events": [ { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/tests/helper.c", "line": 71, "event": "error[nullPointer]", "message": "Null pointer dereference: p", "verbosity_level": 0 }, { "file_name": "", "line": 0, "event": "#", "message": " 69| const gchar **p = NULL;", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 70| /* coverity[var_deref_op] */", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 71|-> *p = \"fail\";", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 72| }", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 73| g_assert_not_reached ();", "verbosity_level": 1 } ] }, { "checker": "GCC_ANALYZER_WARNING", "cwe": 476, "language": "c/c++", "tool": "gcc-analyzer", "hash_v1": "e75bd77df75f1b1ce0dd7ba40137c5e8ef9690cf", "key_event_idx": 1, "events": [ { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/tests/helper.c", "line": 0, "event": "scope_hint", "message": "In function ‘main’", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/tests/helper.c", "line": 71, "column": 12, "event": "warning[-Wanalyzer-null-dereference]", "message": "dereference of NULL ‘p’", "verbosity_level": 0 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/tests/helper.c", "line": 43, "column": 3, "event": "note", "message": "(1) following ‘case 4:’ branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/tests/helper.c", "line": 65, "column": 5, "event": "note", "message": "(2) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/tests/helper.c", "line": 69, "column": 23, "event": "note", "message": "(3) ‘p’ is NULL", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/tests/helper.c", "line": 71, "column": 12, "event": "note", "message": "(4) dereference of NULL ‘p’", "verbosity_level": 2 }, { "file_name": "", "line": 0, "event": "#", "message": " 69| const gchar **p = NULL;", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 70| /* coverity[var_deref_op] */", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 71|-> *p = \"fail\";", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 72| }", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 73| g_assert_not_reached ();", "verbosity_level": 1 } ] }, { "checker": "COMPILER_WARNING", "language": "c/c++", "tool": "gcc", "key_event_idx": 0, "events": [ { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblock.c", "line": 0, "event": "internal warning", "message": "child 6743 timed out after 30s", "verbosity_level": 0 } ] }, { "checker": "GCC_ANALYZER_WARNING", "cwe": 476, "language": "c/c++", "tool": "gcc-analyzer", "hash_v1": "97d895219607f49f940cdb0aadc507d0a5f0fc33", "key_event_idx": 1, "events": [ { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 0, "event": "scope_hint", "message": "In function 'udisks_linux_block_object_trigger_uevent'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 1024, "column": 16, "event": "warning[-Wanalyzer-null-dereference]", "message": "dereference of NULL '0'", "verbosity_level": 0 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 1016, "column": 1, "event": "note", "message": "(1) entry to 'udisks_linux_block_object_trigger_uevent'", "verbosity_level": 2 }, { "file_name": "/usr/lib64/glib-2.0/include/glibconfig.h", "line": 9, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gtypes.h", "line": 34, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/galloca.h", "line": 34, "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": "/usr/include/glib-2.0/glib/gi18n-lib.h", "line": 23, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 22, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 2673, "column": 6, "event": "note", "message": "(2) following 'false' branch (when 'object' is non-NULL)...", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 8, "event": "note", "message": "in definition of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 651, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 1021, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_if_fail'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 541, "column": 66, "event": "note", "message": "in expansion of macro '_G_TYPE_CIT'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.h", "line": 31, "column": 42, "event": "note", "message": "in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 1021, "column": 21, "event": "note", "message": "in expansion of macro 'UDISKS_IS_LINUX_BLOCK_OBJECT'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 2675, "column": 18, "event": "note", "message": "(3) ...to here", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 8, "event": "note", "message": "in definition of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 651, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 1021, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_if_fail'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 541, "column": 66, "event": "note", "message": "in expansion of macro '_G_TYPE_CIT'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.h", "line": 31, "column": 42, "event": "note", "message": "in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 1021, "column": 21, "event": "note", "message": "in expansion of macro 'UDISKS_IS_LINUX_BLOCK_OBJECT'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 7, "event": "note", "message": "(4) following 'true' branch...", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1247, "column": 31, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 651, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 1021, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_if_fail'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 1023, "column": 12, "event": "note", "message": "(5) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 1023, "column": 12, "event": "note", "message": "(6) calling 'udisks_linux_block_object_get_device' from 'udisks_linux_block_object_trigger_uevent'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 359, "column": 1, "event": "note", "message": "(7) entry to 'udisks_linux_block_object_get_device'", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 2673, "column": 6, "event": "note", "message": "(8) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 8, "event": "note", "message": "in definition of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 363, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 541, "column": 66, "event": "note", "message": "in expansion of macro '_G_TYPE_CIT'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.h", "line": 31, "column": 42, "event": "note", "message": "in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 363, "column": 25, "event": "note", "message": "in expansion of macro 'UDISKS_IS_LINUX_BLOCK_OBJECT'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib.h", "line": 64, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 668, "column": 9, "event": "note", "message": "(9) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 363, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 1023, "column": 12, "event": "note", "message": "(10) returning to 'udisks_linux_block_object_trigger_uevent' from 'udisks_linux_block_object_get_device'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 1024, "column": 16, "event": "note", "message": "(11) dereference of NULL 'udisks_linux_block_object_get_device(object)'", "verbosity_level": 2 }, { "file_name": "", "line": 0, "event": "#", "message": " 1022| ", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 1023| device = udisks_linux_block_object_get_device (object);", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 1024|-> sysfs_path = g_udev_device_get_sysfs_path (device->udev_device);", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 1025| udisks_daemon_util_trigger_uevent (object->daemon, NULL, sysfs_path);", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 1026| g_object_unref (device);", "verbosity_level": 1 } ] }, { "checker": "GCC_ANALYZER_WARNING", "cwe": 476, "language": "c/c++", "tool": "gcc-analyzer", "hash_v1": "97d895219607f49f940cdb0aadc507d0a5f0fc33", "key_event_idx": 1, "events": [ { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 0, "event": "scope_hint", "message": "In function 'udisks_linux_block_object_trigger_uevent_sync'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 1054, "column": 16, "event": "warning[-Wanalyzer-null-dereference]", "message": "dereference of NULL '0'", "verbosity_level": 0 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 1044, "column": 1, "event": "note", "message": "(1) entry to 'udisks_linux_block_object_trigger_uevent_sync'", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 2673, "column": 6, "event": "note", "message": "(2) following 'false' branch (when 'object' is non-NULL)...", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 8, "event": "note", "message": "in definition of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 1051, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 541, "column": 66, "event": "note", "message": "in expansion of macro '_G_TYPE_CIT'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.h", "line": 31, "column": 42, "event": "note", "message": "in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 1051, "column": 25, "event": "note", "message": "in expansion of macro 'UDISKS_IS_LINUX_BLOCK_OBJECT'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 2675, "column": 18, "event": "note", "message": "(3) ...to here", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 8, "event": "note", "message": "in definition of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 1051, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 541, "column": 66, "event": "note", "message": "in expansion of macro '_G_TYPE_CIT'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.h", "line": 31, "column": 42, "event": "note", "message": "in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 1051, "column": 25, "event": "note", "message": "in expansion of macro 'UDISKS_IS_LINUX_BLOCK_OBJECT'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 7, "event": "note", "message": "(4) following 'true' branch...", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1247, "column": 31, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 1051, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 1053, "column": 12, "event": "note", "message": "(5) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 1053, "column": 12, "event": "note", "message": "(6) calling 'udisks_linux_block_object_get_device' from 'udisks_linux_block_object_trigger_uevent_sync'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 359, "column": 1, "event": "note", "message": "(7) entry to 'udisks_linux_block_object_get_device'", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 2673, "column": 6, "event": "note", "message": "(8) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 8, "event": "note", "message": "in definition of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 363, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 541, "column": 66, "event": "note", "message": "in expansion of macro '_G_TYPE_CIT'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.h", "line": 31, "column": 42, "event": "note", "message": "in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 363, "column": 25, "event": "note", "message": "in expansion of macro 'UDISKS_IS_LINUX_BLOCK_OBJECT'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 668, "column": 9, "event": "note", "message": "(9) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 363, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 1053, "column": 12, "event": "note", "message": "(10) returning to 'udisks_linux_block_object_trigger_uevent_sync' from 'udisks_linux_block_object_get_device'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 1054, "column": 16, "event": "note", "message": "(11) dereference of NULL 'udisks_linux_block_object_get_device(object)'", "verbosity_level": 2 }, { "file_name": "", "line": 0, "event": "#", "message": " 1052| ", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 1053| device = udisks_linux_block_object_get_device (object);", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 1054|-> sysfs_path = g_udev_device_get_sysfs_path (device->udev_device);", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 1055| ret = udisks_daemon_util_trigger_uevent_sync (object->daemon, NULL, sysfs_path, timeout_seconds);", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 1056| g_object_unref (device);", "verbosity_level": 1 } ] }, { "checker": "GCC_ANALYZER_WARNING", "cwe": 476, "language": "c/c++", "tool": "gcc-analyzer", "hash_v1": "910411b07c7000fccde9f5c68cbaa8d51303f5ba", "key_event_idx": 1, "events": [ { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 0, "event": "scope_hint", "message": "In function 'udisks_linux_block_object_reread_partition_table'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 1091, "column": 17, "event": "warning[-Wanalyzer-null-dereference]", "message": "dereference of NULL '0'", "verbosity_level": 0 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 1079, "column": 1, "event": "note", "message": "(1) entry to 'udisks_linux_block_object_reread_partition_table'", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 2673, "column": 6, "event": "note", "message": "(2) following 'false' branch (when 'object' is non-NULL)...", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 8, "event": "note", "message": "in definition of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 1087, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 541, "column": 66, "event": "note", "message": "in expansion of macro '_G_TYPE_CIT'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.h", "line": 31, "column": 42, "event": "note", "message": "in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 1087, "column": 25, "event": "note", "message": "in expansion of macro 'UDISKS_IS_LINUX_BLOCK_OBJECT'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 2675, "column": 18, "event": "note", "message": "(3) ...to here", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 8, "event": "note", "message": "in definition of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 1087, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 541, "column": 66, "event": "note", "message": "in expansion of macro '_G_TYPE_CIT'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.h", "line": 31, "column": 42, "event": "note", "message": "in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 1087, "column": 25, "event": "note", "message": "in expansion of macro 'UDISKS_IS_LINUX_BLOCK_OBJECT'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 7, "event": "note", "message": "(4) following 'true' branch...", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1247, "column": 31, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 1087, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 7, "event": "note", "message": "(5) ...to here", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1247, "column": 31, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 562, "column": 8, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 1088, "column": 3, "event": "note", "message": "in expansion of macro 'g_warn_if_fail'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 1090, "column": 12, "event": "note", "message": "(6) calling 'udisks_linux_block_object_get_device' from 'udisks_linux_block_object_reread_partition_table'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 359, "column": 1, "event": "note", "message": "(7) entry to 'udisks_linux_block_object_get_device'", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 2673, "column": 6, "event": "note", "message": "(8) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 8, "event": "note", "message": "in definition of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 363, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 541, "column": 66, "event": "note", "message": "in expansion of macro '_G_TYPE_CIT'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.h", "line": 31, "column": 42, "event": "note", "message": "in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 363, "column": 25, "event": "note", "message": "in expansion of macro 'UDISKS_IS_LINUX_BLOCK_OBJECT'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 668, "column": 9, "event": "note", "message": "(9) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 363, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 1090, "column": 12, "event": "note", "message": "(10) returning to 'udisks_linux_block_object_reread_partition_table' from 'udisks_linux_block_object_get_device'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxblockobject.c", "line": 1091, "column": 17, "event": "note", "message": "(11) dereference of NULL 'udisks_linux_block_object_get_device(object)'", "verbosity_level": 2 }, { "file_name": "", "line": 0, "event": "#", "message": " 1089| ", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 1090| device = udisks_linux_block_object_get_device (object);", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 1091|-> device_file = g_udev_device_get_device_file (device->udev_device);", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 1092| fd = open (device_file, O_RDONLY);", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 1093| if (fd == -1)", "verbosity_level": 1 } ] }, { "checker": "GCC_ANALYZER_WARNING", "cwe": 1341, "language": "c/c++", "tool": "gcc-analyzer", "hash_v1": "f56453268a395931bdf0e77217d311a50896a8eb", "key_event_idx": 1, "events": [ { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 0, "event": "scope_hint", "message": "In function 'handle_power_off'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1690, "column": 11, "event": "warning[-Wanalyzer-fd-double-close]", "message": "double 'close' of file descriptor 'open(udisks_block_get_device(udisks_object_peek_block(udisks_linux_drive_object_get_block(udisks_daemon_util_dup_object(_drive, & error), 0))), 2176)'", "verbosity_level": 0 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1432, "column": 1, "event": "note", "message": "(1) entry to 'handle_power_off'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1455, "column": 6, "event": "note", "message": "(2) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1461, "column": 12, "event": "note", "message": "(3) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1463, "column": 6, "event": "note", "message": "(4) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1471, "column": 11, "event": "note", "message": "(5) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1477, "column": 6, "event": "note", "message": "(6) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "cc1", "line": 0, "event": "note", "message": "(7) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1506, "column": 6, "event": "note", "message": "(8) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1525, "column": 7, "event": "note", "message": "(9) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1535, "column": 6, "event": "note", "message": "(10) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "cc1", "line": 0, "event": "note", "message": "(11) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1587, "column": 8, "event": "note", "message": "(12) opened here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1588, "column": 6, "event": "note", "message": "(13) assuming 'open(udisks_block_get_device(udisks_object_peek_block(udisks_linux_drive_object_get_block(udisks_daemon_util_dup_object(_drive, & error), 0))), 2176)' is a valid file descriptor (>= 0)", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1588, "column": 6, "event": "note", "message": "(14) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1598, "column": 8, "event": "note", "message": "(15) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1598, "column": 8, "event": "note", "message": "(16) calling 'send_scsi_synchronize_cache_command_sync' from 'handle_power_off'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1402, "column": 1, "event": "note", "message": "(17) entry to 'send_scsi_synchronize_cache_command_sync'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1412, "column": 10, "event": "note", "message": "(18) calling 'send_scsi_command_sync' from 'send_scsi_synchronize_cache_command_sync'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1304, "column": 1, "event": "note", "message": "(19) entry to 'send_scsi_command_sync'", "verbosity_level": 2 }, { "file_name": "/usr/lib64/glib-2.0/include/glibconfig.h", "line": 9, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gtypes.h", "line": 34, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/galloca.h", "line": 34, "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": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 22, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 7, "event": "note", "message": "(20) following 'true' branch (when 'fd != -1')...", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1247, "column": 31, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1315, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 7, "event": "note", "message": "(21) ...to here", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1247, "column": 31, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1316, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 7, "event": "note", "message": "(22) following 'false' branch (when 'error' is non-NULL)...", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1247, "column": 31, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1316, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1316, "column": 42, "event": "note", "message": "(23) ...to here", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 8, "event": "note", "message": "in definition of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1316, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1412, "column": 10, "event": "note", "message": "(24) returning to 'send_scsi_synchronize_cache_command_sync' from 'send_scsi_command_sync'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1598, "column": 8, "event": "note", "message": "(25) returning to 'handle_power_off' from 'send_scsi_synchronize_cache_command_sync'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1598, "column": 6, "event": "note", "message": "(26) following 'true' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 45, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslogging.h", "line": 93, "column": 33, "event": "note", "message": "(27) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1600, "column": 7, "event": "note", "message": "in expansion of macro 'udisks_warning'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1611, "column": 8, "event": "note", "message": "(28) calling 'send_scsi_start_stop_unit_command_sync' from 'handle_power_off'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1416, "column": 1, "event": "note", "message": "(29) entry to 'send_scsi_start_stop_unit_command_sync'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1426, "column": 10, "event": "note", "message": "(30) calling 'send_scsi_command_sync' from 'send_scsi_start_stop_unit_command_sync'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1304, "column": 1, "event": "note", "message": "(31) entry to 'send_scsi_command_sync'", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 7, "event": "note", "message": "(32) following 'true' branch (when 'fd != -1')...", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1247, "column": 31, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1315, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 7, "event": "note", "message": "(33) ...to here", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1247, "column": 31, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1316, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 7, "event": "note", "message": "(34) following 'false' branch (when 'error' is non-NULL)...", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1247, "column": 31, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1316, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1316, "column": 42, "event": "note", "message": "(35) ...to here", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 8, "event": "note", "message": "in definition of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1316, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1426, "column": 10, "event": "note", "message": "(36) returning to 'send_scsi_start_stop_unit_command_sync' from 'send_scsi_command_sync'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1611, "column": 8, "event": "note", "message": "(37) returning to 'handle_power_off' from 'send_scsi_start_stop_unit_command_sync'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1611, "column": 6, "event": "note", "message": "(38) following 'true' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslogging.h", "line": 93, "column": 33, "event": "note", "message": "(39) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1613, "column": 7, "event": "note", "message": "in expansion of macro 'udisks_warning'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1624, "column": 7, "event": "note", "message": "(40) first 'close' here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1624, "column": 6, "event": "note", "message": "(41) following 'true' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1626, "column": 7, "event": "note", "message": "(42) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1688, "column": 6, "event": "note", "message": "(43) following 'true' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxdrive.c", "line": 1690, "column": 11, "event": "note", "message": "(44) ...to here (45) second 'close' here; first 'close' was at (40)", "verbosity_level": 2 }, { "file_name": "", "line": 0, "event": "#", "message": " 1688| if (fd != -1)", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 1689| {", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 1690|-> if (close (fd) != 0)", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 1691| {", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 1692| udisks_warning (\"Error closing device: %m\");", "verbosity_level": 1 } ] }, { "checker": "GCC_ANALYZER_WARNING", "cwe": 688, "language": "c/c++", "tool": "gcc-analyzer", "hash_v1": "46f0c8bb9c01b296ce523ae79b3001e27611e1d7", "key_event_idx": 1, "events": [ { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmanager.c", "line": 0, "event": "scope_hint", "message": "In function 'handle_mdraid_create'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmanager.c", "line": 819, "column": 7, "event": "warning[-Wanalyzer-null-argument]", "message": "use of NULL 'raid_device_file' where non-null expected", "verbosity_level": 0 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmanager.c", "line": 537, "column": 1, "event": "note", "message": "(1) entry to 'handle_mdraid_create'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmanager.c", "line": 567, "column": 6, "event": "note", "message": "(2) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmanager.c", "line": 585, "column": 8, "event": "note", "message": "(3) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmanager.c", "line": 585, "column": 6, "event": "note", "message": "(4) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmanager.c", "line": 597, "column": 9, "event": "note", "message": "(5) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmanager.c", "line": 603, "column": 6, "event": "note", "message": "(6) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "cc1", "line": 0, "event": "note", "message": "(7) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmanager.c", "line": 617, "column": 6, "event": "note", "message": "(8) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmanager.c", "line": 626, "column": 18, "event": "note", "message": "(9) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmanager.c", "line": 626, "column": 6, "event": "note", "message": "(10) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmanager.c", "line": 635, "column": 7, "event": "note", "message": "(11) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmanager.c", "line": 644, "column": 6, "event": "note", "message": "(12) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmanager.c", "line": 652, "column": 17, "event": "note", "message": "(13) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmanager.c", "line": 655, "column": 6, "event": "note", "message": "(14) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "cc1", "line": 0, "event": "note", "message": "(15) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmanager.c", "line": 772, "column": 6, "event": "note", "message": "(16) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmanager.c", "line": 783, "column": 25, "event": "note", "message": "(17) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmanager.c", "line": 783, "column": 6, "event": "note", "message": "(18) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gstring.h", "line": 37, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/giochannel.h", "line": 36, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib.h", "line": 56, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gi18n-lib.h", "line": 23, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmanager.c", "line": 22, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gstrfuncs.h", "line": 324, "column": 21, "event": "note", "message": "(19) inlined call to 'g_strdup_inline' from 'handle_mdraid_create'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmanager.c", "line": 796, "column": 24, "event": "note", "message": "in expansion of macro 'g_strdup'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gstrfuncs.h", "line": 311, "column": 7, "event": "note", "message": "(20) ...to here", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gstrfuncs.h", "line": 311, "column": 6, "event": "note", "message": "(21) following 'true' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmanager.c", "line": 0, "event": "scope_hint", "message": "In function 'handle_mdraid_create'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmanager.c", "line": 799, "column": 3, "event": "note", "message": "(22) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmanager.c", "line": 809, "column": 6, "event": "note", "message": "(23) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmanager.c", "line": 819, "column": 7, "event": "note", "message": "(24) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmanager.c", "line": 819, "column": 7, "event": "note", "message": "(25) argument 1 ('raid_device_file') NULL where non-null expected", "verbosity_level": 2 }, { "file_name": "/usr/include/features.h", "line": 511, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "/usr/include/bits/libc-header-start.h", "line": 33, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "/usr/include/limits.h", "line": 26, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "/usr/lib/gcc/x86_64-redhat-linux/14/include/limits.h", "line": 210, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "/usr/lib/gcc/x86_64-redhat-linux/14/include/syslimits.h", "line": 7, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "/usr/lib/gcc/x86_64-redhat-linux/14/include/limits.h", "line": 34, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "/usr/lib64/glib-2.0/include/glibconfig.h", "line": 11, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gtypes.h", "line": 34, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/galloca.h", "line": 34, "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": "/usr/include/sys/stat.h", "line": 227, "column": 12, "event": "note", "message": "argument 1 of 'stat' must be non-null", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 817| }", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 818| ", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 819|-> if (stat (raid_device_file, &statbuf) != 0)", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 820| {", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 821| g_dbus_method_invocation_return_error (invocation,", "verbosity_level": 1 } ] }, { "checker": "GCC_ANALYZER_WARNING", "cwe": 476, "language": "c/c++", "tool": "gcc-analyzer", "hash_v1": "69861b76c032bdd08cba408e00d22513caa6d527", "key_event_idx": 1, "events": [ { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 0, "event": "scope_hint", "message": "In function 'udisks_linux_calculate_mount_options'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 1276, "column": 21, "event": "warning[-Wanalyzer-null-dereference]", "message": "dereference of NULL 'd'", "verbosity_level": 0 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 1230, "column": 1, "event": "note", "message": "(1) entry to 'udisks_linux_calculate_mount_options'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 1259, "column": 15, "event": "note", "message": "(2) calling 'mount_options_parse_config_file' from 'udisks_linux_calculate_mount_options'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 716, "column": 1, "event": "note", "message": "(3) entry to 'mount_options_parse_config_file'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 722, "column": 6, "event": "note", "message": "(4) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 728, "column": 19, "event": "note", "message": "(5) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 728, "column": 19, "event": "note", "message": "(6) calling 'mount_options_parse_key_file' from 'mount_options_parse_config_file'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 674, "column": 1, "event": "note", "message": "(7) entry to 'mount_options_parse_key_file'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 681, "column": 6, "event": "note", "message": "(8) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 689, "column": 19, "event": "note", "message": "(9) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 728, "column": 19, "event": "note", "message": "(10) returning to 'mount_options_parse_config_file' from 'mount_options_parse_key_file'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 1259, "column": 15, "event": "note", "message": "(11) returning to 'udisks_linux_calculate_mount_options' from 'mount_options_parse_config_file'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 1273, "column": 13, "event": "note", "message": "(12) calling 'compute_drivers' from 'udisks_linux_calculate_mount_options'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 414, "column": 1, "event": "note", "message": "(13) entry to 'compute_drivers'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 428, "column": 6, "event": "note", "message": "(14) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 436, "column": 18, "event": "note", "message": "(15) ...to here", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 7, "event": "note", "message": "(16) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1247, "column": 31, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 437, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib.h", "line": 64, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 668, "column": 9, "event": "note", "message": "(17) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 437, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 1273, "column": 13, "event": "note", "message": "(18) returning to 'udisks_linux_calculate_mount_options' from 'compute_drivers'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 1276, "column": 21, "event": "note", "message": "(19) dereference of NULL 'd'", "verbosity_level": 2 }, { "file_name": "", "line": 0, "event": "#", "message": " 1274| ", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 1275| ptr_array = g_ptr_array_new_with_free_func ((GDestroyNotify) udisks_mount_options_entry_free);", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 1276|-> for (d = drivers; *d; d++)", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 1277| {", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 1278| UDisksMountOptionsEntry *entry;", "verbosity_level": 1 } ] }, { "checker": "GCC_ANALYZER_WARNING", "cwe": 476, "language": "c/c++", "tool": "gcc-analyzer", "hash_v1": "bb1aa03681be074502b3644224926deec6ecb90a", "key_event_idx": 2, "events": [ { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 35, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 0, "event": "scope_hint", "message": "In function 'compute_drivers'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslogging.h", "line": 93, "column": 33, "event": "warning[-Wanalyzer-null-dereference]", "message": "dereference of NULL 'error'", "verbosity_level": 0 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 471, "column": 7, "event": "note", "message": "in expansion of macro 'udisks_warning'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 1230, "column": 1, "event": "note", "message": "(1) entry to 'udisks_linux_calculate_mount_options'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 1244, "column": 11, "event": "note", "message": "(2) 'l_error' is NULL", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 1259, "column": 15, "event": "note", "message": "(3) calling 'mount_options_parse_config_file' from 'udisks_linux_calculate_mount_options'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 716, "column": 1, "event": "note", "message": "(4) entry to 'mount_options_parse_config_file'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 722, "column": 6, "event": "note", "message": "(5) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 728, "column": 19, "event": "note", "message": "(6) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 728, "column": 19, "event": "note", "message": "(7) calling 'mount_options_parse_key_file' from 'mount_options_parse_config_file'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 674, "column": 1, "event": "note", "message": "(8) entry to 'mount_options_parse_key_file'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 681, "column": 6, "event": "note", "message": "(9) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 689, "column": 19, "event": "note", "message": "(10) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 728, "column": 19, "event": "note", "message": "(11) returning to 'mount_options_parse_config_file' from 'mount_options_parse_key_file'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 1259, "column": 15, "event": "note", "message": "(12) returning to 'udisks_linux_calculate_mount_options' from 'mount_options_parse_config_file'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 1273, "column": 13, "event": "note", "message": "(13) calling 'compute_drivers' from 'udisks_linux_calculate_mount_options'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 414, "column": 1, "event": "note", "message": "(14) entry to 'compute_drivers'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 424, "column": 11, "event": "note", "message": "(15) 'error' is NULL", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 428, "column": 6, "event": "note", "message": "(16) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 436, "column": 18, "event": "note", "message": "(17) ...to here", "verbosity_level": 2 }, { "file_name": "/usr/lib64/glib-2.0/include/glibconfig.h", "line": 9, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gtypes.h", "line": 34, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/galloca.h", "line": 34, "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": "/usr/include/glib-2.0/glib/gi18n-lib.h", "line": 23, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 23, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 7, "event": "note", "message": "(18) following 'true' branch...", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1247, "column": 31, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 437, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 438, "column": 13, "event": "note", "message": "(19) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 438, "column": 13, "event": "note", "message": "(20) calling 'compute_block_level_fs_drivers' from 'compute_drivers'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 282, "column": 1, "event": "note", "message": "(21) entry to 'compute_block_level_fs_drivers'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 292, "column": 6, "event": "note", "message": "(22) following 'true' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 296, "column": 11, "event": "note", "message": "(23) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 297, "column": 10, "event": "note", "message": "(24) following 'true' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 298, "column": 19, "event": "note", "message": "(25) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 302, "column": 19, "event": "note", "message": "(26) calling 'get_options_for_block' from 'compute_block_level_fs_drivers'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 178, "column": 1, "event": "note", "message": "(27) entry to 'get_options_for_block'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 187, "column": 6, "event": "note", "message": "(28) following 'false' branch (when 'block' is non-NULL)...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 190, "column": 18, "event": "note", "message": "(29) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 195, "column": 20, "event": "note", "message": "(30) following 'true' branch (when 'l' is non-NULL)...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 197, "column": 13, "event": "note", "message": "(31) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 302, "column": 19, "event": "note", "message": "(32) returning to 'compute_block_level_fs_drivers' from 'get_options_for_block'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 438, "column": 13, "event": "note", "message": "(33) returning to 'compute_drivers' from 'compute_block_level_fs_drivers'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 455, "column": 20, "event": "note", "message": "(34) calling 'mount_options_get_from_udev' from 'compute_drivers'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 736, "column": 1, "event": "note", "message": "(35) entry to 'mount_options_get_from_udev'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 742, "column": 6, "event": "note", "message": "(36) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 749, "column": 19, "event": "note", "message": "(37) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 455, "column": 20, "event": "note", "message": "(38) returning to 'compute_drivers' from 'mount_options_get_from_udev'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 456, "column": 6, "event": "note", "message": "(39) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 472, "column": 28, "event": "note", "message": "(40) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslogging.h", "line": 93, "column": 91, "event": "note", "message": "in definition of macro 'udisks_warning'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 472, "column": 28, "event": "note", "message": "(41) 'error' is NULL", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslogging.h", "line": 93, "column": 91, "event": "note", "message": "in definition of macro 'udisks_warning'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslogging.h", "line": 93, "column": 33, "event": "note", "message": "(42) dereference of NULL 'error'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/src/udiskslinuxmountoptions.c", "line": 471, "column": 7, "event": "note", "message": "in expansion of macro 'udisks_warning'", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 91| * See #UDisksLogLevel for more details.", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 92| */", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 93|-> #define udisks_warning(args...) udisks_log(UDISKS_LOG_LEVEL_WARNING, G_STRFUNC, G_STRLOC, args)", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 94| ", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 95| /**", "verbosity_level": 1 } ] }, { "checker": "GCC_ANALYZER_WARNING", "cwe": 775, "language": "c/c++", "tool": "gcc-analyzer", "hash_v1": "53f7d3a2eb5908c88c09bc82a9bbc7504a102e49", "key_event_idx": 1, "events": [ { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 0, "event": "scope_hint", "message": "In function ‘read_passphrase’", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 937, "column": 11, "event": "warning[-Wanalyzer-file-leak]", "message": "leak of FILE ‘fopen(tty_name, \"r+\")’", "verbosity_level": 0 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3306, "column": 1, "event": "note", "message": "(1) entry to ‘main’", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3321, "column": 3, "event": "note", "message": "(2) inlined call to ‘_color_init’ from ‘main’", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 156, "column": 6, "event": "note", "message": "(3) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "cc1", "line": 0, "event": "note", "message": "(4) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3321, "column": 3, "event": "note", "message": "(5) inlined call to ‘_color_init’ from ‘main’", "verbosity_level": 2 }, { "file_name": "cc1", "line": 0, "event": "note", "message": "(6) calling ‘_color_init.part.0’ from ‘main’", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 0, "event": "scope_hint", "message": "In function ‘read_passphrase’", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 154, "column": 1, "event": "note", "message": "(7) entry to ‘_color_init.part.0’", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 159, "column": 26, "event": "note", "message": "(8) when ‘isatty’ fails", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 159, "column": 53, "event": "note", "message": "(9) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "cc1", "line": 0, "event": "note", "message": "(10) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3321, "column": 3, "event": "note", "message": "(11) inlined call to ‘_color_init’ from ‘main’", "verbosity_level": 2 }, { "file_name": "cc1", "line": 0, "event": "note", "message": "(12) returning to ‘main’ from ‘_color_init.part.0’", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 0, "event": "scope_hint", "message": "In function ‘read_passphrase’", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3325, "column": 6, "event": "note", "message": "(13) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3331, "column": 10, "event": "note", "message": "(14) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3336, "column": 6, "event": "note", "message": "(15) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "cc1", "line": 0, "event": "note", "message": "(16) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3350, "column": 6, "event": "note", "message": "(17) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3363, "column": 12, "event": "note", "message": "(18) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3363, "column": 11, "event": "note", "message": "(19) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3372, "column": 12, "event": "note", "message": "(20) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3372, "column": 11, "event": "note", "message": "(21) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3382, "column": 12, "event": "note", "message": "(22) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3384, "column": 13, "event": "note", "message": "(23) calling ‘handle_command_unlock_lock’ from ‘main’", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1100, "column": 1, "event": "note", "message": "(24) entry to ‘handle_command_unlock_lock’", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1133, "column": 5, "event": "note", "message": "(25) calling ‘modify_argv0_for_command’ from ‘handle_command_unlock_lock’", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3238, "column": 1, "event": "note", "message": "(26) entry to ‘modify_argv0_for_command’", "verbosity_level": 2 }, { "file_name": "/usr/lib64/glib-2.0/include/glibconfig.h", "line": 9, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gtypes.h", "line": 34, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/galloca.h", "line": 34, "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": "/usr/include/glib-2.0/glib/gi18n.h", "line": 23, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 22, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 7, "event": "note", "message": "(27) following ‘true’ branch...", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1247, "column": 31, "event": "note", "message": "in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro ‘_G_BOOLEAN_EXPR’", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gtestutils.h", "line": 276, "column": 49, "event": "note", "message": "in expansion of macro ‘G_LIKELY’", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3248, "column": 3, "event": "note", "message": "in expansion of macro ‘g_assert’", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3249, "column": 3, "event": "note", "message": "(28) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3249, "column": 3, "event": "note", "message": "(29) calling ‘remove_arg’ from ‘modify_argv0_for_command’", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3225, "column": 1, "event": "note", "message": "(30) entry to ‘remove_arg’", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 7, "event": "note", "message": "(31) following ‘true’ branch...", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1247, "column": 31, "event": "note", "message": "in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro ‘_G_BOOLEAN_EXPR’", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gtestutils.h", "line": 276, "column": 49, "event": "note", "message": "in expansion of macro ‘G_LIKELY’", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3229, "column": 3, "event": "note", "message": "in expansion of macro ‘g_assert’", "verbosity_level": 1 }, { "file_name": "cc1", "line": 0, "event": "note", "message": "(32) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3249, "column": 3, "event": "note", "message": "(33) returning to ‘modify_argv0_for_command’ from ‘remove_arg’", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1133, "column": 5, "event": "note", "message": "(34) returning to ‘handle_command_unlock_lock’ from ‘modify_argv0_for_command’", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1181, "column": 6, "event": "note", "message": "(35) following ‘false’ branch (when ‘complete_objects == 0’)...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1209, "column": 6, "event": "note", "message": "(36) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1209, "column": 6, "event": "note", "message": "(37) following ‘false’ branch (when ‘complete_devices == 0’)...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1238, "column": 6, "event": "note", "message": "(38) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1238, "column": 6, "event": "note", "message": "(39) following ‘false’ branch (when ‘request_completion == 0’)...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1241, "column": 35, "event": "note", "message": "(40) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1244, "column": 10, "event": "note", "message": "(41) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1267, "column": 11, "event": "note", "message": "(42) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1269, "column": 6, "event": "note", "message": "(43) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1276, "column": 3, "event": "note", "message": "(44) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1277, "column": 6, "event": "note", "message": "(45) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1283, "column": 7, "event": "note", "message": "(46) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1283, "column": 6, "event": "note", "message": "(47) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1301, "column": 7, "event": "note", "message": "(48) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1301, "column": 6, "event": "note", "message": "(49) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1305, "column": 13, "event": "note", "message": "(50) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1308, "column": 6, "event": "note", "message": "(51) following ‘true’ branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1309, "column": 18, "event": "note", "message": "(52) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1309, "column": 18, "event": "note", "message": "(53) calling ‘read_passphrase’ from ‘handle_command_unlock_lock’", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 893, "column": 1, "event": "note", "message": "(54) entry to ‘read_passphrase’", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 902, "column": 6, "event": "note", "message": "(55) following ‘false’ branch (when ‘tty_name’ is non-NULL)...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 908, "column": 9, "event": "note", "message": "(56) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 908, "column": 9, "event": "note", "message": "(57) opened here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 909, "column": 6, "event": "note", "message": "(58) assuming ‘fopen(tty_name, \"r+\")’ is non-NULL", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 909, "column": 6, "event": "note", "message": "(59) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 915, "column": 3, "event": "note", "message": "(60) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 930, "column": 10, "event": "note", "message": "(61) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 935, "column": 15, "event": "note", "message": "(62) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 937, "column": 11, "event": "note", "message": "(63) ‘fopen(tty_name, \"r+\")’ leaks here; was opened at (57)", "verbosity_level": 2 }, { "file_name": "", "line": 0, "event": "#", "message": " 935| else if (c == EOF)", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 936| {", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 937|-> tcsetattr (fileno (tty), TCSAFLUSH, &ots);", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 938| g_error (\"Unexpected EOF while reading from controlling terminal.\");", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 939| abort ();", "verbosity_level": 1 } ] }, { "checker": "GCC_ANALYZER_WARNING", "cwe": 401, "language": "c/c++", "tool": "gcc-analyzer", "hash_v1": "c6e21db4b3e30cbea88ad329694b470926c8c7e4", "key_event_idx": 0, "events": [ { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 937, "column": 11, "event": "warning[-Wanalyzer-malloc-leak]", "message": "leak of ‘fopen(tty_name, \"r+\")’", "verbosity_level": 0 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3306, "column": 1, "event": "note", "message": "(1) entry to ‘main’", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3321, "column": 3, "event": "note", "message": "(2) inlined call to ‘_color_init’ from ‘main’", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 156, "column": 6, "event": "note", "message": "(3) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "cc1", "line": 0, "event": "note", "message": "(4) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3321, "column": 3, "event": "note", "message": "(5) inlined call to ‘_color_init’ from ‘main’", "verbosity_level": 2 }, { "file_name": "cc1", "line": 0, "event": "note", "message": "(6) calling ‘_color_init.part.0’ from ‘main’", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 0, "event": "scope_hint", "message": "In function ‘read_passphrase’", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 154, "column": 1, "event": "note", "message": "(7) entry to ‘_color_init.part.0’", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 159, "column": 26, "event": "note", "message": "(8) when ‘isatty’ fails", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 159, "column": 53, "event": "note", "message": "(9) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "cc1", "line": 0, "event": "note", "message": "(10) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3321, "column": 3, "event": "note", "message": "(11) inlined call to ‘_color_init’ from ‘main’", "verbosity_level": 2 }, { "file_name": "cc1", "line": 0, "event": "note", "message": "(12) returning to ‘main’ from ‘_color_init.part.0’", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 0, "event": "scope_hint", "message": "In function ‘read_passphrase’", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3325, "column": 6, "event": "note", "message": "(13) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3331, "column": 10, "event": "note", "message": "(14) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3336, "column": 6, "event": "note", "message": "(15) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "cc1", "line": 0, "event": "note", "message": "(16) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3350, "column": 6, "event": "note", "message": "(17) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3363, "column": 12, "event": "note", "message": "(18) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3363, "column": 11, "event": "note", "message": "(19) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3372, "column": 12, "event": "note", "message": "(20) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3372, "column": 11, "event": "note", "message": "(21) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3382, "column": 12, "event": "note", "message": "(22) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3384, "column": 13, "event": "note", "message": "(23) calling ‘handle_command_unlock_lock’ from ‘main’", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1100, "column": 1, "event": "note", "message": "(24) entry to ‘handle_command_unlock_lock’", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1133, "column": 5, "event": "note", "message": "(25) calling ‘modify_argv0_for_command’ from ‘handle_command_unlock_lock’", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3238, "column": 1, "event": "note", "message": "(26) entry to ‘modify_argv0_for_command’", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 7, "event": "note", "message": "(27) following ‘true’ branch...", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1247, "column": 31, "event": "note", "message": "in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro ‘_G_BOOLEAN_EXPR’", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gtestutils.h", "line": 276, "column": 49, "event": "note", "message": "in expansion of macro ‘G_LIKELY’", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3248, "column": 3, "event": "note", "message": "in expansion of macro ‘g_assert’", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3249, "column": 3, "event": "note", "message": "(28) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3249, "column": 3, "event": "note", "message": "(29) calling ‘remove_arg’ from ‘modify_argv0_for_command’", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3225, "column": 1, "event": "note", "message": "(30) entry to ‘remove_arg’", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 7, "event": "note", "message": "(31) following ‘true’ branch...", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1247, "column": 31, "event": "note", "message": "in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro ‘_G_BOOLEAN_EXPR’", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gtestutils.h", "line": 276, "column": 49, "event": "note", "message": "in expansion of macro ‘G_LIKELY’", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3229, "column": 3, "event": "note", "message": "in expansion of macro ‘g_assert’", "verbosity_level": 1 }, { "file_name": "cc1", "line": 0, "event": "note", "message": "(32) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 3249, "column": 3, "event": "note", "message": "(33) returning to ‘modify_argv0_for_command’ from ‘remove_arg’", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1133, "column": 5, "event": "note", "message": "(34) returning to ‘handle_command_unlock_lock’ from ‘modify_argv0_for_command’", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1181, "column": 6, "event": "note", "message": "(35) following ‘false’ branch (when ‘complete_objects == 0’)...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1209, "column": 6, "event": "note", "message": "(36) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1209, "column": 6, "event": "note", "message": "(37) following ‘false’ branch (when ‘complete_devices == 0’)...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1238, "column": 6, "event": "note", "message": "(38) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1238, "column": 6, "event": "note", "message": "(39) following ‘false’ branch (when ‘request_completion == 0’)...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1241, "column": 35, "event": "note", "message": "(40) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1244, "column": 10, "event": "note", "message": "(41) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1267, "column": 11, "event": "note", "message": "(42) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1269, "column": 6, "event": "note", "message": "(43) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1276, "column": 3, "event": "note", "message": "(44) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1277, "column": 6, "event": "note", "message": "(45) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1283, "column": 7, "event": "note", "message": "(46) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1283, "column": 6, "event": "note", "message": "(47) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1301, "column": 7, "event": "note", "message": "(48) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1301, "column": 6, "event": "note", "message": "(49) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1305, "column": 13, "event": "note", "message": "(50) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1308, "column": 6, "event": "note", "message": "(51) following ‘true’ branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1309, "column": 18, "event": "note", "message": "(52) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 1309, "column": 18, "event": "note", "message": "(53) calling ‘read_passphrase’ from ‘handle_command_unlock_lock’", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 893, "column": 1, "event": "note", "message": "(54) entry to ‘read_passphrase’", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 902, "column": 6, "event": "note", "message": "(55) following ‘false’ branch (when ‘tty_name’ is non-NULL)...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 908, "column": 9, "event": "note", "message": "(56) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 908, "column": 9, "event": "note", "message": "(57) allocated here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 909, "column": 6, "event": "note", "message": "(58) assuming ‘fopen(tty_name, \"r+\")’ is non-NULL", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 909, "column": 6, "event": "note", "message": "(59) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 915, "column": 3, "event": "note", "message": "(60) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 930, "column": 10, "event": "note", "message": "(61) following ‘false’ branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 935, "column": 15, "event": "note", "message": "(62) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/tools/udisksctl.c", "line": 937, "column": 11, "event": "note", "message": "(63) ‘fopen(tty_name, \"r+\")’ leaks here; was allocated at (57)", "verbosity_level": 2 }, { "file_name": "", "line": 0, "event": "#", "message": " 935| else if (c == EOF)", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 936| {", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 937|-> tcsetattr (fileno (tty), TCSAFLUSH, &ots);", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 938| g_error (\"Unexpected EOF while reading from controlling terminal.\");", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 939| abort ();", "verbosity_level": 1 } ] }, { "checker": "COMPILER_WARNING", "language": "c/c++", "tool": "gcc", "key_event_idx": 1, "events": [ { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/tmp-introspectrvbatg_y/UDisks-2.0.c", "line": 0, "event": "scope_hint", "message": "In function ‘dump_properties’", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/tmp-introspectrvbatg_y/UDisks-2.0.c", "line": 287, "column": 7, "event": "warning[-Wdeclaration-after-statement]", "message": "ISO C90 forbids mixed declarations and code", "verbosity_level": 0 }, { "file_name": "", "line": 0, "event": "#", "message": " 287 | const GValue *v = g_param_spec_get_default_value (prop);", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " | ^~~~~", "verbosity_level": 1 } ] }, { "checker": "COMPILER_WARNING", "language": "c/c++", "tool": "gcc", "key_event_idx": 1, "events": [ { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/tmp-introspectrvbatg_y/UDisks-2.0.c", "line": 0, "event": "scope_hint", "message": "In function ‘dump_irepository’", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/tmp-introspectrvbatg_y/UDisks-2.0.c", "line": 654, "column": 3, "event": "warning[-Wdeclaration-after-statement]", "message": "ISO C90 forbids mixed declarations and code", "verbosity_level": 0 }, { "file_name": "", "line": 0, "event": "#", "message": " 654 | const char *input_filename = args[0];", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " | ^~~~~", "verbosity_level": 1 } ] }, { "checker": "GCC_ANALYZER_WARNING", "cwe": 476, "language": "c/c++", "tool": "gcc-analyzer", "hash_v1": "acba53800692d9860d6a11f24a3fc29d23a450a6", "key_event_idx": 1, "events": [ { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 0, "event": "scope_hint", "message": "In function 'udisks_client_get_object_info_for_mdraid'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 391, "column": 16, "event": "warning[-Wanalyzer-null-dereference]", "message": "dereference of NULL 'info'", "verbosity_level": 0 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 896, "column": 1, "event": "note", "message": "(1) entry to 'udisks_client_get_object_info'", "verbosity_level": 2 }, { "file_name": "/usr/lib64/glib-2.0/include/glibconfig.h", "line": 9, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gtypes.h", "line": 34, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/galloca.h", "line": 34, "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": "/usr/include/glib-2.0/glib/gi18n-lib.h", "line": 23, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 22, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 2673, "column": 6, "event": "note", "message": "(2) following 'false' branch (when 'client' is non-NULL)...", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 8, "event": "note", "message": "in definition of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 906, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 541, "column": 66, "event": "note", "message": "in expansion of macro '_G_TYPE_CIT'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksclient.h", "line": 35, "column": 30, "event": "note", "message": "in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 906, "column": 25, "event": "note", "message": "in expansion of macro 'UDISKS_IS_CLIENT'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 2675, "column": 18, "event": "note", "message": "(3) ...to here", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 8, "event": "note", "message": "in definition of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 906, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 541, "column": 66, "event": "note", "message": "in expansion of macro '_G_TYPE_CIT'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksclient.h", "line": 35, "column": 30, "event": "note", "message": "in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 906, "column": 25, "event": "note", "message": "in expansion of macro 'UDISKS_IS_CLIENT'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 7, "event": "note", "message": "(4) following 'true' branch...", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1247, "column": 31, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 906, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisks-generated.h", "line": 9257, "column": 29, "event": "note", "message": "(5) ...to here", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 8, "event": "note", "message": "in definition of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 907, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 541, "column": 66, "event": "note", "message": "in expansion of macro '_G_TYPE_CIT'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisks-generated.h", "line": 9259, "column": 30, "event": "note", "message": "in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisks-generated.h", "line": 9259, "column": 63, "event": "note", "message": "in expansion of macro 'UDISKS_TYPE_OBJECT'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 907, "column": 25, "event": "note", "message": "in expansion of macro 'UDISKS_IS_OBJECT'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 2673, "column": 6, "event": "note", "message": "(6) following 'false' branch (when 'object' is non-NULL)...", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 8, "event": "note", "message": "in definition of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 907, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 541, "column": 66, "event": "note", "message": "in expansion of macro '_G_TYPE_CIT'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisks-generated.h", "line": 9259, "column": 30, "event": "note", "message": "in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 907, "column": 25, "event": "note", "message": "in expansion of macro 'UDISKS_IS_OBJECT'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 2675, "column": 18, "event": "note", "message": "(7) ...to here", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 8, "event": "note", "message": "in definition of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 907, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 541, "column": 66, "event": "note", "message": "in expansion of macro '_G_TYPE_CIT'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisks-generated.h", "line": 9259, "column": 30, "event": "note", "message": "in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 907, "column": 25, "event": "note", "message": "in expansion of macro 'UDISKS_IS_OBJECT'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 7, "event": "note", "message": "(8) following 'true' branch...", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1247, "column": 31, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 907, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 909, "column": 9, "event": "note", "message": "(9) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 909, "column": 9, "event": "note", "message": "(10) calling 'udisks_object_info_new' from 'udisks_client_get_object_info'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 127, "column": 1, "event": "note", "message": "(11) entry to 'udisks_object_info_new'", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 7, "event": "note", "message": "(12) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1247, "column": 31, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 131, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib.h", "line": 64, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 668, "column": 9, "event": "note", "message": "(13) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 131, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 909, "column": 9, "event": "note", "message": "(14) returning to 'udisks_client_get_object_info' from 'udisks_object_info_new'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 915, "column": 6, "event": "note", "message": "(15) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 919, "column": 11, "event": "note", "message": "(16) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 919, "column": 11, "event": "note", "message": "(17) following 'true' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 921, "column": 7, "event": "note", "message": "(18) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 921, "column": 7, "event": "note", "message": "(19) calling 'udisks_client_get_object_info_for_mdraid' from 'udisks_client_get_object_info'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 370, "column": 1, "event": "note", "message": "(20) entry to 'udisks_client_get_object_info_for_mdraid'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 385, "column": 6, "event": "note", "message": "(21) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 388, "column": 10, "event": "note", "message": "(22) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 389, "column": 7, "event": "note", "message": "(23) when '__builtin_strchr' returns non-NULL", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 390, "column": 6, "event": "note", "message": "(24) following 'true' branch...", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gstring.h", "line": 37, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/giochannel.h", "line": 36, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib.h", "line": 56, "event": "included_from", "message": "Included from here.", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 391, "column": 30, "event": "note", "message": "(25) ...to here", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gstrfuncs.h", "line": 324, "column": 38, "event": "note", "message": "in definition of macro 'g_strdup'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 391, "column": 16, "event": "note", "message": "(26) dereference of NULL 'info'", "verbosity_level": 2 }, { "file_name": "", "line": 0, "event": "#", "message": " 389| s = strstr (name, \":\");", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 390| if (s != NULL && strlen (s) > 1)", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 391|-> info->name = g_strdup (s + 1);", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 392| else", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 393| info->name = g_strdup (name);", "verbosity_level": 1 } ] }, { "checker": "GCC_ANALYZER_WARNING", "cwe": 476, "language": "c/c++", "tool": "gcc-analyzer", "hash_v1": "8227fe1b570f00bdb14e19a26c859fff9c76cae1", "key_event_idx": 0, "events": [ { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 393, "column": 16, "event": "warning[-Wanalyzer-null-dereference]", "message": "dereference of NULL 'info'", "verbosity_level": 0 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 896, "column": 1, "event": "note", "message": "(1) entry to 'udisks_client_get_object_info'", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 2673, "column": 6, "event": "note", "message": "(2) following 'false' branch (when 'client' is non-NULL)...", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 8, "event": "note", "message": "in definition of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 906, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 541, "column": 66, "event": "note", "message": "in expansion of macro '_G_TYPE_CIT'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksclient.h", "line": 35, "column": 30, "event": "note", "message": "in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 906, "column": 25, "event": "note", "message": "in expansion of macro 'UDISKS_IS_CLIENT'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 2675, "column": 18, "event": "note", "message": "(3) ...to here", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 8, "event": "note", "message": "in definition of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 906, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 541, "column": 66, "event": "note", "message": "in expansion of macro '_G_TYPE_CIT'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksclient.h", "line": 35, "column": 30, "event": "note", "message": "in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 906, "column": 25, "event": "note", "message": "in expansion of macro 'UDISKS_IS_CLIENT'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 7, "event": "note", "message": "(4) following 'true' branch...", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1247, "column": 31, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 906, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisks-generated.h", "line": 9257, "column": 29, "event": "note", "message": "(5) ...to here", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 8, "event": "note", "message": "in definition of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 907, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 541, "column": 66, "event": "note", "message": "in expansion of macro '_G_TYPE_CIT'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisks-generated.h", "line": 9259, "column": 30, "event": "note", "message": "in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisks-generated.h", "line": 9259, "column": 63, "event": "note", "message": "in expansion of macro 'UDISKS_TYPE_OBJECT'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 907, "column": 25, "event": "note", "message": "in expansion of macro 'UDISKS_IS_OBJECT'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 2673, "column": 6, "event": "note", "message": "(6) following 'false' branch (when 'object' is non-NULL)...", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 8, "event": "note", "message": "in definition of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 907, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 541, "column": 66, "event": "note", "message": "in expansion of macro '_G_TYPE_CIT'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisks-generated.h", "line": 9259, "column": 30, "event": "note", "message": "in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 907, "column": 25, "event": "note", "message": "in expansion of macro 'UDISKS_IS_OBJECT'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 2675, "column": 18, "event": "note", "message": "(7) ...to here", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 8, "event": "note", "message": "in definition of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 907, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 541, "column": 66, "event": "note", "message": "in expansion of macro '_G_TYPE_CIT'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisks-generated.h", "line": 9259, "column": 30, "event": "note", "message": "in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 907, "column": 25, "event": "note", "message": "in expansion of macro 'UDISKS_IS_OBJECT'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 7, "event": "note", "message": "(8) following 'true' branch...", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1247, "column": 31, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 907, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 909, "column": 9, "event": "note", "message": "(9) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 909, "column": 9, "event": "note", "message": "(10) calling 'udisks_object_info_new' from 'udisks_client_get_object_info'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 127, "column": 1, "event": "note", "message": "(11) entry to 'udisks_object_info_new'", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 7, "event": "note", "message": "(12) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1247, "column": 31, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 131, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 668, "column": 9, "event": "note", "message": "(13) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 131, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 909, "column": 9, "event": "note", "message": "(14) returning to 'udisks_client_get_object_info' from 'udisks_object_info_new'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 915, "column": 6, "event": "note", "message": "(15) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 919, "column": 11, "event": "note", "message": "(16) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 919, "column": 11, "event": "note", "message": "(17) following 'true' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 921, "column": 7, "event": "note", "message": "(18) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 921, "column": 7, "event": "note", "message": "(19) calling 'udisks_client_get_object_info_for_mdraid' from 'udisks_client_get_object_info'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 370, "column": 1, "event": "note", "message": "(20) entry to 'udisks_client_get_object_info_for_mdraid'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 385, "column": 6, "event": "note", "message": "(21) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 388, "column": 10, "event": "note", "message": "(22) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 389, "column": 7, "event": "note", "message": "(23) when '__builtin_strchr' returns NULL", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 390, "column": 6, "event": "note", "message": "(24) following 'false' branch (when 's' is NULL)...", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gstrfuncs.h", "line": 324, "column": 21, "event": "note", "message": "(25) inlined call to 'g_strdup_inline' from 'udisks_client_get_object_info_for_mdraid'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 393, "column": 18, "event": "note", "message": "in expansion of macro 'g_strdup'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gstrfuncs.h", "line": 314, "column": 48, "event": "note", "message": "(26) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 0, "event": "scope_hint", "message": "In function 'udisks_client_get_object_info_for_mdraid'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 393, "column": 16, "event": "note", "message": "(27) dereference of NULL 'info'", "verbosity_level": 2 }, { "file_name": "", "line": 0, "event": "#", "message": " 391| info->name = g_strdup (s + 1);", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 392| else", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 393|-> info->name = g_strdup (name);", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 394| info->icon = g_themed_icon_new_with_default_fallbacks (\"drive-multidisk\");", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 395| info->icon_symbolic = g_themed_icon_new_with_default_fallbacks (\"drive-multidisk-symbolic\");", "verbosity_level": 1 } ] }, { "checker": "GCC_ANALYZER_WARNING", "cwe": 476, "language": "c/c++", "tool": "gcc-analyzer", "hash_v1": "237bcbc48104ad98609f7cbc48a6e098760f33af", "key_event_idx": 1, "events": [ { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 0, "event": "scope_hint", "message": "In function 'udisks_client_get_object_info_for_drive'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 556, "column": 14, "event": "warning[-Wanalyzer-null-dereference]", "message": "dereference of NULL 'info'", "verbosity_level": 0 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 896, "column": 1, "event": "note", "message": "(1) entry to 'udisks_client_get_object_info'", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 2673, "column": 6, "event": "note", "message": "(2) following 'false' branch (when 'client' is non-NULL)...", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 8, "event": "note", "message": "in definition of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 906, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 541, "column": 66, "event": "note", "message": "in expansion of macro '_G_TYPE_CIT'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksclient.h", "line": 35, "column": 30, "event": "note", "message": "in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 906, "column": 25, "event": "note", "message": "in expansion of macro 'UDISKS_IS_CLIENT'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 2675, "column": 18, "event": "note", "message": "(3) ...to here", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 8, "event": "note", "message": "in definition of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 906, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 541, "column": 66, "event": "note", "message": "in expansion of macro '_G_TYPE_CIT'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksclient.h", "line": 35, "column": 30, "event": "note", "message": "in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 906, "column": 25, "event": "note", "message": "in expansion of macro 'UDISKS_IS_CLIENT'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 7, "event": "note", "message": "(4) following 'true' branch...", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1247, "column": 31, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 906, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisks-generated.h", "line": 9257, "column": 29, "event": "note", "message": "(5) ...to here", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 8, "event": "note", "message": "in definition of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 907, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 541, "column": 66, "event": "note", "message": "in expansion of macro '_G_TYPE_CIT'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisks-generated.h", "line": 9259, "column": 30, "event": "note", "message": "in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisks-generated.h", "line": 9259, "column": 63, "event": "note", "message": "in expansion of macro 'UDISKS_TYPE_OBJECT'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 907, "column": 25, "event": "note", "message": "in expansion of macro 'UDISKS_IS_OBJECT'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 2673, "column": 6, "event": "note", "message": "(6) following 'false' branch (when 'object' is non-NULL)...", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 8, "event": "note", "message": "in definition of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 907, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 541, "column": 66, "event": "note", "message": "in expansion of macro '_G_TYPE_CIT'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisks-generated.h", "line": 9259, "column": 30, "event": "note", "message": "in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 907, "column": 25, "event": "note", "message": "in expansion of macro 'UDISKS_IS_OBJECT'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 2675, "column": 18, "event": "note", "message": "(7) ...to here", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 8, "event": "note", "message": "in definition of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 907, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 541, "column": 66, "event": "note", "message": "in expansion of macro '_G_TYPE_CIT'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisks-generated.h", "line": 9259, "column": 30, "event": "note", "message": "in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 907, "column": 25, "event": "note", "message": "in expansion of macro 'UDISKS_IS_OBJECT'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 7, "event": "note", "message": "(8) following 'true' branch...", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1247, "column": 31, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 907, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 909, "column": 9, "event": "note", "message": "(9) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 909, "column": 9, "event": "note", "message": "(10) calling 'udisks_object_info_new' from 'udisks_client_get_object_info'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 127, "column": 1, "event": "note", "message": "(11) entry to 'udisks_object_info_new'", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 7, "event": "note", "message": "(12) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1247, "column": 31, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 664, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 131, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 668, "column": 9, "event": "note", "message": "(13) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 131, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_val_if_fail'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 909, "column": 9, "event": "note", "message": "(14) returning to 'udisks_client_get_object_info' from 'udisks_object_info_new'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 915, "column": 6, "event": "note", "message": "(15) following 'true' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 917, "column": 7, "event": "note", "message": "(16) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 917, "column": 7, "event": "note", "message": "(17) calling 'udisks_client_get_object_info_for_drive' from 'udisks_client_get_object_info'", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 507, "column": 1, "event": "note", "message": "(18) entry to 'udisks_client_get_object_info_for_drive'", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 2673, "column": 6, "event": "note", "message": "(19) following 'false' branch (when 'drive' is non-NULL)...", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 8, "event": "note", "message": "in definition of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 651, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 531, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_if_fail'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 541, "column": 66, "event": "note", "message": "in expansion of macro '_G_TYPE_CIT'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisks-generated.h", "line": 760, "column": 29, "event": "note", "message": "in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 531, "column": 21, "event": "note", "message": "in expansion of macro 'UDISKS_IS_DRIVE'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 2675, "column": 18, "event": "note", "message": "(20) ...to here", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 8, "event": "note", "message": "in definition of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 651, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 531, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_if_fail'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/gobject/gtype.h", "line": 541, "column": 66, "event": "note", "message": "in expansion of macro '_G_TYPE_CIT'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisks-generated.h", "line": 760, "column": 29, "event": "note", "message": "in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 531, "column": 21, "event": "note", "message": "in expansion of macro 'UDISKS_IS_DRIVE'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1241, "column": 7, "event": "note", "message": "(21) following 'true' branch...", "verbosity_level": 2 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1247, "column": 31, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR_IMPL'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmacros.h", "line": 1248, "column": 43, "event": "note", "message": "in expansion of macro '_G_BOOLEAN_EXPR'", "verbosity_level": 1 }, { "file_name": "/usr/include/glib-2.0/glib/gmessages.h", "line": 651, "column": 9, "event": "note", "message": "in expansion of macro 'G_LIKELY'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 531, "column": 3, "event": "note", "message": "in expansion of macro 'g_return_if_fail'", "verbosity_level": 1 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 535, "column": 12, "event": "note", "message": "(22) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 541, "column": 6, "event": "note", "message": "(23) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 543, "column": 11, "event": "note", "message": "(24) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 552, "column": 6, "event": "note", "message": "(25) following 'false' branch...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 554, "column": 22, "event": "note", "message": "(26) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 556, "column": 16, "event": "note", "message": "(27) following 'true' branch (when 'vendor' is non-NULL)...", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 556, "column": 16, "event": "note", "message": "(28) ...to here", "verbosity_level": 2 }, { "file_name": "udisks2-2.11.0-build/udisks-2.11.0/udisks/udisksobjectinfo.c", "line": 556, "column": 14, "event": "note", "message": "(29) dereference of NULL 'info'", "verbosity_level": 2 }, { "file_name": "", "line": 0, "event": "#", "message": " 554| if (strlen (model) == 0)", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 555| model = NULL;", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 556|-> info->name = g_strdup_printf (\"%s%s%s\",", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 557| vendor != NULL ? vendor : \"\",", "verbosity_level": 1 }, { "file_name": "", "line": 0, "event": "#", "message": " 558| vendor != NULL ? \" \" : \"\",", "verbosity_level": 1 } ] } ] }