]> git.sesse.net Git - ffmpeg/commit
flac_picture: prevent a possible out of bound write
authorVittorio Giovara <vittorio.giovara@gmail.com>
Mon, 20 Oct 2014 13:11:21 +0000 (14:11 +0100)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Fri, 24 Oct 2014 22:42:53 +0000 (23:42 +0100)
commit0b66fb4505e0bb43de3797f63f3290f0188d67cc
treee74ce34200681399f20c373e3d8fe1ddd72b3b96
parentf1ed83e23add1c26c50b146727e4c2399dfc0b3a
flac_picture: prevent a possible out of bound write

At "mimetype[len] = 0;" mimetype is a 64 element array and len might be
equal to or greater than that.

CC: libav-stable@libav.org
Bug-Id: CID 1061055
libavformat/flac_picture.c