| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: Add STRICT to some C functions created by the regression tests. |
| Date: | 2016-01-09 18:03:48 |
| Message-ID: | E1aHxrg-0003YM-Oi@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Add STRICT to some C functions created by the regression tests.
These functions readily crash when passed a NULL input value. The tests
themselves do not pass NULL values to them; but when the regression
database is used as a basis for fuzz testing, they cause a lot of noise.
Also, if someone were to leave a regression database lying about in a
production installation, these would create a minor security hazard.
Andreas Seltenreich
Branch
------
REL9_3_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/f2c6804e4e139a1fa7c22a95c046e7833542434a
Modified Files
--------------
src/test/regress/input/create_function_2.source | 12 ++++++------
src/test/regress/output/create_function_2.source | 12 ++++++------
2 files changed, 12 insertions(+), 12 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andres Freund | 2016-01-09 18:08:47 | Re: pgsql: Avoid pin scan for replay of XLOG_BTREE_VACUUM |
| Previous Message | Simon Riggs | 2016-01-09 17:58:01 | Re: pgsql: Avoid pin scan for replay of XLOG_BTREE_VACUUM |