BUG #18799: /src/interfaces/ecpg/pgtypeslib/timestamp.c possible NULL deref - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #18799: /src/interfaces/ecpg/pgtypeslib/timestamp.c possible NULL deref
Date
Msg-id 18799-c0cb1a5e90958485@postgresql.org
Whole thread Raw
Responses Re: BUG #18799: /src/interfaces/ecpg/pgtypeslib/timestamp.c possible NULL deref
List 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 by date:

Previous
From: Mor Lehr
Date:
Subject: Re: Missing semicolumn in anonymous plpgsql block does not raise syntax error
Next
From: Sandeep Thakkar
Date:
Subject: Re: BUG #18794: pgBouncer Windows installation error due to a simple sql bug???