On 1/21/25 19:47, Michael Tokarev wrote:
22.01.2025 02:14, Pierrick Bouvier wrote:
..
I agree the existing code (and this patch) is pretty cryptic for anyone not 
familiar with FAT format.
However, I think it could be a good thing to first merge this one (which is 
correct, and works), and refactor this in a second time, so the current
ubsan issue is fixed upstream as soon as possible.

For an actual *fix*, please take a look at
https://lore.kernel.org/qemu-devel/20250119093233.9e4c450...@localhost.tls.msk.ru/

which is minimal, understandable, verified and works.

/mjt

Thanks, I was not sure what to choose between the different patches posted around this, to fix the problem on my personal tree.

Reply via email to