Close handle leak in SSPI auth

From: Christian Ullrich <chris(at)chrullrich(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Close handle leak in SSPI auth
Date: 2016-01-10 19:58:26
Message-ID: n6ud52$733$1@ger.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello,

here's a one-line patch to close a handle leak in pg_SSPI_recvauth().

According to the docs, the token retrieved with
QuerySecurityContextToken() must be closed.

--
Christian

Attachment Content-Type Size
sspi_close_handle.patch text/plain 547 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2016-01-10 20:30:42 Re: WIP: bloom filter in Hash Joins with batches
Previous Message Steve Singer 2016-01-10 19:57:12 Re: pglogical - logical replication contrib module