DnD from xarchiver to thunar makes thunar segfault.
Benedikt Meurer
benedikt.meurer at unix-ag.uni-siegen.de
Tue May 30 13:54:24 CEST 2006
Stephan Arts wrote:
>>>>It's a bug in xarchiver, which sends a path instead of a filename with
>>>>XDS. But of course, Thunar shouldn't crash. I'll fix the crash.
>>>
>>>But the filename is correctly extracted. So what is wrong ?
>>
>>As the log message
>>
>> (thunar:31137): thunar-vfs-CRITICAL **: thunar_vfs_path_relative:
>>assertion `strchr (name, '/') == NULL' failed
>>
>>tells, the filename sent by xarchiver contains a slash (/), which means
>>it's a path rather than a file name.
>
> i think you'd better check if the basename == the filename, because
> theoretically you could have escaped slashes in the filename.
The slash character is reserved as dir separator, and cannot be part of
any filename. There's no way to "escape" a slash character.
> Stephan
Benedikt
More information about the Xfce4-dev
mailing list