Fix NULL de-reference in thumbnail loader
gthumb-3.10.3-1.fc34.x86_64
crashes when run in my home directory.
I installed debuginfo and found in the core that original_image_ready_cb()
was passing surface=NULL
into original_image_loaded_correctly()
. gth_image_get_cairo_surface()
was returning NULL
for some images.
I cannot provide sample images for this, but the NULL
de-reference should be obvious (see the patch). I've attached a patch which fixes it for me and gthumb loads my home directory with it.
Sorry, no merge request, just the patch against master
branch. Apply using git am
.0001-Fix-NULL-de-reference-in-thumbnail-loader.patch