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

From: Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Uninitialized var utilized (src/backend/tsearch/spell.c)
Date: 2020-10-09 12:36:42
Message-ID: CAEudQApBMnNrHkNJEpd=PYN+FKxzRDOA-yEcX_1E18ozZQCBWA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At function NIImportAffixes (src/backend/tsearch/spell.c).

If option "flag" is not handled, variable char flag[BUFSIZE] will remain
uninitialized.

regards,
Ranier Vilela

Attachment Content-Type Size
fix_uninitialized_var_flag_spell.patch application/octet-stream 420 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Masahiko Sawada 2020-10-09 12:45:57 Re: Transactions involving multiple postgres foreign servers, take 2
Previous Message Greg Nancarrow 2020-10-09 12:23:47 Re: Parallel INSERT (INTO ... SELECT ...)