Re: [Bug] Heap Use After Free in parallel_vacuum_reset_dead_items Function

2024-12-04 Thread John Naylor
On Tue, Nov 26, 2024 at 4:53 PM John Naylor wrote: > Thanks for the report! I don't see any immediate evidence of deleterious > effects, but it's still sloppy. To reduce risk going forward, I think we > should always access this pointer via the struct rather than a separate copy, > quick attemp

Re: [Bug] Heap Use After Free in parallel_vacuum_reset_dead_items Function

2024-11-27 Thread John Naylor
On Tue, Nov 26, 2024 at 1:58 AM Vallimaharajan G < vallimaharajan...@zohocorp.com> wrote: > > Hi Developers, > We have discovered a bug in the parallel_vacuum_reset_dead_items function in PG v17.2. Specifically: > > TidStoreDestroy(dead_items) frees the dead_items pointer. > The pointer is rei