]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r246875:
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 19 Feb 2013 08:07:11 +0000 (08:07 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 19 Feb 2013 08:07:11 +0000 (08:07 +0000)
commitd365024556b2794b5c2e278ea3d78e103c769041
treeacf4a438eab4db750a074e1f6ec4a9cc6d50b362
parent88116602ae6da4c4cc4fcc67ccfbf76b25d34868
MFC r246875:

Import change 40eebf235370b6fe6353784ccf01ab92eed062a5 from upstream wpa:

  From: Jouni Malinen <j@w1.fi>
  Date: Fri, 15 Jul 2011 13:42:06 +0300
  Subject: [PATCH] MD5: Fix clearing of temporary stack memory to use correct length

  sizeof of the structure instead of the pointer was supposed to be used
  here. Fix this to clear the full structure at the end of MD5Final().

Found by: clang ToT
Reviewed by: rpaulo

git-svn-id: svn://svn.freebsd.org/base/stable/8@246982 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/wpa/src/crypto/md5.c