epiphany-47.2-1.fc42

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1]
epiphany-47.2-build/epiphany-47.2/embed/ephy-client-certificate-manager.c: scope_hint: In function ‘certificate_pin_response’
epiphany-47.2-build/epiphany-47.2/embed/ephy-client-certificate-manager.c:268: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-47.2-build/epiphany-47.2/embed/ephy-client-certificate-manager.h:23: included_from: Included from here.
epiphany-47.2-build/epiphany-47.2/embed/ephy-client-certificate-manager.c:21: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/embed/ephy-client-certificate-manager.c:266:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/embed/ephy-client-certificate-manager.c:266: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-47.2-build/epiphany-47.2/embed/ephy-client-certificate-manager.c:267:20: note: in expansion of macro ‘g_strdup’
epiphany-47.2-build/epiphany-47.2/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
#  266|     g_assert (!self->password);
#  267|     self->password = g_strdup (password);
#  268|->   gck_session_login_async (self->session, CKU_USER, (guint8 *)self->password, strlen (self->password), self->cancellable, logged_in_cb, self);
#  269|   }
#  270|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2]
epiphany-47.2-build/epiphany-47.2/embed/ephy-find-toolbar.c: scope_hint: In function ‘update_find_string’
epiphany-47.2-build/epiphany-47.2/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-47.2-build/epiphany-47.2/embed/ephy-find-toolbar.h:24: included_from: Included from here.
epiphany-47.2-build/epiphany-47.2/embed/ephy-find-toolbar.c:23: included_from: Included from here.
epiphany-47.2-build/epiphany-47.2/embed/ephy-find-toolbar.c:182:26: note: in expansion of macro ‘g_strdup’
epiphany-47.2-build/epiphany-47.2/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-47.2-build/epiphany-47.2/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): [#def3]
epiphany-47.2-build/epiphany-47.2/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): [#def4]
epiphany-47.2-build/epiphany-47.2/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: GCC_ANALYZER_WARNING (CWE-688): [#def5]
epiphany-47.2-build/epiphany-47.2/lib/contrib/gnome-languages.c: scope_hint: In function ‘language_name_get_codeset_details’
epiphany-47.2-build/epiphany-47.2/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-47.2-build/epiphany-47.2/lib/contrib/gnome-languages.c:35: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/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:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/contrib/gnome-languages.c:389:9: note: in expansion of macro ‘g_return_val_if_fail’
epiphany-47.2-build/epiphany-47.2/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): [#def6]
epiphany-47.2-build/epiphany-47.2/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/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:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/contrib/gnome-languages.c:742:9: note: in expansion of macro ‘g_assert’
epiphany-47.2-build/epiphany-47.2/lib/contrib/gnome-languages.c: scope_hint: In function ‘language_name_get_codeset_details’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/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:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/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: GCC_ANALYZER_WARNING (CWE-688): [#def7]
epiphany-47.2-build/epiphany-47.2/lib/ephy-file-helpers.c: scope_hint: In function ‘ephy_file_tmp_filename’
epiphany-47.2-build/epiphany-47.2/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-47.2-build/epiphany-47.2/lib/ephy-file-helpers.h:25: included_from: Included from here.
epiphany-47.2-build/epiphany-47.2/lib/ephy-file-helpers.c:25: included_from: Included from here.
epiphany-47.2-build/epiphany-47.2/lib/ephy-file-helpers.c:233:16: note: in expansion of macro ‘g_strdup’
epiphany-47.2-build/epiphany-47.2/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-47.2-build/epiphany-47.2/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): [#def8]
epiphany-47.2-build/epiphany-47.2/lib/ephy-langs.c: scope_hint: In function ‘ephy_langs_normalize_locale’
epiphany-47.2-build/epiphany-47.2/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-47.2-build/epiphany-47.2/lib/ephy-langs.h:24: included_from: Included from here.
epiphany-47.2-build/epiphany-47.2/lib/ephy-langs.c:22: included_from: Included from here.
epiphany-47.2-build/epiphany-47.2/lib/ephy-langs.c:163:18: note: in expansion of macro ‘g_strdup’
epiphany-47.2-build/epiphany-47.2/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): [#def9]
epiphany-47.2-build/epiphany-47.2/lib/ephy-permissions-manager.c: scope_hint: In function ‘ephy_permissions_manager_get_settings_for_origin.part.0’
epiphany-47.2-build/epiphany-47.2/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-47.2-build/epiphany-47.2/lib/ephy-permissions-manager.h:24: included_from: Included from here.
epiphany-47.2-build/epiphany-47.2/lib/ephy-permissions-manager.c:23: included_from: Included from here.
epiphany-47.2-build/epiphany-47.2/lib/ephy-permissions-manager.c:126:22: note: in expansion of macro ‘g_strdup’
epiphany-47.2-build/epiphany-47.2/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: GCC_ANALYZER_WARNING (CWE-688): [#def10]
epiphany-47.2-build/epiphany-47.2/lib/ephy-time-helpers.c: scope_hint: In function ‘eel_strdup_strftime’
epiphany-47.2-build/epiphany-47.2/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-47.2-build/epiphany-47.2/lib/ephy-time-helpers.c:31: included_from: Included from here.
epiphany-47.2-build/epiphany-47.2/lib/ephy-time-helpers.c:85:17: note: in expansion of macro ‘g_strdup’
epiphany-47.2-build/epiphany-47.2/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: GCC_ANALYZER_WARNING (CWE-688): [#def11]
epiphany-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c: scope_hint: In function ‘ephy_sync_debug_send_request’
epiphany-47.2-build/epiphany-47.2/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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.h:23: included_from: Included from here.
epiphany-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:22: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:459:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:460:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/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:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:461:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/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:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:462:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:462:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:290:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:291:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:291:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:231:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:232:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/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:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:233:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:235:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:236:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:236:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1365:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1381: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:1381: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:1381: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-47.2-build/epiphany-47.2/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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:421:23: note: in expansion of macro ‘g_strdup’
epiphany-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c: scope_hint: In function ‘ephy_sync_debug_send_request’
/usr/include/glib-2.0/glib/gmacros.h:1365:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1381: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:1381: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:1381: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-47.2-build/epiphany-47.2/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): [#def12]
epiphany-47.2-build/epiphany-47.2/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:459:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:460:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/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:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:461:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/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:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:462:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:462:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:290:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:291:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:291:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:231:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:232:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/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:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:233:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:235:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:236:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:236:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1365:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1381: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:1381: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:1381: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c: scope_hint: In function ‘ephy_sync_debug_send_request’
epiphany-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:422:17: note: in expansion of macro ‘g_strdup’
epiphany-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c: scope_hint: In function ‘ephy_sync_debug_send_request’
/usr/include/glib-2.0/glib/gmacros.h:1365:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1381: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:1381: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:1381: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-47.2-build/epiphany-47.2/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): [#def13]
epiphany-47.2-build/epiphany-47.2/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:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:459:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:460:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/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:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:461:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/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:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:462:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:462:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:290:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:291:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:291:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:231:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:232:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/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:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:233:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:235:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:236:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1250: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:236:3: note: in expansion of macro ‘g_assert’
/usr/include/glib-2.0/glib/gmacros.h:1365:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1381: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:1381: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:1381: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-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c: scope_hint: In function ‘ephy_sync_debug_send_request’
epiphany-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c:423:18: note: in expansion of macro ‘g_strdup’
epiphany-47.2-build/epiphany-47.2/lib/sync/debug/ephy-sync-debug.c: scope_hint: In function ‘ephy_sync_debug_send_request’
/usr/include/glib-2.0/glib/gmacros.h:1365:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1381: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:1381: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:1381: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-47.2-build/epiphany-47.2/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 (CWE-457): [#def14]
epiphany-47.2-build/epiphany-47.2/src/ephy-action-bar-start.c:342: error[legacyUninitvar]: Uninitialized variable: direction
#  340|       g_assert_not_reached ();
#  341|   
#  342|->   build_history_menu (action_bar_start, widget, direction);
#  343|   
#  344|     gtk_popover_popup (GTK_POPOVER (action_bar_start->history_menu));

Error: CPPCHECK_WARNING (CWE-457): [#def15]
epiphany-47.2-build/epiphany-47.2/src/ephy-action-bar-start.c:413: error[legacyUninitvar]: Uninitialized variable: action_name
#  411|     window = EPHY_WINDOW (gtk_widget_get_root (widget));
#  412|     action_group = ephy_window_get_action_group (window, "toolbar");
#  413|->   action = g_action_map_lookup_action (G_ACTION_MAP (action_group), action_name);
#  414|     g_action_activate (action, NULL);
#  415|   }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def16]
epiphany-47.2-build/epiphany-47.2/src/ephy-history-dialog.c: scope_hint: In function ‘handle_selection_row_activated_event’
epiphany-47.2-build/epiphany-47.2/src/ephy-history-dialog.c:665:60: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  663|        * that one and the currently clicked row */
#  664|       gint index_a = gtk_list_box_row_get_index (activated_row);
#  665|->     gint index_b = gtk_list_box_row_get_index (checked_rows->data);
#  666|   
#  667|       check_rows_interval (GTK_LIST_BOX (self->listbox), index_a, index_b);

Error: CPPCHECK_WARNING (CWE-457): [#def17]
epiphany-47.2-build/epiphany-47.2/src/ephy-window.c:2543: error[legacyUninitvar]: Uninitialized variable: n_pinned_pages
# 2541|     action = g_action_map_lookup_action (G_ACTION_MAP (action_group),
# 2542|                                          "close-left");
# 2543|->   g_simple_action_set_enabled (G_SIMPLE_ACTION (action), !page || position > n_pinned_pages);
# 2544|   
# 2545|     action = g_action_map_lookup_action (G_ACTION_MAP (action_group),

Error: CPPCHECK_WARNING (CWE-457): [#def18]
epiphany-47.2-build/epiphany-47.2/src/ephy-window.c:2543: error[legacyUninitvar]: Uninitialized variable: position
# 2541|     action = g_action_map_lookup_action (G_ACTION_MAP (action_group),
# 2542|                                          "close-left");
# 2543|->   g_simple_action_set_enabled (G_SIMPLE_ACTION (action), !page || position > n_pinned_pages);
# 2544|   
# 2545|     action = g_action_map_lookup_action (G_ACTION_MAP (action_group),

Error: CPPCHECK_WARNING (CWE-457): [#def19]
epiphany-47.2-build/epiphany-47.2/src/ephy-window.c:2547: error[legacyUninitvar]: Uninitialized variable: n_pages
# 2545|     action = g_action_map_lookup_action (G_ACTION_MAP (action_group),
# 2546|                                          "close-right");
# 2547|->   g_simple_action_set_enabled (G_SIMPLE_ACTION (action), !page || (position < n_pages - 1 && !pinned));
# 2548|   
# 2549|     action = g_action_map_lookup_action (G_ACTION_MAP (action_group),

Error: CPPCHECK_WARNING (CWE-457): [#def20]
epiphany-47.2-build/epiphany-47.2/src/ephy-window.c:2547: error[legacyUninitvar]: Uninitialized variable: pinned
# 2545|     action = g_action_map_lookup_action (G_ACTION_MAP (action_group),
# 2546|                                          "close-right");
# 2547|->   g_simple_action_set_enabled (G_SIMPLE_ACTION (action), !page || (position < n_pages - 1 && !pinned));
# 2548|   
# 2549|     action = g_action_map_lookup_action (G_ACTION_MAP (action_group),

Error: GCC_ANALYZER_WARNING (CWE-688): [#def21]
epiphany-47.2-build/epiphany-47.2/src/preferences/prefs-general-page.c: scope_hint: In function ‘normalize_locale’
epiphany-47.2-build/epiphany-47.2/src/preferences/prefs-general-page.c:499: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-47.2-build/epiphany-47.2/src/preferences/prefs-general-page.h:23: included_from: Included from here.
epiphany-47.2-build/epiphany-47.2/src/preferences/prefs-general-page.c:24: included_from: Included from here.
epiphany-47.2-build/epiphany-47.2/src/preferences/prefs-general-page.c:490:18: note: in expansion of macro ‘g_strdup’
epiphany-47.2-build/epiphany-47.2/src/preferences/prefs-general-page.c: scope_hint: In function ‘normalize_locale’
<built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null
#  497|      * lowercase.
#  498|      */
#  499|->   for (char *p = strchr (result, '-'); p != NULL && *p != '\0'; p++)
#  500|       *p = g_ascii_toupper (*p);
#  501|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def22]
epiphany-47.2-build/epiphany-47.2/src/webextension/api/alarms.c: scope_hint: In function ‘emit_alarm’
epiphany-47.2-build/epiphany-47.2/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-47.2-build/epiphany-47.2/embed/ephy-web-view.h:24: included_from: Included from here.
epiphany-47.2-build/epiphany-47.2/embed/ephy-embed-utils.h:26: included_from: Included from here.
epiphany-47.2-build/epiphany-47.2/src/webextension/api/alarms.c:25: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1365:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’
/usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
/usr/include/json-glib-1.0/json-glib/json-types.h:533:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
/usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’
/usr/include/json-glib-1.0/json-glib/json-types.h:533:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’
epiphany-47.2-build/epiphany-47.2/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: GCC_ANALYZER_WARNING (CWE-688): [#def23]
epiphany-47.2-build/epiphany-47.2/src/webextension/api/downloads.c: scope_hint: In function ‘matches_filename_or_url’
epiphany-47.2-build/epiphany-47.2/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-47.2-build/epiphany-47.2/lib/ephy-file-helpers.h:25: included_from: Included from here.
epiphany-47.2-build/epiphany-47.2/src/webextension/api/downloads.c:23: included_from: Included from here.
epiphany-47.2-build/epiphany-47.2/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): [#def24]
epiphany-47.2-build/epiphany-47.2/src/webextension/api/downloads.c:356:37: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
epiphany-47.2-build/epiphany-47.2/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: GCC_ANALYZER_WARNING (CWE-688): [#def25]
epiphany-47.2-build/epiphany-47.2/src/webextension/ephy-web-extension.c: scope_hint: In function ‘path_matches’
epiphany-47.2-build/epiphany-47.2/src/webextension/ephy-web-extension.c:1583: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-47.2-build/epiphany-47.2/embed/ephy-embed-shell.h:24: included_from: Included from here.
epiphany-47.2-build/epiphany-47.2/src/webextension/ephy-web-extension.c:28: included_from: Included from here.
epiphany-47.2-build/epiphany-47.2/src/webextension/ephy-web-extension.c:1601:12: note: in expansion of macro ‘g_strdup’
epiphany-47.2-build/epiphany-47.2/src/webextension/ephy-web-extension.c: scope_hint: In function ‘path_matches’
epiphany-47.2-build/epiphany-47.2/src/webextension/ephy-web-extension.c:1601: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
# 1581|   
# 1582|     /* https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Match_patterns#path */
# 1583|->   if (strcmp (permission_path, "*") == 0)
# 1584|       return TRUE;
# 1585|   

Error: GCC_ANALYZER_WARNING (CWE-476): [#def26]
epiphany-47.2-build/epiphany-47.2/src/window-commands.c: scope_hint: In function ‘dialog_bookmarks_import_from_firefox’
epiphany-47.2-build/epiphany-47.2/src/window-commands.c:488:69: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  486|     num_profiles = g_slist_length (profiles);
#  487|     if (num_profiles == 1) {
#  488|->     imported = ephy_bookmarks_import_from_firefox (manager, profiles->data, &error);
#  489|   
#  490|       show_import_export_result (parent, FALSE, imported, error,

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-194.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-nameepiphany-47.2-1.fc42
store-results-to/tmp/tmpvssbtxex/epiphany-47.2-1.fc42.tar.xz
time-created2024-11-12 23:49:40
time-finished2024-11-12 23:57:52
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpvssbtxex/epiphany-47.2-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpvssbtxex/epiphany-47.2-1.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9