Files
heimdal/lib
Nicolas Williams 472509fd46 gsskrb5: Do not leak authenticator on retry
We have a Heimdal special where when the acceptor sends back an error
token for clock skew or ticket-not-yet-valid errors then the acceptor
application will get GSS_S_CONTINUE_NEEDED from gss_accept_sec_context()
so that the initiator may retry with the same context.

But we were retaining the auth_context, which means that when the
initiator does send a new token, the acceptor leaks memory because
krb5_verify_ap_req2() doesn't clean up the auth_context on reuse.  The
end result is that we leak a lot in those cases.
2022-01-07 21:04:19 -06:00
..
2022-01-06 17:21:06 +11:00
2021-09-10 09:11:23 +10:00
2022-01-02 20:58:39 -06:00
2022-01-08 08:49:45 +11:00
2021-11-29 12:50:26 +11:00
2017-03-10 15:47:43 -05:00
2016-11-08 15:48:40 -05:00
2016-12-15 12:15:56 -06:00