[Bug 275382] uninitialized memory use in __tcp_run_hpts()
Date: Mon, 27 Nov 2023 17:43:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275382
Bug ID: 275382
Summary: uninitialized memory use in __tcp_run_hpts()
Product: Base System
Version: 14.0-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: transport@FreeBSD.org
Reporter: markj@FreeBSD.org
CC: glebius@FreeBSD.org, rrs@FreeBSD.org,
tuexen@freebsd.org
Coverity reports that tv.tv_sec is uninitialized when passed to tvtosbt(),
which returns the timeout used for the HPTS callout. Presumably the intent is
to initialize it to 0?
I also see that in tcp_run_hpts(), "hpts" is declared as static, but that is
not thread safe and doesn't make sense to me.
--
You are receiving this mail because:
You are the assignee for the bug.