From 2de8717247d3dc1dcda4e3e8b3c260887c3e5891 Mon Sep 17 00:00:00 2001 From: Raghavendra G Date: Sun, 26 Apr 2009 22:51:18 -0700 Subject: mod_glusterfs/apache/2.2: fix segmentation fault Signed-off-by: Anand V. Avati --- mod_glusterfs/apache/2.2/src/mod_glusterfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod_glusterfs/apache/2.2') diff --git a/mod_glusterfs/apache/2.2/src/mod_glusterfs.c b/mod_glusterfs/apache/2.2/src/mod_glusterfs.c index 9beb16ac3c2..a89e1c7b3ed 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) { -- cgit