Re: Ubsan complaint on kestrel

From: Andres Freund <andres(at)anarazel(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Ubsan complaint on kestrel
Date: 2025-03-03 21:58:07
Message-ID: m4ipp3aamjswcu2xbu7k5hxafp2sbait67t74igr2ugzjzafx3@lrsnee7ohlyv
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On 2025-03-03 16:49:09 -0500, Tom Lane wrote:
> Andres Freund <andres(at)anarazel(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Munro 2025-03-03 22:35:30 Re: Adding NetBSD and OpenBSD to Postgres CI
Previous Message Tom Lane 2025-03-03 21:49:09 Re: Ubsan complaint on kestrel