pgsql: Workaround for perl problem where evaluating UTF8 regexes can - Mailing list pgsql-committers

From adunstan@postgresql.org (Andrew Dunstan)
Subject pgsql: Workaround for perl problem where evaluating UTF8 regexes can
Date
Msg-id 20071201153130.3DB337540F0@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Workaround for perl problem where evaluating UTF8 regexes can cause
implicit loading of modules, thereby breaking Safe rules.
We compile and call a tiny perl function on trusted interpreter init, after which
the problem does not occur.

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
    pgsql/src/pl/plperl:
        plperl.c (r1.123.2.1 -> r1.123.2.2)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/pl/plperl/plperl.c?r1=1.123.2.1&r2=1.123.2.2)

pgsql-committers by date:

Previous
From: adunstan@postgresql.org (Andrew Dunstan)
Date:
Subject: pgsql: Revert inadvertantly committed change.
Next
From: adunstan@postgresql.org (Andrew Dunstan)
Date:
Subject: pgsql: Workaround for perl problem where evaluating UTF8 regexes can