Thread: [PATCH] Add STRICT to some regression test C functions.

[PATCH] Add STRICT to some regression test C functions.

From
Andreas Seltenreich
Date:
Hi,

some of the C functions in the regression test DB readily crash when
passing NULL input values.  The regression 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.  Maybe someone can sneak
this patch in?

Thanks,
Andreas

Attachment

Re: [PATCH] Add STRICT to some regression test C functions.

From
Piotr Stefaniak
Date:
On 01/09/2016 12:05 AM, Andreas Seltenreich wrote:
> Maybe someone can sneak this patch in?

Exactly this is done by a part of another patch, by Michael Paquier, 
that he sent to an off-list thread.

Michael had asked for feedback there, but I didn't have the time to test 
the patch. Just from reading it I think it's good, though. And it still 
applies and passes HEAD's make check-world tests.




Re: [PATCH] Add STRICT to some regression test C functions.

From
Tom Lane
Date:
Andreas Seltenreich <seltenreich@gmx.de> writes:
> some of the C functions in the regression test DB readily crash when
> passing NULL input values.  The regression 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.  Maybe someone can sneak
> this patch in?

Pushed, thanks.
        regards, tom lane