Rockbox

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

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

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

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

Details

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.
   0001-Fix-off-by-one-errors-in-grab_filename.patch (1.2 KiB)
 b/apps/playlist.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

This task depends upon

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

Loading...