Re: [PATCH] Two bugs in fs/isofs

2015-10-21 Thread Thomas Schmitt
Hi, i wrote: > > Truncation nowadays has to take into respect that UTF-8 may > > consist of multiple bytes and should avoid to leave incomplete > > byte sequences. > > (Does the kernel have a function for this ?) Jan Kara wrote: > Well, such truncation function would have to be specific to encodi

Re: [PATCH] Two bugs in fs/isofs

2015-10-21 Thread Jan Kara
Hi, thanks for detailed reports. For now I did some research on the case of file name truncation. > === > "fs/isofs/rock.c coarsely truncates file names of 254 or 255 bytes length" > --