Re: oauth integer overflow - Mailing list pgsql-hackers

From Jacob Champion
Subject Re: oauth integer overflow
Date
Msg-id CAOYmi+n4U_g+k1Bfs2eavJdps0qQj3HFDa5i3V1c0m3CLYUWhA@mail.gmail.com
Whole thread
In response to Re: oauth integer overflow  (Daniel Gustafsson <daniel@yesql.se>)
Responses Re: oauth integer overflow
List pgsql-hackers
On Thu, Apr 23, 2026 at 10:29 AM Daniel Gustafsson <daniel@yesql.se> wrote:
> > On 23 Apr 2026, at 18:12, Andres Freund <andres@anarazel.de> wrote:
> > I think this should use pg_add_s32_overflow().

Agreed, thanks for the report!

> Agreed, I'll write up a patch to fix it.

Cool. I have one written up and can share it for comparison, if you'd
like, but it's fairly verbose and I wonder if there's a better way to
do it.

--Jacob



pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: oauth integer overflow
Next
From: Mark Dilger
Date:
Subject: Re: GUC parameter ACLs and physical walsender