Fix #553:Desktop file without %f or %F crashes Geeqie
authorColin Clark <colin.clark@cclark.uk>
Fri, 8 Dec 2017 11:45:30 +0000 (11:45 +0000)
committerColin Clark <colin.clark@cclark.uk>
Fri, 8 Dec 2017 11:45:30 +0000 (11:45 +0000)
commit5ebdb58d185412387ce26424dee6981d3cee6f2d
treea8280dc6290c3d9d42f875a68a0a98c685ac3b56
parent8e84835371007609b712f86f35752769631fd7bb
Fix #553:Desktop file without %f or %F crashes Geeqie

https://github.com/BestImageViewer/geeqie/issues/553

A .desktop file without %f or %F and is a filter, will crash Geeqie.
Check if filedata structure is null.
src/editors.c