pgsql: Prevent the injection of invalidly encoded strings by PL/Python - Mailing list pgsql-committers

From petere@postgresql.org (Peter Eisentraut)
Subject pgsql: Prevent the injection of invalidly encoded strings by PL/Python
Date
Msg-id 20100318194303.713ED7541D0@cvs.postgresql.org
Whole thread Raw
Responses Re: pgsql: Prevent the injection of invalidly encoded strings by PL/Python
List pgsql-committers
Log Message:
-----------
Prevent the injection of invalidly encoded strings by PL/Python into PostgreSQL
with a few strategically placed pg_verifymbstr calls.

Modified Files:
--------------
    pgsql/doc/src/sgml:
        plpython.sgml (r1.45 -> r1.46)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/plpython.sgml?r1=1.45&r2=1.46)
    pgsql/src/pl/plpython:
        plpython.c (r1.140 -> r1.141)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/pl/plpython/plpython.c?r1=1.140&r2=1.141)

pgsql-committers by date:

Previous
From: petere@postgresql.org (Peter Eisentraut)
Date:
Subject: pgsql: Message style tuning
Next
From: petere@postgresql.org (Peter Eisentraut)
Date:
Subject: pgsql: Also print the libpq error message when lo_create or lo_open