diff options
author | George Hazan <ghazan@miranda.im> | 2017-12-06 18:02:31 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-12-06 18:02:31 +0300 |
commit | 3454255df72799b6127def97f1445d39dfb3eda5 (patch) | |
tree | 1c7c38437930bac54d911576c0c20d81327be0a5 /plugins/TabSRMM/src | |
parent | 73aaa5881b6bac6caf6f58d2011e62ee19706292 (diff) |
fixes #1049 (memset cannot be used to scrub memory)
Diffstat (limited to 'plugins/TabSRMM/src')
-rw-r--r-- | plugins/TabSRMM/src/sendqueue.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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)); } ///////////////////////////////////////////////////////////////////////////////////////// |