Error: GCC_ANALYZER_WARNING (CWE-688): [#def1] epiphany-50.1/lib/contrib/gnome-languages.c:326:28: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected epiphany-50.1/lib/contrib/gnome-languages.c:1241:1: enter_function: entry to ‘gnome_get_all_locales’ epiphany-50.1/lib/contrib/gnome-languages.c:1247:12: branch_true: following ‘true’ branch... epiphany-50.1/lib/contrib/gnome-languages.c:1248:17: branch_true: ...to here epiphany-50.1/lib/contrib/gnome-languages.c:1248:17: call_function: calling ‘collect_locales’ from ‘gnome_get_all_locales’ # 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): [#def2] epiphany-50.1/lib/contrib/gnome-languages.c:326:28: warning[-Wanalyzer-null-argument]: use of NULL ‘langinfo_codeset’ where non-null expected epiphany-50.1/lib/contrib/gnome-languages.c:1162:1: enter_function: entry to ‘gnome_get_country_from_locale’ epiphany-50.1/lib/contrib/gnome-languages.c:1166:26: release_memory: ‘language_code’ is NULL epiphany-50.1/lib/contrib/gnome-languages.c:1167:26: release_memory: ‘language_code’ is NULL epiphany-50.1/lib/contrib/gnome-languages.c:1168:26: release_memory: ‘language_code’ is NULL epiphany-50.1/lib/contrib/gnome-languages.c:1169:26: release_memory: ‘language_code’ is NULL epiphany-50.1/lib/contrib/gnome-languages.c:1174:9: branch_true: following ‘true’ branch (when ‘locale’ is non-NULL)... epiphany-50.1/lib/contrib/gnome-languages.c:1175:9: branch_true: ...to here epiphany-50.1/lib/contrib/gnome-languages.c:1175:9: branch_true: following ‘true’ branch... epiphany-50.1/lib/contrib/gnome-languages.c:1177:21: branch_true: ...to here epiphany-50.1/lib/contrib/gnome-languages.c:1180:9: call_function: calling ‘territories_init’ from ‘gnome_get_country_from_locale’ epiphany-50.1/lib/contrib/gnome-languages.c:1180:9: return_function: returning to ‘gnome_get_country_from_locale’ from ‘territories_init’ epiphany-50.1/lib/contrib/gnome-languages.c:1182:9: call_function: calling ‘gnome_parse_locale’ from ‘gnome_get_country_from_locale’ epiphany-50.1/lib/contrib/gnome-languages.c:1182:9: return_function: returning to ‘gnome_get_country_from_locale’ from ‘gnome_parse_locale’ epiphany-50.1/lib/contrib/gnome-languages.c:1188:12: branch_false: following ‘false’ branch... epiphany-50.1/lib/contrib/gnome-languages.c:1192:32: branch_false: ...to here epiphany-50.1/lib/contrib/gnome-languages.c:1192:32: call_function: calling ‘get_translated_territory’ from ‘gnome_get_country_from_locale’ epiphany-50.1/lib/contrib/gnome-languages.c:1192:32: return_function: returning to ‘gnome_get_country_from_locale’ from ‘get_translated_territory’ epiphany-50.1/lib/contrib/gnome-languages.c:1195:13: call_function: inlined call to ‘is_unique_territory’ from ‘gnome_get_country_from_locale’ # 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): [#def3] epiphany-50.1/lib/ephy-web-app-utils.c:434:7: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected epiphany-50.1/lib/ephy-web-app-utils.c:423:1: enter_function: entry to ‘ephy_web_application_ensure_for_app_info’ epiphany-50.1/lib/ephy-web-app-utils.c:431:17: call_function: calling ‘ephy_web_application_get_profile_directory’ from ‘ephy_web_application_ensure_for_app_info’ epiphany-50.1/lib/ephy-web-app-utils.c:431:17: return_function: returning to ‘ephy_web_application_ensure_for_app_info’ from ‘ephy_web_application_get_profile_directory’ epiphany-50.1/lib/ephy-web-app-utils.c:434:7: danger: argument 1 (‘ephy_web_application_get_profile_directory(ephy_web_application_get_app_id_from_name(g_app_info_get_name(app_info)))’) NULL where non-null expected # 432| # 433| /* Create the profile directory, populate it. */ # 434|-> if (g_mkdir (profile_dir, 488) == -1) { # 435| if (errno == EEXIST) # 436| return g_steal_pointer (&profile_dir); Error: GCC_ANALYZER_WARNING (CWE-688): [#def4] epiphany-50.1/src/webextension/ephy-web-extension.c:1583:7: warning[-Wanalyzer-null-argument]: use of NULL ‘permission_path’ where non-null expected epiphany-50.1/src/webextension/ephy-web-extension.c:1639:1: enter_function: entry to ‘ephy_web_extension_rule_matches_uri’ epiphany-50.1/src/webextension/ephy-web-extension.c:1650:6: branch_false: following ‘false’ branch... epiphany-50.1/src/webextension/ephy-web-extension.c:1655:17: branch_false: ...to here epiphany-50.1/src/webextension/ephy-web-extension.c:1663:6: branch_false: following ‘false’ branch... epiphany-50.1/src/webextension/ephy-web-extension.c:1666:37: branch_false: ...to here epiphany-50.1/src/webextension/ephy-web-extension.c:1666:8: call_function: calling ‘scheme_matches’ from ‘ephy_web_extension_rule_matches_uri’ epiphany-50.1/src/webextension/ephy-web-extension.c:1666:8: return_function: returning to ‘ephy_web_extension_rule_matches_uri’ from ‘scheme_matches’ epiphany-50.1/src/webextension/ephy-web-extension.c:1666:6: branch_false: following ‘false’ branch... epiphany-50.1/src/webextension/ephy-web-extension.c:1669:49: branch_false: ...to here epiphany-50.1/src/webextension/ephy-web-extension.c:1669:6: branch_false: following ‘false’ branch... epiphany-50.1/src/webextension/ephy-web-extension.c:1672:25: branch_false: ...to here epiphany-50.1/src/webextension/ephy-web-extension.c:1672:25: call_function: calling ‘join_path_and_query’ from ‘ephy_web_extension_rule_matches_uri’ epiphany-50.1/src/webextension/ephy-web-extension.c:1672:25: return_function: returning to ‘ephy_web_extension_rule_matches_uri’ from ‘join_path_and_query’ epiphany-50.1/src/webextension/ephy-web-extension.c:1675:8: call_function: calling ‘path_matches’ from ‘ephy_web_extension_rule_matches_uri’ # 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|
| analyzer-version-clippy | 1.97.1 |
| analyzer-version-cppcheck | 2.21.1 |
| analyzer-version-gcc | 16.1.1 |
| analyzer-version-gcc-analyzer | 16.1.1 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| diffbase-analyzer-version-clippy | 1.97.1 |
| diffbase-analyzer-version-cppcheck | 2.21.1 |
| diffbase-analyzer-version-gcc | 16.1.1 |
| diffbase-analyzer-version-gcc-analyzer | 16.1.1 |
| diffbase-analyzer-version-shellcheck | 0.11.0 |
| diffbase-analyzer-version-unicontrol | 0.0.2 |
| diffbase-enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| diffbase-exit-code | 0 |
| diffbase-host | ip-172-16-1-35.us-west-2.compute.internal |
| diffbase-known-false-positives | /usr/share/csmock/known-false-positives.js |
| diffbase-known-false-positives-rpm | known-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch |
| diffbase-mock-config | fedora-rawhide-x86_64 |
| diffbase-project-name | epiphany-51~alpha-4.fc45 |
| diffbase-store-results-to | /tmp/tmp5rlx9q2y/epiphany-51~alpha-4.fc45.tar.xz |
| diffbase-time-created | 2026-08-03 14:07:05 |
| diffbase-time-finished | 2026-08-03 14:14:47 |
| diffbase-tool | csmock |
| diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmp5rlx9q2y/epiphany-51~alpha-4.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp5rlx9q2y/epiphany-51~alpha-4.fc45.src.rpm' |
| diffbase-tool-version | csmock-3.8.7.HEAD-1.el9 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-35.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | epiphany-50.1-1.fc44 |
| store-results-to | /tmp/tmpvxxph86q/epiphany-50.1-1.fc44.tar.xz |
| time-created | 2026-08-03 13:58:11 |
| time-finished | 2026-08-03 14:06:48 |
| title | Fixed findings |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmpvxxph86q/epiphany-50.1-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpvxxph86q/epiphany-50.1-1.fc44.src.rpm' |
| tool-version | csmock-3.8.7.HEAD-1.el9 |