This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU gsasl".

http://git.savannah.gnu.org/cgit/gsasl.git/commit/?id=46335dd853d2e7aecec89e1dce0fc9661f8e44c5

The branch, master has been updated
       via  46335dd853d2e7aecec89e1dce0fc9661f8e44c5 (commit)
      from  e204d1dcba18cbdf7ef4e9e930ed2b95dba0ba14 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 46335dd853d2e7aecec89e1dce0fc9661f8e44c5
Author: Simon Josefsson <[email protected]>
Date:   Wed Sep 16 16:16:52 2009 +0200

    SCRAM: Fix memleak.

-----------------------------------------------------------------------

Summary of changes:
 lib/scram/client.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/lib/scram/client.c b/lib/scram/client.c
index ef464c0..19dd849 100644
--- a/lib/scram/client.c
+++ b/lib/scram/client.c
@@ -337,12 +337,13 @@ _gsasl_scram_sha1_client_step (Gsasl_session * sctx,
                                  state->authmessage,
                                  strlen (state->authmessage),
                                  &serversignature);
+           gsasl_free (serverkey);
            if (rc != 0)
              return rc;
 
            rc = gsasl_base64_to (serversignature, 20,
                                  &state->serversignature, NULL);
-           free (serversignature);
+           gsasl_free (serversignature);
            if (rc != 0)
              return rc;
          }
@@ -388,6 +389,7 @@ _gsasl_scram_sha1_client_finish (Gsasl_session * sctx, void 
*mech_data)
     return;
 
   free (state->cfmb);
+  free (state->serversignature);
   free (state->authmessage);
   scram_free_client_first (&state->cf);
   scram_free_server_first (&state->sf);


hooks/post-receive
-- 
GNU gsasl


_______________________________________________
Gsasl-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gsasl-commit

Reply via email to