Re: Ubsan complaint on kestrel - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Ubsan complaint on kestrel
Date
Msg-id m4ipp3aamjswcu2xbu7k5hxafp2sbait67t74igr2ugzjzafx3@lrsnee7ohlyv
Whole thread Raw
In response to Re: Ubsan complaint on kestrel  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi,

On 2025-03-03 16:49:09 -0500, Tom Lane wrote:
> Andres Freund <andres@anarazel.de> writes:
> > I wish the sanitizer treated mismatches of void * arguments against a "real
> > type" different from other mismatches, but ...
> 
> Indeed.  I think we have enough coverage of that via compile-time
> checks, though -- it's not like the type match or mismatch will vary
> dynamically.

I think it would be useful, it's pretty easy to have more actual mismatches
that the compiler won't warn about due to casts. But it is is how it is...

kestrel is green on all branches again.

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Ubsan complaint on kestrel
Next
From: Thomas Munro
Date:
Subject: Re: Adding NetBSD and OpenBSD to Postgres CI