pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Zu-Ming Jiang <zuming.jiang@inf.ethz.ch>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #18276: Heap-buffer-overflow triggered in src/backend/utils/adt/datum.c:163
Date: Sun, 7 Jan 2024 21:15:32 +0100
Message-ID: <c5cff649-efa7-45b1-8965-e75f75ec8fce@inf.ethz.ch> (raw)
In-Reply-To: <1637353.1704656849@sss.pgh.pa.us>
References: <18276-13b98d6ec97ed5b8@postgresql.org>
	<1633850.1704655019@sss.pgh.pa.us>
	<25caa537-1add-4561-8ef9-806c46ac98ce@inf.ethz.ch>
	<1637353.1704656849@sss.pgh.pa.us>

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

view thread (7+ messages)

Message-ID: <c5cff649-efa7-45b1-8965-e75f75ec8fce@inf.ethz.ch>
Permalink:  ../c5cff649-efa7-45b1-8965-e75f75ec8fce@inf.ethz.ch/
Also on:    postgresql.org/message-id/c5cff649-efa7-45b1-8965-e75f75ec8fce@inf.ethz.ch

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: zuming.jiang@inf.ethz.ch, tgl@sss.pgh.pa.us, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #18276: Heap-buffer-overflow triggered in src/backend/utils/adt/datum.c:163
  In-Reply-To: <c5cff649-efa7-45b1-8965-e75f75ec8fce@inf.ethz.ch>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox