Re: [PATCH] Fix out-of-bouds access (src/common/wchar.c)
От
Daniel Gustafsson
Тема
Re: [PATCH] Fix out-of-bouds access (src/common/wchar.c)
Дата
Msg-id
C3BE49B2-5FA7-428D-9913-3AA849CF5FBF@yesql.se
Ответ на
Re: [PATCH] Fix out-of-bouds access (src/common/wchar.c) (Ranier Vilela)
Список
Дерево обсуждения
[PATCH] Fix out-of-bouds access (src/common/wchar.c) Ranier Vilela <ranier.vf@gmail.com>
Re: [PATCH] Fix out-of-bouds access (src/common/wchar.c) Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: [PATCH] Fix out-of-bouds access (src/common/wchar.c) Ranier Vilela <ranier.vf@gmail.com>
Re: [PATCH] Fix out-of-bouds access (src/common/wchar.c) Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: [PATCH] Fix out-of-bouds access (src/common/wchar.c) Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: [PATCH] Fix out-of-bouds access (src/common/wchar.c) Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: [PATCH] Fix out-of-bouds access (src/common/wchar.c) Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: [PATCH] Fix out-of-bouds access (src/common/wchar.c) Julien Rouhaud <rjuju123@gmail.com>
Re: [PATCH] Fix out-of-bouds access (src/common/wchar.c) Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: [PATCH] Fix out-of-bouds access (src/common/wchar.c) Julien Rouhaud <rjuju123@gmail.com>
Re: [PATCH] Fix out-of-bouds access (src/common/wchar.c) Ranier Vilela <ranier.vf@gmail.com>
Re: [PATCH] Fix out-of-bouds access (src/common/wchar.c) Daniel Gustafsson <daniel@yesql.se>
Re: [PATCH] Fix out-of-bouds access (src/common/wchar.c) Ranier Vilela <ranier.vf@gmail.com>
Re: [PATCH] Fix out-of-bouds access (src/common/wchar.c) Daniel Gustafsson <daniel@yesql.se>
Re: [PATCH] Fix out-of-bouds access (src/common/wchar.c) Tom Lane <tgl@sss.pgh.pa.us>
Re: [PATCH] Fix out-of-bouds access (src/common/wchar.c) Daniel Gustafsson <daniel@yesql.se>
Re: [PATCH] Fix out-of-bouds access (src/common/wchar.c) Ranier Vilela <ranier.vf@gmail.com>
Re: [PATCH] Fix out-of-bouds access (src/common/wchar.c) Ranier Vilela <ranier.vf@gmail.com>
> On 17 Feb 2022, at 13:19, Ranier Vilela wrote:
> 1. One #ifdef with a mistake, the correct is _WIN32 and not WIN32.
Can you elaborate on this, we are using WIN32 pretty extensively in the code:
$ git grep "if[n]\{0,1\}def WIN32$"|wc -l
511
$ git grep "if[n]\{0,1\}def _WIN32$"|wc -l
2
The _WIN32 cases are in the same ECPG testcase.
Why would _WIN32 be correct in this case?
--
Daniel Gustafsson https://vmware.com/
В списке pgsql-hackers по дате отправления
От: Ranier Vilela
Дата: