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

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема pgsql: unaccent: Fix allocation size for target characters on initial l
Дата
Msg-id E1qkZav-005kt5-DE@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Daniel Gustafsson
Дата:
Сообщение: pgsql: Fix typo in test comment
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: pgsql: Add GUC for temporarily disabling event triggers