]> granicus.if.org Git - postgresql/commit
Properly close token in sspi authentication
authorMagnus Hagander <magnus@hagander.net>
Thu, 14 Jan 2016 12:06:03 +0000 (13:06 +0100)
committerMagnus Hagander <magnus@hagander.net>
Thu, 14 Jan 2016 12:07:55 +0000 (13:07 +0100)
commitdf0bd5a0f7e8893e1177f53b1ca126ffaf24160e
tree8fad510ca528dfbeb74b8a10daec2d1239370bd7
parentbe2b27651422a7d5426d29e5bf7d9a319afc1a77
Properly close token in sspi authentication

We can never leak more than one token, but we shouldn't do that. We
don't bother closing it in the error paths since the process will
exit shortly anyway.

Christian Ullrich
src/backend/libpq/auth.c