Use strdup in place of malloc/strcpy in many places
authorGreg Hudson <ghudson@mit.edu>
Mon, 20 Oct 2008 18:18:49 +0000 (18:18 +0000)
committerGreg Hudson <ghudson@mit.edu>
Mon, 20 Oct 2008 18:18:49 +0000 (18:18 +0000)
commite4a2f122c3086c1179323c0e24edb3506d3f4758
tree310614d952144eaba5f2e0a1aec7f86af40862de
parent4c6801514e9ee5e6459780d37bc4a83429dd4746
Use strdup in place of malloc/strcpy in many places

ticket: 6200
status: open

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20898 dc483132-0cff-0310-8789-dd5450dbe970
50 files changed:
src/appl/bsd/kcmd.c
src/appl/bsd/krcp.c
src/appl/bsd/krlogin.c
src/appl/bsd/krsh.c
src/appl/bsd/krshd.c
src/appl/bsd/login.c
src/appl/gssftp/ftp/ruserpass.c
src/appl/gssftp/ftpd/ftpcmd.y
src/appl/gssftp/ftpd/ftpd.c
src/appl/telnet/libtelnet/kerberos5.c
src/ccapi/lib/ccapi_string.c
src/kadmin/dbutil/ovload.c
src/kadmin/testing/util/tcl_kadm5.c
src/kdc/do_as_req.c
src/kdc/do_tgs_req.c
src/lib/gssapi/generic/util_canonhost.c
src/lib/gssapi/generic/util_localhost.c
src/lib/gssapi/krb5/gssapi_krb5.c
src/lib/gssapi/mechglue/g_dsp_status.c
src/lib/gssapi/spnego/spnego_mech.c
src/lib/kadm5/logger.c
src/lib/kadm5/srv/server_acl.c
src/lib/kadm5/srv/svr_policy.c
src/lib/kadm5/srv/svr_principal.c
src/lib/krb5/asn.1/asn1buf.c
src/lib/krb5/ccache/cc_memory.c
src/lib/krb5/ccache/ccapi/stdcc.c
src/lib/krb5/keytab/kt_file.c
src/lib/krb5/keytab/kt_memory.c
src/lib/krb5/keytab/kt_srvtab.c
src/lib/krb5/krb/get_in_tkt.c
src/lib/krb5/krb/set_realm.c
src/lib/krb5/os/ccdefname.c
src/lib/krb5/os/def_realm.c
src/lib/krb5/os/hst_realm.c
src/lib/krb5/os/init_os_ctx.c
src/lib/krb5/os/promptusr.c
src/lib/krb5/os/realm_dom.c
src/lib/krb5/rcache/rc_dfl.c
src/lib/krb5/rcache/rc_io.c
src/plugins/preauth/pkinit/pkinit_profile.c
src/slave/kprop.c
src/slave/kpropd.c
src/tests/asn.1/ktest.c
src/tests/asn.1/utility.c
src/util/et/error_table.y
src/util/profile/prof_get.c
src/util/profile/prof_tree.c
src/util/ss/help.c
src/wconfig.c