summaryrefslogtreecommitdiffstats
path: root/argp-standalone/argp-pvh.c
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2009-08-04 18:14:30 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-08-04 17:07:19 -0700
commitb834320d168feb54cf62bb1c0ae5af6f2704385e (patch)
tree62941ef0853a3e0975fbbcda2cb2015e4091a88b /argp-standalone/argp-pvh.c
parenta313fd6657cb4a5310399edebe1f0c666e6a8d00 (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 'argp-standalone/argp-pvh.c')
0 files changed, 0 insertions, 0 deletions