new copy_data_contents variant that null-terminates
authorTom Yu <tlyu@mit.edu>
Wed, 15 Apr 2009 20:06:58 +0000 (20:06 +0000)
committerTom Yu <tlyu@mit.edu>
Wed, 15 Apr 2009 20:06:58 +0000 (20:06 +0000)
commit210b503ea11de9bd570ba6d8ede43702b36be36b
tree4a83d19a04ec0a02d7470946fb7edf9a526272ec
parent53609a60bc1d59c17ed36f33f0c066952a5589e4
new copy_data_contents variant that null-terminates

pull up r21893 from trunk

 ------------------------------------------------------------------------
 r21893 | raeburn | 2009-02-05 13:42:10 -0500 (Thu, 05 Feb 2009) | 4 lines
 Changed paths:
    M /trunk/src/include/k5-int.h
    M /trunk/src/lib/kdb/kdb_cpw.c
    M /trunk/src/lib/krb5/krb/bld_pr_ext.c
    M /trunk/src/lib/krb5/krb/copy_data.c
    M /trunk/src/lib/krb5/krb/copy_princ.c
    M /trunk/src/lib/krb5/libkrb5.exports

 Create and use (in several places) a variant of
 krb5int_copy_data_contents that adds a trailing '\0' so the result can
 be used as a C string.

ticket: 6467
version_fixed: 1.7
tags: pullup
target_version: 1.7

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-7@22240 dc483132-0cff-0310-8789-dd5450dbe970
src/include/k5-int.h
src/lib/kdb/kdb_cpw.c
src/lib/krb5/krb/bld_pr_ext.c
src/lib/krb5/krb/copy_data.c
src/lib/krb5/krb/copy_princ.c
src/lib/krb5/libkrb5.exports