loader_gif: Don't read uninitilized memory in case of invalid input

Test file id:000037,src:000000,op:flip8,pos:73,+cov.
This commit is contained in:
Fabian Keil 2014-12-02 18:50:26 +01:00 committed by Carsten Haitzler (Rasterman)
parent 6e5d43617a
commit 2a53f202fe
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ load(ImlibImage * im, ImlibProgressFunction progress, char progress_granularity,
{
/* PrintGifError(); */
rec = TERMINATE_RECORD_TYPE;
break;
}
w = gif->Image.Width;
h = gif->Image.Height;