[Bug 172675] [netinet] [patch] sysctl_tcp_hc_list (net.inet.tcp.hostcache.list) race condition causing memory corruption

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Feb 10 21:42:38 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=172675

--- Comment #8 from commit-hook at freebsd.org ---
A commit references this bug:

Author: jhb
Date: Tue Feb 10 21:41:57 UTC 2015
New revision: 278534
URL: https://svnweb.freebsd.org/changeset/base/278534

Log:
  MFC 277709:
  Use an sbuf to generate the output of the net.inet.tcp.hostcache.list
  sysctl to avoid a possible buffer overflow if the cache grows while the
  text is being generated.

  PR:        172675

Changes:
_U  stable/10/
  stable/10/sys/netinet/tcp_hostcache.c
_U  stable/9/sys/
  stable/9/sys/netinet/tcp_hostcache.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-net mailing list