Author: tuexen
Date: Sun Sep 30 21:54:02 2018
New Revision: 339028
URL: https://svnweb.freebsd.org/changeset/base/339028
Log:
Plug mbuf leak in the SCTP input path in an error case.
Approved by: re (kib@)
MFC after: 1 week
CID: 749312
Modified:
head/sys/netinet/sctp_asconf.c
Modified: head/sys/netinet/sctp_asconf.c
==============================================================================
--- head/sys/netinet/sctp_asconf.c Sun Sep 30 21:31:33 2018
(r339027)
+++ head/sys/netinet/sctp_asconf.c Sun Sep 30 21:54:02 2018
(r339028)
@@ -670,6 +670,7 @@ sctp_handle_asconf(struct mbuf *m, unsigned int offset
SCTPDBG(SCTP_DEBUG_ASCONF1,
"handle_asconf: couldn't get lookup addr!\n");
/* respond with a missing/invalid mandatory parameter error */
+ sctp_m_freem(m_ack);
return;
}
/* param_length is already validated in process_control... */
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"