Skip Menu |
 

Subject: small leak in KDC authdata plugins
There is a small leak in the KDC authdata plugin code. Patch from Apple
attached.
Download LHA-5396551-free-ftables-on-exit.patch
application/octet-stream 3.8KiB

Message body not shown because it is not plain text.

I am having some trouble characterizing this patch. There are two
changes to error-handling in the KDC code, and then a change to
lib/kdb/kdb_default.c to avoid leaking keytab objects.

All of the changes look fine; they just don't seem terribly related.
Date: Mon, 03 Nov 2008 11:34:36 -0800
From: Love Hörnquist Åstrand <lha@apple.com>
Subject: Re: [krbdev.mit.edu #6201] small leak in KDC authdata plugins
To: "rt-comment@krbdev.mit.edu" <rt-comment@krbdev.mit.edu>
RT-Send-Cc:

3 nov 2008 kl. 11:26 skrev Greg Hudson via RT:

Show quoted text
> I am having some trouble characterizing this patch. There are two
> changes to error-handling in the KDC code, and then a change to
> lib/kdb/kdb_default.c to avoid leaking keytab objects.
>
> All of the changes look fine; they just don't seem terribly related.

The are related as in "Memory leaks as detected by leaks".

Love
Okay, that's fine. I'll check it in as such. I had just received some
incorrect summaries of the patch and was confused.
From: ghudson@mit.edu
Subject: SVN Commit

Apply a patch from Apple to correct a few memory leaks.

Commit By: ghudson



Revision: 20958
Changed Files:
U trunk/src/kdc/kdc_authdata.c
U trunk/src/kdc/kdc_preauth.c
U trunk/src/lib/kdb/kdb_default.c