gdk-pixbuf2-2.42.12-1.fc41
List of Defects
Error: CPPCHECK_WARNING: [#def1]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf-animation.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def2]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf-csource.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def3]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf-data.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def4]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf-io.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def5]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf-io.c:544:9: warning[unix.Malloc]: Potential leak of memory pointed to by 'module'
# 542| g_free (line_buf);
# 543| }
# 544|-> g_string_free (tmp_buf, TRUE);
# 545| g_io_channel_unref (channel);
# 546|
Error: CPPCHECK_WARNING: [#def6]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf-loader.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def7]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf-loader.c:412:20: warning[core.NullDereference]: Access to field 'module_name' results in a dereference of a null pointer (loaded from field 'image_module')
# 410|
# 411| g_warning ("Bug! loader '%s' didn't set an error on failure",
# 412|-> priv->image_module->module_name);
# 413| g_set_error (error,
# 414| GDK_PIXBUF_ERROR,
Error: CPPCHECK_WARNING: [#def8]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf-pixdata.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def9]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf-scale.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def10]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf-util.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def11]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def12]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf.c: scope_hint: In function ‘gdk_pixbuf_copy’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf.c:674:9: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
/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.
/usr/include/glib-2.0/gobject/gbinding.h:30: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf-private.h:31: included_from: Included from here.
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf.c:171: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf.c:661:9: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf-core.h:93:39: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf.c:661:31: note: in expansion of macro ‘GDK_IS_PIXBUF’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf.c:661:9: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf-core.h:93:39: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf.c:661:31: note: in expansion of macro ‘GDK_IS_PIXBUF’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf.c:661:9: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf.c:1021:9: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf-core.h:93:39: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf.c:1021:31: note: in expansion of macro ‘GDK_IS_PIXBUF’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf.c:1021:9: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf-core.h:93:39: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf.c:1021:31: note: in expansion of macro ‘GDK_IS_PIXBUF’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf.c:906:9: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf-core.h:93:39: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf.c:906:31: note: in expansion of macro ‘GDK_IS_PIXBUF’
/usr/include/glib-2.0/glib.h:64: included_from: Included from here.
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf.c:906:9: note: in expansion of macro ‘g_return_val_if_fail’
<built-in>: note: argument 2 of ‘__builtin_memcpy’ must be non-null
# 672| return NULL;
# 673|
# 674|-> memcpy (buf, gdk_pixbuf_read_pixels (pixbuf), size);
# 675|
# 676| return gdk_pixbuf_new_from_data (buf,
Error: GCC_ANALYZER_WARNING (CWE-476): [#def13]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf.c: scope_hint: In function ‘gdk_pixbuf_fill’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf.c:1086:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf.c:1064:9: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf-core.h:93:39: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf.c:1064:27: note: in expansion of macro ‘GDK_IS_PIXBUF’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf.c:1064:9: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf-core.h:93:39: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf.c:1064:27: note: in expansion of macro ‘GDK_IS_PIXBUF’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf.c:1064:9: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf.c:879:9: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf-core.h:93:39: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf.c:879:31: note: in expansion of macro ‘GDK_IS_PIXBUF’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf.c:879:9: note: in expansion of macro ‘g_return_val_if_fail’
# 1084| case 3:
# 1085| while (w--) {
# 1086|-> p[0] = r;
# 1087| p[1] = g;
# 1088| p[2] = b;
Error: GCC_ANALYZER_WARNING (CWE-476): [#def14]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf.c:1094:38: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf.c:1064:9: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf-core.h:93:39: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf.c:1064:27: note: in expansion of macro ‘GDK_IS_PIXBUF’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf.c:1064:9: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf-core.h:93:39: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf.c:1064:27: note: in expansion of macro ‘GDK_IS_PIXBUF’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf.c:1064:9: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf.c:879:9: note: in expansion of macro ‘g_return_val_if_fail’
/usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf-core.h:93:39: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf.c:879:31: note: in expansion of macro ‘GDK_IS_PIXBUF’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixbuf.c:879:9: note: in expansion of macro ‘g_return_val_if_fail’
# 1092| case 4:
# 1093| while (w--) {
# 1094|-> p[0] = r;
# 1095| p[1] = g;
# 1096| p[2] = b;
Error: CPPCHECK_WARNING: [#def15]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/gdk-pixdata.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def16]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/io-gif-animation.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def17]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/io-jpeg.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def18]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/io-png.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def19]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/io-png.c: scope_hint: In function ‘real_save_png’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/io-png.c:970:52: warning[-Wanalyzer-null-argument]: use of NULL ‘value’ 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.
/usr/include/glib-2.0/gobject/gbinding.h:30: included_from: Included from here.
/usr/include/glib-2.0/glib-object.h:24: included_from: Included from here.
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/io-png.c:30: included_from: Included from here.
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/io-png.c:968:45: note: in expansion of macro ‘g_strdup’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/io-png.c: scope_hint: In function ‘real_save_png’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
# 968| text.text = g_strdup (value);
# 969| text.text_length = 0;
# 970|-> text.itxt_length = strlen (value);
# 971| text.lang = NULL;
# 972| text.lang_key = NULL;
Error: CPPCHECK_WARNING: [#def20]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/io-tiff.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def21]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/lzw.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def22]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def23]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:1205:3: note: Taking true branch
# 1203| int remaining, c, d, i;
# 1204|
# 1205|-> if (correction != 0)
# 1206| {
# 1207| remaining = correction;
Error: CLANG_WARNING: [#def24]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:1205:7: note: Assuming 'correction' is not equal to 0
# 1203| int remaining, c, d, i;
# 1204|
# 1205|-> if (correction != 0)
# 1206| {
# 1207| remaining = correction;
Error: CLANG_WARNING: [#def25]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:1208:7: note: Loop condition is true. Entering loop body
# 1206| {
# 1207| remaining = correction;
# 1208|-> for (d = 1, c = correction; c != 0 && remaining != 0; d++, c = correction / d)
# 1209| for (i = n_x * n_y - 1; i >= 0 && c != 0 && remaining != 0; i--)
# 1210| if (*(weights + i) + c >= 0)
Error: CLANG_WARNING: [#def26]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:1208:35: note: 'c' is not equal to 0
# 1206| {
# 1207| remaining = correction;
# 1208|-> for (d = 1, c = correction; c != 0 && remaining != 0; d++, c = correction / d)
# 1209| for (i = n_x * n_y - 1; i >= 0 && c != 0 && remaining != 0; i--)
# 1210| if (*(weights + i) + c >= 0)
Error: CLANG_WARNING: [#def27]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:1208:35: note: Assuming 'c' is not equal to 0
# 1206| {
# 1207| remaining = correction;
# 1208|-> for (d = 1, c = correction; c != 0 && remaining != 0; d++, c = correction / d)
# 1209| for (i = n_x * n_y - 1; i >= 0 && c != 0 && remaining != 0; i--)
# 1210| if (*(weights + i) + c >= 0)
Error: CLANG_WARNING: [#def28]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:1208:35: note: Left side of '&&' is true
# 1206| {
# 1207| remaining = correction;
# 1208|-> for (d = 1, c = correction; c != 0 && remaining != 0; d++, c = correction / d)
# 1209| for (i = n_x * n_y - 1; i >= 0 && c != 0 && remaining != 0; i--)
# 1210| if (*(weights + i) + c >= 0)
Error: CLANG_WARNING: [#def29]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:1208:45: note: 'remaining' is not equal to 0
# 1206| {
# 1207| remaining = correction;
# 1208|-> for (d = 1, c = correction; c != 0 && remaining != 0; d++, c = correction / d)
# 1209| for (i = n_x * n_y - 1; i >= 0 && c != 0 && remaining != 0; i--)
# 1210| if (*(weights + i) + c >= 0)
Error: CLANG_WARNING: [#def30]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:1209:2: note: Loop condition is true. Entering loop body
# 1207| remaining = correction;
# 1208| for (d = 1, c = correction; c != 0 && remaining != 0; d++, c = correction / d)
# 1209|-> for (i = n_x * n_y - 1; i >= 0 && c != 0 && remaining != 0; i--)
# 1210| if (*(weights + i) + c >= 0)
# 1211| {
Error: CLANG_WARNING: [#def31]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:1209:26: note: 'i' is >= 0
# 1207| remaining = correction;
# 1208| for (d = 1, c = correction; c != 0 && remaining != 0; d++, c = correction / d)
# 1209|-> for (i = n_x * n_y - 1; i >= 0 && c != 0 && remaining != 0; i--)
# 1210| if (*(weights + i) + c >= 0)
# 1211| {
Error: CLANG_WARNING: [#def32]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:1209:26: note: Assuming 'i' is < 0
# 1207| remaining = correction;
# 1208| for (d = 1, c = correction; c != 0 && remaining != 0; d++, c = correction / d)
# 1209|-> for (i = n_x * n_y - 1; i >= 0 && c != 0 && remaining != 0; i--)
# 1210| if (*(weights + i) + c >= 0)
# 1211| {
Error: CLANG_WARNING: [#def33]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:1209:26: note: Assuming 'i' is >= 0
# 1207| remaining = correction;
# 1208| for (d = 1, c = correction; c != 0 && remaining != 0; d++, c = correction / d)
# 1209|-> for (i = n_x * n_y - 1; i >= 0 && c != 0 && remaining != 0; i--)
# 1210| if (*(weights + i) + c >= 0)
# 1211| {
Error: CLANG_WARNING: [#def34]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:1209:26: note: Left side of '&&' is true
# 1207| remaining = correction;
# 1208| for (d = 1, c = correction; c != 0 && remaining != 0; d++, c = correction / d)
# 1209|-> for (i = n_x * n_y - 1; i >= 0 && c != 0 && remaining != 0; i--)
# 1210| if (*(weights + i) + c >= 0)
# 1211| {
Error: CLANG_WARNING: [#def35]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:1209:33: note: Left side of '&&' is false
# 1207| remaining = correction;
# 1208| for (d = 1, c = correction; c != 0 && remaining != 0; d++, c = correction / d)
# 1209|-> for (i = n_x * n_y - 1; i >= 0 && c != 0 && remaining != 0; i--)
# 1210| if (*(weights + i) + c >= 0)
# 1211| {
Error: CLANG_WARNING: [#def36]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:1209:36: note: 'c' is not equal to 0
# 1207| remaining = correction;
# 1208| for (d = 1, c = correction; c != 0 && remaining != 0; d++, c = correction / d)
# 1209|-> for (i = n_x * n_y - 1; i >= 0 && c != 0 && remaining != 0; i--)
# 1210| if (*(weights + i) + c >= 0)
# 1211| {
Error: CLANG_WARNING: [#def37]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:1209:46: note: 'remaining' is not equal to 0
# 1207| remaining = correction;
# 1208| for (d = 1, c = correction; c != 0 && remaining != 0; d++, c = correction / d)
# 1209|-> for (i = n_x * n_y - 1; i >= 0 && c != 0 && remaining != 0; i--)
# 1210| if (*(weights + i) + c >= 0)
# 1211| {
Error: CLANG_WARNING: [#def38]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:1210:4: note: Taking false branch
# 1208| for (d = 1, c = correction; c != 0 && remaining != 0; d++, c = correction / d)
# 1209| for (i = n_x * n_y - 1; i >= 0 && c != 0 && remaining != 0; i--)
# 1210|-> if (*(weights + i) + c >= 0)
# 1211| {
# 1212| *(weights + i) += c;
Error: CLANG_WARNING: [#def39]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:1210:8: note: Assuming the condition is false
# 1208| for (d = 1, c = correction; c != 0 && remaining != 0; d++, c = correction / d)
# 1209| for (i = n_x * n_y - 1; i >= 0 && c != 0 && remaining != 0; i--)
# 1210|-> if (*(weights + i) + c >= 0)
# 1211| {
# 1212| *(weights + i) += c;
Error: CLANG_WARNING: [#def40]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:1210:23: note: The left operand of '+' is a garbage value
# 1208| for (d = 1, c = correction; c != 0 && remaining != 0; d++, c = correction / d)
# 1209| for (i = n_x * n_y - 1; i >= 0 && c != 0 && remaining != 0; i--)
# 1210|-> if (*(weights + i) + c >= 0)
# 1211| {
# 1212| *(weights + i) += c;
Error: CLANG_WARNING: [#def41]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:1210:23: warning[core.UndefinedBinaryOperatorResult]: The left operand of '+' is a garbage value
# 1208| for (d = 1, c = correction; c != 0 && remaining != 0; d++, c = correction / d)
# 1209| for (i = n_x * n_y - 1; i >= 0 && c != 0 && remaining != 0; i--)
# 1210|-> if (*(weights + i) + c >= 0)
# 1211| {
# 1212| *(weights + i) += c;
Error: CLANG_WARNING: [#def42]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:1230:3: note: Taking false branch
# 1228|
# 1229| /* check n_x doesn't overflow */
# 1230|-> if (G_MAXINT / (SUBSAMPLE * SUBSAMPLE) < n_x)
# 1231| return NULL;
# 1232|
Error: CLANG_WARNING: [#def43]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:1234:3: note: Taking false branch
# 1232|
# 1233| /* check n_y doesn't overflow */
# 1234|-> if (G_MAXINT / (SUBSAMPLE * SUBSAMPLE * n_x) < n_y)
# 1235| return NULL;
# 1236|
Error: CLANG_WARNING: [#def44]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:1234:7: note: Assuming the condition is false
# 1232|
# 1233| /* check n_y doesn't overflow */
# 1234|-> if (G_MAXINT / (SUBSAMPLE * SUBSAMPLE * n_x) < n_y)
# 1235| return NULL;
# 1236|
Error: CLANG_WARNING: [#def45]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:1237:13: note: '__s' is not equal to 1
# 1235| return NULL;
# 1236|
# 1237|-> weights = g_try_new (int, SUBSAMPLE * SUBSAMPLE * n_x * n_y);
# 1238| if (!weights)
# 1239| return NULL; /* overflow, bail */
Error: CLANG_WARNING: [#def46]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:1237:13: note: Left side of '&&' is false
# 1235| return NULL;
# 1236|
# 1237|-> weights = g_try_new (int, SUBSAMPLE * SUBSAMPLE * n_x * n_y);
# 1238| if (!weights)
# 1239| return NULL; /* overflow, bail */
Error: CLANG_WARNING: [#def47]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:1237:13: note: Storing uninitialized value
# 1235| return NULL;
# 1236|
# 1237|-> weights = g_try_new (int, SUBSAMPLE * SUBSAMPLE * n_x * n_y);
# 1238| if (!weights)
# 1239| return NULL; /* overflow, bail */
Error: CLANG_WARNING: [#def48]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:1237:13: note: Taking false branch
# 1235| return NULL;
# 1236|
# 1237|-> weights = g_try_new (int, SUBSAMPLE * SUBSAMPLE * n_x * n_y);
# 1238| if (!weights)
# 1239| return NULL; /* overflow, bail */
Error: CLANG_WARNING: [#def49]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:1238:3: note: Taking false branch
# 1236|
# 1237| weights = g_try_new (int, SUBSAMPLE * SUBSAMPLE * n_x * n_y);
# 1238|-> if (!weights)
# 1239| return NULL; /* overflow, bail */
# 1240|
Error: CLANG_WARNING: [#def50]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:1238:7: note: Assuming 'weights' is non-null
# 1236|
# 1237| weights = g_try_new (int, SUBSAMPLE * SUBSAMPLE * n_x * n_y);
# 1238|-> if (!weights)
# 1239| return NULL; /* overflow, bail */
# 1240|
Error: CLANG_WARNING: [#def51]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:1241:3: note: Loop condition is true. Entering loop body
# 1239| return NULL; /* overflow, bail */
# 1240|
# 1241|-> for (i_offset=0; i_offset < SUBSAMPLE; i_offset++)
# 1242| for (j_offset=0; j_offset < SUBSAMPLE; j_offset++)
# 1243| {
Error: CLANG_WARNING: [#def52]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:1242:5: note: Loop condition is true. Entering loop body
# 1240|
# 1241| for (i_offset=0; i_offset < SUBSAMPLE; i_offset++)
# 1242|-> for (j_offset=0; j_offset < SUBSAMPLE; j_offset++)
# 1243| {
# 1244| double weight;
Error: CLANG_WARNING: [#def53]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:1249:9: note: Loop condition is false. Execution continues on line 1261
# 1247| int i, j;
# 1248|
# 1249|-> for (i=0; i < n_y; i++)
# 1250| for (j=0; j < n_x; j++)
# 1251| {
Error: CLANG_WARNING: [#def54]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:1249:19: note: Assuming 'i' is >= 'n_y'
# 1247| int i, j;
# 1248|
# 1249|-> for (i=0; i < n_y; i++)
# 1250| for (j=0; j < n_x; j++)
# 1251| {
Error: CLANG_WARNING: [#def55]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:1261:9: note: Calling 'correct_total'
# 1259| }
# 1260|
# 1261|-> correct_total (pixel_weights, n_x, n_y, total, filter->overall_alpha);
# 1262| }
# 1263|
Error: GCC_ANALYZER_WARNING: [#def56]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c: scope_hint: In function ‘tile_make_weights’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:1442:19: warning[-Wanalyzer-imprecise-fp-arithmetic]: use of floating-point arithmetic here might yield unexpected results
/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.
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:22: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:2394:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:2395:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:2395:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:2396:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:2396:3: note: in expansion of macro ‘g_return_if_fail’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:1442:19: note: only use operands of an integer type inside the size argument
# 1440| int i;
# 1441|
# 1442|-> pixel_weights = g_try_malloc_n (sizeof (double) * SUBSAMPLE, n);
# 1443| if (pixel_weights == NULL)
# 1444| return FALSE;
Error: GCC_ANALYZER_WARNING: [#def57]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c: scope_hint: In function ‘bilinear_box_make_weights’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:1601:19: warning[-Wanalyzer-imprecise-fp-arithmetic]: use of floating-point arithmetic here might yield unexpected results
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:2394:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:2395:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:2395:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:2396:3: note: in expansion of macro ‘g_return_if_fail’
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:2396:3: note: in expansion of macro ‘g_return_if_fail’
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/pixops/pixops.c:1601:19: note: only use operands of an integer type inside the size argument
# 1599| int offset, i;
# 1600|
# 1601|-> pixel_weights = g_malloc_n (sizeof (double) * SUBSAMPLE, n);
# 1602| if (pixel_weights == NULL)
# 1603| return FALSE;
Error: CPPCHECK_WARNING: [#def58]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/queryloaders.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def59]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/gdk-pixbuf/queryloaders.c:65:21: warning[deadcode.DeadStores]: Value stored to 'error' during its initialization is never read
# 63| {
# 64| const GdkPixbufModulePattern *pattern;
# 65|-> const char *error = "";
# 66|
# 67| for (pattern = info->signature; pattern->prefix; pattern++)
Error: CPPCHECK_WARNING: [#def60]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/redhat-linux-build/tmp-introspect1ijotkj_/GdkPixdata-2.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def61]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/redhat-linux-build/tmp-introspect1ijotkj_/GdkPixdata-2.0.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')
Error: CPPCHECK_WARNING: [#def62]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/redhat-linux-build/tmp-introspect5o985ztf/GdkPixbuf-2.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CLANG_WARNING: [#def63]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/redhat-linux-build/tmp-introspect5o985ztf/GdkPixbuf-2.0.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')
Error: CPPCHECK_WARNING: [#def64]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/tests/pixbuf-composite.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def65]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/tests/pixbuf-dpi.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def66]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/tests/pixbuf-fail.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def67]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/tests/pixbuf-gif.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def68]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/tests/pixbuf-icc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def69]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/tests/pixbuf-icon-serialize.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def70]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/tests/pixbuf-pixdata.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def71]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/tests/pixbuf-reftest.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def72]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/tests/pixbuf-save.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def73]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/tests/pixbuf-scale-two-step.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def74]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/tests/pixbuf-scale.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def75]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/tests/pixbuf-short-gif-write.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def76]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/tests/pixbuf-stream.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Error: CPPCHECK_WARNING: [#def77]
gdk-pixbuf2-2.42.12-build/gdk-pixbuf-2.42.12/tests/pixbuf-threads.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.
Scan Properties
analyzer-version-clang | 18.1.7 |
analyzer-version-cppcheck | 2.14.2 |
analyzer-version-gcc | 14.1.1 |
analyzer-version-gcc-analyzer | 14.1.1 |
analyzer-version-shellcheck | 0.10.0 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-216.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | gdk-pixbuf2-2.42.12-1.fc41 |
store-results-to | /tmp/tmpy_gn8egf/gdk-pixbuf2-2.42.12-1.fc41.tar.xz |
time-created | 2024-07-03 12:46:31 |
time-finished | 2024-07-03 12:48:22 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpy_gn8egf/gdk-pixbuf2-2.42.12-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpy_gn8egf/gdk-pixbuf2-2.42.12-1.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |