From: Zachary Rasmor Date: Sun, 6 Dec 2015 16:36:26 +0000 (-0500) Subject: Update unit test to account for 'name' type change. X-Git-Tag: suricata-3.1RC1~214 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f211fa48f46b23e34dc396667cc9c53152a38f8f;p=thirdparty%2Fsuricata.git Update unit test to account for 'name' type change. --- diff --git a/src/detect.c b/src/detect.c index 385a541460..19e7571ee5 100644 --- a/src/detect.c +++ b/src/detect.c @@ -9204,7 +9204,7 @@ static int SigTestDetectAlertCounter(void) } SigGroupBuild(de_ctx); - tv.name = "detect_test"; + strlcpy(tv.name, "detect_test", sizeof(tv.name)); DetectEngineThreadCtxInit(&tv, de_ctx, (void *)&det_ctx); /* init counters */