OSDN Git Service

tiff: do not overread the source buffer
authorLuca Barbato <lu_zero@gentoo.org>
Mon, 3 Jun 2013 02:53:02 +0000 (04:53 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Fri, 7 Jun 2013 15:23:53 +0000 (17:23 +0200)
commit9c2216976907336dfae0e8e38a4d70ca2465a92c
treeb4bba5303f0f5a4985dec46b42c2f8eab0a7ec1c
parent999ccd2d0a43640921088578f138c874f6cc0f8a
tiff: do not overread the source buffer

At least 2 bytes from the source are read every loop.

Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
libavcodec/tiff.c