Skip to content

Update FatFs to R0.16 w/patch2 - #520

Merged
totalspectrum merged 4 commits into
totalspectrum:masterfrom
Wuerfel21:fatfs16
Oct 22, 2026
Merged

totalspectrum merged 4 commits into
totalspectrum:masterfrom
Wuerfel21:fatfs16

Conversation

@Wuerfel21

Copy link
Copy Markdown
Contributor

Diff is annoying to read due to many formatting/comment changes (doesn't smell too sloppy but idk it's strange).
Most changes appear to concern ExFAT, which was actually broken and couldn't be enabled. I didn't test it beyond building, but I did add optimized versions of the 64 bit load/store functions that were missing.

Additional bloat vs. old version appears (after patching a rough spot) to be 20 to 32 bytes in practice. Not too terrible.

@totalspectrum

Copy link
Copy Markdown
Owner

Thank you, Ada! This is probably quite overdue, I'm glad you tackled it.

@totalspectrum
totalspectrum merged commit 448f6ba into totalspectrum:master Oct 22, 2026
6 checks passed
@Wuerfel21

Wuerfel21 commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor Author

This is probably quite overdue

Not really, none of the changes turn out to be very relevant to anything (I guess FatFs is the mythical DONE project!) Mostly concerning ExFAT and features the VFS doesn't use. flexspin's stack also grows upwards, which makes it inherently safer against buffer overflows. You know, in case an evil maid visits by your house and really wants to pwn your P2 board.

BTW check out this slop if you want to have a laugh: https://github.com/runZeroInc/vulns-2026-fatfs-chance
Nice sampler of the sorts of "security issues" they™ claim these days, in what I can only assume to be an attempt to apply "number go up" stock market ideology to CVE ID numbers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants