• Status Closed
  • Percent Complete
  • Task Type Patches
  • Category Drivers
  • Assigned To
  • 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 rasher - 2006-11-20
Last edited by jdgordon - 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.

Closed by  jdgordon
2007-07-03 09:53
Reason for closing:  Accepted

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.


Available keyboard shortcuts


Task Details

Task Editing