Re: [PATCH] Fix heap-buffer-overflow in PGTYPEStimestamp_defmt_scan()

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Sivirilova Marija <m(dot)sivirilova(at)ftdata(dot)ru>
Cc: "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: [PATCH] Fix heap-buffer-overflow in PGTYPEStimestamp_defmt_scan()
Date: 2026-08-19 09:43:20
Message-ID: 10564694-3E72-46C4-AC09-C0C344D2A62F@yesql.se
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 19 Aug 2026, at 11:13, Sivirilova Marija <m(dot)sivirilova(at)ftdata(dot)ru> wrote:
>
> I'm sending you an updated patch. A test has been added to src/interfaces/ecpg/test/pgtypeslib/dt_test2.pgc. It works without compiling AddressSanitizer.

Thanks. For anyone reviewing (I at least won't have time for a few days):
there is also an earlier patch submitted for fixing this bug which should be
considered to make sure we pick the best fix.

https://postgr.es/m/CAB8bMiuv0T175FkbcFi_jGN1kp_0S_cYLyHXFiL7RvyuqqQrjg@mail.gmail.com

--
Daniel Gustafsson

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2026-08-19 09:47:30 Re: Python/pytest test framework take two
Previous Message Bertrand Drouvot 2026-08-19 09:25:52 Re: pg_control_checkpoint(): add "data_checksum_version" (Pg19)?