libsoup3-3.4.4-3.fc40

List of Defects

Error: CPPCHECK_WARNING: [#def1]
libsoup3-3.4.4-build/libsoup-3.4.4/examples/get.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-479): [#def2]
libsoup3-3.4.4-build/libsoup-3.4.4/examples/simple-httpd.c: scope_hint: In function ‘quit’
libsoup3-3.4.4-build/libsoup-3.4.4/examples/simple-httpd.c:229:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘exit’ from within signal handler
libsoup3-3.4.4-build/libsoup-3.4.4/examples/simple-httpd.c:229:9: note: ‘_exit’ is a possible signal-safe alternative for ‘exit’
#  227|   {
#  228|   	/* Exit cleanly on ^C in case we're valgrinding. */
#  229|-> 	exit (0);
#  230|   }
#  231|   

Error: GCC_ANALYZER_WARNING (CWE-479): [#def3]
libsoup3-3.4.4-build/libsoup-3.4.4/examples/simple-proxy.c: scope_hint: In function ‘quit’
libsoup3-3.4.4-build/libsoup-3.4.4/examples/simple-proxy.c:382:9: warning[-Wanalyzer-unsafe-call-within-signal-handler]: call to ‘exit’ from within signal handler
libsoup3-3.4.4-build/libsoup-3.4.4/examples/simple-proxy.c:382:9: note: ‘_exit’ is a possible signal-safe alternative for ‘exit’
#  380|   {
#  381|   	/* Exit cleanly on ^C in case we're valgrinding. */
#  382|-> 	exit (0);
#  383|   }
#  384|   

Error: GCC_ANALYZER_WARNING (CWE-688): [#def4]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/auth/soup-auth-basic.c: scope_hint: In function ‘soup_auth_basic_get_protection_space’
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/auth/soup-auth-basic.c:80:13: 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.
/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.
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/soup-types.h:9: included_from: Included from here.
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/auth/soup-auth.h:8: included_from: Included from here.
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/auth/soup-auth-basic.h:8: included_from: Included from here.
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/auth/soup-auth-basic.c:14: included_from: Included from here.
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/auth/soup-auth-basic.c:77:17: note: in expansion of macro ‘g_strdup’
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/auth/soup-auth-basic.c: scope_hint: In function ‘soup_auth_basic_get_protection_space’
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/auth/soup-auth-basic.c:12: included_from: Included from here.
/usr/include/string.h:273:14: note: argument 1 of ‘strrchr’ must be non-null
#   78|   
#   79|   	/* Strip filename component */
#   80|-> 	p = strrchr (space, '/');
#   81|   	if (p == space && p[1])
#   82|   		p[1] = '\0';

Error: GCC_ANALYZER_WARNING (CWE-688): [#def5]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/auth/soup-auth-digest.c: scope_hint: In function ‘soup_auth_digest_compute_hex_urp’
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/auth/soup-auth-digest.c:247:58: warning[-Wanalyzer-null-argument]: use of NULL ‘username’ 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.
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/soup-types.h:9: included_from: Included from here.
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/auth/soup-auth.h:8: included_from: Included from here.
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/auth/soup-auth-digest.h:8: included_from: Included from here.
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/auth/soup-auth-digest-private.h:4: included_from: Included from here.
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/auth/soup-auth-digest.c:14: included_from: Included from here.
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/auth/soup-auth-digest.c:316:22: note: in expansion of macro ‘g_strdup’
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/auth/soup-auth-digest.c: scope_hint: In function ‘soup_auth_digest_compute_hex_urp’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
#  245|   
#  246|   	checksum = g_checksum_new (G_CHECKSUM_MD5);
#  247|-> 	g_checksum_update (checksum, (guchar *)username, strlen (username));
#  248|   	g_checksum_update (checksum, (guchar *)":", 1);
#  249|   	g_checksum_update (checksum, (guchar *)realm, strlen (realm));

Error: CPPCHECK_WARNING: [#def6]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/auth/soup-auth-manager.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-688): [#def7]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/auth/soup-auth-manager.c: scope_hint: In function ‘record_auth_for_uri’
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/auth/soup-auth-manager.c:591:30: warning[-Wanalyzer-null-argument]: use of NULL ‘soup_auth_get_info(auth)’ where non-null expected
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/auth/soup-auth-manager.c:12: included_from: Included from here.
/usr/include/string.h:156:12: note: argument 2 of ‘strcmp’ must be non-null
#  589|   		old_auth_info = soup_path_map_lookup (host->auth_realms, path);
#  590|   		if (old_auth_info) {
#  591|-> 			if (!strcmp (old_auth_info, auth_info))
#  592|   				continue;
#  593|   			soup_path_map_remove (host->auth_realms, path);

Error: CPPCHECK_WARNING: [#def8]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/auth/soup-auth-negotiate.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def9]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/auth/soup-auth-ntlm.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def10]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/auth/soup-auth.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-688): [#def11]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/auth/soup-auth.c: scope_hint: In function ‘soup_auth_new’
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/auth/soup-auth.c:280:13: 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.
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/soup-types.h:9: included_from: Included from here.
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/auth/soup-auth.h:8: included_from: Included from here.
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/auth/soup-auth.c:14: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/auth/soup-auth.c:263: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’
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/auth/soup-auth.c:264: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’
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/auth/soup-auth.c:264: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’
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/auth/soup-auth.c:438:9: note: in expansion of macro ‘g_return_val_if_fail’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
#  278|   
#  279|   	scheme = soup_auth_get_scheme_name (auth);
#  280|-> 	if (g_ascii_strncasecmp (auth_header, scheme, strlen (scheme)) != 0) {
#  281|   		g_object_unref (auth);
#  282|   		return NULL;

Error: CPPCHECK_WARNING: [#def12]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/cache/soup-cache.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-476): [#def13]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/cache/soup-cache.c:1163: warning[nullPointer]: Possible null pointer dereference: item
# 1161|   	lru_item = g_list_find (priv->lru_start, entry);
# 1162|   	item = lru_item;
# 1163|-> 	while (item->next && lru_compare_func (item->data, item->next->data) > 0)
# 1164|   		item = g_list_next (item);
# 1165|   

Error: CPPCHECK_WARNING: [#def14]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/content-decoder/soup-content-decoder.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def15]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/content-decoder/soup-converter-wrapper.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def16]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/content-sniffer/soup-content-sniffer.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def17]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/cookies/soup-cookie-jar-text.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def18]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/cookies/soup-cookie-jar.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def19]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/cookies/soup-cookie.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def20]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/hsts/soup-hsts-policy.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def21]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/http1/soup-message-io-data.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING (CWE-457): [#def22]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/http1/soup-message-io-data.c:165: error[legacyUninitvar]: Uninitialized variable: stream
#  163|                   else
#  164|                           g_assert_not_reached ();
#  165|-> 		base_source = g_pollable_input_stream_create_source (stream, cancellable);
#  166|   	} else if (SOUP_MESSAGE_IO_STATE_POLLABLE (io->write_state)) {
#  167|   		GPollableOutputStream *stream;

Error: CPPCHECK_WARNING (CWE-457): [#def23]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/http1/soup-message-io-data.c:175: error[legacyUninitvar]: Uninitialized variable: stream
#  173|                   else
#  174|                           g_assert_not_reached ();
#  175|-> 		base_source = g_pollable_output_stream_create_source (stream, cancellable);
#  176|   	} else
#  177|   		base_source = g_timeout_source_new (0);

Error: CPPCHECK_WARNING: [#def24]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/http2/soup-body-input-stream-http2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def25]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/http2/soup-client-message-io-http2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def26]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/server/http1/soup-server-message-io-http1.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def27]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/server/http2/soup-server-message-io-http2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def28]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/server/soup-auth-domain-digest.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def29]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/server/soup-path-map.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-688): [#def30]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/server/soup-path-map.c: scope_hint: In function ‘soup_path_map_add’
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/server/soup-path-map.c:140:31: warning[-Wanalyzer-null-argument]: use of NULL ‘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/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.
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/soup-types.h:9: included_from: Included from here.
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/server/soup-path-map.h:9: included_from: Included from here.
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/server/soup-path-map.c:14: included_from: Included from here.
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/server/soup-path-map.c:139:32: note: in expansion of macro ‘g_strdup’
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/server/soup-path-map.c: scope_hint: In function ‘soup_path_map_add’
<built-in>: note: argument 1 of ‘__builtin_strlen’ must be non-null
#  138|   
#  139|   		mapping.path = g_strdup (path);
#  140|-> 		mapping.len = strlen (path);
#  141|   		mapping.data = data;
#  142|   		g_array_insert_val (map->mappings, insert, mapping);

Error: CPPCHECK_WARNING: [#def31]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/server/soup-server.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def32]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/soup-date-utils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def33]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/soup-filter-input-stream.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def34]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/soup-form.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def35]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/soup-headers.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def36]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/soup-logger.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-688): [#def37]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/soup-logger.c: scope_hint: In function ‘soup_logger_print_basic_auth’
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/soup-logger.c:613:13: warning[-Wanalyzer-null-argument]: use of NULL ‘decoded’ 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.
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/soup-types.h:9: included_from: Included from here.
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/soup-logger.h:8: included_from: Included from here.
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/soup-logger-private.h:7: included_from: Included from here.
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/soup-logger.c:17: included_from: Included from here.
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/soup-logger.c:612:27: note: in expansion of macro ‘g_strdup’
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/soup-logger.c: scope_hint: In function ‘soup_logger_print_basic_auth’
<built-in>: note: argument 1 of ‘__builtin_strchr’ must be non-null
#  611|   	if (!decoded)
#  612|   		decoded = g_strdup (value);
#  613|-> 	p = strchr (decoded, ':');
#  614|   	if (p) {
#  615|   		while (++p < decoded + len)

Error: CPPCHECK_WARNING: [#def38]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/soup-message-headers.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def39]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/soup-message.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def40]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/soup-misc.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def41]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/soup-multipart-input-stream.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def42]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/soup-multipart.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def43]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/soup-session.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def44]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/soup-uri-utils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def45]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/websocket/soup-websocket-connection.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def46]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/websocket/soup-websocket-extension-deflate.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def47]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/websocket/soup-websocket.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def48]
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/websocket/soup-websocket.c: scope_hint: In function ‘soup_websocket_server_process_handshake’
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/websocket/soup-websocket.c:712:58: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘error’
/usr/lib64/glib-2.0/include/glibconfig.h:9: included_from: Included from here.
/usr/include/glib-2.0/glib/gtypes.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib/galloca.h:34: included_from: Included from here.
/usr/include/glib-2.0/glib.h:32: included_from: Included from here.
/usr/include/glib-2.0/glib/gi18n-lib.h:23: included_from: Included from here.
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/websocket/soup-websocket.c:25: included_from: Included from here.
/usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’
/usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’
/usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/websocket/soup-websocket.c:703: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’
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/websocket/soup-websocket.c:704: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’
libsoup3-3.4.4-build/libsoup-3.4.4/libsoup/websocket/soup-websocket.c:704:9: note: in expansion of macro ‘g_return_val_if_fail’
#  710|   			respond_handshake_forbidden (msg);
#  711|   		else
#  712|-> 			respond_handshake_bad (msg, error->message);
#  713|   		g_error_free (error);
#  714|   		return FALSE;

Error: CPPCHECK_WARNING: [#def49]
libsoup3-3.4.4-build/libsoup-3.4.4/redhat-linux-build/tmp-introspectnm6ksylb/Soup-3.0.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def50]
libsoup3-3.4.4-build/libsoup-3.4.4/redhat-linux-build/tmp-introspectnm6ksylb/Soup-3.0.c:799:27: warning[core.NullDereference]: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error')

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-24.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namelibsoup3-3.4.4-3.fc40
store-results-to/tmp/tmpvzh7a2j7/libsoup3-3.4.4-3.fc40.tar.xz
time-created2024-07-03 15:50:43
time-finished2024-07-03 15:54:09
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpvzh7a2j7/libsoup3-3.4.4-3.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpvzh7a2j7/libsoup3-3.4.4-3.fc40.src.rpm'
tool-versioncsmock-3.5.3-1.el9