Files
fastfetch/tests
arxhr007 d6c15e1cec Format: fixes integer wraparound when parsing numbers
Numbers that don't fit in 32 bits were truncated, so `{4294967297}` was read
as `{1}`, `{4294967296}` as the next argument, and `{$4294967297}` as the
first constant. The same applied to the start, end and length of `~`, `:`, `<`,
`>` and `|`. Clamp them instead, so that they stay out of range.

Also avoid negating INT32_MIN for the ellipsis length of `{1:-2147483648}`,
which is a signed integer overflow.
2026-10-31 22:08:40 +08:00
..
2026-09-18 15:01:11 +08:00
2026-09-22 00:45:40 +08:00
2026-03-29 10:03:32 +08:00
2026-03-29 10:03:32 +08:00
2026-09-17 20:11:25 +08:00
2026-09-17 20:11:25 +08:00
2026-09-24 21:27:51 +08:00
2026-09-17 20:11:25 +08:00
2026-09-17 20:11:25 +08:00
2026-09-17 20:11:25 +08:00
2026-09-17 20:11:25 +08:00
2026-09-17 20:11:25 +08:00