Re: BUG #18276: Heap-buffer-overflow triggered in src/backend/utils/adt/datum.c:163

From: "Andrey M(dot) Borodin" <x4mmm(at)yandex-team(dot)ru>
To: zuming(dot)jiang(at)inf(dot)ethz(dot)ch, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #18276: Heap-buffer-overflow triggered in src/backend/utils/adt/datum.c:163
Date: 2024-01-07 19:00:40
Message-ID: 6EC51333-5482-429C-BB05-0759B754C41B@yandex-team.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi Zuming!

Thanks for reporting this suspicious ASan alarm.

> On 7 Jan 2024, at 22:50, PG Bug reporting form <noreply(at)postgresql(dot)org> wrote:
>
> --- Compile Postgres with ASan ---
> ./configure CC=clang CFLAGS="-fsanitize=address -fno-omit-frame-pointer -g"
> LDFLAGS="-fsanitize=address"
> make -j
> make install

I've tried to reproduce the problem. And my system does not pass regressions tests at all with these flags. Maybe I'm doing something wrong.
Does your system pass `make check`?

Best regards, Andrey Borodin.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Zu-Ming Jiang 2024-01-07 19:08:00 Re: BUG #18276: Heap-buffer-overflow triggered in src/backend/utils/adt/datum.c:163
Previous Message Alexander Lakhin 2024-01-07 19:00:00 Re: [BUG] false positive in bt_index_check in case of short 4B varlena datum