Rockbox

Tasklist

FS#6009 - Sim crash on long LFNs

Attached to Project: Rockbox
Opened by Rani Hod (RaeNye) - Sunday, 17 September 2006, 12:31 GMT
Task Type Bugs
Category Simulator
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Similar to  FS#5736 , but only appears in the sim.

Segfault detail:
*** glibc detected *** corrupted double-linked list: 0xb7e444f8 ***
This task depends upon

Closed by  Peter D'Hoye (petur)
Thursday, 12 April 2007, 22:39 GMT
Reason for closing:  Accepted
Comment by absurdlyobfuscated (DrSpud) - Friday, 22 December 2006, 16:38 GMT
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.

Loading...