Re: Uninitialized var utilized (src/backend/tsearch/spell.c)

2020-10-09 Thread Ranier Vilela
Em sex., 9 de out. de 2020 às 11:37, Tom Lane escreveu: > Ranier Vilela writes: > > Em sex., 9 de out. de 2020 às 11:08, Daniel Gustafsson > > escreveu: > >> To help reviewers, your report should contain an explanation of when > that > >> can happen. > > > When option "flag" is not handled. > >

Re: Uninitialized var utilized (src/backend/tsearch/spell.c)

2020-10-09 Thread Tom Lane
Ranier Vilela writes: > Em sex., 9 de out. de 2020 às 11:08, Daniel Gustafsson > escreveu: >> To help reviewers, your report should contain an explanation of when that >> can happen. > When option "flag" is not handled. > if (STRNCMP(pstr, "flag") == 0) I think what he means is that if the file

Re: Uninitialized var utilized (src/backend/tsearch/spell.c)

2020-10-09 Thread Ranier Vilela
Em sex., 9 de out. de 2020 às 11:08, Daniel Gustafsson escreveu: > > On 9 Oct 2020, at 14:36, Ranier Vilela wrote: > > > At function NIImportAffixes (src/backend/tsearch/spell.c). > > > > If option "flag" is not handled, variable char flag[BUFSIZE] will remain > uninitialized. > > To help review

Re: Uninitialized var utilized (src/backend/tsearch/spell.c)

2020-10-09 Thread Daniel Gustafsson
> On 9 Oct 2020, at 14:36, Ranier Vilela 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. chee