Fix for bug in ldapServiceLookup in libpq

Поиск
Список
Период
Сортировка
От Albe Laurenz
Тема Fix for bug in ldapServiceLookup in libpq
Дата
Msg-id D960CB61B694CF459DCFB4B0128514C20668FA0F@exadv11.host.magwien.gv.at
обсуждение исходный текст
Ответы Re: Fix for bug in ldapServiceLookup in libpq
Re: Fix for bug in ldapServiceLookup in libpq
Список pgsql-hackers
I have found a small but annoying bug in libpq where
connection parameters are resolved via LDAP.

There is a write past the end of a malloc'ed string which causes
memory corruption. The code and the bug are originally by me :^(

The attached patch fixes the problem in HEAD.
This should be backpatched to 8.2 where the code was introduced.

Yours,
Laurenz Albe

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: the big picture for index-only scans
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: the big picture for index-only scans