bug#60544: sort hangs on lengthy line with invalid UTF8 characters

2023-01-08 Thread Pádraig Brady
tag 60544 notabug close 60544 stop On 04/01/2023 04:38, DE CARNE DE CARNAVALET, Xavier [COMP] wrote: sort seems to do extra computations on long line with invalid UTF8 characters and could hang for days on just two lines. Here is the minimal example I could make to reproduce the bug: $ perl -e

bug#60544: sort hangs on lengthy line with invalid UTF8 characters

2023-01-03 Thread DE CARNE DE CARNAVALET, Xavier [COMP]
sort seems to do extra computations on long line with invalid UTF8 characters and could hang for days on just two lines. Here is the minimal example I could make to reproduce the bug: $ perl -e 'print "\xcd\xe5\xe0"; print "\n"' > file1 $ perl -e 'print "\xcd\xe5\xe0"x1000; print "\n"' > file2 T