> On 22 Jan 2026, at 06:56, Andres Freund <[email protected]> wrote: > > It'd be nice to teach > the compile that palloc allocates, to a) get compiler warnings for things like > use-after-free b) warnings for things like access-beyond-allocation. Is there any chance to teach a compiler about short lived memory contexts? Best regards, Andrey Borodin.
- Likely undefined behavior with some flexible arrays Andres Freund
- Re: Likely undefined behavior with some flexible array... Tom Lane
- Re: Likely undefined behavior with some flexible a... Andres Freund
- Re: Likely undefined behavior with some flexib... Andrey Borodin
- Re: Likely undefined behavior with some fl... Andres Freund
