mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
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 MFC after: 3 days Sponsored by: Netflix, Inc. Differential Revision: https://reviews.freebsd.org/D44647
This commit is contained in:
parent
ea002c1017
commit
d902c8f55b
1 changed files with 2 additions and 2 deletions
|
|
@ -23718,12 +23718,12 @@ send:
|
|||
mtu = inp->inp_route.ro_nh->nh_mtu;
|
||||
}
|
||||
#endif /* INET */
|
||||
|
||||
out:
|
||||
if (lgb) {
|
||||
lgb->tlb_errno = error;
|
||||
lgb = NULL;
|
||||
}
|
||||
|
||||
out:
|
||||
/*
|
||||
* In transmit state, time the transmission and arrange for the
|
||||
* retransmit. In persist state, just set snd_max.
|
||||
|
|
|
|||
Loading…
Reference in a new issue