зеркало из https://github.com/mozilla/pjs.git
bug 328509 initialization fix, patch from jhpedemonte, r/sr=pavlov, a=dveditz
This commit is contained in:
Родитель
122c820f55
Коммит
588629eb31
|
@ -375,7 +375,7 @@ PRBool GIFInit(gif_struct* gs, void* aClientData)
|
|||
return PR_FALSE;
|
||||
|
||||
// Clear out the structure, excluding the arrays
|
||||
memset(gs, 0, offsetof(gif_struct, prefix));
|
||||
memset(gs, 0, sizeof(gif_struct));
|
||||
gs->clientptr = aClientData;
|
||||
|
||||
// Start with the version (GIF89a|GIF87a)
|
||||
|
|
Загрузка…
Ссылка в новой задаче