projects
/
platform
/
upstream
/
giflib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edeba49
)
Add partial patch
75/71075/1
accepted/tizen/common/20160525.155713
accepted/tizen/ivi/20160602.020408
accepted/tizen/mobile/20160602.020337
accepted/tizen/tv/20160602.020351
accepted/tizen/wearable/20160602.020348
submit/tizen/20160524.043608
author
Jiyong Min
<jiyong.min@samsung.com>
Tue, 24 May 2016 04:12:46 +0000
(13:12 +0900)
committer
Jiyong Min
<jiyong.min@samsung.com>
Tue, 24 May 2016 04:17:37 +0000
(13:17 +0900)
(Return error when gif file read to decode, private is not initialized)
Change-Id: I4a64905b0b81cd5a8be748cf3761e991781e4df0
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
lib/dgif_lib.c
patch
|
blob
|
history
diff --git
a/lib/dgif_lib.c
b/lib/dgif_lib.c
index
f8e5921
..
e22925e
100644
(file)
--- a/
lib/dgif_lib.c
+++ b/
lib/dgif_lib.c
@@
-97,6
+97,9
@@
DGifOpenFileHandle(int FileHandle, int *Error)
free((char *)GifFile);
return NULL;
}
+
+ /*@i1@*/memset(Private, '\0', sizeof(GifFilePrivateType));
+
#ifdef _WIN32
_setmode(FileHandle, O_BINARY); /* Make sure it is in binary mode. */
#endif /* _WIN32 */