public inbox for [email protected]  
help / color / mirror / Atom feed
From: Daniel Gustafsson <[email protected]>
To: Andres Freund <[email protected]>
Cc: PostgreSQL Hackers <[email protected]>
Cc: Jacob Champion <[email protected]>
Subject: Re: oauth integer overflow
Date: Thu, 23 Apr 2026 19:28:43 +0200
Message-ID: <[email protected]> (raw)
In-Reply-To: <qtclihmrkq67ach3xjxyi4qcksstin5qxwsnkqefkmotxwh4g6@ae2bj6jvcmry>
References: <qtclihmrkq67ach3xjxyi4qcksstin5qxwsnkqefkmotxwh4g6@ae2bj6jvcmry>

> On 23 Apr 2026, at 18:12, Andres Freund <[email protected]> wrote:

> I don't think it's safe to rely on that type of check working without -fwrapv
> support, which in turn we can't rely on having.
> 
> I think this should use pg_add_s32_overflow().

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

--
Daniel Gustafsson






view thread (10+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: oauth integer overflow
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox