Daniel Weindl a écrit :
Package: libc6
Version: 2.3.6.ds1-4
Using the
int stat (const char *filename, struct stat *buf)
function in a programm on a certain filename causes a segmentation fault.
For example:
[...]
struct stat *stats;
stat("/home/daniel/music/Singles/Spax, Flowin Immo, Toni L u.a", stats);
Do you have a full testcase that could be compiled?
In the example you give, you are not allocating correctly the stats
buffer, I don't know if it is a simplification for the bug report or a
mistake in your code.
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' [EMAIL PROTECTED] | [EMAIL PROTECTED]
`- people.debian.org/~aurel32 | www.aurel32.net
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]