pgsql: Remove NULL dereference from RenameRelationInternal().

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove NULL dereference from RenameRelationInternal().
Date: 2024-09-29 22:56:25
Message-ID: E1sv2q1-001UMr-Cs@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove NULL dereference from RenameRelationInternal().

Defect in last week's commit aac2c9b4fde889d13f859c233c2523345e72d32b,
per Coverity. Reaching this would need catalog corruption. Back-patch
to v12, like that commit.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0d5a3d7574f8dabcbc229c2a06a9cb2d9a43c7c5

Modified Files
--------------
src/backend/commands/tablecmds.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Noah Misch 2024-09-29 22:56:26 pgsql: Remove NULL dereference from RenameRelationInternal().
Previous Message Tom Lane 2024-09-29 17:40:09 pgsql: In passwordFromFile, don't leak the open file after stat failure