uutils
diffutils
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
chore(deps): update dawidd6/action-download-artifact action to v24
main
22 hours ago
chore(deps): update dawidd6/action-download-artifact action to v24
renovate/dawidd6-action-download-artifact-24.x
22 hours ago
diff: don't panic on an oversized context count An inline count like -u99999999999999999999 reached `parse::<usize>().unwrap()` and aborted with a PosOverflow. A count that fits in usize but is large enough that N * 16 exceeds isize::MAX aborted later instead, in VecDeque::with_capacity. Saturate the parse, and clamp context_size to the combined input length in both make_diff implementations. A file cannot have more lines than bytes, so anything larger already meant the whole file; the clamp keeps the surrounding arithmetic in range and stops the preallocation from scaling with a number the caller picked. Fixes #245
MsfPablo:fix-oversized-context
4 days ago
cmp: use checked subtraction for the verbose offset padding The --verbose branch of format_verbose_difference padded the byte-offset column with a plain subtraction while the --print-bytes branch above it already used saturating_sub. offset_width is derived from the smaller file's metadata length, so a file reporting length 0 that still yields bytes (/dev/zero) collapses it to 2 and the subtraction underflows once the offset reaches three digits. Fixes #265
main
4 days ago
diff: don't panic on an oversized context count An inline count like -u99999999999999999999 reached `parse::<usize>().unwrap()` and aborted with a PosOverflow. A count that fits in usize but is large enough that N * 16 exceeds isize::MAX aborted later instead, in VecDeque::with_capacity. Saturate the parse, and clamp context_size to the combined input length in both make_diff implementations. A file cannot have more lines than bytes, so anything larger already meant the whole file; the clamp keeps the surrounding arithmetic in range and stops the preallocation from scaling with a number the caller picked. Fixes #245
MsfPablo:fix-oversized-context
4 days ago
cmp: use checked subtraction for the verbose offset padding The --verbose branch of format_verbose_difference padded the byte-offset column with a plain subtraction while the --print-bytes branch above it already used saturating_sub. offset_width is derived from the smaller file's metadata length, so a file reporting length 0 that still yields bytes (/dev/zero) collapses it to 2 and the subtraction underflows once the offset reaches three digits. Fixes #265
MsfPablo:fix-cmp-verbose-padding
4 days ago
chore(deps): update dawidd6/action-download-artifact action to v23
main
6 days ago
chore(deps): update dawidd6/action-download-artifact action to v23
renovate/dawidd6-action-download-artifact-23.x
6 days ago
Latest Branches
CodSpeed Performance Gauge
+4%
chore(deps): update dawidd6/action-download-artifact action to v24
#276
22 hours ago
4b11898
renovate/dawidd6-action-download-artifact-24.x
CodSpeed Performance Gauge
0%
diff: don't panic on an oversized context count
#274
5 days ago
8428c8f
MsfPablo:fix-oversized-context
CodSpeed Performance Gauge
0%
cmp: use checked subtraction for the verbose offset padding
#275
5 days ago
1d3ffdf
MsfPablo:fix-cmp-verbose-padding
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs