Re: Avoid use of uninitialized variable (src/pl/plperl/plperl.c)

Поиск
Список
Период
Сортировка
От Ranier Vilela
Тема Re: Avoid use of uninitialized variable (src/pl/plperl/plperl.c)
Дата
Msg-id CAEudQApRHoBw7AJn0Nk_RO0Nz8OYTTX=+WLqaukPaU7=0pX2rg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Avoid use of uninitialized variable (src/pl/plperl/plperl.c)  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Em ter., 2 de set. de 2025 às 14:42, Andres Freund <andres@anarazel.de> escreveu:
Hi,

On 2025-09-02 14:39:44 -0300, Ranier Vilela wrote:
> In (src/pl/plperl/plperl.c) if *PERL_SYS_INIT3* is defined and
> *MYMALLOC* is not, is possible use of variable
> *perl_sys_init_done* uninitialized.

Static variables are zero initialized by definition, no?
Yeah. My bad, sorry for the noise.

best regards,
Ranier Vilela

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