raster pushed a commit to branch master.

http://git.enlightenment.org/legacy/imlib2.git/commit/?id=1f9b0b32728803a1578e658cd0955df773e34f49

commit 1f9b0b32728803a1578e658cd0955df773e34f49
Author: Fabian Keil <[email protected]>
Date:   Wed Dec 3 13:00:15 2014 +0100

    Fix segfault when opening input/queue/id:000007,src:000000,op:flip1,pos:51 
with feh
---
 src/modules/loaders/loader_gif.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/modules/loaders/loader_gif.c b/src/modules/loaders/loader_gif.c
index c6356ca..23dfcca 100644
--- a/src/modules/loaders/loader_gif.c
+++ b/src/modules/loaders/loader_gif.c
@@ -132,6 +132,10 @@ load(ImlibImage * im, ImlibProgressFunction progress, char 
progress_granularity,
      {
         UNSET_FLAG(im->flags, F_HAS_ALPHA);
      }
+   if (!rows)
+     {
+        goto quit2;
+     }
 
    /* set the format string member to the lower-case full extension */
    /* name for the format - so example names would be: */

-- 


Reply via email to