From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Patch some corner-case bugs in pl/python. |
Date: | 2012-03-13 19:26:56 |
Message-ID: | E1S7XN2-0002TI-K7@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Patch some corner-case bugs in pl/python.
Dave Malcolm of Red Hat is working on a static code analysis tool for
Python-related C code. It reported a number of problems in plpython,
most of which were failures to check for NULL results from object-creation
functions, so would only be an issue in very-low-memory situations.
Patch in HEAD and 9.1. We could go further back but it's not clear that
these issues are important enough to justify the work.
Jan Urbański
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/5cd72c7a7c7bd76ab028e1dc59d90a47750acebe
Modified Files
--------------
src/pl/plpython/plpy_elog.c | 4 ++++
src/pl/plpython/plpy_main.c | 2 ++
src/pl/plpython/plpy_plpymodule.c | 18 ++++++++++++++++--
src/pl/plpython/plpy_spi.c | 3 ++-
src/pl/plpython/plpy_typeio.c | 2 ++
5 files changed, 26 insertions(+), 3 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2012-03-14 20:51:40 | pgsql: Add additional safety check against invalid backup label file |
Previous Message | Tom Lane | 2012-03-13 17:28:20 | pgsql: Fix minor memory leak in PLy_typeinfo_dealloc(). |