Move from memset to memset_s.

This adds the extra bounds checks and panics if there is a violation.

Change-Id: I9db3ca44be4f9c39964d912b57fe7b68e2792bc1
diff --git a/test/hftest/hftest_service.c b/test/hftest/hftest_service.c
index b110cb5..c728e27 100644
--- a/test/hftest/hftest_service.c
+++ b/test/hftest/hftest_service.c
@@ -107,7 +107,7 @@
 
 	/* Clean the context. */
 	ctx = hftest_get_context();
-	memset(ctx, 0, sizeof(*ctx));
+	memset_s(ctx, sizeof(*ctx), 0, sizeof(*ctx));
 	ctx->abort = abort;
 	ctx->send = (struct spci_message *)send;
 	ctx->recv = (struct spci_message *)recv;