Task #118805 - fixed.err
back to task #118805download
Error: GCC_ANALYZER_WARNING (CWE-688):
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):
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):
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);