Skip to content

Commit 9d25f80

Browse files
authored
Merge pull request #1316 from micahsnyder/increase-modulename-length
tests: Fix issue when path to unrar module is very long
2 parents e131ad8 + 287d8d8 commit 9d25f80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libclamav/others.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ static int is_rar_inited = 0;
9797
static void *load_module(const char *name, const char *featurename)
9898
{
9999
HMODULE rhandle = NULL;
100-
char modulename[128];
100+
char modulename[512];
101101
size_t i;
102102

103103
/*
@@ -156,7 +156,7 @@ static void *load_module(const char *name, const char *featurename)
156156
char *ld_library_path = NULL;
157157
const char *err;
158158

159-
char modulename[128];
159+
char modulename[512];
160160
size_t i;
161161

162162
/*

0 commit comments

Comments
 (0)