FS#10834 - Fix off-by-one error in grab_filename

Attached to Project: Rockbox
Opened by Alex Bennee (ajb) - Sunday, 06 December 2009, 19:39 GMT
Last edited by Nils Wallménius (nls) - Sunday, 06 December 2009, 21:12 GMT
Task Type Bugs
Category Playlists
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Release 3.4
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Fix off-by-one errors in grab_filename

format_track_path needs the length of the string not length+1
otherwise it will start looking at uninitialised memory.
This task depends upon

Closed by  Nils Wallménius (nls)
Sunday, 06 December 2009, 21:12 GMT
Reason for closing:  Accepted
Additional comments about closing:  committed, thanks!