1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-24 13:56:33 +02:00
FFmpeg/libavutil
Michael Niedermayer 32c200d49d 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-11 20:18:45 +01:00
..
2017-12-24 22:02:41 +01:00
2017-12-24 22:02:41 +01:00
2018-03-18 12:36:24 +01:00
2017-09-13 22:03:27 +01:00
2018-03-16 02:09:59 +01:00
2017-11-05 22:13:16 +01:00
2017-10-23 11:56:15 +02:00