Task #130847 - added.err
back to task #130847download
Error: GCC_ANALYZER_WARNING (CWE-688):
epiphany-51.alpha/lib/contrib/gnome-languages.c:326:28: warning[-Wanalyzer-null-argument]: use of NULL ‘normalized_codeset’ where non-null expected
epiphany-51.alpha/lib/contrib/gnome-languages.c:1241:1: enter_function: entry to ‘gnome_get_all_locales’
epiphany-51.alpha/lib/contrib/gnome-languages.c:1247:12: branch_true: following ‘true’ branch...
epiphany-51.alpha/lib/contrib/gnome-languages.c:1248:17: branch_true: ...to here
epiphany-51.alpha/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-51.alpha/lib/ephy-web-app-utils.c:434:7: warning[-Wanalyzer-null-argument]: use of NULL ‘profile_dir’ where non-null expected
epiphany-51.alpha/lib/ephy-web-app-utils.c:423:1: enter_function: entry to ‘ephy_web_application_ensure_for_app_info’
epiphany-51.alpha/lib/ephy-web-app-utils.c:425:20: release_memory: ‘id’ is NULL
epiphany-51.alpha/lib/ephy-web-app-utils.c:426:20: release_memory: ‘id’ is NULL
epiphany-51.alpha/lib/ephy-web-app-utils.c:427:20: release_memory: ‘id’ is NULL
epiphany-51.alpha/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-51.alpha/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-51.alpha/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);