You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@serf.apache.org by "Ivan Zhakov (Jira)" <ji...@apache.org> on 2022/08/12 08:33:00 UTC

[jira] [Reopened] (SERF-153) CredHandle not freed when APR pool is destroyed

     [ https://issues.apache.org/jira/browse/SERF-153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ivan Zhakov reopened SERF-153:
------------------------------

> CredHandle not freed when APR pool is destroyed
> -----------------------------------------------
>
>                 Key: SERF-153
>                 URL: https://issues.apache.org/jira/browse/SERF-153
>             Project: serf
>          Issue Type: Bug
>            Reporter: Michael Osipov
>            Priority: Major
>              Labels: Priority-Medium, Type-Defect
>
> In auth_spnego_sspi.c from line 97
>  if (SecIsValidHandle(&amp;ctx->sspi_credentials)) {
>         FreeCredentialsHandle(&amp;ctx->sspi_context);
>         SecInvalidateHandle(&amp;ctx->sspi_context);
>     }
> I guess this should read
>  if (SecIsValidHandle(&amp;ctx->sspi_credentials)) {
>         FreeCredentialsHandle(&amp;ctx->sspi_credentials);
>         SecInvalidateHandle(&amp;ctx->sspi_credentials);
>     }
> Shouldn't it?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)