OSDN Git Service

avcodec/sunrast: Fix input buffer pointer check
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 1 Nov 2016 18:24:49 +0000 (19:24 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 2 Nov 2016 11:06:22 +0000 (12:06 +0100)
commit37138338ff602803d174b13fecd363a083bc2f9a
treece9fb28df479d8591d76a65850ea3986dd7ffb96
parentd401c37ef5036a12c03d4cbdbbde561d9a7ba4b3
avcodec/sunrast: Fix input buffer pointer check

Fixes: out of array read
Fixes: poc.dat

Found-by: Bingchang, Liu @VARAS of IIE
Tested-by: bc L <l.bing.chang.bc@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/sunrast.c