From c7edfe0f5f34fca20bfc13fbcd5c64d4d4951108 Mon Sep 17 00:00:00 2001 From: Xavier Roche Date: Fri, 2 May 2014 17:44:51 +0000 Subject: Fixes. --- src/htstools.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/htstools.c') diff --git a/src/htstools.c b/src/htstools.c index c176d26..78fb827 100644 --- a/src/htstools.c +++ b/src/htstools.c @@ -1110,7 +1110,7 @@ HTSEXT_API int hts_findnext(find_handle find) { if ((find->dirp = readdir(find->hdir))) if (find->dirp->d_name) if (!STAT - (concat(catbuff, find->path, find->dirp->d_name), &find->filestat)) + (concat(catbuff, sizeof(catbuff), find->path, find->dirp->d_name), &find->filestat)) return 1; #endif } -- cgit v1.2.3