]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Plug two mbuf leaks during INIT-ACK handling.
authortuexen <tuexen@FreeBSD.org>
Wed, 27 Nov 2019 19:32:29 +0000 (19:32 +0000)
committertuexen <tuexen@FreeBSD.org>
Wed, 27 Nov 2019 19:32:29 +0000 (19:32 +0000)
commitbc0b5d2480b9877e29f486a5ecaac32e9d1284b3
tree5b736ff40e8a43aca2c1e7252c638d867fa12ae7
parentc7ed5211bea0f88041b7a6d4b36c82f71ae979e3
Plug two mbuf leaks during INIT-ACK handling.
One leak happens when there is not enough memory to allocate the
the resources for streams. The other leak happens if the are
unknown parameters in the received INIT-ACK chunk which require
reporting and the INIT-ACK requires sending an ABORT due to illegal
parameter combinations.
Hopefully this fixes
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=19083

MFC after: 1 week
sys/netinet/sctp_input.c