avcodec/dnxhd_parser: Do not return invalid value from dnxhd_find_frame_end() on...
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 14 Jun 2017 14:58:20 +0000 (16:58 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 19 Jul 2017 13:26:37 +0000 (15:26 +0200)
commit0a709e2a10b8288a0cc383547924ecfe285cef89
treeb0474aa204005824b89d26b7f32011b71c1ead12
parent10d821309b02014d7663b63635ff2a3294382558
avcodec/dnxhd_parser: Do not return invalid value from dnxhd_find_frame_end() on error

Fixes: Null pointer dereference

Fixes: CVE-2017-9608
Found-by: Yihan Lian
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 611b35627488a8d0763e75c25ee0875c5b7987dd)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/dnxhd_parser.c