mirror of https://github.com/FFmpeg/FFmpeg.git
The function in case of n=0 would read more bytes than 0. The end pointer could be beyond the allocated space, which is undefined. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>pull/310/head
parent
18a567c369
commit
6f0e9a8634
1 changed files with 3 additions and 2 deletions
Loading…
Reference in new issue