1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-04 06:08:26 +02:00
FFmpeg/libavutil
Michael Niedermayer 6f0e9a8634 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>
2019-04-24 17:05:02 +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
2019-01-18 12:34:19 +01: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