diff options
author | Xin LI <delphij@FreeBSD.org> | 2014-07-08 21:54:27 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2014-07-08 21:54:27 +0000 |
commit | e432298ade8c0f7cc2bc0969c318086dc12ce86a (patch) | |
tree | 99ef8ee7617a8e7caae7ea6df3efef9b229d9f57 /sys/netinet/sctp_auth.c | |
parent | 2827952eb43b9d722faa445be110f0a950715e99 (diff) | |
download | src-e432298ade8c0f7cc2bc0969c318086dc12ce86a.tar.gz src-e432298ade8c0f7cc2bc0969c318086dc12ce86a.zip |
Notes
Diffstat (limited to 'sys/netinet/sctp_auth.c')
-rw-r--r-- | sys/netinet/sctp_auth.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/sctp_auth.c b/sys/netinet/sctp_auth.c index 08b6a4927c13..d4d40595791b 100644 --- a/sys/netinet/sctp_auth.c +++ b/sys/netinet/sctp_auth.c @@ -1790,6 +1790,7 @@ sctp_notify_authentication(struct sctp_tcb *stcb, uint32_t indication, SCTP_BUF_LEN(m_notify) = 0; auth = mtod(m_notify, struct sctp_authkey_event *); + memset(auth, 0, sizeof(struct sctp_authkey_event)); auth->auth_type = SCTP_AUTHENTICATION_EVENT; auth->auth_flags = 0; auth->auth_length = sizeof(*auth); |