Re: scram and \password

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: scram and \password
Дата
Msg-id 5478ab75-404f-9490-9355-dc1365ce3d7f@iki.fi
обсуждение исходный текст
Ответ на Re: [HACKERS] scram and \password  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: scram and \password  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-hackers
On 03/23/2017 06:41 AM, Michael Paquier wrote:
> And after a lookup the failure is here:
> -   result = get_role_password(port->user_name, &shadow_pass, logdetail);
> +   shadow_pass = get_role_password(port->user_name, logdetail);
>     if (result == STATUS_OK)
> result is never setup in this code path, so that may crash.

Ah, of course. For some reason, I has -Wno-maybe-uninitialized in my 
configure command line. Without that, gcc even warns about that.

Fixed, and pushed. Thanks!

- Heikki




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

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Fix and simplify check for whether we'rerunning as Windows serv
Следующее
От: Petr Jelinek
Дата:
Сообщение: Re: Logical replication existing data copy