[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#384854: SIGSEGV in sendfile64()



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
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net



Reply to: