mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
uniq: Fix panic on invalid utf-8 input
This commit is contained in:
parent
4574b2b58d
commit
ce4342d12e
3 changed files with 18 additions and 3 deletions
2
tests/fixtures/uniq/not-utf8-sequence.txt
vendored
Normal file
2
tests/fixtures/uniq/not-utf8-sequence.txt
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
Next line contains two bytes - 0xCC and 0xCD - which are not a valid utf-8 sequence
|
||||
ÌÍ
|
Loading…
Add table
Add a link
Reference in a new issue