Re: ubsan - Mailing list pgsql-hackers

From Andres Freund
Subject Re: ubsan
Date
Msg-id 20220323192241.tzeo6cu6mvepok53@alap3.anarazel.de
Whole thread Raw
In response to Re: ubsan  (Andres Freund <andres@anarazel.de>)
Responses Re: ubsan
List pgsql-hackers
Hi,

On 2022-03-23 11:21:37 -0700, Andres Freund wrote:
> On 2022-03-23 13:54:50 -0400, Tom Lane wrote:
> > Andres Freund <andres@anarazel.de> writes:
> > > I tried to run postgres with ubsan to debug something.
> > 
> > For 0001, could we just replace configure's dlopen check with the
> > dlsym check?  Or are you afraid of reverse-case failures?
> 
> Yea, I was worried about that. But now that I think more about it, it's hard
> to believe something could provide / intercept dlsym but not dlopen. I guess
> we can try and see?
>
> > 0003: OK.  Interesting though that we haven't seen these before.

I think we should backpatch both, based on the reasoning in
46ab07ffda9d6c8e63360ded2d4568aa160a7700 ?

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: warn if GUC set to an invalid shared library
Next
From: Simon Riggs
Date:
Subject: Re: Parameter for planner estimate of recursive queries