Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) From: ghudson@mit.edu Subject: git commit RT-Send-CC: X-RT-Original-Encoding: iso-8859-1 Content-Length: 663 Fix glob memory leak in GSS initialization In loadConfigFiles, call globfree even if glob fails, since glob can allocate memory and report partial results on failure. Also initialize globbuf before calling glob; this is not strictly required, but hedges against hypothetical libc implementation bugs which could leave globbuf.gl_pathc or globbuf.gl_pathv uninitialized on error. https://github.com/krb5/krb5/commit/20f91672568b1d2e341a9bb0dba88a831f152f1c Author: Greg Hudson Commit: 20f91672568b1d2e341a9bb0dba88a831f152f1c Branch: master src/lib/gssapi/mechglue/g_initialize.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)