Don't free parts of the principal in channel bindings (LP: #1237981 ...
authorSam Hartman <hartmans@debian.org>
Thu, 10 Oct 2013 14:13:48 +0000 (10:13 -0400)
committerSam Hartman <hartmans@debian.org>
Thu, 10 Oct 2013 14:13:48 +0000 (10:13 -0400)
mech_eap/init_sec_context.c

index b2afed2..60d15ba 100644 (file)
@@ -292,7 +292,7 @@ peerInitEapChannelBinding(OM_uint32 *minor, gss_ctx_id_t ctx)
     *minor = 0;
 
 cleanup:
-    krbFreeUnparsedName(krbContext, &nameBuf);
+    /*namebuf is freed when used and may be left with a unowned pointer*/
     wpabuf_free(buf);
 
     return major;