1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-19 05:49:09 +02:00
FFmpeg/libavutil
Michael Niedermayer bbbe82b142 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>
2019-11-14 23:30:37 +01:00
..
2017-09-10 19:08:33 +02:00
2017-10-11 00:02:07 +02:00
2017-09-13 22:03:27 +01:00
2017-09-13 22:03:27 +01:00
2017-09-13 22:03:27 +01:00
2017-09-13 22:03:27 +01:00
2017-09-13 22:03:27 +01:00
2017-12-07 23:38:06 +01:00