- Status Closed
- Percent Complete
- Task Type Bugs
- Category User Interface → Simulator
- Assigned To No-one
- Operating System All players
- Severity Low
- Priority Very Low
- Reported Version
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#6009 - Sim crash on long LFNs
Similar to FS#5736 , but only appears in the sim.
Segfault detail:
* glibc detected * corrupted double-linked list: 0xb7e444f8 ***
I believe I found it. Changing a few sprintf's to snprintf's fixes it as far as I can tell. This patch also fixes a similar bug when pasting files with long names (that's not just limited to the sim, too), and changes a few 256's to MAX_PATH's to be more consistent.