Re: BUG #18925: Heap-buffer-overflow: pglz_compress with pglz_stategy_always

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Dilip Kumar <dilipbalaut(at)gmail(dot)com>
Cc: stasos24(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #18925: Heap-buffer-overflow: pglz_compress with pglz_stategy_always
Date: 2025-05-14 19:35:08
Message-ID: CA3905AE-1AC0-42FF-937E-7E4895DB163F@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

> On 13 May 2025, at 10:22, Dilip Kumar <dilipbalaut(at)gmail(dot)com> wrote:
> On Tue, May 13, 2025 at 7:34 PM PG Bug reporting form
> <noreply(at)postgresql(dot)org> wrote:

>> Although pglz_compress is not used with pglz_stategy_always.
>> It might be useful in future

> Do you have a reproducible test case or steps to hit this issue?

The way I read it there is now way to reproduce this as the codepath used in
the fuzzer ins't present in postgres (PGLZ_strategy_always is not used by any
callsite).

Whether or not there is a bug in the compression code, or PGLZ_strategy_always
being incorrectly defined, or none of the above, remains to be seen.

--
Daniel Gustafsson

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Jason Matthew 2025-05-14 20:27:29 pg16 ALTER ROLE [NO]INHERIT has no effect on existing grants
Previous Message Jackie Li 2025-05-14 16:38:22 Re: BUG #18928: postgres_fdw search_path not reset causing pgbouncer pool_mode=transaction using the wrong schema