Task #388 - epiphany-46.1-1.fc41/scan-results.err
back to task #388download
Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/embed/ephy-about-handler.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/embed/ephy-client-certificate-manager.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-688): epiphany-46.1-build/epiphany-46.1/embed/ephy-client-certificate-manager.c: scope_hint: In function ‘certificate_pin_response’ epiphany-46.1-build/epiphany-46.1/embed/ephy-client-certificate-manager.c:266:3: 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. /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. epiphany-46.1-build/epiphany-46.1/embed/ephy-client-certificate-manager.h:23: included_from: Included from here. epiphany-46.1-build/epiphany-46.1/embed/ephy-client-certificate-manager.c:21: 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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/embed/ephy-client-certificate-manager.c:264:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/embed/ephy-client-certificate-manager.c:264:3: note: in expansion of macro ‘g_assert’ /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. epiphany-46.1-build/epiphany-46.1/embed/ephy-client-certificate-manager.c:265:20: note: in expansion of macro ‘g_strdup’ epiphany-46.1-build/epiphany-46.1/embed/ephy-client-certificate-manager.c: scope_hint: In function ‘certificate_pin_response’ <built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null # 264| g_assert (!self->password); # 265| self->password = g_strdup (password); # 266|-> gck_session_login_async (self->session, CKU_USER, (guint8 *)self->password, strlen (self->password), self->cancellable, logged_in_cb, self); # 267| } # 268| Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/embed/ephy-embed-shell.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/embed/ephy-embed-utils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/embed/ephy-filters-manager.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-476): epiphany-46.1-build/epiphany-46.1/embed/ephy-find-toolbar.c: scope_hint: In function ‘update_find_string’ epiphany-46.1-build/epiphany-46.1/embed/ephy-find-toolbar.c:186:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*toolbar.find_string’ /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/gtk-4.0/gtk/css/gtkcss.h:29: included_from: Included from here. /usr/include/gtk-4.0/gtk/gtk.h:29: included_from: Included from here. /usr/include/libadwaita-1/adwaita.h:9: included_from: Included from here. epiphany-46.1-build/epiphany-46.1/embed/ephy-find-toolbar.h:24: included_from: Included from here. epiphany-46.1-build/epiphany-46.1/embed/ephy-find-toolbar.c:23: included_from: Included from here. epiphany-46.1-build/epiphany-46.1/embed/ephy-find-toolbar.c:182:26: note: in expansion of macro ‘g_strdup’ epiphany-46.1-build/epiphany-46.1/embed/ephy-find-toolbar.c: scope_hint: In function ‘update_find_string’ /usr/include/glib-2.0/glib/giochannel.h:35: included_from: Included from here. epiphany-46.1-build/epiphany-46.1/embed/ephy-find-toolbar.c:184:3: note: in expansion of macro ‘g_clear_handle_id’ # 184| g_clear_handle_id (&toolbar->find_source_id, g_source_remove); # 185| # 186|-> if (strlen (toolbar->find_string) == 0) { # 187| clear_status (toolbar); # 188| return; Error: CPPCHECK_WARNING (CWE-476): epiphany-46.1-build/epiphany-46.1/embed/ephy-reader-handler.c:97: warning[nullPointer]: Possible null pointer dereference: data # 95| webkit_uri_scheme_request_finish_error (request->scheme_request, error); # 96| } else { # 97|-> data_length = MIN (strlen (data), G_MAXSSIZE); # 98| stream = g_memory_input_stream_new_from_data (data, data_length, g_free); # 99| webkit_uri_scheme_request_finish (request->scheme_request, stream, data_length, "text/html"); Error: CPPCHECK_WARNING (CWE-476): epiphany-46.1-build/epiphany-46.1/embed/ephy-view-source-handler.c:94: warning[nullPointer]: Possible null pointer dereference: data # 92| webkit_uri_scheme_request_finish_error (request->scheme_request, error); # 93| } else { # 94|-> data_length = MIN (strlen (data), G_MAXSSIZE); # 95| stream = g_memory_input_stream_new_from_data (data, data_length, g_free); # 96| webkit_uri_scheme_request_finish (request->scheme_request, stream, data_length, "text/html"); Error: CLANG_WARNING: epiphany-46.1-build/epiphany-46.1/embed/ephy-view-source-handler.c:131:15: warning[unix.Malloc]: Potential leak of memory pointed to by 'data_str' # 129| data_str[length] = '\0'; # 130| # 131|-> encoded_str = ephy_encode_for_html_entity (data_str); # 132| encoded_uri = ephy_encode_for_html_entity (webkit_web_resource_get_uri (resource)); # 133| Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/embed/ephy-web-view.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/lib/contrib/dzl-fuzzy-mutable-index.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/lib/contrib/gnome-languages.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-688): epiphany-46.1-build/epiphany-46.1/lib/contrib/gnome-languages.c: scope_hint: In function ‘language_name_get_codeset_details’ epiphany-46.1-build/epiphany-46.1/lib/contrib/gnome-languages.c:326:28: 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. epiphany-46.1-build/epiphany-46.1/lib/contrib/gnome-languages.c:35: 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’ epiphany-46.1-build/epiphany-46.1/lib/contrib/gnome-languages.c:525:9: note: in expansion of macro ‘g_return_val_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:664:9: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/contrib/gnome-languages.c:525:9: note: in expansion of macro ‘g_return_val_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:664:9: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/contrib/gnome-languages.c:388: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’ epiphany-46.1-build/epiphany-46.1/lib/contrib/gnome-languages.c:389:9: note: in expansion of macro ‘g_return_val_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:664:9: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/contrib/gnome-languages.c:389:9: note: in expansion of macro ‘g_return_val_if_fail’ epiphany-46.1-build/epiphany-46.1/lib/contrib/gnome-languages.c:28: included_from: Included from here. /usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null # 324| g_autofree char *normalized_codeset = normalize_codeset (codeset); # 325| # 326|-> *is_utf8 = strcmp (normalized_codeset, "UTF-8") == 0; # 327| } # 328| Error: GCC_ANALYZER_WARNING (CWE-688): epiphany-46.1-build/epiphany-46.1/lib/contrib/gnome-languages.c:326:28: warning[-Wanalyzer-null-argument]: use of NULL ‘langinfo_codeset’ where non-null expected /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’ epiphany-46.1-build/epiphany-46.1/lib/contrib/gnome-languages.c:1174: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’ epiphany-46.1-build/epiphany-46.1/lib/contrib/gnome-languages.c:1175:9: note: in expansion of macro ‘g_return_val_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:664:9: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/contrib/gnome-languages.c:1175:9: note: in expansion of macro ‘g_return_val_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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/contrib/gnome-languages.c:742:9: note: in expansion of macro ‘g_assert’ epiphany-46.1-build/epiphany-46.1/lib/contrib/gnome-languages.c: scope_hint: In function ‘language_name_get_codeset_details’ /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’ epiphany-46.1-build/epiphany-46.1/lib/contrib/gnome-languages.c:525:9: note: in expansion of macro ‘g_return_val_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:664:9: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/contrib/gnome-languages.c:525:9: note: in expansion of macro ‘g_return_val_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:664:9: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/contrib/gnome-languages.c:388: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’ epiphany-46.1-build/epiphany-46.1/lib/contrib/gnome-languages.c:389:9: note: in expansion of macro ‘g_return_val_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:664:9: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/contrib/gnome-languages.c:389:9: note: in expansion of macro ‘g_return_val_if_fail’ /usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null # 324| g_autofree char *normalized_codeset = normalize_codeset (codeset); # 325| # 326|-> *is_utf8 = strcmp (normalized_codeset, "UTF-8") == 0; # 327| } # 328| Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/lib/ephy-debug.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/lib/ephy-file-helpers.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-688): epiphany-46.1-build/epiphany-46.1/lib/ephy-file-helpers.c: scope_hint: In function ‘ephy_file_tmp_filename’ epiphany-46.1-build/epiphany-46.1/lib/ephy-file-helpers.c:238:5: 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. epiphany-46.1-build/epiphany-46.1/lib/ephy-file-helpers.h:25: included_from: Included from here. epiphany-46.1-build/epiphany-46.1/lib/ephy-file-helpers.c:25: included_from: Included from here. epiphany-46.1-build/epiphany-46.1/lib/ephy-file-helpers.c:233:16: note: in expansion of macro ‘g_strdup’ epiphany-46.1-build/epiphany-46.1/lib/ephy-file-helpers.c: scope_hint: In function ‘ephy_file_tmp_filename’ /usr/include/glib-2.0/gio/gcredentials.h:34: included_from: Included from here. /usr/include/glib-2.0/gio/gio.h:48: included_from: Included from here. epiphany-46.1-build/epiphany-46.1/lib/ephy-file-helpers.h:26: included_from: Included from here. /usr/include/unistd.h:858:12: note: argument 1 of ‘unlink’ must be non-null # 236| # 237| if (fd != -1) { # 238|-> unlink (name); # 239| close (fd); # 240| } else { Error: GCC_ANALYZER_WARNING (CWE-688): epiphany-46.1-build/epiphany-46.1/lib/ephy-langs.c: scope_hint: In function ‘ephy_langs_normalize_locale’ epiphany-46.1-build/epiphany-46.1/lib/ephy-langs.c:172:18: 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. epiphany-46.1-build/epiphany-46.1/lib/ephy-langs.h:24: included_from: Included from here. epiphany-46.1-build/epiphany-46.1/lib/ephy-langs.c:22: included_from: Included from here. epiphany-46.1-build/epiphany-46.1/lib/ephy-langs.c:163:18: note: in expansion of macro ‘g_strdup’ epiphany-46.1-build/epiphany-46.1/lib/ephy-langs.c: scope_hint: In function ‘ephy_langs_normalize_locale’ <built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null # 170| * lowercase. # 171| */ # 172|-> for (char *p = strchr (result, '-'); p != NULL && *p != '\0'; p++) # 173| *p = g_ascii_toupper (*p); # 174| Error: GCC_ANALYZER_WARNING (CWE-688): epiphany-46.1-build/epiphany-46.1/lib/ephy-permissions-manager.c: scope_hint: In function ‘ephy_permissions_manager_get_settings_for_origin.part.0’ epiphany-46.1-build/epiphany-46.1/lib/ephy-permissions-manager.c:127:9: 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. /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. epiphany-46.1-build/epiphany-46.1/lib/ephy-permissions-manager.h:24: included_from: Included from here. epiphany-46.1-build/epiphany-46.1/lib/ephy-permissions-manager.c:23: included_from: Included from here. epiphany-46.1-build/epiphany-46.1/lib/ephy-permissions-manager.c:126:22: note: in expansion of macro ‘g_strdup’ epiphany-46.1-build/epiphany-46.1/lib/ephy-permissions-manager.c: scope_hint: In function ‘ephy_permissions_manager_get_settings_for_origin.part.0’ <built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null # 125| security_origin = webkit_security_origin_new_for_uri (origin); # 126| trimmed_protocol = g_strdup (webkit_security_origin_get_protocol (security_origin)); # 127|-> pos = strchr (trimmed_protocol, '/'); # 128| if (pos != NULL) # 129| *pos = '\0'; Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/lib/ephy-profile-utils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/lib/ephy-search-engine-manager.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/lib/ephy-smaps.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/lib/ephy-time-helpers.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-688): epiphany-46.1-build/epiphany-46.1/lib/ephy-time-helpers.c: scope_hint: In function ‘eel_strdup_strftime’ epiphany-46.1-build/epiphany-46.1/lib/ephy-time-helpers.c:92:15: warning[-Wanalyzer-null-argument]: use of NULL ‘remainder’ 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. /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. epiphany-46.1-build/epiphany-46.1/lib/ephy-time-helpers.c:31: included_from: Included from here. epiphany-46.1-build/epiphany-46.1/lib/ephy-time-helpers.c:85:17: note: in expansion of macro ‘g_strdup’ epiphany-46.1-build/epiphany-46.1/lib/ephy-time-helpers.c: scope_hint: In function ‘eel_strdup_strftime’ <built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null # 90| /* Walk from % character to % character. */ # 91| for (;;) { # 92|-> percent = strchr (remainder, '%'); # 93| if (percent == NULL) { # 94| g_string_append (string, remainder); Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/lib/ephy-web-app-utils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/lib/history/ephy-history-service-hosts-table.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/lib/history/ephy-history-service-urls-table.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/lib/history/ephy-history-service-visits-table.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-688): epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c: scope_hint: In function ‘ephy_sync_debug_send_request’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:472:9: warning[-Wanalyzer-null-argument]: use of NULL ‘storage_endpoint’ 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. epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.h:23: included_from: Included from here. epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:459:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:460:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:460:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:461:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:461:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:462:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:462:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:290:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:291:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:291:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:231:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:232:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:232:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:233:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:235:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:236:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:236:3: note: in expansion of macro ‘g_assert’ /usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ /usr/include/glib-2.0/glib/glib-autocleanups.h:51:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ /usr/include/glib-2.0/glib/glib-autocleanups.h:51:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ /usr/include/glib-2.0/glib/glib-autocleanups.h:51:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c: scope_hint: In function ‘ephy_sync_debug_send_request’ /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. epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:421:23: note: in expansion of macro ‘g_strdup’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c: scope_hint: In function ‘ephy_sync_debug_send_request’ /usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ /usr/include/glib-2.0/glib/glib-autocleanups.h:51:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ /usr/include/glib-2.0/glib/glib-autocleanups.h:51:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ /usr/include/glib-2.0/glib/glib-autocleanups.h:51:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c: scope_hint: In function ‘ephy_sync_debug_send_request’ <built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null # 470| # 471| url = g_strdup_printf ("%s/%s", storage_endpoint, endpoint); # 472|-> msg = ephy_sync_debug_prepare_soup_message (url, method, body, storage_id, # 473| (const guint8 *)storage_key, # 474| strlen (storage_key)); Error: GCC_ANALYZER_WARNING (CWE-688): epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:472:9: warning[-Wanalyzer-null-argument]: use of NULL ‘storage_id’ where non-null expected /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:459:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:460:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:460:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:461:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:461:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:462:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:462:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:290:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:291:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:291:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:231:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:232:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:232:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:233:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:235:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:236:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:236:3: note: in expansion of macro ‘g_assert’ /usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ /usr/include/glib-2.0/glib/glib-autocleanups.h:51:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ /usr/include/glib-2.0/glib/glib-autocleanups.h:51:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ /usr/include/glib-2.0/glib/glib-autocleanups.h:51:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c: scope_hint: In function ‘ephy_sync_debug_send_request’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:422:17: note: in expansion of macro ‘g_strdup’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c: scope_hint: In function ‘ephy_sync_debug_send_request’ /usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ /usr/include/glib-2.0/glib/glib-autocleanups.h:51:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ /usr/include/glib-2.0/glib/glib-autocleanups.h:51:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ /usr/include/glib-2.0/glib/glib-autocleanups.h:51:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c: scope_hint: In function ‘ephy_sync_debug_send_request’ <built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null # 470| # 471| url = g_strdup_printf ("%s/%s", storage_endpoint, endpoint); # 472|-> msg = ephy_sync_debug_prepare_soup_message (url, method, body, storage_id, # 473| (const guint8 *)storage_key, # 474| strlen (storage_key)); Error: GCC_ANALYZER_WARNING (CWE-688): epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:472:9: warning[-Wanalyzer-null-argument]: use of NULL ‘storage_key’ where non-null expected /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:459:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:460:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:460:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:461:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:461:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:462:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:462:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:290:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:291:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:291:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:231:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:232:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:232:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:233:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:235:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:236:3: note: in expansion of macro ‘g_assert’ /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/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:236:3: note: in expansion of macro ‘g_assert’ /usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ /usr/include/glib-2.0/glib/glib-autocleanups.h:51:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ /usr/include/glib-2.0/glib/glib-autocleanups.h:51:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ /usr/include/glib-2.0/glib/glib-autocleanups.h:51:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c: scope_hint: In function ‘ephy_sync_debug_send_request’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c:423:18: note: in expansion of macro ‘g_strdup’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c: scope_hint: In function ‘ephy_sync_debug_send_request’ /usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ /usr/include/glib-2.0/glib/glib-autocleanups.h:51:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ /usr/include/glib-2.0/glib/glib-autocleanups.h:51:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ /usr/include/glib-2.0/glib/glib-autocleanups.h:51:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ epiphany-46.1-build/epiphany-46.1/lib/sync/debug/ephy-sync-debug.c: scope_hint: In function ‘ephy_sync_debug_send_request’ <built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null # 470| # 471| url = g_strdup_printf ("%s/%s", storage_endpoint, endpoint); # 472|-> msg = ephy_sync_debug_prepare_soup_message (url, method, body, storage_id, # 473| (const guint8 *)storage_key, # 474| strlen (storage_key)); Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/lib/sync/ephy-password-import.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/lib/sync/ephy-password-manager.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/lib/sync/ephy-sync-crypto.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/lib/sync/ephy-sync-service.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/redhat-linux-build/src/ephy-shell-search-provider-generated.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/redhat-linux-build/src/ephy-webapp-provider-generated.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/src/bookmarks/ephy-bookmarks-import.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/src/bookmarks/ephy-bookmarks-popover.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/src/ephy-action-bar-start.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING (CWE-457): epiphany-46.1-build/epiphany-46.1/src/ephy-action-bar-start.c:335: error[legacyUninitvar]: Uninitialized variable: direction # 333| g_assert_not_reached (); # 334| # 335|-> build_history_menu (action_bar_start, widget, direction); # 336| # 337| gtk_popover_popup (GTK_POPOVER (action_bar_start->history_menu)); Error: CPPCHECK_WARNING (CWE-457): epiphany-46.1-build/epiphany-46.1/src/ephy-action-bar-start.c:406: error[legacyUninitvar]: Uninitialized variable: action_name # 404| window = EPHY_WINDOW (gtk_widget_get_root (widget)); # 405| action_group = ephy_window_get_action_group (window, "toolbar"); # 406|-> action = g_action_map_lookup_action (G_ACTION_MAP (action_group), action_name); # 407| g_action_activate (action, NULL); # 408| } Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/src/ephy-firefox-sync-dialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/src/ephy-header-bar.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-476): epiphany-46.1-build/epiphany-46.1/src/ephy-history-dialog.c: scope_hint: In function ‘handle_selection_row_activated_event’ epiphany-46.1-build/epiphany-46.1/src/ephy-history-dialog.c:674:60: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 672| * that one and the currently clicked row */ # 673| gint index_a = gtk_list_box_row_get_index (activated_row); # 674|-> gint index_b = gtk_list_box_row_get_index (checked_rows->data); # 675| # 676| check_rows_interval (GTK_LIST_BOX (self->listbox), index_a, index_b); Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/src/ephy-location-entry.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/src/ephy-main.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/src/ephy-session.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/src/ephy-shell.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/src/ephy-suggestion-model.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/src/ephy-window.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING (CWE-457): epiphany-46.1-build/epiphany-46.1/src/ephy-window.c:2577: error[legacyUninitvar]: Uninitialized variable: n_pinned_pages # 2575| action = g_action_map_lookup_action (G_ACTION_MAP (action_group), # 2576| "close-left"); # 2577|-> g_simple_action_set_enabled (G_SIMPLE_ACTION (action), !page || position > n_pinned_pages); # 2578| # 2579| action = g_action_map_lookup_action (G_ACTION_MAP (action_group), Error: CPPCHECK_WARNING (CWE-457): epiphany-46.1-build/epiphany-46.1/src/ephy-window.c:2577: error[legacyUninitvar]: Uninitialized variable: position # 2575| action = g_action_map_lookup_action (G_ACTION_MAP (action_group), # 2576| "close-left"); # 2577|-> g_simple_action_set_enabled (G_SIMPLE_ACTION (action), !page || position > n_pinned_pages); # 2578| # 2579| action = g_action_map_lookup_action (G_ACTION_MAP (action_group), Error: CPPCHECK_WARNING (CWE-457): epiphany-46.1-build/epiphany-46.1/src/ephy-window.c:2581: error[legacyUninitvar]: Uninitialized variable: n_pages # 2579| action = g_action_map_lookup_action (G_ACTION_MAP (action_group), # 2580| "close-right"); # 2581|-> g_simple_action_set_enabled (G_SIMPLE_ACTION (action), !page || (position < n_pages - 1 && !pinned)); # 2582| # 2583| action = g_action_map_lookup_action (G_ACTION_MAP (action_group), Error: CPPCHECK_WARNING (CWE-457): epiphany-46.1-build/epiphany-46.1/src/ephy-window.c:2581: error[legacyUninitvar]: Uninitialized variable: pinned # 2579| action = g_action_map_lookup_action (G_ACTION_MAP (action_group), # 2580| "close-right"); # 2581|-> g_simple_action_set_enabled (G_SIMPLE_ACTION (action), !page || (position < n_pages - 1 && !pinned)); # 2582| # 2583| action = g_action_map_lookup_action (G_ACTION_MAP (action_group), Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/src/preferences/ephy-search-engine-row.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-688): epiphany-46.1-build/epiphany-46.1/src/preferences/prefs-general-page.c: scope_hint: In function ‘normalize_locale’ epiphany-46.1-build/epiphany-46.1/src/preferences/prefs-general-page.c:501:18: 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. /usr/include/gtk-4.0/gtk/css/gtkcss.h:29: included_from: Included from here. /usr/include/gtk-4.0/gtk/gtk.h:29: included_from: Included from here. /usr/include/libadwaita-1/adwaita.h:9: included_from: Included from here. epiphany-46.1-build/epiphany-46.1/src/preferences/prefs-general-page.h:23: included_from: Included from here. epiphany-46.1-build/epiphany-46.1/src/preferences/prefs-general-page.c:24: included_from: Included from here. epiphany-46.1-build/epiphany-46.1/src/preferences/prefs-general-page.c:492:18: note: in expansion of macro ‘g_strdup’ epiphany-46.1-build/epiphany-46.1/src/preferences/prefs-general-page.c: scope_hint: In function ‘normalize_locale’ <built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null # 499| * lowercase. # 500| */ # 501|-> for (char *p = strchr (result, '-'); p != NULL && *p != '\0'; p++) # 502| *p = g_ascii_toupper (*p); # 503| Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/src/preferences/webapp-additional-urls-dialog.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/src/profile-migrator/ephy-profile-migrator.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/src/webextension/adw-widget-utils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-476): epiphany-46.1-build/epiphany-46.1/src/webextension/api/alarms.c: scope_hint: In function ‘emit_alarm’ epiphany-46.1-build/epiphany-46.1/src/webextension/api/alarms.c:120:3: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘alarm’ /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. /usr/include/webkitgtk-6.0/webkit/WebKitApplicationInfo.h:27: included_from: Included from here. /usr/include/webkitgtk-6.0/webkit/webkit.h:29: included_from: Included from here. epiphany-46.1-build/epiphany-46.1/embed/ephy-web-view.h:24: included_from: Included from here. epiphany-46.1-build/epiphany-46.1/embed/ephy-embed-utils.h:26: included_from: Included from here. epiphany-46.1-build/epiphany-46.1/src/webextension/api/alarms.c:25: included_from: Included from here. /usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ /usr/include/json-glib-1.0/json-glib/json-types.h:532:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ /usr/include/json-glib-1.0/json-glib/json-types.h:532:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ epiphany-46.1-build/epiphany-46.1/src/webextension/api/alarms.c: scope_hint: In function ‘emit_alarm’ # 118| g_autofree char *json = alarm_to_json (alarm); # 119| # 120|-> ephy_web_extension_manager_emit_in_extension_views (manager, alarm->web_extension, "alarms.onAlarm", json); # 121| } # 122| Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/src/webextension/api/commands.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/src/webextension/api/cookies.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/src/webextension/api/downloads.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-688): epiphany-46.1-build/epiphany-46.1/src/webextension/api/downloads.c: scope_hint: In function ‘matches_filename_or_url’ epiphany-46.1-build/epiphany-46.1/src/webextension/api/downloads.c:353:39: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected /usr/include/glib-2.0/glib.h:33: included_from: Included from here. epiphany-46.1-build/epiphany-46.1/lib/ephy-file-helpers.h:25: included_from: Included from here. epiphany-46.1-build/epiphany-46.1/src/webextension/api/downloads.c:23: included_from: Included from here. epiphany-46.1-build/epiphany-46.1/src/webextension/api/downloads.c:351:26: note: in expansion of macro ‘g_ptr_array_index’ <built-in>: note: argument 1 of ‘__builtin_strstr’ must be non-null # 351| const char *string = g_ptr_array_index (query->query, i); # 352| if (*string == '-') { # 353|-> if (strstr (url, string + 1) || strstr (filename, string + 1)) # 354| return FALSE; # 355| } else { Error: GCC_ANALYZER_WARNING (CWE-688): epiphany-46.1-build/epiphany-46.1/src/webextension/api/downloads.c:356:37: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected epiphany-46.1-build/epiphany-46.1/src/webextension/api/downloads.c:351:26: note: in expansion of macro ‘g_ptr_array_index’ <built-in>: note: argument 1 of ‘__builtin_strstr’ must be non-null # 354| return FALSE; # 355| } else { # 356|-> if (!strstr (url, string) && !strstr (filename, string)) # 357| return FALSE; # 358| } Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/src/webextension/api/menus.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/src/webextension/api/tabs.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/src/webextension/api/windows.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/src/webextension/ephy-web-extension-manager.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/src/webextension/ephy-web-extension.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-688): epiphany-46.1-build/epiphany-46.1/src/webextension/ephy-web-extension.c: scope_hint: In function ‘path_matches’ epiphany-46.1-build/epiphany-46.1/src/webextension/ephy-web-extension.c:1580:7: warning[-Wanalyzer-null-argument]: use of NULL ‘permission_path’ 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/gtk-4.0/gtk/css/gtkcss.h:29: included_from: Included from here. /usr/include/gtk-4.0/gtk/gtk.h:29: included_from: Included from here. /usr/include/libadwaita-1/adwaita.h:9: included_from: Included from here. epiphany-46.1-build/epiphany-46.1/embed/ephy-embed-shell.h:24: included_from: Included from here. epiphany-46.1-build/epiphany-46.1/src/webextension/ephy-web-extension.c:28: included_from: Included from here. epiphany-46.1-build/epiphany-46.1/src/webextension/ephy-web-extension.c:1598:12: note: in expansion of macro ‘g_strdup’ epiphany-46.1-build/epiphany-46.1/src/webextension/ephy-web-extension.c: scope_hint: In function ‘path_matches’ epiphany-46.1-build/epiphany-46.1/src/webextension/ephy-web-extension.c:1598:12: note: in expansion of macro ‘g_strdup’ /usr/include/glib-2.0/glib/galloca.h:35: included_from: Included from here. /usr/include/glib-2.0/glib.h:32: included_from: Included from here. /usr/include/string.h:156:12: note: argument 1 of ‘strcmp’ must be non-null # 1578| # 1579| /* https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Match_patterns#path */ # 1580|-> if (strcmp (permission_path, "*") == 0) # 1581| return TRUE; # 1582| Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/src/window-commands.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: GCC_ANALYZER_WARNING (CWE-476): epiphany-46.1-build/epiphany-46.1/src/window-commands.c: scope_hint: In function ‘dialog_bookmarks_import_from_firefox’ epiphany-46.1-build/epiphany-46.1/src/window-commands.c:473:69: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’ # 471| num_profiles = g_slist_length (profiles); # 472| if (num_profiles == 1) { # 473|-> imported = ephy_bookmarks_import_from_firefox (manager, profiles->data, &error); # 474| # 475| show_import_export_result (parent, FALSE, imported, error, Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/tests/ephy-encodings-test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/tests/ephy-file-helpers-test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/tests/ephy-history-test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/tests/ephy-search-engine-manager-test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/tests/ephy-sqlite-test.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/third-party/gvdb/gvdb-builder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. Error: CPPCHECK_WARNING: epiphany-46.1-build/epiphany-46.1/third-party/gvdb/gvdb-reader.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.