From: Mathias Krause Date: Fri, 8 Jul 2011 09:21:21 +0000 (+0800) Subject: crypto: gf128mul - fix call to memset() X-Git-Tag: v3.1-rc1~266^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=625426633d7786f26a33123a9d12bec476bcc3cd;p=pandora-kernel.git crypto: gf128mul - fix call to memset() In gf128mul_lle() and gf128mul_bbe() r isn't completely initialized with zero because the size argument passed to memset() is the size of the pointer, not the structure it points to. Luckily there are no in-kernel users of those functions so the ABI change implied by this fix should break no existing code. Based on a patch by the PaX Team. Signed-off-by: Mathias Krause Cc: PaX Team Acked-by: David S. Miller Signed-off-by: Herbert Xu --- Reading git-diff-tree failed