strc{py,at}_truncate -> strlc{py,at}
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6985 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -70,7 +70,7 @@ krb4_kt_get_name (krb5_context context,
|
||||
{
|
||||
struct krb4_kt_data *d = id->data;
|
||||
|
||||
strcpy_truncate (name, d->filename, name_sz);
|
||||
strlcpy (name, d->filename, name_sz);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user