diff --git a/yara.c b/yara.c index 0d938fb4e7..898e5ce6ad 100644 --- a/yara.c +++ b/yara.c @@ -45,7 +45,7 @@ limitations under the License. #define ERROR_COULD_NOT_CREATE_THREAD 100 #ifndef MAX_PATH -#define MAX_PATH 255 +#define MAX_PATH 256 #endif #ifndef min diff --git a/yarac.c b/yarac.c index 82cf172aef..9a86647a4c 100644 --- a/yarac.c +++ b/yarac.c @@ -37,7 +37,7 @@ limitations under the License. #include "config.h" #ifndef MAX_PATH -#define MAX_PATH 255 +#define MAX_PATH 256 #endif #define MAX_ARGS_EXT_VAR 32