Bug #14 ยป 0002-Fix-for-Unified-Alert-Test-Bug-14.patch
src/alert-unified-alert.c | ||
---|---|---|
void *data = NULL;
|
||
lf = AlertUnifiedAlertInitCtx(NULL);
|
||
if (lf == NULL)
|
||
return 0;
|
||
char *filename = strdup(lf->filename);
|
||
memset(&tv, 0, sizeof(ThreadVars));
|
src/alert-unified-log.c | ||
---|---|---|
void *data = NULL;
|
||
lf = AlertUnifiedLogInitCtx(NULL);
|
||
if (lf == NULL)
|
||
return 0;
|
||
char *filename = strdup(lf->filename);
|
||
memset(&tv, 0, sizeof(ThreadVars));
|
src/alert-unified2-alert.c | ||
---|---|---|
void *data = NULL;
|
||
lf = Unified2AlertInitCtx(NULL);
|
||
if (lf == NULL)
|
||
return 0;
|
||
char *filename = strdup(lf->filename);
|
||
memset(&tv, 0, sizeof(ThreadVars));
|