From 0e962ce7dd6b5111dc3baf9cee8b73aa67895690 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 22 Mar 2006 07:24:05 +0000 Subject: Stack overflow prevention allows deeper recursion git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3748 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 9ffc14cf7..bf124164a 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -589,7 +589,7 @@ void InspIRCd::DoOneIteration(bool process_module_sockets) sockaddr_in sock_us; // our port number socklen_t uslen; // length of our port number - if (yield_depth > 3) + if (yield_depth > 100) return; yield_depth++; -- cgit v1.2.3