pgsql: In passwordFromFile, don't leak the open file after stat failure - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: In passwordFromFile, don't leak the open file after stat failure
Date
Msg-id E1suxtw-001SjQ-Hz@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
In passwordFromFile, don't leak the open file after stat failures.

Oversight in e882bcae0.  Per Coverity.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e9339782a631eeef01281bc7e1633dd6b970106e

Modified Files
--------------
src/interfaces/libpq/fe-connect.c | 5 +++++
1 file changed, 5 insertions(+)


pgsql-committers by date:

Previous
From: Noah Misch
Date:
Subject: pgsql: Avoid 037_invalid_database.pl hang under debug_discard_caches.
Next
From: Noah Misch
Date:
Subject: pgsql: Remove NULL dereference from RenameRelationInternal().