diff -rupN giflib-5.0.5/util/giffix.c giflib-5.0.5-new/util/giffix.c
--- giflib-5.0.5/util/giffix.c 2013-08-29 21:56:39.000000000 +0200
+++ giflib-5.0.5-new/util/giffix.c 2015-12-22 13:33:04.882199348 +0100
@@ -91,7 +91,7 @@ int main(int argc, char **argv)
GifFileIn->SColorMap) == GIF_ERROR)
QuitGifError(GifFileIn, GifFileOut);
- if ((LineBuffer = (GifRowType) malloc(GifFileIn->SWidth)) == NULL)
+ if ((LineBuffer = (GifRowType) malloc(GifFileIn->Image.Width)) == NULL)
GIF_EXIT("Failed to allocate memory required, aborted.");
/* Scan the content of the GIF file and load the image(s) in: */