From 91b0d53f8835bd274997eddb28b74ebc5ef00340 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 17 Feb 2019 15:07:24 +0100 Subject: filenames can exceed 128 bytes, even in testcases --- src/datacache/perf_datacache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/datacache/perf_datacache.c') diff --git a/src/datacache/perf_datacache.c b/src/datacache/perf_datacache.c index f33e62bae..4381171c5 100644 --- a/src/datacache/perf_datacache.c +++ b/src/datacache/perf_datacache.c @@ -11,7 +11,7 @@ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. - + You should have received a copy of the GNU Affero General Public License along with this program. If not, see . @@ -132,7 +132,7 @@ FAILURE: int main (int argc, char *argv[]) { - char cfg_name[128]; + char cfg_name[PATH_MAX]; char *const xargv[] = { "perf-datacache", "-c", -- cgit v1.2.3