1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-24 13:56:33 +02:00
FFmpeg/libavutil
Michael Niedermayer d8bdc95457 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-06-27 17:50:47 +02:00
..
2018-09-14 21:36:21 +02:00
2017-12-24 22:02:41 +01:00
2017-12-24 22:02:41 +01:00
2016-05-04 18:16:21 +02:00
2017-01-26 10:25:20 +01:00
2018-09-12 19:15:09 +02:00
2018-09-12 19:15:09 +02:00
2017-09-13 22:03:27 +01:00
2017-03-01 11:23:19 -05:00
2017-06-02 21:00:35 -04:00
2018-04-26 19:50:29 +02:00
2016-08-02 21:52:40 -07:00
2017-11-05 22:13:16 +01:00
2016-10-21 23:58:47 +02:00
2017-10-23 11:56:15 +02:00