* svc.c (xprt_register): Zero out xports after allocating
authorTom Yu <tlyu@mit.edu>
Tue, 15 Feb 2000 05:12:30 +0000 (05:12 +0000)
committerTom Yu <tlyu@mit.edu>
Tue, 15 Feb 2000 05:12:30 +0000 (05:12 +0000)
commit9d0c85dfe2d5fbe2449f67014217f8c3e05c865f
tree05ab54b8f2d1e9f43a1fbaa360719d5aed6ad9e7
parent69357b54afbe8232ad849da28f13f2b6190f91d9
* svc.c (xprt_register): Zero out xports after allocating

* auth_gssapi_misc.c (xdr_authgssapi_creds):
(xdr_authgssapi_init_arg):
(xdr_authgssapi_init_res):
(auth_gssapi_unwrap_data): If xdr_gss_buf or xdr_bytes fails, call
again with XDR_FREE set so that allocated memory doesn't leak.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12041 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/rpc/ChangeLog
src/lib/rpc/auth_gssapi_misc.c
src/lib/rpc/svc.c