Yu Watanabe
95648d612a
udev-util: bound leading whitespace skip in udev_replace_whitespace ( #42757 )
...
udev_replace_whitespace() is documented to read at most 'len' bytes from
'str':
- the strspn() skip of leading whitespace stops at a non-space byte or
NUL, not at 'len'
- ata_id passes the space padded, non-NUL-terminated ATA IDENTIFY
model/serial/fw fields
- an all-blank field reads off the end of the 512-byte hd_driveid stack
struct
Capped the skip to 'len'; existing outputs are unchanged. Added a
regression test.
2026-07-17 01:16:07 +09:00
..
2026-06-28 00:26:56 +09:00
2026-07-15 02:18:05 +09:00
2026-07-10 16:29:54 +09:00
2026-07-15 02:18:05 +09:00
2026-05-18 02:32:42 +09:00
2026-07-12 23:31:29 +02:00
2026-07-15 02:18:05 +09:00
2026-05-21 18:02:05 +02:00
2026-01-02 20:08:41 +01:00
2026-01-02 20:08:41 +01:00
2025-12-15 08:50:13 +09:00
2025-12-15 08:50:13 +09:00
2026-05-15 13:46:08 +01:00
2026-05-15 13:46:08 +01:00
2026-05-15 13:46:08 +01:00
2026-07-10 16:29:54 +09:00
2026-07-10 16:29:54 +09:00
2026-06-05 04:42:14 +09:00
2026-05-14 08:55:44 +02:00
2026-06-11 09:43:09 +02:00
2026-07-03 07:39:49 +02:00
2025-11-22 10:19:41 +01:00
2026-07-13 15:39:17 +02:00
2026-07-02 17:19:18 +02:00
2025-12-15 08:50:13 +09:00
2026-02-13 21:37:56 +00:00
2026-04-30 11:12:33 +01:00
2026-05-12 14:43:39 +02:00
2026-05-21 10:33:03 +09:00
2025-11-22 10:19:41 +01:00
2025-11-22 10:19:41 +01:00
2026-05-18 21:17:38 +00:00
2026-04-09 22:39:11 +02:00
2026-07-02 16:09:26 +02:00
2026-07-10 12:02:14 +02:00
2025-12-15 08:50:13 +09:00
2026-01-25 20:51:50 +01:00
2026-07-15 12:12:40 +02:00
2026-05-14 08:12:28 +02:00
2026-07-11 15:37:46 +01:00
2026-06-22 11:40:57 +02:00
2026-05-08 16:52:57 +02:00
2025-12-20 15:50:47 +01:00
2025-11-22 10:19:41 +01:00
2026-06-29 23:22:41 +09:00
2026-07-15 02:18:05 +09:00
2026-01-05 21:29:52 +09:00
2026-07-14 16:43:28 +01:00
2026-07-02 17:19:18 +02:00
2025-11-13 09:19:56 +09:00
2026-06-30 11:49:53 +01:00
2026-03-20 23:31:51 +01:00
2026-06-17 08:53:55 +02:00
2026-03-05 20:23:24 +01:00
2026-07-13 15:39:17 +02:00
2026-03-20 22:11:15 +01:00
2026-05-21 10:13:17 +01:00
2026-05-22 16:41:56 +01:00
2025-12-15 08:50:13 +09:00
2026-07-02 09:52:21 +01:00
2026-04-26 21:21:49 +02:00
2026-07-15 12:12:40 +02:00
2026-07-10 16:29:54 +09:00
2025-12-15 08:50:13 +09:00
2026-04-02 13:59:55 +02:00
2026-06-15 16:54:50 +03:00
2026-03-02 23:10:22 +09:00
2026-03-05 20:23:24 +01:00
2025-12-15 08:50:13 +09:00
2026-06-20 14:26:41 +02:00
2026-06-19 23:05:36 +02:00
2026-01-19 15:47:15 +01:00
2026-06-24 12:47:42 +02:00
2026-05-03 10:18:38 +01:00
2026-05-12 15:33:21 +09:00
2026-05-21 18:02:05 +02:00
2026-04-22 17:41:42 +02:00
2026-05-21 10:33:03 +09:00
2026-01-02 13:06:14 +09:00
2026-05-15 13:46:08 +01:00
2025-12-15 08:50:13 +09:00
2025-11-22 10:19:41 +01:00
2026-07-14 16:43:28 +01:00
2026-06-16 00:16:05 +01:00
2026-06-17 13:11:15 +01:00
2026-05-06 10:30:16 +02:00
2026-04-11 14:58:34 +02:00
2026-05-21 11:53:32 +01:00
2026-01-02 20:08:41 +01:00
2026-07-10 03:34:54 +02:00
2026-01-19 13:33:26 +01:00
2026-02-19 15:08:19 +01:00
2026-02-16 10:27:02 +01:00
2026-07-13 15:39:17 +02:00
2026-04-22 17:41:42 +02:00
2025-12-20 15:50:47 +01:00
2026-02-19 15:08:20 +01:00
2026-02-19 15:08:19 +01:00
2026-07-15 17:51:48 +01:00
2026-01-04 18:01:36 +01:00
2026-05-05 11:14:33 +02:00
2025-11-14 03:29:21 +09:00
2025-12-15 08:50:13 +09:00
2026-05-18 21:17:38 +00:00
2026-05-11 10:23:37 +01:00
2026-07-02 17:19:18 +02:00
2026-05-29 04:30:48 +09:00
2025-12-20 21:41:01 +01:00
2026-02-17 22:00:14 +01:00
2026-05-27 21:34:04 +01:00
2026-01-16 23:05:33 +09:00
2025-11-17 12:19:22 +09:00
2025-12-15 08:50:13 +09:00
2026-07-13 15:39:16 +02:00
2026-04-24 14:29:31 +02:00
2026-05-28 01:46:38 +09:00
2026-02-26 09:20:59 +01:00
2026-05-20 16:32:22 +02:00
2026-06-22 14:40:16 +02:00
2026-01-02 20:08:41 +01:00
2026-01-02 20:08:41 +01:00
2026-07-15 21:13:24 +01:00
2026-07-02 17:19:18 +02:00
2026-04-14 20:35:24 +02:00
2025-11-22 10:19:41 +01:00
2026-07-06 13:42:21 +01:00
2026-05-21 10:33:03 +09:00
2025-11-26 16:22:00 +09:00
2026-05-19 08:14:36 +00:00
2026-07-15 02:18:05 +09:00
2025-12-15 18:09:21 +09:00
2026-05-15 13:46:08 +01:00
2026-07-03 15:09:03 +01:00
2026-04-07 11:03:48 +02:00
2025-11-22 10:19:41 +01:00
2025-11-15 05:10:33 +09:00
2026-07-17 01:16:07 +09:00
2026-06-01 10:56:15 +02:00
2026-07-02 09:52:21 +01:00
2026-07-02 08:20:59 +02:00
2025-12-19 11:11:39 +01:00
2026-07-13 15:39:17 +02:00
2026-07-03 07:23:30 +09:00
2025-11-13 09:19:56 +09:00
2026-07-02 21:28:42 +02:00
2026-07-16 15:53:37 +05:30
2026-06-25 10:28:54 +01:00
2026-07-02 17:19:18 +02:00
2026-06-15 16:54:50 +03:00
2026-03-18 17:33:22 -04:00
2026-07-02 17:19:18 +02:00
2026-06-17 08:53:55 +02:00
2026-05-08 17:22:04 +02:00
2026-05-22 02:56:24 +00:00
2026-04-14 02:10:52 -07:00
2026-04-14 02:10:52 -07:00
2026-05-15 00:02:01 -07:00
2026-05-16 18:37:10 +02:00
2026-06-24 12:59:55 +02:00
2026-05-15 13:46:08 +01:00
2026-05-19 01:45:54 +09:00