Notice: A non well formed numeric value encountered in /sites/rockbox.org/flyspray/includes/class.flyspray.php on line 96 Notice: A non well formed numeric value encountered in /sites/rockbox.org/flyspray/includes/class.flyspray.php on line 96 Notice: A non well formed numeric value encountered in /sites/rockbox.org/flyspray/includes/class.flyspray.php on line 96 Deprecated: Function create_function() is deprecated in /sites/rockbox.org/flyspray/includes/class.flyspray.php on line 104 Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /sites/rockbox.org/flyspray/adodb/adodb.inc.php on line 845 Deprecated: Function create_function() is deprecated in /sites/rockbox.org/flyspray/includes/class.user.php on line 111 FS#6009 : Sim crash on long LFNs

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...