[Lurker-users] MD5 patch
Brought to you by:
terpstra
|
From: Kevin R. <swe...@te...> - 2013-09-13 18:54:43
|
I've found a minor bug in the MD5Final function. At the end of processing, it clears the MD5 context by zeroing its memory. In the existing code, it's zeroing sizeof(ctx) bytes (ie, the size of the ctx pointer), rather than sizeof(*ctx) bytes (ie, the size of the ctx struct itself). Attached is a patch against the latest revision in Subversion. |