libgss leaks, UMRs
authorTom Yu <tlyu@mit.edu>
Fri, 13 Jun 2003 21:43:07 +0000 (21:43 +0000)
committerTom Yu <tlyu@mit.edu>
Fri, 13 Jun 2003 21:43:07 +0000 (21:43 +0000)
commit56d733f6d69e145693258b5e10a02554e4e68f77
tree1ac09f97eb2aa96617b77ce08fcce5d6fa7fdf20
parent6b7999187e33d4f9ddc1d842f70b587a492de325
libgss leaks, UMRs

* init_sec_context.c (krb5_gss_init_sec_context): Free
default_enctypes to avoid leaking returned value from
krb5_get_tgs_ktypes.

* k5unseal.c (kg_unseal_v1): Explicitly set token.value to NULL if
token.length == 0, to avoid spurious uninitialized memory
references when calling memcpy() with a zero length.

ticket: new
target_version: 1.3
tags: pullup
component: krb5-libs
cc: Kent_Wu@trendmicro.com

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15619 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/gssapi/krb5/ChangeLog
src/lib/gssapi/krb5/init_sec_context.c
src/lib/gssapi/krb5/k5unseal.c