From: Junio C Hamano Date: Tue, 28 Apr 2026 01:22:03 +0000 (+0900) Subject: Merge branch 'en/diffstat-utf8-truncation-fix' into seen X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=f0ca815fcbfc6eb120f32580cd9d2e9b1d39c84c;p=thirdparty%2Fgit.git Merge branch 'en/diffstat-utf8-truncation-fix' into seen 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 --- f0ca815fcbfc6eb120f32580cd9d2e9b1d39c84c