diff options
author | Amar Tumballi <amar@gluster.com> | 2009-08-04 18:15:45 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-08-04 17:07:11 -0700 |
commit | aaf483185e6fdd1b0102ee2ae27e53826efdfc21 (patch) | |
tree | 1af27fb1aafdea8d87b6c26e0f825c8ec6afa343 /xlators/cluster | |
parent | 33b5ce10ef7b5c6db6e73f6070fd4579c2765c94 (diff) |
add check for making sure 'fd' belongs to directory in posix-readdir
The root cause of this error is not found yet. But this check will
make sure that there is no crash when the situation happens.
Segfault can happen when a readdir() call comes over file's fd.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 192 (sefault in posix-readdir)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=192
Diffstat (limited to 'xlators/cluster')
0 files changed, 0 insertions, 0 deletions