mod_glusterfs/apache/2.2: fix segmentation fault
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
This commit is contained in:
parent
3e3fa81c34
commit
2de8717247
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user