Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP3:GA
nautilus
nautilus-CVE-2022-37290.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nautilus-CVE-2022-37290.patch of Package nautilus
Index: nautilus-3.20.3/libnautilus-private/nautilus-file-operations.c =================================================================== --- nautilus-3.20.3.orig/libnautilus-private/nautilus-file-operations.c +++ nautilus-3.20.3/libnautilus-private/nautilus-file-operations.c @@ -819,6 +819,12 @@ custom_basename_to_string (char *format, if (name == NULL) { basename = g_file_get_basename (file); + + if (basename == NULL) + { + return g_strdup (_("unknown")); + } + if (g_utf8_validate (basename, -1, NULL)) { name = basename; } else { @@ -3522,6 +3528,7 @@ get_unique_target_file (GFile *src, if (dest == NULL) { basename = g_file_get_basename (src); + g_assert (basename == NULL); if (g_utf8_validate (basename, -1, NULL)) { new_name = get_duplicate_name (basename, count, max_length);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor