mirror of https://github.com/FFmpeg/FFmpeg.git
If it is negative, it can cause the byte position to move backwards in avio_skip, which in turn makes sm_size negative and thus size larger than the size of the packet buffer, causing invalid writes in avio_read. Also fix potential overflow of avio_tell(bc) + value_len. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>pull/167/head
parent
9d38f06d05
commit
ce10f572c1
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue