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 _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"