Bug 995148 - [Tarako][Gallery] Gallery exits when loading some specific pictures
Merge pull request #22356 from mpizza/v1.4_995148_add_patch

Bug 995148 - [Tarako][Gallery] Gallery exits when loading some specific pictures. uplift patch from v1.3 because Bug 1041853 need this patch.