Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Michael S Newsgroups: comp.lang.c Subject: Re: filling area by color atack safety Date: Wed, 20 Mar 2024 10:41:55 +0200 Organization: A noiseless patient Spider Lines: 15 Message-ID: <20240320104155.00005b24@yahoo.com> References: <20240317144625.00002011@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: dont-email.me; posting-host="92be935da1beff2666dcf9ddcb3e2080"; logging-data="1476478"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+2gRi0SpeydQove96U10Wj8nub1ZWDt8c=" Cancel-Lock: sha1:7NgkX9j22KyQWiInXHackBtK3qs= X-Newsreader: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-w64-mingw32) Bytes: 1580 On Wed, 20 Mar 2024 01:13:10 +0100 fir wrote: > > i asked the topic here as i felt i got no time to rethink if it will > blow my progranm or not but that 30 minurtes task was for 30 minutes > not for a multi hour discusion > So you got the answer rather quickly and the answer is: "Yes, in the worst case it can consume a lot of stack. Don't use this simple and elegant algorithm unless you have full control both on size of the images and on size of the stack and on size of the stack frame generates by compiler for each recursive call."