Skip site navigation (1) Skip section navigation (2)

Re: Fwd: Infinite recursion in function causes DoS

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Martin Pitt <martin(at)piware(dot)de>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Fwd: Infinite recursion in function causes DoS
Date: 2004-03-25 21:51:30
Message-ID: 200403252151.i2PLpVf17307@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
Martin Pitt wrote:
> Hi PostgreSQL hackers!
> 
> We recently received and discussed a Debian bug report agains
> postgresql. If you have time, please have a look at
> 
>   http://bugs.debian.org/239811
> 
> In short it was requested to limit the depth of (recursive) function
> calls to prevent database crashes. Would it be possible to do that in
> PostgreSQL? This depth should be configurable in 

This will be fixed in 7.5 with a new max_stack_depth configuration
varible.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

In response to

pgsql-bugs by date

Next:From: Tom LaneDate: 2004-03-25 22:32:59
Subject: Re: Fwd: Infinite recursion in function causes DoS
Previous:From: Martin PittDate: 2004-03-25 15:08:49
Subject: Fwd: Default pg_autovacuum config glitches

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group