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

From: Zu-Ming Jiang <zuming(dot)jiang(at)inf(dot)ethz(dot)ch>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <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 20:15:32
Message-ID: c5cff649-efa7-45b1-8965-e75f75ec8fce@inf.ethz.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Thanks for the feedback!

> It's not reasonable to expect the system to figure out the behavior
> of C functions (see: halting problem). In the end this is why
> creating base types is a superuser-only operation: it's possible
> to crash the server with a wrong definition. I don't see any prospect
> of making that meaningfully safer.

I will adjust my fuzzer to avoid such issues.

Best wishes,
Zuming

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message tender wang 2024-01-08 02:33:26 Re: BUG #18259: Assertion in ExtendBufferedRelLocal() fails after no-space-left condition
Previous Message Tom Lane 2024-01-07 19:47:29 Re: BUG #18276: Heap-buffer-overflow triggered in src/backend/utils/adt/datum.c:163