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-12-09 12:08:29 +01:00
2015-07-20 17:20:16 +02:00
2014-06-02 19:38:01 +02:00
2016-11-26 15:12:25 +01:00
2015-06-05 19:12:58 +02:00
2016-01-08 14:02:27 -03:00
2015-06-19 02:25:48 +02:00
2014-04-07 01:31:02 +02:00
2015-06-19 02:25:48 +02:00
2014-10-29 14:09:58 -03:00
2014-11-27 12:40:18 +01:00
2014-12-27 22:14:23 +01:00
2013-12-20 13:16:56 +01:00
2015-02-17 00:21:48 +01:00
2015-08-19 16:15:13 +00:00
2015-08-19 16:15:13 +00:00
2019-12-02 19:41:48 +01:00
2015-03-31 23:50:46 +02:00
2015-08-22 10:07:05 -07:00
2013-12-05 23:42:07 +01:00
2014-01-26 01:54:55 +01:00
2015-09-05 13:02:29 -03:00
2015-09-05 13:02:29 -03:00
2014-07-15 21:49:56 +02:00
2014-11-29 03:51:35 +01:00
2014-08-05 01:54:47 +02:00
2014-11-27 23:42:16 +01:00
2015-03-12 02:15:28 +01:00
2014-03-06 03:23:40 +01:00
2015-02-10 17:15:36 +01:00
2015-01-02 21:23:45 +01:00
2015-05-02 14:37:48 +02:00
2014-12-19 14:35:29 +01:00
2016-04-27 04:40:11 +02:00
2015-08-24 10:40:24 +02:00
2015-03-05 12:26:22 +01:00
2015-03-05 12:26:22 +01:00
2016-04-27 04:40:12 +02:00
2018-07-10 01:52:56 +02:00
2015-05-31 23:59:48 +02:00
2015-05-31 12:07:11 +02:00
2015-05-31 22:47:50 +02:00
2015-06-19 02:25:48 +02:00
2014-04-17 22:38:51 +02:00
2015-09-05 13:02:29 -03:00
2015-09-05 13:02:29 -03:00
2015-05-10 16:09:07 +02:00
2014-11-24 02:22:19 +01:00
2015-03-24 01:14:31 +01:00
2015-03-24 01:14:31 +01:00
2014-02-16 02:05:29 +01:00
2014-07-12 22:33:27 +02:00
2014-07-12 22:33:27 +02:00
2015-02-10 23:02:24 +01:00
2014-10-19 22:32:14 +02:00
2015-08-12 00:14:14 +02:00
2013-10-19 16:42:57 +02:00
2015-08-19 16:15:13 +00:00
2015-08-19 16:15:13 +00:00
2015-11-02 19:15:32 +01:00
2015-02-14 21:27:44 +01:00
2014-11-24 04:59:02 +01:00
2015-06-20 03:39:09 -03:00
2015-06-03 22:50:53 +02:00
2015-08-07 22:46:27 +02:00
2015-06-01 16:22:27 +02:00
2016-02-13 21:08:23 +01:00
2015-07-18 10:46:36 +02:00
2014-08-31 10:33:02 +02:00
2014-04-29 13:24:11 +02:00
2015-07-29 21:32:05 -03:00
2015-07-29 21:32:05 -03:00
2017-02-08 21:17:50 +01:00
2017-02-08 21:17:50 +01:00
2018-10-25 00:24:55 +02:00
2017-06-05 23:16:54 +02:00
2015-08-22 10:07:05 -07:00
2014-07-19 14:55:46 +02:00
2014-08-12 04:35:52 +02:00
2014-11-08 11:31:11 +01:00
2014-09-28 19:32:07 +02:00
2014-09-28 19:32:07 +02:00
2015-10-08 13:15:42 +02:00
2015-06-26 14:02:35 +02:00
2014-10-11 12:15:26 +02:00
2013-12-30 11:23:32 +01:00
2015-08-12 00:14:14 +02:00
2015-12-09 17:53:44 +01:00
2014-06-03 10:58:19 -08:00
2014-09-05 00:43:48 +02:00
2015-07-13 21:54:15 -03:00
2019-12-02 19:41:47 +01:00
2019-07-23 01:21:55 -03:00
2014-08-21 12:27:34 +02:00
2015-02-17 00:18:15 +01:00
2013-11-14 03:26:35 +01:00
2014-08-12 03:49:45 +02:00
2014-08-12 03:49:45 +02:00
2015-04-28 12:28:53 +02:00
2015-04-28 12:28:53 +02:00
2016-01-28 15:53:54 +01:00
2016-08-15 20:25:13 +02:00
2015-07-21 16:55:39 +02:00
2015-04-07 20:46:25 +02:00
2015-03-30 04:37:42 +02:00
2014-09-28 16:17:18 +02:00
2016-02-22 03:50:51 +01:00
2015-03-04 21:58:53 +01:00
2015-02-10 15:45:02 +01:00
2014-08-05 21:05:52 +02:00
2018-07-20 13:15:48 +02:00
2017-02-08 21:17:50 +01:00
2015-05-26 18:31:53 +02:00
2015-05-26 18:31:53 +02:00
2015-09-05 13:02:29 -03:00
2015-09-05 13:02:29 -03:00
2014-04-04 22:52:12 +02:00
2015-08-12 00:14:14 +02:00
2015-05-07 15:40:56 +02:00
2014-10-05 17:09:56 -03:00
2014-10-05 17:09:49 -03:00
2015-02-18 22:50:41 +01:00
2015-04-30 17:38:41 -03:00
2015-11-12 00:00:57 +01:00
2018-01-31 22:56:14 +01:00
2014-08-14 00:17:47 +02:00
2014-06-19 23:47:10 +02:00
2015-07-21 23:10:44 +02:00
2015-07-21 23:10:44 +02:00
2014-12-14 18:15:57 +01:00
2014-05-26 11:40:15 +02:00
2014-05-26 11:40:15 +02:00
2014-11-05 18:44:15 +01:00
2014-10-24 11:06:56 +02:00
2014-10-24 11:06:56 +02:00
2015-12-06 02:51:27 +01:00
2015-03-27 04:44:58 +01:00
2014-03-13 17:32:15 +01:00
2013-10-24 10:59:26 +01:00
2015-02-18 00:59:55 +01:00
2015-01-29 01:56:11 +01:00
2013-11-22 17:16:11 +01:00
2015-08-18 15:57:20 -04:00
2015-09-05 13:02:29 -03:00
2014-11-27 11:10:26 +01:00
2015-09-05 13:02:29 -03:00
2015-09-05 13:02:29 -03:00