Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2007 20:37:37 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sbin/sysctl sysctl.c
Message-ID:  <200701222037.l0MKbbst097661@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2007-01-22 20:37:37 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_4)
    sbin/sysctl          sysctl.c 
  Log:
  MFC: Use malloc() rather than alloca() to allocate storage for old values
  to avoid a segfault on boxes with lots of active TCP connections where
  net.inet.tcp.pcblist can return a size bigger than alloca() can satisfy.
  
  Revision   Changes    Path
  1.25.2.12  +28 -8     src/sbin/sysctl/sysctl.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701222037.l0MKbbst097661>