mirror of https://github.com/FFmpeg/FFmpeg.git
The return type of strlen is size_t, i.e. unsigned, so if pd->buf_size is 3, the right side overflows leading to a wrong result of the comparison and subsequently a heap buffer overflow. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>pull/160/head
parent
7f7fa90f7b
commit
db374790c7
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue