From: Steffen Klassert Date: Mon, 28 Mar 2011 19:47:30 +0000 (+0000) Subject: xfrm: Check for esn buffer len in xfrm_new_ae X-Git-Tag: v2.6.39-rc1~9^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2b19125e94124daaeda1ddcf9b85b04575ad86f;p=pandora-kernel.git xfrm: Check for esn buffer len in xfrm_new_ae In xfrm_new_ae() we may overwrite the allocated esn replay state buffer with a wrong size. So check that the new size matches the original allocated size and return an error if this is not the case. Signed-off-by: Steffen Klassert Acked-by: Herbert Xu Signed-off-by: David S. Miller --- Reading git-diff-tree failed