pgsql: Remove NULL dereference from RenameRelationInternal(). - Mailing list pgsql-committers

From Noah Misch
Subject pgsql: Remove NULL dereference from RenameRelationInternal().
Date
Msg-id E1sv2q1-001UMr-Cs@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: In passwordFromFile, don't leak the open file after stat failure
Next
From: Noah Misch
Date:
Subject: pgsql: Remove NULL dereference from RenameRelationInternal().