Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#6009 - Sim crash on long LFNs

Attached to Project: Rockbox
Opened by Rani Hod (RaeNye) - Sunday, 17 September 2006, 14:31 GMT+2
Task Type Bugs
Category Simulator
Status Closed
Assigned To No-one
Player Type All players
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
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)
Friday, 13 April 2007, 00:39 GMT+2
Reason for closing:  Accepted
Comment by absurdlyobfuscated (DrSpud) - Friday, 22 December 2006, 17:38 GMT+2
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.
   long_fn_fix.patch (6.1 KiB)
 apps/onplay.c           |    7 ++----
 uisimulator/common/io.c |   52 ++++++++++++++++++++++++------------------------
 2 files changed, 29 insertions(+), 30 deletions(-)

Loading...