]> 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)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 20 Feb 2013 03:15:36 +0000 (03:15 +0000)
commit26000e569ab304e835ebec586caefe3061e27c11
treefd3415455c5a32220cfd75faea2ec27bc9a85060
parent8f8623de49e036c4af246a7cfd9abdc1bb95cdea
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: Ben Hutchings <ben@decadent.org.uk>
net/sctp/endpointola.c