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>
Wed, 1 Nov 2017 21:16:01 +0000 (22:16 +0100)
commitc1cd31b182bd187e9bf6f6187d63f79571b6aad9
treee0c885aca60e1692d931db143b27c6370dd3a8e2
parent84b83ecbfd4f42be64e9e125348204647d4afb01
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