BUG #18799: /src/interfaces/ecpg/pgtypeslib/timestamp.c possible NULL deref

Поиск
Список
Период
Сортировка
От PG Bug reporting form
Тема BUG #18799: /src/interfaces/ecpg/pgtypeslib/timestamp.c possible NULL deref
Дата
Msg-id 18799-c0cb1a5e90958485@postgresql.org
обсуждение исходный текст
Ответы Re: BUG #18799: /src/interfaces/ecpg/pgtypeslib/timestamp.c possible NULL deref
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      18799
Logged by:          Daniel Elishakov
Email address:      dan-eli@mail.ru
PostgreSQL version: 16.6
Operating system:   ubuntu 20.04
Description:

Pointer, returned from function 'localtime' at timestamp.c:141, may be NULL
and is dereferenced at timestamp.c:142.In practice this shouldn't be a
problem, but for strictness it's better to fix this. See
'src/bin/initdb/findtimezone.c' for example of proper handling.


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