kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Re: Kernel bug tracker
@ 2021-09-03 15:55 Valdis Klētnieks
  2021-09-03 16:58 ` Thomas Schmitt
  0 siblings, 1 reply; 6+ messages in thread
From: Valdis Klētnieks @ 2021-09-03 15:55 UTC (permalink / raw)
  To: Thomas Schmitt; +Cc: ebashinskii, kernelnewbies


[-- Attachment #1.1: Type: text/plain, Size: 797 bytes --]

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.



[-- Attachment #1.2: Type: application/pgp-signature, Size: 494 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-09-06  8:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1630220663.155756289@f748.i.mail.ru>
2021-08-29  8:50 ` Kernel bug tracker Anatoly Pugachev
2021-08-29  9:39   ` Re[2]: " Adverg Ebashinskii
2021-08-31  7:09     ` Valdis Klētnieks
     [not found] ` <1630659311.419989149@f519.i.mail.ru>
     [not found]   ` <41823.1630683623@turing-police>
2021-09-05 10:07     ` Re[6]: " Adverg Ebashinskii
2021-09-03 15:55 Valdis Klētnieks
2021-09-03 16:58 ` Thomas Schmitt
2021-09-05 10:10   ` Re[2]: " Adverg Ebashinskii
2021-09-05 11:48     ` Thomas Schmitt
2021-09-06  8:11       ` Re[2]: " Adverg Ebashinskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).