[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#555922: libc6: UTF-8 decoding is not conforming to the Unicode standard



Hi,

Here's another example, a rather nasty one.  find(1) also uses libc's regexps:

$ mkdir test
$ cd test
$ ls
$ touch $(printf 'aaa\x80bbb') aaa1bbb
$ ls
aaa1bbb  aaa?bbb
$ find . -regex '^.+bbb'
./aaa1bbb

'aaa\x80bbb' not found.

Best regards,
Dmitri Gribenko

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr@gmail.com>*/



Reply to: