HomeFreeBSD

tcp rack: fix memory corruption

Description

tcp rack: fix memory corruption

When in rack_output() jumping to the label out, don't write errno into
the log buffer, since the pointer is not initialized.

Reported by: Coverity Scan
CID: 1523773
Reviewed by: rscheff
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D44647

(cherry picked from commit d902c8f55b8da6902ab45e67ed756cc99f5a9d5a)

Details

Provenance
tuexenAuthored on Apr 6 2024, 7:55 AM
Reviewer
rscheff
Differential Revision
D44647: tcp rack: fix memory corruption
Parents
rG7a019565ff6d: uipc_socket: handle socket buffer locks in sopeeloff
Branches
Unknown
Tags
Unknown