Fixing crash when loading GIF image without enough memory available

This commit is contained in:
Joel Bodenmann 2016-07-27 13:08:18 +02:00
parent 0abb8d3af3
commit f2cf8b9814
2 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,7 @@ FEATURE: Add ability to capture mouse events on the win32 ugfx emaultor window
FIX: Fixing issue where children of (nested) containers were not properly handled when callin gwinRaise()
FEATURE: Automatically close all open files in gfileDeinit()
FEATURE: Adding support for IAR and EDG compilers
FIX: Fixing crash when loading GIF image without enough memory available
*** Release 2.5 ***

View File

@ -550,6 +550,7 @@ gdispImageError gdispImageOpen_GIF(gdispImage *img) {
priv->frame.flags = 0;
priv->cache = 0;
priv->curcache = 0;
priv->decode = 0;
/* Process the Screen Descriptor structure */