Files
flatpak/common
Sebastian Wick 9dab8f311e repo-utils: Avoid pointing at a illegal location in match_bytes_at_end
If max_len is 0, either data1_len or data2_len is 0, which means we
would add -1 to either data1 or data2, making them point one byte before
the object which is UB.

This commit just changes match_bytes_at_end and match_bytes_at_start to
use index based comparisons which makes the code easier and less likely
to invoke UB.
2026-07-27 13:41:00 +00:00
..
2026-04-12 21:47:03 +00:00
2019-02-25 18:12:30 +00:00
2026-01-21 17:58:19 +00:00
2025-09-24 17:19:21 +00:00
2026-01-05 21:16:15 +05:30
2023-09-04 13:25:32 +01:00
2018-05-24 11:59:52 +00:00
2018-10-08 08:36:23 +00:00