Andreas Rheinhardt
e212f0c000
avfilter/af_headphone: Don't use uninitialized buffer in log message
...
This buffer was supposed to be initialized by sscanf(input, "%7[A-Z]%n",
buf, &len), yet if the first input character is not in the A-Z range,
buf is not touched (in particular it needn't be zero-terminated if the
failure happened when parsing the first channel and it still contains
the last channel name if the failure happened when one channel name
could be successfully parsed). This is treated as error in which case
buf is used directly in the log message. This commit fixes this by
actually using the string that could not be matched in the log message
instead.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
(cherry picked from commit e2d4a5807fa5914185dc6f3ae0a4d63cd8fe3b29)
2021-02-27 07:21:00 +01:00
..
2020-07-06 20:25:50 +08:00
2020-02-14 09:59:27 +01:00
2020-05-23 15:50:20 +02:00
2020-07-12 11:39:35 -03:00
2020-03-17 22:46:36 +01:00
2020-04-17 16:56:13 +02:00
2019-12-21 20:02:04 +01:00
2020-05-01 06:36:36 +08:00
2020-02-09 15:49:09 +01:00
2021-02-27 07:20:56 +01:00
2020-01-10 13:14:54 +01:00
2021-02-27 07:20:57 +01:00
2021-02-27 07:20:57 +01:00
2021-02-27 07:20:57 +01:00
2021-02-27 07:20:57 +01:00
2021-02-27 07:20:57 +01:00
2020-02-09 10:59:20 +01:00
2020-04-17 13:28:01 +02:00
2020-04-30 12:18:36 +02:00
2019-12-10 16:09:14 +01:00
2020-05-30 09:57:04 +02:00
2021-02-27 07:20:57 +01:00
2020-05-22 14:38:57 +02:00
2020-05-22 14:38:57 +02:00
2020-04-30 12:18:36 +02:00
2020-02-07 19:26:39 +01:00
2020-01-11 14:08:52 +01:00
2019-12-27 20:57:06 +01:00
2020-01-13 09:25:18 +08:00
2021-02-27 07:21:00 +01:00
2020-05-01 21:36:07 -07:00
2020-03-17 22:46:36 +01:00
2020-01-06 19:40:07 +01:00
2019-12-27 21:03:29 +01:00
2020-01-13 09:25:18 +08:00
2020-05-30 18:04:14 +02:00
2020-02-07 17:07:30 +01:00
2020-06-06 15:53:07 +02:00
2020-01-14 16:52:07 +01:00
2020-03-17 22:46:36 +01:00
2020-01-28 17:18:27 +01:00
2020-01-14 16:52:07 +01:00
2020-01-14 16:52:07 +01:00
2020-01-14 16:52:07 +01:00
2020-05-22 14:38:57 +02:00
2020-06-06 19:49:14 +02:00
2020-03-17 22:46:36 +01:00
2020-01-06 22:38:56 +01:00
2019-12-23 17:02:55 +01:00
2021-02-27 07:20:56 +01:00
2019-12-23 17:02:55 +01:00
2019-12-23 17:02:55 +01:00
2020-01-04 19:37:39 +01:00
2020-04-09 15:03:36 +02:00
2020-03-17 22:46:36 +01:00
2020-01-14 16:52:08 +01:00
2020-04-25 13:35:22 +02:00
2020-01-17 17:35:31 +05:30
2020-03-13 17:19:33 +01:00
2020-01-13 09:25:18 +08:00
2021-02-27 07:20:57 +01:00
2020-05-23 15:50:20 +02:00
2020-05-23 15:51:45 +02:00
2020-02-04 23:19:48 +00:00
2020-02-04 23:19:48 +00:00
2021-02-27 07:20:56 +01:00
2019-12-23 13:03:38 +01:00
2021-02-27 07:20:57 +01:00
2020-05-30 18:04:14 +02:00
2020-02-12 11:27:28 +01:00
2020-02-14 09:59:27 +01:00
2020-02-14 21:49:47 +01:00
2020-02-15 12:18:51 +01:00
2020-01-15 11:26:46 +05:30
2019-12-10 12:55:48 +05:30
2020-03-17 22:46:36 +01:00
2020-02-04 18:28:04 +01:00
2019-12-15 00:23:01 +01:00
2020-04-02 12:25:37 +02:00
2020-06-08 22:49:04 +02:00
2021-02-27 07:20:57 +01:00
2020-02-16 15:13:10 +01:00
2020-05-29 13:10:58 +01:00
2020-04-13 11:23:24 +05:30
2020-05-26 23:27:02 +02:00
2020-02-29 22:31:01 +01:00
2020-05-29 13:10:58 +01:00
2020-05-19 20:10:34 +02:00
2020-05-14 09:15:46 +08:00
2020-01-27 16:58:50 +01:00
2020-03-17 22:46:36 +01:00
2020-05-19 20:10:34 +02:00
2020-02-11 14:19:56 +01:00
2020-02-25 17:35:09 +01:00
2020-01-04 09:05:09 +08:00
2020-05-23 15:50:20 +02:00
2020-04-26 12:27:36 +02:00
2020-05-30 18:04:14 +02:00
2020-02-11 00:03:44 +01:00
2020-02-09 20:36:45 +00:00
2020-04-11 11:46:48 +05:30
2020-04-07 11:04:47 +08:00
2020-04-01 15:48:19 +02:00
2020-04-04 23:21:14 +02:00
2020-04-07 11:03:25 +08:00
2020-03-17 22:46:36 +01:00
2020-04-09 00:59:21 +02:00
2019-12-04 20:17:00 +01:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00
2020-02-14 21:47:55 +01:00
2020-05-22 14:38:57 +02:00
2020-12-30 23:47:53 +01:00
2020-01-11 19:05:17 +01:00
2020-03-17 22:46:36 +01:00
2019-12-30 17:21:35 +01:00
2019-11-29 17:28:59 +01:00
2020-03-24 15:04:52 +05:30
2021-02-27 07:20:57 +01:00
2020-02-04 23:19:48 +00:00
2020-02-04 23:19:48 +00:00
2019-12-27 21:17:00 +01:00
2019-11-28 18:44:01 +01:00
2020-06-01 15:21:40 +02:00
2020-02-08 10:46:37 +01:00
2020-04-18 12:34:49 +02:00
2020-02-12 11:27:28 +01:00
2021-02-27 07:20:58 +01:00
2020-02-09 20:36:45 +00:00
2020-05-01 06:36:36 +08:00
2019-12-27 20:21:20 +01:00
2020-03-17 22:46:36 +01:00
2020-03-28 18:39:40 +01:00
2020-03-28 18:39:40 +01:00
2020-05-29 13:10:58 +01:00
2021-02-27 07:20:57 +01:00
2020-02-14 09:59:27 +01:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00
2021-02-27 07:20:57 +01:00
2020-02-15 12:18:51 +01:00
2021-02-27 07:20:57 +01:00
2020-02-09 20:36:45 +00:00
2020-02-01 21:10:25 +01:00
2019-12-23 20:09:20 +01:00
2021-02-27 07:20:57 +01:00
2020-03-17 22:46:36 +01:00
2019-12-10 12:55:48 +05:30
2019-12-10 12:55:48 +05:30
2020-04-04 23:18:18 +02:00
2020-02-09 20:36:45 +00:00
2020-05-29 13:10:58 +01:00
2020-01-26 21:06:53 +05:30
2020-05-14 23:03:06 +08:00
2020-03-17 22:46:36 +01:00
2020-05-12 09:37:47 +02:00
2021-02-27 07:20:57 +01:00
2020-05-22 14:38:57 +02:00
2021-02-27 07:20:57 +01:00
2020-05-13 13:20:08 +03:00
2020-05-12 01:00:28 +02:00
2020-03-03 15:28:59 +08:00
2020-02-04 18:28:04 +01:00
2020-01-22 19:13:51 +01:00
2021-02-27 07:20:57 +01:00
2020-01-15 14:27:51 +05:30
2020-04-14 12:12:42 +02:00
2020-02-10 15:46:42 +01:00
2019-12-15 00:23:03 +01:00
2020-01-26 14:51:52 +01:00
2020-01-07 00:04:50 +00:00
2020-02-09 20:36:45 +00:00
2019-12-03 09:50:00 +01:00
2020-05-23 15:52:27 +02:00
2021-02-27 07:20:57 +01:00
2020-04-29 19:18:25 +02:00
2020-06-07 15:20:25 +02:00
2019-12-29 15:33:55 +01:00
2019-12-27 21:31:04 +01:00
2021-02-27 07:20:57 +01:00
2019-12-29 15:33:55 +01:00
2020-02-03 09:40:46 +01:00
2020-04-07 13:51:25 +02:00
2020-04-18 12:34:49 +02:00
2019-12-25 18:00:40 +01:00
2019-12-06 11:25:29 +01:00
2020-02-25 19:52:26 +01:00
2019-12-12 21:40:53 +01:00
2020-05-19 20:10:34 +02:00
2020-03-17 22:46:36 +01:00
2020-05-16 11:10:32 +02:00
2020-05-16 11:13:46 +02:00
2020-03-17 22:46:36 +01:00
2020-05-26 10:52:11 +01:00
2020-05-23 19:07:50 +01:00