[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug in readdir()
From: |
Tsafrir Dan |
Subject: |
bug in readdir() |
Date: |
Tue, 13 Jan 2004 19:18:33 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5b) Gecko/20030827 |
Dear Maintainers,
1- The following program might enter an ENDLESS LOOP due to a
bug in getdents():
DIR * dir = opendir("some-autofs-directory");
struct dirent * e;
while( (e = readdir(dir)) != NULL ) {
// readir() MIGHT NEVER RETURN NULL !!
printf("ino=%d name=%s\n", e->d_ino, e->d_name)
}
2- All the details (and a simple fix to the bug) were provided in:
http://mail.gnu.org/archive/html/bug-glibc/2003-12/msg00027.html
yet none of you responded.
3- I assure you, this *is* a bug, and it *is* serious.
Is anybody out there?
Thanks,
--Dan
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug in readdir(),
Tsafrir Dan <=