HomeFreeBSD

MFC r353145: Plump a memory leak

Description

MFC r353145: Plump a memory leak

Plumb an mbuf leak in a code path that should not be taken. Also avoid
that this path is taken by setting the tail pointer correctly.
There is still bug related to handling unordered unfragmented messages
which were delayed in deferred handling.
This issue was found by OSS-Fuzz testing the usrsctp stack and reported in
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=17794

Details

Provenance
tuexenAuthored on
Parents
rS360744: MFC r353123: Fix use afterfreee.
Branches
Unknown
Tags
Unknown