Re: BUG #17935: Incorrect memory access in fuzzystrmatch/difference()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #17935: Incorrect memory access in fuzzystrmatch/difference()
Дата
Msg-id 2595015.1684246983@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #17935: Incorrect memory access in fuzzystrmatch/difference()  (PG Bug reporting form <noreply@postgresql.org>)
Список pgsql-bugs
PG Bug reporting form <noreply@postgresql.org> writes:
> In this case, _soundex() exits prematurely and sets only first and last
> char
> of it's parameter outstr, but difference() loops through SOUNDEX_LEN
> chars,
> and thus uses initialized data.

Yup, that's pretty sloppy, will fix.

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #17936: Memory Leak when OPERATOR FAMILY use LANGUAGE SQL function
Следующее
От: Tom Lane
Дата:
Сообщение: Re: XML element with special characters can be created, serialized, but not deserialized