Skip to content

Commit

Permalink
Merge pull request #1316 from micahsnyder/increase-modulename-length
Browse files Browse the repository at this point in the history
tests: Fix issue when path to unrar module is very long
  • Loading branch information
micahsnyder authored Jul 29, 2024
2 parents e131ad8 + 287d8d8 commit 9d25f80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libclamav/others.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ static int is_rar_inited = 0;
static void *load_module(const char *name, const char *featurename)
{
HMODULE rhandle = NULL;
char modulename[128];
char modulename[512];
size_t i;

/*
Expand Down Expand Up @@ -156,7 +156,7 @@ static void *load_module(const char *name, const char *featurename)
char *ld_library_path = NULL;
const char *err;

char modulename[128];
char modulename[512];
size_t i;

/*
Expand Down

0 comments on commit 9d25f80

Please sign in to comment.