Avoid a possible null pointer (src/backend/utils/adt/pg_locale.c)

From: Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Avoid a possible null pointer (src/backend/utils/adt/pg_locale.c)
Date: 2023-09-01 14:38:12
Message-ID: CAEudQApjNNJz-uSTa1WYueWntSLD7sA=_0BXgSt6acFTFwudoA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

If a null locale is reached in these paths.
elog will dereference a null pointer.

best regards,

Ranier Vilela

Attachment Content-Type Size
0001-Avoid-a-possible-dereference-a-null-pointer.patch application/octet-stream 2.1 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Wong 2023-09-01 14:50:38 Re: Buildfarm failures on urocryon
Previous Message Robert Haas 2023-09-01 14:30:23 Re: trying again to get incremental backup