[16119] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

[krbdev.mit.edu #8739] Memory leak in function main() in

daemon@ATHENA.MIT.EDU (Greg Hudson via RT)
Tue Sep 18 13:13:04 2018

Mail-followup-to: rt@krbdev.mit.edu
mail-copies-to: never
From: "Greg Hudson via RT" <rt-comment@KRBDEV-PROD-APP-1.mit.edu>
In-Reply-To: <rt-8739@krbdev.mit.edu>
Message-ID: <rt-8739-48827.13.3056394226655@krbdev.mit.edu>
To: "'AdminCc of krbdev.mit.edu Ticket #8739'":;
Date: Tue, 18 Sep 2018 13:12:54 -0400 (EDT)
Reply-To: rt-comment@KRBDEV-PROD-APP-1.mit.edu
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krb5-bugs-bounces@mit.edu

tinfo is a static global variable in both test programs, so the memory 
is still reachable at program exit; as such this isn't really a memory 
leak.

Also, as these are test programs, it's only important to fix memory 
leaks in them if they create false positives in static or dynamic 
analysis tools which detect memory bugs.  Was this issue discovered 
using a tool, or through code inspection?
_______________________________________________
krb5-bugs mailing list
krb5-bugs@mit.edu
https://mailman.mit.edu/mailman/listinfo/krb5-bugs

home help back first fref pref prev next nref lref last post