avcodec/gif: Fix lzw buffer size
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 18 Jan 2016 18:20:03 +0000 (19:20 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 18 Jan 2016 18:56:37 +0000 (19:56 +0100)
commit03d83ba34b2070878909eae18dfac0f519503777
tree64b5c49d1170df3ba1d3e38eee136ac7fb06d661
parent3ef5de0f19774e2c3dd9b08ba2e8ab7241a4862a
avcodec/gif: Fix lzw buffer size

Fixes out of array access
Fixes: aaa479088e6fb40b04837b3119f47b04/asan_heap-oob_e38c68_8576_9d653078b2470700e2834636f12ff557.tga

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/gif.c