]> granicus.if.org Git - postgresql/commit
Add STRICT to some C functions created by the regression tests.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 9 Jan 2016 18:02:54 +0000 (13:02 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 9 Jan 2016 18:03:23 +0000 (13:03 -0500)
commit55caeeee0f5b0310fc99f47b4abfdd6d987871e6
tree1bb57bedefe5eceef44ef21d1a02269f15d8dcc5
parent957e1117da128c9615e81823db2ce0bc81f8cf81
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
src/test/regress/input/create_function_2.source
src/test/regress/output/create_function_2.source