Skip to content
Commit 8f9702aa authored by Naveen Krishna Chatradhi's avatar Naveen Krishna Chatradhi Committed by Herbert Xu
Browse files

crypto: s5p-sss - validate iv before memcpy



This patch adds code to validate "iv" buffer before trying to
memcpy the contents

Signed-off-by: default avatarNaveen Krishna Chatradhi <ch.naveen@samsung.com>
Reviewed-by: default avatarTomasz Figa <t.figa@samsung.com>
CC: David S. Miller <davem@davemloft.net>
CC: <linux-samsung-soc@vger.kernel.org>
Acked-by: default avatarVladimir Zapolskiy <vz@mleia.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent e922e96f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment