Re: Text search segmentation fault - Mailing list pgsql-general

From Grzegorz Jaśkiewicz
Subject Re: Text search segmentation fault
Date
Msg-id 2f4958ff0901290736n1e5df8c3peead791ba0317d@mail.gmail.com
Whole thread Raw
In response to Re: Text search segmentation fault  (Teodor Sigaev <teodor@sigaev.ru>)
List pgsql-general
On Thu, Jan 29, 2009 at 3:32 PM, Teodor Sigaev <teodor@sigaev.ru> wrote:
>
>
>> Than I have quite few notes about that function:
>> - affix is not checked on entry, and should be unsigned,
>
> Could be Assert( affix>=0 && affix < Conf->nAffixData )
>
wouldn't that crash pg backend too ?

The structure that this file parses, does it come straight from ispell
file, or is it being already parsed (and checked for errors) ?


--
GJ

pgsql-general by date:

Previous
From: Grzegorz Jaśkiewicz
Date:
Subject: Re: Text search segmentation fault
Next
From: Tom Lane
Date:
Subject: Re: Text search segmentation fault