[PATCH] Check for TupleTableSlot nullness before dereferencing
Alexander Kuznetsov <kuznetsovam@altlinux.org>
From: Alexander Kuznetsov <kuznetsovam@altlinux.org>
To: pgsql-hackers@lists.postgresql.org
Cc: egori@altlinux.org, nickel@altlinux.org
Date: 2024-10-03T07:47:40Z
Lists: pgsql-hackers
Attachments
- 0001-Check-for-TupleTableSlot-nullness-before-dereferenci.patch (text/x-patch) patch 0001
Hello everyone, I'd like to propose adding check for nullness of TupleTableSlot before dereferencing it in /src/backend/executor/nodeAgg.c It is done in the same manner other TupleTableSlots are checked, but was probably left unseen because slot1 and slot2 variables can be swapped during function execution. The patch is attached. -- Best regards, Alexander Kuznetsov