targa: use checked bytestream read
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 10 Jan 2013 03:37:45 +0000 (04:37 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 10 Jan 2013 03:57:50 +0000 (04:57 +0100)
commit7cb46b519103ed62edbb992abfe564971043e5d9
tree0148bf49faf79da73fd06775833a2e2d11ba1243
parent2b12d1ffd841cf57976b124c1882e4a23a7c5f61
targa: use checked bytestream read

Fix out of array read

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/targa.c