Date: Wed, 6 Sep 2006 20:15:43 +0000 (UTC) From: Ruslan Ermilov <ru@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: <200609062015.k86KFird052691@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ru 2006-09-06 20:15:43 UTC FreeBSD src repository Modified files: sbin/sysctl sysctl.c Log: While convenient, avoid using alloca() for reasons specified in the BUGS section of the alloca(3) manpage. In particular, when the number of TCP sockets is several tens of thousand, trying to "sysctl -a" would SIGSEGV on the net.inet.tcp.pcblist entry (it would exceed the stacksize ulimit, in an undetectable manner). Reported by: Igor Sysoev Revision Changes Path 1.75 +20 -4 src/sbin/sysctl/sysctl.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609062015.k86KFird052691>