forked from old/legacy-imlib2
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:
parent
6e5d43617a
commit
2a53f202fe
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue