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

From Zu-Ming Jiang
Subject Re: BUG #18276: Heap-buffer-overflow triggered in src/backend/utils/adt/datum.c:163
Date
Msg-id c5cff649-efa7-45b1-8965-e75f75ec8fce@inf.ethz.ch
Whole thread Raw
In response to Re: BUG #18276: Heap-buffer-overflow triggered in src/backend/utils/adt/datum.c:163  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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


pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #18276: Heap-buffer-overflow triggered in src/backend/utils/adt/datum.c:163
Next
From: tender wang
Date:
Subject: Re: BUG #18259: Assertion in ExtendBufferedRelLocal() fails after no-space-left condition