From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: unaccent: Fix allocation size for target characters on initial l
Date: Mon, 25 Sep 2023 00:37:01 +0000
Message-ID: <E1qkZav-005kt5-DE@gemulon.postgresql.org> (raw)
unaccent: Fix allocation size for target characters on initial load
This led to an overestimation of the size allocated for both the quoted
and non-quoted cases, while using an inconsistent style. Thinkos in
59f47fb98dab.
Per report from Coverity, with extra input from Tom Lane.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/f19669fed3efe872425c80d4b1f45bf59267b7ea
Modified Files
--------------
contrib/unaccent/unaccent.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: unaccent: Fix allocation size for target characters on initial l
In-Reply-To: <E1qkZav-005kt5-DE@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox