summaryrefslogtreecommitdiffstats
path: root/mod_glusterfs
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@zresearch.com>2009-04-26 22:51:18 -0700
committerAnand V. Avati <avati@amp.gluster.com>2009-04-30 17:07:26 +0530
commit2de8717247d3dc1dcda4e3e8b3c260887c3e5891 (patch)
tree932aa6e3ce7b10c751f2ab245a3c3dd51ee53848 /mod_glusterfs
parent3e3fa81c3465bc329d448aac78de8e556d9d513f (diff)
mod_glusterfs/apache/2.2: fix segmentation fault
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'mod_glusterfs')
-rw-r--r--mod_glusterfs/apache/2.2/src/mod_glusterfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod_glusterfs/apache/2.2/src/mod_glusterfs.c b/mod_glusterfs/apache/2.2/src/mod_glusterfs.c
index 9beb16ac3..a89e1c7b3 100644
--- a/mod_glusterfs/apache/2.2/src/mod_glusterfs.c
+++ b/mod_glusterfs/apache/2.2/src/mod_glusterfs.c
@@ -2999,7 +2999,7 @@ mod_glfs_index_directory (request_rec *r,
break;
}
- fname = apr_pstrcat (r->pool, path, entry.d_name);
+ fname = apr_pstrcat (r->pool, path, entry.d_name, NULL);
ret = glusterfs_stat (fname, &st);
if (ret != 0) {