Kaydet (Commit) ee35b720 authored tarafından Caolán McNamara's avatar Caolán McNamara

fix another gif import crash

Change-Id: I0ffa569e0c4240e11184df7dd56b95d87a12425d
üst 69632c9c
...@@ -193,6 +193,9 @@ bool GIFLZWDecompressor::ProcessOneCode() ...@@ -193,6 +193,9 @@ bool GIFLZWDecompressor::ProcessOneCode()
nOldCode = nCode; nOldCode = nCode;
if (nCode > 4096)
return false;
// write character(/-sequence) of code nCode in the output buffer: // write character(/-sequence) of code nCode in the output buffer:
pE = pTable + nCode; pE = pTable + nCode;
do do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment