rule parser: don't use uninitialized value

pull/665/head
Victor Julien 11 years ago
parent f03278d132
commit 3f4ce6dadd

@ -486,7 +486,7 @@ static int SigParseOptions(DetectEngineCtx *de_ctx, Signature *s, char *optstr,
int ret = 0;
SigTableElmt *st = NULL;
char optname[64];
char optvalue[8192];
char optvalue[8192] = "";
ret = pcre_exec(option_pcre, option_pcre_extra, optstr, strlen(optstr), 0, 0, ov, MAX_SUBSTRINGS);
/* if successful, we either have:

Loading…
Cancel
Save