Do not call principal_hton() to copy ktc_principal structs
authorJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 15 Jul 2009 05:46:45 +0000 (01:46 -0400)
committerRuss Allbery <rra@stanford.edu>
Wed, 15 Jul 2009 07:19:30 +0000 (01:19 -0600)
commitf498c18a6f7300eb89ca3b9d9b85c4d461fa8474
treeef56fa5f58f97db4818fe51160e67fcd5f631f3d
parenta8cd0240e19301673598544166dab639f8e83c10
Do not call principal_hton() to copy ktc_principal structs

Reported by Marcus Watts.

principal_hton() is used to copy butc_principal structs.
Passing in a ktc_principal as source and destination will
result in beyond the end of the ktc_principal.

LICENSE IPL10

Reviewed-on: http://gerrit.openafs.org/86
Verified-by: Russ Allbery <rra@stanford.edu>
Reviewed-by: Russ Allbery <rra@stanford.edu>
src/budb/procs.c