Re: Text search segmentation fault

From: Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>
To: Teodor Sigaev <teodor(at)sigaev(dot)ru>
Cc: General Postgres Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: Re: Text search segmentation fault
Date: 2009-01-29 15:36:12
Message-ID: 2f4958ff0901290736n1e5df8c3peead791ba0317d@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Jan 29, 2009 at 3:32 PM, Teodor Sigaev <teodor(at)sigaev(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2009-01-29 15:44:51 Re: Text search segmentation fault
Previous Message Grzegorz Jaśkiewicz 2009-01-29 15:34:59 Re: Text search segmentation fault