garcon-4.18.2-2.fc41

List of Defects

Error: CPPCHECK_WARNING: [#def1]
garcon-4.18.2-build/garcon-4.18.2/docs/reference/garcon-scan.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def2]
garcon-4.18.2-build/garcon-4.18.2/docs/reference/garcon-scan.c:208:16: warning[deadcode.DeadStores]: Although the value stored to 'event_num' is used in the enclosing expression, the value is never actually read from 'event_num'

Error: CPPCHECK_WARNING: [#def3]
garcon-4.18.2-build/garcon-4.18.2/garcon-gtk/garcon-gtk-menu.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def4]
garcon-4.18.2-build/garcon-4.18.2/garcon-gtk/tmp-introspectlujrcj_9/GarconGtk-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def5]
garcon-4.18.2-build/garcon-4.18.2/garcon-gtk/tmp-introspectlujrcj_9/GarconGtk-1.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: [#def6]
garcon-4.18.2-build/garcon-4.18.2/garcon/garcon-menu-directory.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def7]
garcon-4.18.2-build/garcon-4.18.2/garcon/garcon-menu-item.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def8]
garcon-4.18.2-build/garcon-4.18.2/garcon/garcon-menu-merger.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def9]
garcon-4.18.2-build/garcon-4.18.2/garcon/garcon-menu-merger.c: scope_hint: In function 'garcon_menu_merger_process_merge_files.part.0'
garcon-4.18.2-build/garcon-4.18.2/garcon/garcon-menu-merger.c:926:13: 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.
garcon-4.18.2-build/garcon-4.18.2/garcon/garcon-menu-merger.c:25: 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:1245:45: note: in expansion of macro '_G_BOOLEAN_EXPR'
garcon-4.18.2-build/garcon-4.18.2/garcon/garcon-menu-merger.c:912:7: note: in expansion of macro 'G_UNLIKELY'
/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'
garcon-4.18.2-build/garcon-4.18.2/garcon/garcon-menu-merger.c:921:7: note: in expansion of macro 'G_LIKELY'
#  924|         g_object_unref (parser);
#  925|   
#  926|->       merger->priv->file_stack = g_list_copy (context->file_stack);
#  927|         g_list_foreach (merger->priv->file_stack, garcon_menu_merger_object_ref, NULL);
#  928|   

Error: CPPCHECK_WARNING (CWE-476): [#def10]
garcon-4.18.2-build/garcon-4.18.2/garcon/garcon-menu-merger.c:1215: warning[nullPointer]: Possible null pointer dereference: iter
# 1213|         old_path = g_strsplit (iter->data, "/", -1);
# 1214|         iter = g_list_next (iter);
# 1215|->       new_path = g_strsplit (iter->data, "/", -1);
# 1216|   
# 1217|         old_node = garcon_menu_merger_find_menu (node, old_path, 0,

Error: CPPCHECK_WARNING: [#def11]
garcon-4.18.2-build/garcon-4.18.2/garcon/garcon-menu-parser.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def12]
garcon-4.18.2-build/garcon-4.18.2/garcon/garcon-menu.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def13]
garcon-4.18.2-build/garcon-4.18.2/garcon/tmp-introspectwzpqfpx1/Garcon-1.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def14]
garcon-4.18.2-build/garcon-4.18.2/garcon/tmp-introspectwzpqfpx1/Garcon-1.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: [#def15]
garcon-4.18.2-build/garcon-4.18.2/tests/test-menu-parser.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def16]
garcon-4.18.2-build/garcon-4.18.2/tests/test-menu-spec.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-70.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namegarcon-4.18.2-2.fc41
store-results-to/tmp/tmpbixa6hgm/garcon-4.18.2-2.fc41.tar.xz
time-created2024-07-03 12:45:51
time-finished2024-07-03 12:47:35
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpbixa6hgm/garcon-4.18.2-2.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpbixa6hgm/garcon-4.18.2-2.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9