[PATCH] Add STRICT to some regression test C functions.
[PATCH] Add STRICT to some regression test C functions.
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
Re: [PATCH] Add STRICT to some regression test C functions.
От:
Piotr Stefaniak <postgres@piotr-stefaniak.me>
Дата:
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.
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Andreas Seltenreich 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