]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix memory leak in old gssrpc authentication
authorGreg Hudson <ghudson@mit.edu>
Mon, 27 Jun 2016 04:21:30 +0000 (00:21 -0400)
committerGreg Hudson <ghudson@mit.edu>
Wed, 10 Aug 2016 17:36:48 +0000 (13:36 -0400)
commit9fa91a67e55c265a655f4276ae6ee1b310537e24
tree9ada44d46088aa000fa44c02244337d1d0962491
parent6f8597f85642562bf672eb9a3be542907d0555c1
Fix memory leak in old gssrpc authentication

auth_gssapi_create(), which is now only used to connect to ancient
servers, can leak memory on error or when multiple GSSAPI_INIT calls
are required.  Ensure that call_res is freed along all exit paths and
before each repeat clnt_call() invocation.

ticket: 8434 (new)
src/lib/rpc/auth_gssapi.c