cvs commit: src/sbin/sysctl sysctl.c

John Baldwin jhb at FreeBSD.org
Mon Jan 22 20:37:38 UTC 2007


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


More information about the cvs-src mailing list