Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1suxu8-00BWA2-NX for pgsql-committers@arkaria.postgresql.org; Sun, 29 Sep 2024 17:40:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1suxu7-006uRp-7M for pgsql-committers@arkaria.postgresql.org; Sun, 29 Sep 2024 17:40:19 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1suxu6-006uRg-W9 for pgsql-committers@lists.postgresql.org; Sun, 29 Sep 2024 17:40:19 +0000 Received: from mahout.postgresql.org ([2001:4800:3e1:1::227]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1suxty-001iK4-Go for pgsql-committers@lists.postgresql.org; Sun, 29 Sep 2024 17:40:18 +0000 Received: from gemulon.postgresql.org ([2001:4800:3e1:1::198]) by mahout.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1suxtx-005EfN-Gn for pgsql-committers@lists.postgresql.org; Sun, 29 Sep 2024 17:40:09 +0000 Received: from localhost ([127.0.0.1] helo=gemulon.postgresql.org) by gemulon.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1suxtw-001SjQ-Hz for pgsql-committers@lists.postgresql.org; Sun, 29 Sep 2024 17:40:09 +0000 Content-Type: multipart/mixed; boundary="===============7055824140840678325==" MIME-Version: 1.0 From: Tom Lane To: pgsql-committers@lists.postgresql.org Subject: pgsql: In passwordFromFile, don't leak the open file after stat failure X-Auto-Response-Suppress: All Auto-Submitted: auto-generated Message-Id: Date: Sun, 29 Sep 2024 17:40:09 +0000 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --===============7055824140840678325== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 SW4gcGFzc3dvcmRGcm9tRmlsZSwgZG9uJ3QgbGVhayB0aGUgb3BlbiBmaWxlIGFmdGVyIHN0YXQg ZmFpbHVyZXMuCgpPdmVyc2lnaHQgaW4gZTg4MmJjYWUwLiAgUGVyIENvdmVyaXR5LgoKQnJhbmNo Ci0tLS0tLQptYXN0ZXIKCkRldGFpbHMKLS0tLS0tLQpodHRwczovL2dpdC5wb3N0Z3Jlc3FsLm9y Zy9wZy9jb21taXRkaWZmL2U5MzM5NzgyYTYzMWVlZWYwMTI4MWJjN2UxNjMzZGQ2Yjk3MDEwNmUK Ck1vZGlmaWVkIEZpbGVzCi0tLS0tLS0tLS0tLS0tCnNyYy9pbnRlcmZhY2VzL2xpYnBxL2ZlLWNv bm5lY3QuYyB8IDUgKysrKysKMSBmaWxlIGNoYW5nZWQsIDUgaW5zZXJ0aW9ucygrKQoK --===============7055824140840678325==--