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

From: Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>
To: Daniel Gustafsson <daniel(at)yesql(dot)se>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Uninitialized var utilized (src/backend/tsearch/spell.c)
Date: 2020-10-09 14:09:30
Message-ID: CAEudQAp6BpSovJX0iaXo3cqsV-k1NZEM7waKY_rHMNvubjZ_2w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Em sex., 9 de out. de 2020 às 11:08, Daniel Gustafsson <daniel(at)yesql(dot)se>
escreveu:

> > On 9 Oct 2020, at 14:36, Ranier Vilela <ranier(dot)vf(at)gmail(dot)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.
>
> When option "flag" is not handled.
if (STRNCMP(pstr, "flag") == 0)

regards,
Ranier Vilela

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2020-10-09 14:17:52 Re: Expansion of our checks for connection-loss errors
Previous Message Daniel Gustafsson 2020-10-09 14:07:58 Re: Uninitialized var utilized (src/backend/tsearch/spell.c)