diff options
author | Pádraig Brady <P@draigBrady.com> | 2010-03-19 21:40:05 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2010-03-19 21:40:05 +0000 |
commit | c872a1d8a51617c2ec76423da6f76ef2208f30d9 (patch) | |
tree | 379df526baf20883e9497bfe574ec9b051d48c88 /src | |
parent | dfe0d336a00940c8e13c24b6d5d7485a2d7310b0 (diff) | |
download | coreutils-c872a1d8a51617c2ec76423da6f76ef2208f30d9.tar.xz |
maint: mbsalign: fix an edge case where we truncate too much
* gl/lib/mbsalign.c (mbsalign): Ensure the temporary destination buffer
is big enough, as it may need to be bigger than the source buffer
in the presence of single byte non printable chars.
* gl/tests/test-mbsalign.c (main): Add a test to trigger the issue.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions