[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
Sun Jan 25 19:46:13 UTC 2015


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

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

Author: jhb
Date: Sun Jan 25 19:45:45 UTC 2015
New revision: 277709
URL: https://svnweb.freebsd.org/changeset/base/277709

Log:
  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
  MFC after:    2 weeks

Changes:
  head/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