Обсуждение: pgsql: unaccent: Fix allocation size for target characters on initial l

Поиск
Список
Период
Сортировка

pgsql: unaccent: Fix allocation size for target characters on initial l

От
Michael Paquier
Дата:
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(-)