Kernel bug tracker
valdis.kletnieks at vt.edu
Fri Sep 3 11:55:07 EDT 2021
On Fri, 03 Sep 2021 13:00:55 +0200, "Thomas Schmitt" said:
> I could offer bugs of isofs with explanations and patch proposals:
> - isofs: prevent file time rollover after year 2038
> Change the return type of function iso_date() from int to time64_t.
The tricky part is, of course, that for this to work correctly, you need
to have 64-bit timestamps in the on-disk format.
> - isofs: truncate oversized Rock Ridge names to 255 bytes
> Do not discard all bytes of the NM field where the overflow occurs, but
> rather append them to the accumulated name before truncating it to exactly
> 255 bytes.
> Map trailing incomplete UTF-8 bytes to '_'.
A better answer would probably be to truncate it at the last complete UTF-8
that leaves the string at 255 or less.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 494 bytes
Desc: not available
More information about the Kernelnewbies