ejurgensen
5f526c7a7e
[dacp] Fix segfault from invalid queries
...
When parsing a DACP request (pattern: ^/ctrl-int/[[:digit:]]+/playqueue-edit$)
with a command parameter being "move" and an edit-params parameter lacking a
colon, strchr(param, ':') at httpd_dacp.c:2038 will return NULL, and safe_atoi32
is called with its first parameter str being 1. This will bypass the NULL check
at src/misc.c:650 and causes a segmentation fault at the call to strtol at line
657.
Closes #1933
2025-10-08 19:49:01 +02:00
..
2023-04-25 23:09:25 +02:00
2025-08-21 23:10:23 +02:00
2025-08-25 22:50:21 +02:00
2025-05-17 01:19:27 +02:00
2022-08-15 20:09:54 +02:00
2025-08-25 19:14:31 +02:00
2022-01-31 00:42:46 +01:00
2025-02-11 16:44:47 +01:00
2020-11-18 23:23:05 +01:00
2025-01-22 20:27:34 +01:00
2024-06-17 22:25:20 +02:00
2023-03-07 21:01:45 +01:00
2016-10-23 08:25:19 +02:00
2025-05-04 22:59:56 +02:00
2021-04-24 23:54:20 +02:00
2022-01-29 17:46:40 +01:00
2020-04-10 21:01:41 +02:00
2024-06-17 22:25:20 +02:00
2024-06-17 22:25:20 +02:00
2024-06-17 22:25:20 +02:00
2016-01-24 18:51:22 +01:00
2025-02-16 23:51:06 +01:00
2025-02-01 14:25:45 +01:00
2024-06-09 22:20:33 +02:00
2023-12-04 17:26:03 +01:00
2018-08-18 22:56:27 +02:00
2023-03-07 21:01:10 +01:00
2023-03-07 21:01:10 +01:00
2025-01-22 20:26:06 +01:00
2025-02-01 14:25:10 +01:00
2024-06-16 01:17:11 +02:00
2025-01-22 20:26:06 +01:00
2023-03-07 21:01:10 +01:00
2025-10-08 19:49:01 +02:00
2024-06-17 22:25:20 +02:00
2025-08-03 20:54:10 +02:00
2025-01-22 20:27:34 +01:00
2025-05-04 22:59:56 +02:00
2024-06-17 22:25:20 +02:00
2024-06-17 22:25:20 +02:00
2025-09-30 20:44:01 +02:00
2024-06-17 22:25:20 +02:00
2022-01-20 20:17:38 +01:00
2021-05-31 23:24:58 +02:00
2025-02-01 14:25:45 +01:00
2017-10-28 12:22:45 +02:00
2025-01-22 20:26:06 +01:00
2025-01-22 20:26:06 +01:00
2025-02-01 14:25:45 +01:00
2025-02-01 14:25:45 +01:00
2025-01-22 20:27:34 +01:00
2025-01-22 20:27:34 +01:00
2025-02-25 20:08:11 +01:00
2025-02-25 20:08:11 +01:00
2025-02-25 20:08:11 +01:00
2025-08-22 19:57:53 +02:00
2024-06-04 17:11:45 +02:00
2021-04-24 23:54:20 +02:00
2021-04-24 23:54:20 +02:00
2020-02-23 20:30:35 +01:00
2021-03-27 22:44:16 +01:00
2025-08-25 22:50:21 +02:00
2024-05-31 23:47:46 +02:00
2025-08-23 17:22:18 +02:00
2025-08-23 17:22:18 +02:00
2025-02-05 09:16:26 +01:00
2015-05-09 07:46:33 +02:00
2025-03-28 22:24:19 +01:00
2024-06-17 22:25:20 +02:00
2025-03-28 22:24:19 +01:00
2025-01-22 20:26:06 +01:00
2022-01-20 21:42:05 +01:00
2020-03-18 14:56:05 +01:00
2022-01-20 20:17:38 +01:00
2022-01-20 20:17:38 +01:00
2025-01-22 20:26:06 +01:00
2025-01-22 20:26:06 +01:00
2022-02-20 10:18:13 +01:00
2018-04-15 22:11:40 +02:00
2025-08-25 22:50:21 +02:00
2024-06-17 22:25:20 +02:00
2025-01-22 20:27:34 +01:00
2017-09-15 07:14:08 +02:00
2023-03-07 21:01:45 +01:00
2023-03-07 21:01:45 +01:00