Task #13676 - libblockdev-3.2.0-1.20240926142521813787.pr1063.14.ge02104ad/scan-results.err
back to task #13676download
Error: GCC_ANALYZER_WARNING (CWE-688): libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/crypto.c: scope_hint: In function 'bd_crypto_escrow_device' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/crypto.c:3322:56: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected /usr/include/glib-2.0/glib/gstring.h:37: included_from: Included from here. /usr/include/glib-2.0/glib/giochannel.h:36: included_from: Included from here. /usr/include/glib-2.0/glib.h:56: included_from: Included from here. libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/crypto.c:21: included_from: Included from here. libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/crypto.c:3309:23: note: in expansion of macro 'g_strdup' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/crypto.c: scope_hint: In function 'bd_crypto_escrow_device' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/crypto.c:3321:22: note: in expansion of macro 'g_strdup' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/crypto.c: scope_hint: In function 'bd_crypto_escrow_device' <built-in>: note: argument 1 of '__builtin_strlen' must be non-null # 3320| # 3321| cert_data_copy = g_strdup (cert_data); # 3322|-> cert = CERT_DecodeCertFromPackage (cert_data_copy, strlen (cert_data_copy)); # 3323| if (!cert) { # 3324| g_set_error (&l_error, BD_CRYPTO_ERROR, BD_CRYPTO_ERROR_CERT_DECODE, Error: GCC_ANALYZER_WARNING (CWE-775): libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/loop.c: scope_hint: In function 'bd_loop_info' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/loop.c:157:10: warning[-Wanalyzer-fd-leak]: leak of file descriptor 'open(<unknown>, 0)' # 155| dev_loop = g_strdup_printf ("/dev/%s", loop); # 156| # 157|-> fd = open (dev_loop ? dev_loop : loop, O_RDONLY); # 158| if (fd < 0) { # 159| g_set_error (error, BD_LOOP_ERROR, BD_LOOP_ERROR_DEVICE, Error: GCC_ANALYZER_WARNING (CWE-476): libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c: scope_hint: In function 'bd_nvme_get_controller_info' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:492:17: warning[-Wanalyzer-null-dereference]: dereference of NULL '0' /usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here. /usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here. /usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here. /usr/include/glib-2.0/glib.h:32: included_from: Included from here. libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:20: included_from: Included from here. /usr/include/glib-2.0/glib/gmacros.h:1247:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL' /usr/include/glib-2.0/glib/gmacros.h:1248:43: note: in expansion of macro '_G_BOOLEAN_EXPR' /usr/include/glib-2.0/glib/gmessages.h:562:8: note: in expansion of macro 'G_LIKELY' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:479:5: note: in expansion of macro 'g_warn_if_fail' /usr/include/glib-2.0/glib.h:64: included_from: Included from here. libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:479:5: note: in expansion of macro 'g_warn_if_fail' # 490| # 491| info = g_new0 (BDNVMEControllerInfo, 1); # 492|-> if ((ctrl_id->cmic & NVME_CTRL_CMIC_MULTI_PORT) == NVME_CTRL_CMIC_MULTI_PORT) # 493| info->features |= BD_NVME_CTRL_FEAT_MULTIPORT; # 494| if ((ctrl_id->cmic & NVME_CTRL_CMIC_MULTI_CTRL) == NVME_CTRL_CMIC_MULTI_CTRL) Error: GCC_ANALYZER_WARNING (CWE-476): libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c: scope_hint: In function 'bd_nvme_get_namespace_info' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:636:50: warning[-Wanalyzer-null-dereference]: dereference of NULL '0' /usr/lib64/glib-2.0/include/glibconfig.h:163:45: note: in definition of macro 'GUINT32_TO_LE' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:636:26: note: in expansion of macro 'GUINT32_FROM_LE' /usr/include/glib-2.0/glib/gmacros.h:1247:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL' /usr/include/glib-2.0/glib/gmacros.h:1248:43: note: in expansion of macro '_G_BOOLEAN_EXPR' /usr/include/glib-2.0/glib/gmessages.h:562:8: note: in expansion of macro 'G_LIKELY' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:620:5: note: in expansion of macro 'g_warn_if_fail' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:620:5: note: in expansion of macro 'g_warn_if_fail' /usr/include/glib-2.0/glib/gmacros.h:1247:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL' /usr/include/glib-2.0/glib/gmacros.h:1248:43: note: in expansion of macro '_G_BOOLEAN_EXPR' /usr/include/glib-2.0/glib/gmessages.h:562:8: note: in expansion of macro 'G_LIKELY' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:632:5: note: in expansion of macro 'g_warn_if_fail' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:632:5: note: in expansion of macro 'g_warn_if_fail' /usr/lib64/glib-2.0/include/glibconfig.h:163:45: note: in definition of macro 'GUINT32_TO_LE' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:636:26: note: in expansion of macro 'GUINT32_FROM_LE' /usr/lib64/glib-2.0/include/glibconfig.h:163:45: note: in definition of macro 'GUINT32_TO_LE' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:636:26: note: in expansion of macro 'GUINT32_FROM_LE' # 634| # 635| /* send the NVME_IDENTIFY_CNS_NS_DESC_LIST ioctl, NVMe 1.3 */ # 636|-> if (ret_ctrl == 0 && GUINT32_FROM_LE (ctrl_id->ver) >= 0x10300) { # 637| descs = _nvme_alloc (NVME_IDENTIFY_DATA_SIZE); # 638| g_warn_if_fail (descs != NULL); Error: GCC_ANALYZER_WARNING (CWE-476): libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:652:43: warning[-Wanalyzer-null-dereference]: dereference of NULL '0' /usr/lib64/glib-2.0/include/glibconfig.h:168:45: note: in definition of macro 'GUINT64_TO_LE' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:652:19: note: in expansion of macro 'GUINT64_FROM_LE' /usr/include/glib-2.0/glib/gmacros.h:1247:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL' /usr/include/glib-2.0/glib/gmacros.h:1248:43: note: in expansion of macro '_G_BOOLEAN_EXPR' /usr/include/glib-2.0/glib/gmessages.h:562:8: note: in expansion of macro 'G_LIKELY' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:620:5: note: in expansion of macro 'g_warn_if_fail' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:620:5: note: in expansion of macro 'g_warn_if_fail' /usr/include/glib-2.0/glib/gmacros.h:1247:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL' /usr/include/glib-2.0/glib/gmacros.h:1248:43: note: in expansion of macro '_G_BOOLEAN_EXPR' /usr/include/glib-2.0/glib/gmessages.h:562:8: note: in expansion of macro 'G_LIKELY' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:632:5: note: in expansion of macro 'g_warn_if_fail' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:632:5: note: in expansion of macro 'g_warn_if_fail' /usr/lib64/glib-2.0/include/glibconfig.h:168:45: note: in definition of macro 'GUINT64_TO_LE' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:652:19: note: in expansion of macro 'GUINT64_FROM_LE' # 650| info = g_new0 (BDNVMENamespaceInfo, 1); # 651| info->nsid = nsid; # 652|-> info->nsize = GUINT64_FROM_LE (ns_info->nsze); # 653| info->ncap = GUINT64_FROM_LE (ns_info->ncap); # 654| info->nuse = GUINT64_FROM_LE (ns_info->nuse); Error: GCC_ANALYZER_WARNING (CWE-476): libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c: scope_hint: In function 'bd_nvme_get_smart_log' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:791:19: warning[-Wanalyzer-null-dereference]: dereference of NULL '0' /usr/include/glib-2.0/glib/gmacros.h:1247:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL' /usr/include/glib-2.0/glib/gmacros.h:1248:43: note: in expansion of macro '_G_BOOLEAN_EXPR' /usr/include/glib-2.0/glib/gmessages.h:562:8: note: in expansion of macro 'G_LIKELY' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:766:5: note: in expansion of macro 'g_warn_if_fail' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:766:5: note: in expansion of macro 'g_warn_if_fail' /usr/include/glib-2.0/glib/gmacros.h:1247:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL' /usr/include/glib-2.0/glib/gmacros.h:1248:43: note: in expansion of macro '_G_BOOLEAN_EXPR' /usr/include/glib-2.0/glib/gmessages.h:562:8: note: in expansion of macro 'G_LIKELY' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:778:5: note: in expansion of macro 'g_warn_if_fail' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:778:5: note: in expansion of macro 'g_warn_if_fail' # 789| # 790| log = g_new0 (BDNVMESmartLog, 1); # 791|-> if ((smart_log->critical_warning & NVME_SMART_CRIT_SPARE) == NVME_SMART_CRIT_SPARE) # 792| log->critical_warning |= BD_NVME_SMART_CRITICAL_WARNING_SPARE; # 793| if ((smart_log->critical_warning & NVME_SMART_CRIT_TEMPERATURE) == NVME_SMART_CRIT_TEMPERATURE) Error: GCC_ANALYZER_WARNING (CWE-476): libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:822:47: warning[-Wanalyzer-null-dereference]: dereference of NULL '0' /usr/lib64/glib-2.0/include/glibconfig.h:158:45: note: in definition of macro 'GUINT16_TO_LE' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:822:23: note: in expansion of macro 'GUINT16_FROM_LE' /usr/include/glib-2.0/glib/gmacros.h:1247:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL' /usr/include/glib-2.0/glib/gmacros.h:1248:43: note: in expansion of macro '_G_BOOLEAN_EXPR' /usr/include/glib-2.0/glib/gmessages.h:562:8: note: in expansion of macro 'G_LIKELY' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:766:5: note: in expansion of macro 'g_warn_if_fail' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:766:5: note: in expansion of macro 'g_warn_if_fail' /usr/include/glib-2.0/glib/gmacros.h:1247:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL' /usr/include/glib-2.0/glib/gmacros.h:1248:43: note: in expansion of macro '_G_BOOLEAN_EXPR' /usr/include/glib-2.0/glib/gmessages.h:562:8: note: in expansion of macro 'G_LIKELY' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:778:5: note: in expansion of macro 'g_warn_if_fail' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c: scope_hint: In function 'bd_nvme_get_smart_log' /usr/lib64/glib-2.0/include/glibconfig.h:158:45: note: in definition of macro 'GUINT16_TO_LE' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:817:32: note: in expansion of macro 'GUINT16_FROM_LE' /usr/lib64/glib-2.0/include/glibconfig.h:158:45: note: in definition of macro 'GUINT16_TO_LE' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:822:23: note: in expansion of macro 'GUINT16_FROM_LE' # 820| # 821| if (ret_identify == 0) { # 822|-> log->wctemp = GUINT16_FROM_LE (ctrl_id->wctemp); # 823| log->cctemp = GUINT16_FROM_LE (ctrl_id->cctemp); # 824| } Error: GCC_ANALYZER_WARNING (CWE-476): libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c: scope_hint: In function 'bd_nvme_get_error_log_entries' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:881:19: warning[-Wanalyzer-null-dereference]: dereference of NULL '0' /usr/include/glib-2.0/glib/gmacros.h:1247:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL' /usr/include/glib-2.0/glib/gmacros.h:1248:43: note: in expansion of macro '_G_BOOLEAN_EXPR' /usr/include/glib-2.0/glib/gmessages.h:562:8: note: in expansion of macro 'G_LIKELY' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:871:5: note: in expansion of macro 'g_warn_if_fail' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:871:5: note: in expansion of macro 'g_warn_if_fail' # 879| } # 880| # 881|-> elpe = ctrl_id->elpe + 1; # 882| free (ctrl_id); # 883| Error: GCC_ANALYZER_WARNING (CWE-476): libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:900:40: warning[-Wanalyzer-null-dereference]: dereference of NULL '0' /usr/lib64/glib-2.0/include/glibconfig.h:168:45: note: in definition of macro 'GUINT64_TO_LE' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:900:13: note: in expansion of macro 'GUINT64_FROM_LE' /usr/include/glib-2.0/glib/gmacros.h:1247:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL' /usr/include/glib-2.0/glib/gmacros.h:1248:43: note: in expansion of macro '_G_BOOLEAN_EXPR' /usr/include/glib-2.0/glib/gmessages.h:562:8: note: in expansion of macro 'G_LIKELY' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:871:5: note: in expansion of macro 'g_warn_if_fail' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c: scope_hint: In function 'bd_nvme_get_error_log_entries' /usr/include/glib-2.0/glib/gmacros.h:1247:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL' /usr/include/glib-2.0/glib/gmacros.h:1248:43: note: in expansion of macro '_G_BOOLEAN_EXPR' /usr/include/glib-2.0/glib/gmessages.h:562:8: note: in expansion of macro 'G_LIKELY' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:886:5: note: in expansion of macro 'g_warn_if_fail' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:886:5: note: in expansion of macro 'g_warn_if_fail' /usr/lib64/glib-2.0/include/glibconfig.h:168:45: note: in definition of macro 'GUINT64_TO_LE' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:900:13: note: in expansion of macro 'GUINT64_FROM_LE' /usr/lib64/glib-2.0/include/glibconfig.h:168:45: note: in definition of macro 'GUINT64_TO_LE' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:900:13: note: in expansion of macro 'GUINT64_FROM_LE' /usr/lib64/glib-2.0/include/glibconfig.h:168:45: note: in definition of macro 'GUINT64_TO_LE' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:900:13: note: in expansion of macro 'GUINT64_FROM_LE' # 898| ptr_array = g_ptr_array_new (); # 899| for (i = 0; i < elpe; i++) { # 900|-> if (GUINT64_FROM_LE (err_log[i].error_count) > 0) { # 901| BDNVMEErrorLogEntry *entry; # 902| Error: GCC_ANALYZER_WARNING (CWE-476): libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c: scope_hint: In function 'bd_nvme_get_self_test_log' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:964:26: warning[-Wanalyzer-null-dereference]: dereference of NULL '0' /usr/include/glib-2.0/glib/gmacros.h:1247:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL' /usr/include/glib-2.0/glib/gmacros.h:1248:43: note: in expansion of macro '_G_BOOLEAN_EXPR' /usr/include/glib-2.0/glib/gmessages.h:562:8: note: in expansion of macro 'G_LIKELY' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:952:5: note: in expansion of macro 'g_warn_if_fail' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:952:5: note: in expansion of macro 'g_warn_if_fail' # 962| # 963| log = g_new0 (BDNVMESelfTestLog, 1); # 964|-> switch (self_test_log->current_operation & NVME_ST_CURR_OP_MASK) { # 965| case NVME_ST_CURR_OP_NOT_RUNNING: # 966| log->current_operation = BD_NVME_SELF_TEST_ACTION_NOT_RUNNING; Error: GCC_ANALYZER_WARNING (CWE-476): libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c: scope_hint: In function 'bd_nvme_get_sanitize_log' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:1109:11: warning[-Wanalyzer-null-dereference]: dereference of NULL '0' /usr/include/glib-2.0/glib/gmacros.h:1247:31: note: in expansion of macro '_G_BOOLEAN_EXPR_IMPL' /usr/include/glib-2.0/glib/gmacros.h:1248:43: note: in expansion of macro '_G_BOOLEAN_EXPR' /usr/include/glib-2.0/glib/gmessages.h:562:8: note: in expansion of macro 'G_LIKELY' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:1096:5: note: in expansion of macro 'g_warn_if_fail' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/nvme/nvme-info.c:1096:5: note: in expansion of macro 'g_warn_if_fail' # 1107| log = g_new0 (BDNVMESanitizeLog, 1); # 1108| log->sanitize_progress = 0; # 1109|-> sstat = GUINT16_FROM_LE (sanitize_log->sstat); # 1110| if ((sstat & NVME_SANITIZE_SSTAT_STATUS_MASK) == NVME_SANITIZE_SSTAT_STATUS_IN_PROGESS) # 1111| log->sanitize_progress = ((gdouble) GUINT16_FROM_LE (sanitize_log->sprog) * 100) / 0x10000; Error: GCC_ANALYZER_WARNING (CWE-476): libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/part.c: scope_hint: In function 'bd_part_delete_part' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/part.c:1367:55: warning[-Wanalyzer-null-dereference]: dereference of NULL 'l_error' # 1365| part_num = get_part_num (part, &l_error); # 1366| if (part_num == -1) { # 1367|-> bd_utils_report_finished (progress_id, l_error->message); # 1368| g_propagate_error (error, l_error); # 1369| return FALSE; Error: GCC_ANALYZER_WARNING (CWE-476): libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/part.c: scope_hint: In function 'bd_part_resize_part' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/part.c:1529:55: warning[-Wanalyzer-null-dereference]: dereference of NULL 'l_error' # 1527| part_num = get_part_num (part, &l_error); # 1528| if (part_num == -1) { # 1529|-> bd_utils_report_finished (progress_id, l_error->message); # 1530| g_propagate_error (error, l_error); # 1531| return FALSE; Error: GCC_ANALYZER_WARNING (CWE-476): libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/part.c: scope_hint: In function 'bd_part_set_part_name' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/part.c:1845:55: warning[-Wanalyzer-null-dereference]: dereference of NULL 'l_error' # 1843| if (part_num == -1) { # 1844| close_context (cxt); # 1845|-> bd_utils_report_finished (progress_id, l_error->message); # 1846| g_propagate_error (error, l_error); # 1847| return FALSE; Error: GCC_ANALYZER_WARNING (CWE-476): libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/part.c: scope_hint: In function 'bd_part_set_part_type' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/part.c:1926:55: warning[-Wanalyzer-null-dereference]: dereference of NULL 'l_error' # 1924| part_num = get_part_num (part, &l_error); # 1925| if (part_num == -1) { # 1926|-> bd_utils_report_finished (progress_id, l_error->message); # 1927| g_propagate_error (error, l_error); # 1928| return FALSE; Error: GCC_ANALYZER_WARNING (CWE-476): libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/part.c: scope_hint: In function 'bd_part_set_part_id' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/part.c:1985:55: warning[-Wanalyzer-null-dereference]: dereference of NULL 'l_error' # 1983| part_num = get_part_num (part, &l_error); # 1984| if (part_num == -1) { # 1985|-> bd_utils_report_finished (progress_id, l_error->message); # 1986| g_propagate_error (error, l_error); # 1987| return FALSE; Error: GCC_ANALYZER_WARNING (CWE-476): libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/part.c: scope_hint: In function 'bd_part_set_part_uuid' libblockdev-3.2.0-build/libblockdev-3.2.0/src/plugins/part.c:2076:55: warning[-Wanalyzer-null-dereference]: dereference of NULL 'l_error' # 2074| if (part_num == -1) { # 2075| close_context (cxt); # 2076|-> bd_utils_report_finished (progress_id, l_error->message); # 2077| g_propagate_error (error, l_error); # 2078| return FALSE;