1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-19 05:49:09 +02:00
FFmpeg/libavutil
Michael Niedermayer 37b2a19afa 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-12-02 19:41:48 +01:00
..
2014-04-07 01:31:02 +02:00
2015-06-19 02:25:48 +02:00
2015-08-19 16:15:13 +00:00
2015-08-19 16:15:13 +00:00
2015-08-22 10:07:05 -07:00
2014-08-05 01:54:47 +02:00
2015-05-02 14:37:48 +02:00
2014-12-19 14:35:29 +01:00
2015-05-31 12:07:11 +02:00
2014-07-12 22:33:27 +02:00
2014-07-12 22:33:27 +02:00
2015-08-19 16:15:13 +00:00
2015-08-19 16:15:13 +00:00
2014-04-29 13:24:11 +02:00
2017-02-08 21:17:50 +01:00
2017-02-08 21:17:50 +01:00
2015-08-22 10:07:05 -07:00
2014-11-08 11:31:11 +01:00
2014-10-11 12:15:26 +02:00
2014-06-03 10:58:19 -08:00
2014-09-05 00:43:48 +02:00
2016-08-15 20:25:13 +02:00
2014-08-05 21:05:52 +02:00
2015-05-26 18:31:53 +02:00
2015-05-26 18:31:53 +02:00
2018-01-31 22:56:14 +01:00
2014-05-26 11:40:15 +02:00
2014-05-26 11:40:15 +02:00
2015-12-06 02:51:27 +01:00
2015-02-18 00:59:55 +01:00
2013-11-22 17:16:11 +01:00