Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wNXWM-000szr-1R for pgsql-committers@arkaria.postgresql.org; Thu, 14 May 2026 14:58:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wNX43-00D4jE-34 for pgsql-committers@arkaria.postgresql.org; Thu, 14 May 2026 14:29:27 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wMPet-000mYe-0l for pgsql-committers@lists.postgresql.org; Mon, 11 May 2026 12:22:51 +0000 Received: from mahout.postgresql.org ([72.32.157.227]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wMPeq-000000002ii-3noY for pgsql-committers@lists.postgresql.org; Mon, 11 May 2026 12:22:51 +0000 Received: from gemulon.postgresql.org ([2001:4800:3e1:1::198]) by mahout.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wMPbr-0005ak-07 for pgsql-committers@lists.postgresql.org; Mon, 11 May 2026 12:19:43 +0000 Received: from localhost ([127.0.0.1] helo=gemulon.postgresql.org) by gemulon.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wMPbk-0002TW-34 for pgsql-committers@lists.postgresql.org; Mon, 11 May 2026 12:19:37 +0000 Content-Type: multipart/mixed; boundary="===============7305164288814205318==" MIME-Version: 1.0 From: Noah Misch To: pgsql-committers@lists.postgresql.org Subject: pgsql: Fix integer overflow in array_agg(), when the array grows too la X-Auto-Response-Suppress: All Auto-Submitted: auto-generated Message-Id: Date: Mon, 11 May 2026 12:19:37 +0000 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --===============7305164288814205318== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Rml4IGludGVnZXIgb3ZlcmZsb3cgaW4gYXJyYXlfYWdnKCksIHdoZW4gdGhlIGFycmF5IGdyb3dz IHRvbyBsYXJnZQoKSWYgeW91IGFjY3VtdWxhdGUgbWFueSBhcnJheXMgZnVsbCBvZiBOVUxMcywg eW91IGNvdWxkIG92ZXJmbG93CiduaXRlbXMnLCBiZWZvcmUgcmVhY2hpbmcgdGhlIE1heEFsbG9j U2l6ZSBsaW1pdCBvbiB0aGUgYWxsb2NhdGlvbnMuCkFkZCBhbiBleHBsaWNpdCBjaGVjayB0aGF0 IHRoZSBudW1iZXIgb2YgaXRlbXMgZG9lc24ndCBncm93IHRvbyBsYXJnZS4KV2l0aCBtb3JlIHRo YW4gTWF4QXJyYXlTaXplIGl0ZW1zLCBnZXR0aW5nIHRoZSBmaW5hbCByZXN1bHQgd2l0aAptYWtl QXJyYXlSZXN1bHRBcnIoKSB3b3VsZCBmYWlsIGFueXdheSwgc28gYmV0dGVyIHRvIGVycm9yIG91 dCBlYXJseS4KClJlcG9ydGVkLWJ5OiBYaW50IENvZGUKQXV0aG9yOiBIZWlra2kgTGlubmFrYW5n YXMgPGhlaWtraS5saW5uYWthbmdhc0Bpa2kuZmk+ClJldmlld2VkLWJ5OiBUb20gTGFuZSA8dGds QHNzcy5wZ2gucGEudXM+CkJhY2twYXRjaC10aHJvdWdoOiAxNApTZWN1cml0eTogQ1ZFLTIwMjYt NjQ3MwoKQnJhbmNoCi0tLS0tLQptYXN0ZXIKCkRldGFpbHMKLS0tLS0tLQpodHRwczovL2dpdC5w b3N0Z3Jlc3FsLm9yZy9wZy9jb21taXRkaWZmLzZkNjhmY2IyOGY5MTgwMjg5ZDE5MTBkM2ZhN2Zj YTJkMzIwMjE3MzAK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