Re: Possible integer overflow in bringetbitmap()

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: James Hunter <james(dot)hunter(dot)pg(at)gmail(dot)com>
Cc: Evgeniy Gorbanyov <gorbanyoves(at)basealt(dot)ru>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Possible integer overflow in bringetbitmap()
Date: 2025-01-14 06:28:17
Message-ID: Z4YEAbzGsVa7QaQX@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Jan 10, 2025 at 11:22:37AM -0800, James Hunter wrote:
> Attached the proposed one-line fix.

Thanks, applied and backpatched down to v13. While on it, I've
checked all the other amgetbitmap callbacks and they all rely on an
int64 for the result they return. So these parts are OK.
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Ryohei Takahashi (Fujitsu) 2025-01-14 06:50:17 RE: COPY performance on Windows
Previous Message Tom Lane 2025-01-14 05:59:04 Re: [PATCH] Hex-coding optimizations using SVE on ARM.