avcodec/jpeglsdec: Check for end of bitstream in ls_decode_line()
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 25 Oct 2017 22:02:57 +0000 (00:02 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 1 Dec 2017 23:28:59 +0000 (00:28 +0100)
commit93854b705273fa77ff22aed393232ae19dfb30d9
tree5d97a6a39d92529a035c33bd23a55fd8404fde54
parent52bb493afaa51e9929929412a3c37434c109acea
avcodec/jpeglsdec: Check for end of bitstream in ls_decode_line()

Fixes: 1773/clusterfuzz-testcase-minimized-4832523987189760

Fixes: Timeout

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit f80224ed19a4c012549fd460d529c7c04e68cf21)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/jpeglsdec.c