Skip Menu |
 

From: ghudson@mit.edu
Subject: SVN Commit

File descriptors created for trace logging were never being closed.
With short-lived contexts this leak would eventually overflow the
process's file table. Correct this oversight by closing the file
descriptor in file_trace_cb before freeing its container.


https://github.com/krb5/krb5/commit/6726c9f5eca0e49cabfdf878c02e5966bdcccd93
Commit By: ghudson
Revision: 24634
Changed Files:
U trunk/src/lib/krb5/os/trace.c
From: tlyu@mit.edu
Subject: SVN Commit

pull up r24634 from trunk

------------------------------------------------------------------------
r24634 | ghudson | 2011-02-13 11:12:36 -0800 (Sun, 13 Feb 2011) | 10 lines

ticket: 6867
subject: Trace logging file descriptor leak
target_version: 1.9.1
tags: pullup

File descriptors created for trace logging were never being closed.
With short-lived contexts this leak would eventually overflow the
process's file table. Correct this oversight by closing the file
descriptor in file_trace_cb before freeing its container.

https://github.com/krb5/krb5/commit/a46dda47298bd1aa48f5f05c7258d60a739441f1
Commit By: tlyu
Revision: 24642
Changed Files:
U branches/krb5-1-9/src/lib/krb5/os/trace.c