Обсуждение: [PATCH] Add STRICT to some regression test C functions.

Поиск
Список
Период
Сортировка

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

От
Andreas Seltenreich
Дата:
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
Дата:
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
Дата:
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