Re: freeing LDAPMessage in CheckLDAPAuth
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Zhihong Yu <zyu@yugabyte.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Date: 2022-09-06T23:24:59Z
Lists: pgsql-hackers
On Mon, Sep 05, 2022 at 02:50:09AM -0700, Zhihong Yu wrote: > Here is patch v4. FWIW, I am fine with what you are basically doing with v4, so I'd like to apply that on HEAD on the basis of consistency with libpq. As Tom said, this authentication path will fail, but I'd like to think that this is a good practice anyway. I'll wait a few days first, in case others have comments. -- Michael
Commits
-
Free correctly LDAPMessage returned by ldap_search_s() in auth.c
- 799437e0bd32 16.0 landed