Thread: pgsql: Add STRICT to some C functions created by the regression tests.

pgsql: Add STRICT to some C functions created by the regression tests.

From
Tom Lane
Date:
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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/529baf6a2f3fe85e7e6b4ad3ca38ed4ebffd6bb4

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(-)