From 3454255df72799b6127def97f1445d39dfb3eda5 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 6 Dec 2017 18:02:31 +0300 Subject: fixes #1049 (memset cannot be used to scrub memory) --- plugins/TabSRMM/src/sendqueue.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/TabSRMM') diff --git a/plugins/TabSRMM/src/sendqueue.cpp b/plugins/TabSRMM/src/sendqueue.cpp index 882efd9083..ab168d8ee0 100644 --- a/plugins/TabSRMM/src/sendqueue.cpp +++ b/plugins/TabSRMM/src/sendqueue.cpp @@ -311,7 +311,7 @@ void SendQueue::clearJob(const int iIndex) { SendJob &job = m_jobs[iIndex]; mir_free(job.szSendBuffer); - memset(&job, 0, sizeof(SendJob)); + SecureZeroMemory(&job, sizeof(SendJob)); } ///////////////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3