Fix integer overflow in nodeWindowAgg.c

Edit
ID 6629
Title Fix integer overflow in nodeWindowAgg.c
CI (CFBot) Summary
Stats (from CFBot) Patch version: v3, Patch count: 1, First patch: +117−5, All patches: +117−5
Tags Bugfix
Created 2026-03-31 06:42:17
Last modified 2026-03-31 06:42:17 (13 hours ago)
Latest email 2026-02-17 01:55:30 (1 month ago)
Status
PG20-1 (2026-07-01 – 2026-07-31): Needs review
Target version stable
Authors Richard Guo (richardguo)
Reviewers Become reviewer
Committer
Links
Emails
BUG #19405: Assertion in eval_windowaggregates() fails due to integer overflow
First at 2026-02-13 05:00:01 by PG Bug reporting form <noreply at postgresql.org>
Latest at 2026-02-17 01:55:30 by Richard Guo <guofenglinux at gmail.com>
Latest attachment (v3-0001-Fix-integer-overflow-in-nodeWindowAgg.c.patch) at 2026-02-17 01:55:30 from Richard Guo <guofenglinux at gmail.com>
    Attachment (v3-0001-Fix-integer-overflow-in-nodeWindowAgg.c.patch) at 2026-02-17 01:55:30 from Richard Guo <guofenglinux at gmail.com> (Patch: Yes)
    Attachment (v2-0001-Fix-signed-integer-overflow-in-nodeWindowAgg.c.patch) at 2026-02-14 13:44:48 from Richard Guo <guofenglinux at gmail.com> (Patch: Yes)
    Attachment (v1-0001-Fix-signed-integer-overflow-in-nodeWindowAgg.c.patch) at 2026-02-14 09:41:00 from Richard Guo <guofenglinux at gmail.com> (Patch: Yes)
History
When Who What
2026-03-31 06:42:17 Richard Guo (richardguo) Attached mail thread 19405-1ecf025dda171555@postgresql.org
2026-03-31 06:42:17 Richard Guo (richardguo) Created patch record
Edit