krb5_gss_register_acceptor_identity does not allocate enough memory for cached keytab
authorEzra Peisach <epeisach@mit.edu>
Sat, 19 Jul 2003 20:03:10 +0000 (20:03 +0000)
committerEzra Peisach <epeisach@mit.edu>
Sat, 19 Jul 2003 20:03:10 +0000 (20:03 +0000)
commit26a6fb956b2fbed474436578704898de6fbe229c
treef7bfb03fb70dfcc4ee58d7c51b7ae31a6c026299
parentbbb4dacb4848adca0006a3206993ebc296343bbd
krb5_gss_register_acceptor_identity does not allocate enough memory for cached keytab

* acquire_cred.c (krb5_gss_register_acceptor_identity): Allocate
enough memory to include the null at the end of the keytab char *.

Essentially off by one error.

ticket: new
target_version: 1.3.1
tags: pullup
component: krb5-libs

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