]> 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:06:03 +0000 (13:06 +0100)
commit6a61d1ff9dce7406c0affdc013da27ed4252ba29
treebebe4e7dc8e4d147a1b5c087d97987c3ab5d8250
parente72d7d85310c397a94748db72d73a59c57e0b0dc
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