Re: plperl sigfpe reset can crash the server

From: Alex Hunsaker <badalex(at)gmail(dot)com>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Hannu Krosing <hannu(at)2ndquadrant(dot)com>
Subject: Re: plperl sigfpe reset can crash the server
Date: 2012-08-24 22:15:00
Message-ID: CAFaPBrRjWPbZXqQwRyQk+DuvE-K5FFL0Oj_4M4ktgbMDXUO-rw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Aug 24, 2012 at 4:10 PM, Andres Freund <andres(at)2ndquadrant(dot)com> wrote:

> We probably should workaround that bug anyway given that its a pretty trivial
> DOS using only a trusted language and it will take quite some time to push out
> newer perl versions even if that bug gets fixed.
>
> Doing a pqsignal(SIGFPE, FloatExceptionHandler) after PERL_SYS_INIT3 seems to
> work. Is that acceptable?

Makes sense to me. (I have not looked to see if there is some perl
knob we can flip for this)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2012-08-24 22:19:23 Re: plperl sigfpe reset can crash the server
Previous Message Andres Freund 2012-08-24 22:10:43 Re: plperl sigfpe reset can crash the server