]> git.karo-electronics.de Git - karo-tx-linux.git/commit
net: sctp: sctp_endpoint_free: zero out secret key data
authorDaniel Borkmann <dborkman@redhat.com>
Fri, 8 Feb 2013 03:04:35 +0000 (03:04 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Feb 2013 18:49:06 +0000 (10:49 -0800)
commitd6f5498856f31246818bbe4ebfa710ce92730a37
treea535cd9a4c02fbb51ca3cf21aaba2c5d18f5f423
parent8a501d87edf7190e8fe1741d9312dfcb6361c538
net: sctp: sctp_endpoint_free: zero out secret key data

[ Upstream commit b5c37fe6e24eec194bb29d22fdd55d73bcc709bf ]

On sctp_endpoint_destroy, previously used sensitive keying material
should be zeroed out before the memory is returned, as we already do
with e.g. auth keys when released.

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Acked-by: Vlad Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/sctp/endpointola.c