avformat/aviobuf: Check that avio_seek() target is non negative
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 14 Dec 2014 16:26:11 +0000 (17:26 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 12 Mar 2015 17:03:49 +0000 (18:03 +0100)
commitadf2f2166e7e713e5702bc58e97866060578c2d9
treeac7071e723ef331dcd8a3709f79bd499deeae5a1
parent39a6977354de23d313d027b9f604b0a5da0f55d7
avformat/aviobuf: Check that avio_seek() target is non negative

Fixes out of array access

Suggested-by: Andrew Scherkus <scherkus@google.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit ed86dbd05d61363dc1c0d33f3267e2177c985fdd)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/aviobuf.c