Re: [HACKERS] SCRAM authentication, take three

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: [HACKERS] SCRAM authentication, take three
Дата
Msg-id CAB7nPqQxdzqdyD8h=qxK4pQAXkB=EcjNZv94yDyC4Hy+oftHgg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] SCRAM authentication, take three  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-hackers
On Mon, Mar 6, 2017 at 11:50 AM, Michael Paquier
<michael.paquier@gmail.com> wrote:
> On Fri, Mar 3, 2017 at 2:43 PM, Michael Paquier
> <michael.paquier@gmail.com> wrote:
>> I am attaching 0009 and 0010 that address those problems (pushed on
>> github as well) that can be applied on top of the latest set.
>
> While doing more tests with my module able to do SASLprep, I have
> noticed that calculations related to Hangul characters were incorrect:
>  /* Constants for calculations wih Hangul characters */
> -#define SBASE      0xAC00
> -#define LBASE      0x1100
> -#define VBASE      0x1161
> -#define TBASE      0x11A7
> +#define SBASE      0xEAB080    /* U+AC00 */
> +#define LBASE      0xE18480    /* U+1100 */
> +#define VBASE      0xE185A1    /* U+1161 */
> +#define TBASE      0xE186A7    /* U+11A7 */

Here is as well an extra patch with this set of fixes, to be applied
on top of the rest. Those are on my github as well, that's for the
archive's sake, and that's better than sending a full set of patches
again.
-- 
Michael

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: [HACKERS] SCRAM authentication, take three
Следующее
От: "Okano, Naoki"
Дата:
Сообщение: Re: [WIP] RE: [HACKERS] DECLARE STATEMENT setting up a connectionin ECPG