aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
authorGravatar Robin Burchell2012-06-01 01:04:34 -0700
committerGravatar Robin Burchell2012-06-01 01:04:34 -0700
commit75faa7644f439bd0538fed78f36a3f27ab2e2aa6 (patch)
tree582694274618bd19259db02525e241c84b383eed /src/modules
parentMerge pull request #168 from Robby-/insp12-moddesc (diff)
parentm_md5 Backport "zero the whole MD5Context not only part of it" by @gholms (diff)
Merge pull request #180 from attilamolnar/insp12+md5fix
[1.2] Backport "zero the whole MD5Context not only part of it" by gholms
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_md5.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_md5.cpp b/src/modules/m_md5.cpp
index 8065b3a79..206b3ca77 100644
--- a/src/modules/m_md5.cpp
+++ b/src/modules/m_md5.cpp
@@ -158,7 +158,7 @@ class ModuleMD5 : public Module
byteSwap(ctx->buf, 4);
memcpy(digest, ctx->buf, 16);
- memset(ctx, 0, sizeof(ctx));
+ memset(ctx, 0, sizeof(*ctx));
}
void MD5Transform(word32 buf[4], word32 const in[16])