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

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 55caeeee0f5b0310fc99f47b4abfdd6d987871e6
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2016-01-09T18:03:23Z
Releases: 9.2.15
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

Files