[PATCH] Fix bug when calling strncmp in check_authmethod_valid

Поиск
Список
Период
Сортировка
От Jingxian Li
Тема [PATCH] Fix bug when calling strncmp in check_authmethod_valid
Дата
Msg-id tencent_29731C7C7E6A2F9FB807C3A1DC3D81293C06@qq.com
обсуждение исходный текст
Ответы Re: [PATCH] Fix bug when calling strncmp in check_authmethod_valid  (Richard Guo <guofenglinux@gmail.com>)
Re: [PATCH] Fix bug when calling strncmp in check_authmethod_valid  (Daniel Gustafsson <daniel@yesql.se>)
Список pgsql-hackers
Hi all,

Attached is a patch that fixes bug when calling strncmp function, in
which case the third argument (authmethod - strchr(authmethod, ' '))
may be negative, which is not as expected..


With Regards,
Jingxian Li.



Вложения

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

Предыдущее
От: Andy Fan
Дата:
Сообщение: Re: using extended statistics to improve join estimates
Следующее
От: Alexander Lakhin
Дата:
Сообщение: Re: Add SPLIT PARTITION/MERGE PARTITIONS commands