pgsql: Prevent the injection of invalidly encoded strings by PL/Python

From: petere(at)postgresql(dot)org (Peter Eisentraut)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Prevent the injection of invalidly encoded strings by PL/Python
Date: 2010-03-18 19:43:03
Message-ID: 20100318194303.713ED7541D0@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

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)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2010-03-18 20:00:51 pgsql: Also print the libpq error message when lo_create or lo_open
Previous Message Peter Eisentraut 2010-03-18 19:02:46 pgsql: Message style tuning

Browse pgsql-hackers by date

  From Date Subject
Next Message Marc G. Fournier 2010-03-18 20:28:07 Re: Getting to beta1
Previous Message Greg Smith 2010-03-18 19:20:58 Re: Getting to beta1