Re: Uninitialized var utilized (src/backend/tsearch/spell.c) - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: Uninitialized var utilized (src/backend/tsearch/spell.c)
Date
Msg-id 06A3698F-F566-4B36-AAF9-B5CE8E2249DA@yesql.se
Whole thread Raw
In response to Uninitialized var utilized (src/backend/tsearch/spell.c)  (Ranier Vilela <ranier.vf@gmail.com>)
Responses Re: Uninitialized var utilized (src/backend/tsearch/spell.c)
List pgsql-hackers
> On 9 Oct 2020, at 14:36, Ranier Vilela <ranier.vf@gmail.com> wrote:

> At function NIImportAffixes (src/backend/tsearch/spell.c).
>
> If option "flag" is not handled, variable char flag[BUFSIZE] will remain uninitialized.

To help reviewers, your report should contain an explanation of when that can
happen.

cheers ./daniel


pgsql-hackers by date:

Previous
From: Greg Nancarrow
Date:
Subject: Re: Parallel INSERT (INTO ... SELECT ...)
Next
From: Ranier Vilela
Date:
Subject: Re: Uninitialized var utilized (src/backend/tsearch/spell.c)