dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: RE: Possible Filename Buffer Overrun
From: Lee Marlow (
Date: 2002-07-10

It looks like it still happens on my AJBR20, too.

I noticed that TREE_MAX_FILENAMELEN is defined to be 128 in tree.c. The
actual filename looks like it can come from tree.c and playlist.c.
Buffer overruns aren't my thing, so I'm not sure where to start.

When we looked into this last week, we found that the maximum length for
a path in FAT32 is 260. The filename can be 256 characters at most,
leaving only 4 characters for any directory info. Possibly 256 + "C:\" +

-----Original Message-----
From: [] On
Behalf Of Stuart Tedford
Sent: Wednesday, July 10, 2002 9:09 AM
To: ''
Subject: RE: Possible Filename Buffer Overrun

> This happened to me as well. What version of Rockbox are you running?
> Linus committed a fix on 7/3 that should have fixed it.

I'm running 20020706.

Speaking of which, is there any way of knowing exactly what build you
running, without keeping track of it yourself like I do?

If not could we use the __DATE__ and __TIME__ macros to store the build
in the version string instead of just "cvs"?


Page was last modified "Jan 10 2012" The Rockbox Crew