Skip to content

#2539 Nautilus crashes after taking a screenshot to clipboard

nautilus-file.c: Check the retrieved basename pointer

Function nautilus_file_get_internal() don't check if retrieved basename pointer is NULL before calling the function nautilus_file_new_from_filename() which asserts if its basename parameter is NULL.

Add that check.

Fixes #2539 (closed)

Edited by Aleksandar Dezelin

Merge request reports

Loading