summaryrefslogtreecommitdiffstats
path: root/libglusterfsclient/src/libglusterfsclient-dentry.c
diff options
context:
space:
mode:
authorShehjar Tikoo <shehjart@zresearch.com>2009-04-07 05:32:47 -0700
committerAnand V. Avati <avati@amp.gluster.com>2009-04-08 15:05:24 +0530
commit47f03734685076fce51eaacb706796d2213bdbf1 (patch)
tree91d9eab9eb85d40a5ce190e74f79e300ca9e3230 /libglusterfsclient/src/libglusterfsclient-dentry.c
parent07fcdfebf25c30811a9313ac3d9a0fdbbceaad6c (diff)
libglusterfsclient: Fix segfault in glusterfs_open
libgf_client_loc_fill gets passed a name=NULL argument. So when this function returns the filled loc argument, this loc is actually missing the inode structure that was to be filled. The segfault actually occurs a few lines later when we try to access fd->flags but fd returned by fd_create is NULL because we'd passed a NULL inode to it, i.e. the loc->inode. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'libglusterfsclient/src/libglusterfsclient-dentry.c')
0 files changed, 0 insertions, 0 deletions