diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-04-16 00:09:38 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-11-11 20:18:45 +0100 |
commit | 32c200d49dc7a05db9e3a9199cc845f574b2f63b (patch) | |
tree | 0f692052338114b364b7e8db80883efa1eada1c5 /libavformat/swfdec.c | |
parent | 17d039349f892195b2854b45d7ee691ee6c85b81 (diff) | |
download | ffmpeg-32c200d49dc7a05db9e3a9199cc845f574b2f63b.tar.gz |
avutil/avstring: Fix bug and undefined behavior in av_strncasecmp()
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>
(cherry picked from commit 6f0e9a863466bfcbd75ee15d4d8a6aad2a5126a4)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/swfdec.c')
0 files changed, 0 insertions, 0 deletions