OSDN Git Service

avcodec/y41pdec: Fix width in input buffer size check
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 10 May 2017 12:33:27 +0000 (14:33 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 10 May 2017 12:34:34 +0000 (14:34 +0200)
commit3d8d3729475c7dce52d8fb9ffb280fd2ea62e1a2
treeb37c3855881b3c6298750b54ce517f6f48d83743
parent2b06f2d2e24ccc4098f3ab40efd68e8f3f02b273
avcodec/y41pdec: Fix width in input buffer size check

Fixes: out of array read
Fixes: 1437/clusterfuzz-testcase-minimized-4569970002362368

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/y41pdec.c