Re: BUG #15150: Reading uninitialised value in NISortAffixes(tsearch/spell.c) - Mailing list pgsql-bugs

From Arthur Zakirov
Subject Re: BUG #15150: Reading uninitialised value in NISortAffixes(tsearch/spell.c)
Date
Msg-id 20180413190529.GA6210@arthur.localdomain
Whole thread Raw
In response to Re: BUG #15150: Reading uninitialised value in NISortAffixes (tsearch/spell.c)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
On Fri, Apr 13, 2018 at 01:51:00PM -0400, Tom Lane wrote:
> > I attached the patch. It fixes the following:
> > - show an error if actual number of affix aliases is greater than
> >   initial number. I wonder is it necessary. But I think it is better to
> >   raise an error than crash, if you set wrong number for AF flag.
> 
> Good idea, but I tweaked the message wording a bit.
> 
> > The code coverage still isn't 100% for spell.c. But it is better than
> > earlier.
> 
> Indeed.  Pushed, thanks!

Thank you!

-- 
Arthur Zakirov
Postgres Professional: http://www.postgrespro.com
Russian Postgres Company


pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #15150: Reading uninitialised value in NISortAffixes (tsearch/spell.c)
Next
From: PG Bug reporting form
Date:
Subject: BUG #15155: table_to_xmlschema() ignores string restriction whengenerating XSD