Here's a patch to fix a crash that I've been hitting for a while. The
issue is that when dragging and dropping from Xfe (a light-weight file
explorer,, paths aren't escaped like they
are when dnd'ing from a GTK app. If the filename has characters that are
reserved per URI rules (e.g. 'test # one'), g_filename_from_uri()
returns null and geeqie crashes with a SIGSEGV.

To fix it, the patch checks if the conversion failed due to a bad URI.
If so, it manually escapes the URI and tries to convert again. 

This probably isn't specific to Xfe, but that's the only non-GTK/QT
program I use that can drag and drop.

Jonathan Boeing (1):
  Fix crash on drag and drop from xfe

 src/uri_utils.c | 28 +++++++++++++++++++++++++++-
 1 file changed, 27 insertions(+), 1 deletion(-)


Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!;130105516;z
Geeqie-devel mailing list

Reply via email to