Error: GCC_ANALYZER_WARNING (CWE-476): [#def1] evolution-data-server-3.53.1-build/evolution-data-server-3.53.1/src/calendar/libecal/e-cal-recur.c: scope_hint: In function ‘cal_obj_get_vtable’ evolution-data-server-3.53.1-build/evolution-data-server-3.53.1/src/calendar/libecal/e-cal-recur.c:2679:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘recur’ /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/glib/gi18n-lib.h:23: included_from: Included from here. evolution-data-server-3.53.1-build/evolution-data-server-3.53.1/src/calendar/libecal/e-cal-recur.c:26: 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’ evolution-data-server-3.53.1-build/evolution-data-server-3.53.1/src/calendar/libecal/e-cal-recur.c:1447:9: 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’ evolution-data-server-3.53.1-build/evolution-data-server-3.53.1/src/calendar/libecal/e-cal-recur.c:1448:9: 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’ evolution-data-server-3.53.1-build/evolution-data-server-3.53.1/src/calendar/libecal/e-cal-recur.c:1448:9: 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’ evolution-data-server-3.53.1-build/evolution-data-server-3.53.1/src/calendar/libecal/e-cal-recur.c:1449:9: 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’ evolution-data-server-3.53.1-build/evolution-data-server-3.53.1/src/calendar/libecal/e-cal-recur.c:1449:9: 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’ evolution-data-server-3.53.1-build/evolution-data-server-3.53.1/src/calendar/libecal/e-cal-recur.c:1450:9: 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’ evolution-data-server-3.53.1-build/evolution-data-server-3.53.1/src/calendar/libecal/e-cal-recur.c:1450:9: 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’ evolution-data-server-3.53.1-build/evolution-data-server-3.53.1/src/calendar/libecal/e-cal-recur.c:1451:9: 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’ evolution-data-server-3.53.1-build/evolution-data-server-3.53.1/src/calendar/libecal/e-cal-recur.c:1451:9: note: in expansion of macro ‘g_return_if_fail’ /usr/include/glib-2.0/gobject/gbinding.h:31: included_from: Included from here. /usr/include/glib-2.0/glib-object.h:24: included_from: Included from here. /usr/include/glib-2.0/gio/gioenums.h:30: included_from: Included from here. /usr/include/glib-2.0/gio/giotypes.h:30: included_from: Included from here. /usr/include/glib-2.0/gio/gio.h:28: included_from: Included from here. evolution-data-server-3.53.1-build/evolution-data-server-3.53.1/src/calendar/libecal/e-cal-recur.h:30: included_from: Included from here. evolution-data-server-3.53.1-build/evolution-data-server-3.53.1/src/calendar/libecal/e-cal-recur.c:28: included_from: Included from here. evolution-data-server-3.53.1-build/evolution-data-server-3.53.1/src/calendar/libecal/e-cal-recur.c:1488:17: note: in expansion of macro ‘g_object_ref’ evolution-data-server-3.53.1-build/evolution-data-server-3.53.1/src/calendar/libecal/e-cal-recur.c:1530:17: note: in expansion of macro ‘g_object_ref’ /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’ evolution-data-server-3.53.1-build/evolution-data-server-3.53.1/src/calendar/libecal/e-cal-recur.c:1787:9: note: in expansion of macro ‘g_return_val_if_fail’ /usr/include/glib-2.0/glib.h:64: included_from: Included from here. evolution-data-server-3.53.1-build/evolution-data-server-3.53.1/src/calendar/libecal/e-cal-recur.c:1787:9: note: in expansion of macro ‘g_return_val_if_fail’ # 2677| gboolean valid = TRUE; # 2678| # 2679|-> switch (recur->freq) { # 2680| case I_CAL_YEARLY_RECURRENCE: # 2681| *out_vtable = cal_obj_yearly_vtable; Error: GCC_ANALYZER_WARNING (CWE-688): [#def2] evolution-data-server-3.53.1-build/evolution-data-server-3.53.1/src/camel/tests/misc/test3.c: scope_hint: In function ‘header_folding’ evolution-data-server-3.53.1-build/evolution-data-server-3.53.1/src/camel/tests/misc/test3.c:273:54: warning[-Wanalyzer-null-argument]: use of NULL ‘folded’ 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/glib/gprintf.h:23: included_from: Included from here. /usr/include/glib-2.0/glib/gstdio.h:24: included_from: Included from here. evolution-data-server-3.53.1-build/evolution-data-server-3.53.1/src/camel/tests/lib/camel-test.h:20: included_from: Included from here. evolution-data-server-3.53.1-build/evolution-data-server-3.53.1/src/camel/tests/misc/test3.c:23: included_from: Included from here. /usr/include/glib-2.0/glib/gstrfuncs.h:324:38: note: in definition of macro ‘g_strdup’ evolution-data-server-3.53.1-build/evolution-data-server-3.53.1/src/camel/tests/misc/test3.c:257:34: note: in expansion of macro ‘g_strdup’ evolution-data-server-3.53.1-build/evolution-data-server-3.53.1/src/camel/tests/misc/test3.c: scope_hint: In function ‘header_folding’ <built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null # 271| if (!expected_folded2) # 272| expected_folded2 = folded; # 273|-> folded2 = camel_header_fold (folded, strchr (folded, ':') - folded - 1); # 274| check_msg (g_strcmp0 (folded2, expected_folded2) == 0, # 275| "Failed fold2 of folded on [%d]: returns '%s', expected '%s'", ii, folded2, expected_folded2); Error: GCC_ANALYZER_WARNING (CWE-775): [#def3] evolution-data-server-3.53.1-build/evolution-data-server-3.53.1/src/tools/addressbook-export/addressbook-export.c: scope_hint: In function ‘action_list_init’ evolution-data-server-3.53.1-build/evolution-data-server-3.53.1/src/tools/addressbook-export/addressbook-export.c:196:1: warning[-Wanalyzer-file-leak]: leak of FILE ‘outputfile’ /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/glib/gi18n.h:23: included_from: Included from here. evolution-data-server-3.53.1-build/evolution-data-server-3.53.1/src/tools/addressbook-export/addressbook-export.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: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’ evolution-data-server-3.53.1-build/evolution-data-server-3.53.1/src/tools/addressbook-export/addressbook-export.c:907:9: note: in expansion of macro ‘g_return_val_if_fail’ evolution-data-server-3.53.1-build/evolution-data-server-3.53.1/src/tools/addressbook-export/addressbook-export.c:26: included_from: Included from here. evolution-data-server-3.53.1-build/evolution-data-server-3.53.1/src/tools/addressbook-export/addressbook-export.c:127:36: note: in expansion of macro ‘g_fopen’ evolution-data-server-3.53.1-build/evolution-data-server-3.53.1/src/tools/addressbook-export/addressbook-export.c:127:36: note: in expansion of macro ‘g_fopen’ # 194| if (outputfile && outputfile != stdout) # 195| fclose (outputfile); # 196|-> } # 197| # 198| typedef enum _CARD_FORMAT CARD_FORMAT; Error: GCC_ANALYZER_WARNING (CWE-401): [#def4] evolution-data-server-3.53.1-build/evolution-data-server-3.53.1/src/tools/addressbook-export/addressbook-export.c:196:1: warning[-Wanalyzer-malloc-leak]: leak of ‘outputfile’ /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’ evolution-data-server-3.53.1-build/evolution-data-server-3.53.1/src/tools/addressbook-export/addressbook-export.c:907:9: note: in expansion of macro ‘g_return_val_if_fail’ evolution-data-server-3.53.1-build/evolution-data-server-3.53.1/src/tools/addressbook-export/addressbook-export.c:127:36: note: in expansion of macro ‘g_fopen’ evolution-data-server-3.53.1-build/evolution-data-server-3.53.1/src/tools/addressbook-export/addressbook-export.c:127:36: note: in expansion of macro ‘g_fopen’ # 194| if (outputfile && outputfile != stdout) # 195| fclose (outputfile); # 196|-> } # 197| # 198| typedef enum _CARD_FORMAT CARD_FORMAT;
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 |
diffbase-analyzer-version-clang | 18.1.7 |
diffbase-analyzer-version-cppcheck | 2.14.2 |
diffbase-analyzer-version-gcc | 14.1.1 |
diffbase-analyzer-version-gcc-analyzer | 14.1.1 |
diffbase-analyzer-version-shellcheck | 0.10.0 |
diffbase-enabled-plugins | clang, cppcheck, gcc, shellcheck |
diffbase-exit-code | 0 |
diffbase-host | ip-172-16-1-8.us-west-2.compute.internal |
diffbase-mock-config | fedora-41-x86_64 |
diffbase-project-name | evolution-data-server-3.52.0-1.fc40 |
diffbase-store-results-to | /tmp/tmpkfmnxc9w/evolution-data-server-3.52.0-1.fc40.tar.xz |
diffbase-time-created | 2024-07-03 12:29:25 |
diffbase-time-finished | 2024-07-03 12:47:05 |
diffbase-tool | csmock |
diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpkfmnxc9w/evolution-data-server-3.52.0-1.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpkfmnxc9w/evolution-data-server-3.52.0-1.fc40.src.rpm' |
diffbase-tool-version | csmock-3.5.3-1.el9 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-8.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | evolution-data-server-3.53.1-1.fc41 |
store-results-to | /tmp/tmpgwzq5l1z/evolution-data-server-3.53.1-1.fc41.tar.xz |
time-created | 2024-07-03 12:47:35 |
time-finished | 2024-07-03 13:04:41 |
title | Newly introduced defects |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpgwzq5l1z/evolution-data-server-3.53.1-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpgwzq5l1z/evolution-data-server-3.53.1-1.fc41.src.rpm' |
tool-version | csmock-3.5.3-1.el9 |