- Status Closed
- Percent Complete
- Task Type Patches
- Category Drivers
-
Assigned To
Jonas Häggqvist - Operating System All players
- Severity Low
- Priority Very Low
- Reported Version
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
Attached to Project: Rockbox
Opened by Jonas Häggqvist - 2006-11-20
Last edited by Jonathan Gordon - 2007-07-03
Opened by Jonas Häggqvist - 2006-11-20
Last edited by Jonathan Gordon - 2007-07-03
FS#6358 - Check for illegal chars on filename creation
This patch adds an additional check to fat_checkname to disallow the following characters: " * / : < > ?
| as per the FAT spec (p 29 of FAT32spec103.pdf). I have tested it to work and fix a problem (previously you could create filenames with (at least) some of these characters. This patch manages to fix that.
Updated to use strchr() rather than manually looping. Checked on H120 target.
Some further updates, to recude size a little, and check some more things.
Also reduces the size of the char2dos function (~170 bytes on ColdFire).
Checked on H120 too.