diff options
| author | Pádraig Brady <P@draigBrady.com> | 2026-03-04 16:56:48 +0000 |
|---|---|---|
| committer | Pádraig Brady <P@draigBrady.com> | 2026-03-04 17:45:57 +0000 |
| commit | a85e9182b1d173c26205dada54133cd9e9174fc1 (patch) | |
| tree | 2ec177f16cd6728e78b31c28c994ddbf2869d418 /scripts/git-hooks/commit-msg | |
| parent | 6c6bb37e2f1d190390181a6760631e6c80ca9550 (diff) | |
| download | coreutils-a85e9182b1d173c26205dada54133cd9e9174fc1.tar.gz coreutils-a85e9182b1d173c26205dada54133cd9e9174fc1.zip | |
fold: fix output truncation with 0xFF bytes in input
On signed char platforms, 0xFF was converted to -1
which matches MBBUF_EOF, causing fold to stop processing.
* NEWS: Mention the bug fix.
* gl/lib/mbbuf.h: Avoid sign extension on signed char platforms.
* tests/fold/fold-characters.sh: Adjust test case.
Reported at https://src.fedoraproject.org/rpms/coreutils/pull-request/20
Diffstat (limited to 'scripts/git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions
