From 55ec310062f3e27dd95ac9d5fcb134f25a100ba9 Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Thu, 18 Feb 2021 16:59:31 +0300 Subject: [PATCH] [fix] buffer overflow at realpath() --- sfm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sfm.c b/sfm.c index ebea1ca..be0db1d 100644 --- a/sfm.c +++ b/sfm.c @@ -33,7 +33,7 @@ #include "util.h" /* macros */ -#define MAX_P 4095 +#define MAX_P 4096 #define MAX_N 255 #define MAX_USRI 32 #define MAX_EXT 4 -- 2.11.4.GIT