Files
systemd/src/test
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-05 04:42:14 +09:00
2026-07-15 12:12:40 +02:00
2026-01-05 21:29:52 +09:00
2026-07-13 15:39:17 +02:00
2026-07-15 12:12:40 +02:00
2026-06-17 13:11:15 +01:00
2026-04-11 14:58:34 +02:00
2026-02-19 15:08:20 +01:00
2026-06-01 10:56:15 +02:00
2026-07-13 15:39:17 +02:00