]> git.99rst.org Git - git.git/commitdiff
Merge branch 'en/diffstat-utf8-truncation-fix'
authorJunio C Hamano <redacted>
Wed, 20 May 2026 01:30:56 +0000 (10:30 +0900)
committerJunio C Hamano <redacted>
Wed, 20 May 2026 01:30:56 +0000 (10:30 +0900)
The computation to shorten the filenames shown in diffstat measured
width of individual UTF-8 characters to add up, but forgot to take
into account error cases (e.g., an invalid UTF-8 sequence, or a
control character).

* en/diffstat-utf8-truncation-fix:
  diff: fix out-of-bounds reads and NULL deref in diffstat UTF-8 truncation


Trivial merge
git clone https://git.99rst.org/PROJECT