Created attachment 3480 Patch xfdesktop_image_file_is_valid in xfdesktop/common/xfdesktop-common.c crashes when read() fails and returns -1, because the result is converted to an unsigned integer. To reproduce: # mkdir /usr/share/xfce4/backdrops/dummy $ xfdesktop-settings Segmentation fault
I can't reproduce the crash but the patch is still valid, I just pushed it to the master and xfce-4.8 branches. Thanks for your contribution!