mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avcodec/movtextdec: Make tx3g_ptr unsigned
Fixes integer overflow Fixes: efe937780e95574250dabe07151bdc23/unknown_unknown_351_849_cov_3187578556_shellymanne.mov Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
baeb8f5f71
commit
a1a32fdb0e
@ -132,7 +132,7 @@ static void mov_text_cleanup_ftab(MovTextContext *m)
|
||||
|
||||
static int mov_text_tx3g(AVCodecContext *avctx, MovTextContext *m)
|
||||
{
|
||||
char *tx3g_ptr = avctx->extradata;
|
||||
uint8_t *tx3g_ptr = avctx->extradata;
|
||||
int i, box_size, font_length;
|
||||
int8_t v_align, h_align;
|
||||
int style_fontID;
|
||||
|
Loading…
Reference in New Issue
Block a user