PATCH : fixed memory leak in saslauthd/auth_krb5.c


Subject: PATCH : fixed memory leak in saslauthd/auth_krb5.c
From: Etienne Goyer (etienne dot goyer at linuxquebec dot com)
Date: Fri May 02 2003 - 16:31:41 EDT


Hi,

I think I found a memory leak in saslauthd/auth_krb5.c. Here is the
patch to my fix.

--- auth_krb5.c.orig Fri May 2 16:26:56 2003
+++ auth_krb5.c Fri May 2 16:36:14 2003
@@ -221,6 +221,7 @@
     }

     if (keyblock) {
+ free(keyblock->contents);
        free(keyblock);
     }

-- 
Etienne Goyer                    Linux Québec Technologies Inc.
http://www.LinuxQuebec.com       etienne dot goyer at linuxquebec dot com
PGP Pub Key: http://www.LinuxQuebec.com/pubkeys/eg.key 
Fingerprint: F569 0394 098A FC70 B572  5D20 3129 3D86 8FD5 C853 







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD