[24050] in Source-Commits
/svn/athena r23654 - in trunk/athena/bin/lert: . debian
daemon@ATHENA.MIT.EDU (Evan Broder)
Sun Mar 29 11:39:50 2009
X-Barracuda-Envelope-From: broder@mit.edu
Date: Sun, 29 Mar 2009 11:39:28 -0400
From: Evan Broder <broder@MIT.EDU>
Message-Id: <200903291539.n2TFdSVv026432@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Author: broder
Date: 2009-03-29 11:39:28 -0400 (Sun, 29 Mar 2009)
New Revision: 23654
Modified:
trunk/athena/bin/lert/debian/changelog
trunk/athena/bin/lert/lertsrv.c
Log:
In lert:
* Fix a double-free in the lert server. (Patch from CVS by Garry
Zacheiss)
Modified: trunk/athena/bin/lert/debian/changelog
===================================================================
--- trunk/athena/bin/lert/debian/changelog 2009-03-29 02:16:22 UTC (rev 23653)
+++ trunk/athena/bin/lert/debian/changelog 2009-03-29 15:39:28 UTC (rev 23654)
@@ -1,3 +1,9 @@
+debathena-lert (10.0.1-0debathena1) unstable; urgency=low
+
+ * Fix a double-free in the lert server. (Patch by Garry Zacheiss)
+
+ -- Evan Broder <broder@mit.edu> Sun, 29 Mar 2009 11:38:02 -0400
+
debathena-lert (10.0.0-0debathena2) unstable; urgency=low
* Change DEB_AUTO_UPDATE_AUTOCONF to 2.50, not 1.
Modified: trunk/athena/bin/lert/lertsrv.c
===================================================================
--- trunk/athena/bin/lert/lertsrv.c 2009-03-29 02:16:22 UTC (rev 23653)
+++ trunk/athena/bin/lert/lertsrv.c 2009-03-29 15:39:28 UTC (rev 23654)
@@ -15,7 +15,7 @@
/* This is the server for the lert system. */
-static const char rcsid[] = "$Id: lertsrv.c,v 1.9 2006-03-10 07:07:34 ghudson Exp $";
+static const char rcsid[] = "$Id: lertsrv.c,v 1.10 2009/03/26 19:30:39 zacheiss Exp $";
#include <stdio.h>
#include <unistd.h>
@@ -225,12 +225,9 @@
{
krb5_unparse_name(context, client, &username);
if (username)
- {
- fprintf(stderr, "lertsrv: %s not null instance in realm "
- "%s.\n", username,
- krb5_princ_realm(context, server)->data);
- free(username);
- }
+ fprintf(stderr, "lertsrv: %s not null instance in realm "
+ "%s.\n", username,
+ krb5_princ_realm(context, server)->data);
opacket[1] = LERT_NOT_IN_DB;
opacket[2] = '\0';
}