Symbol: xstrdup
crypto/krb5/src/clients/ksu/authorization.c
141
*out_fcmd = xstrdup(cmd);
crypto/krb5/src/clients/ksu/authorization.c
266
loc_fcmd =cmd ? xstrdup(cmd): NULL;
crypto/krb5/src/clients/ksu/authorization.c
341
tmp_fcmd[0] = xstrdup(fcmd);
crypto/krb5/src/clients/ksu/authorization.c
363
path = xstrdup (CMD_PATH);
crypto/krb5/src/clients/ksu/authorization.c
488
*cmd_out = xstrdup(fcmd_arr[i]);
crypto/krb5/src/clients/ksu/authorization.c
546
*cmd_out = xstrdup(cmd);
crypto/krb5/src/clients/ksu/heuristic.c
63
temp_list[count] = xstrdup(fprinc);
crypto/krb5/src/clients/ksu/ksu.h
236
extern char *xstrdup (const char *);
crypto/krb5/src/clients/ksu/main.c
167
target_user = xstrdup("root");
crypto/krb5/src/clients/ksu/main.c
171
target_user = xstrdup(argv[1]);
crypto/krb5/src/clients/ksu/main.c
275
cc_source_tag = xstrdup(optarg);
crypto/krb5/src/clients/ksu/main.c
289
cmd = xstrdup(optarg);
crypto/krb5/src/clients/ksu/main.c
347
source_user = xstrdup(pwd->pw_name);
crypto/krb5/src/clients/ksu/main.c
351
target_user = xstrdup (source_user);
crypto/krb5/src/clients/ksu/main.c
609
shell = xstrdup(target_pwd->pw_shell);
crypto/openssh/auth-bsdauth.c
85
*name = xstrdup("");
crypto/openssh/auth-bsdauth.c
86
*infotxt = xstrdup("");
crypto/openssh/auth-bsdauth.c
90
(*prompts)[0] = xstrdup(challenge);
crypto/openssh/auth-pam.c
734
sshpam_rhost = xstrdup(auth_get_canonical_hostname(ssh,
crypto/openssh/auth-pam.c
789
auth_info = xstrdup("");
crypto/openssh/auth-pam.c
858
*name = xstrdup("");
crypto/openssh/auth-pam.c
859
*info = xstrdup("");
crypto/openssh/auth.c
123
char *shell = xstrdup((pw->pw_shell[0] == '\0') ?
crypto/openssh/auth.c
298
extra = xstrdup(authctxt->auth_method_info);
crypto/openssh/auth.c
410
return (xstrdup(ret));
crypto/openssh/auth.c
646
fake.pw_passwd = xstrdup("$2a$10$"
crypto/openssh/auth2-chall.c
125
kbdintctxt->devices = xstrdup(devs);
crypto/openssh/auth2-chall.c
179
kbdintctxt->devices = t[len] ? xstrdup(t+len+1) : NULL;
crypto/openssh/auth2-methods.c
104
omethods = methods = xstrdup(_methods);
crypto/openssh/auth2-pubkey.c
741
av[1] = xstrdup(user_pw->pw_name);
crypto/openssh/auth2.c
295
authctxt->user = xstrdup(user);
crypto/openssh/auth2.c
314
authctxt->service = xstrdup(service);
crypto/openssh/auth2.c
315
authctxt->style = style ? xstrdup(style) : NULL;
crypto/openssh/auth2.c
592
xstrdup(options.auth_methods[i]);
crypto/openssh/auth2.c
649
*methods = xstrdup(p);
crypto/openssh/canohost.c
106
return xstrdup(ntop);
crypto/openssh/canohost.c
109
return xstrdup(((struct sockaddr_un *)&addr)->sun_path);
crypto/openssh/canohost.c
123
return xstrdup("UNKNOWN");
crypto/openssh/canohost.c
133
return xstrdup("UNKNOWN");
crypto/openssh/canohost.c
148
host = xstrdup("UNKNOWN");
crypto/openssh/canohost.c
150
host = xstrdup(myname);
crypto/openssh/channels.c
1514
c->path = xstrdup(host);
crypto/openssh/channels.c
1532
c->path = xstrdup(p);
crypto/openssh/channels.c
1667
c->path = xstrdup(dest_addr);
crypto/openssh/channels.c
1671
c->path = xstrdup(ntop);
crypto/openssh/channels.c
1704
c->path = xstrdup(host_to_connect);
crypto/openssh/channels.c
1891
remote_ipaddr = xstrdup("127.0.0.1");
crypto/openssh/channels.c
1996
nc->path = xstrdup(c->path);
crypto/openssh/channels.c
326
sc->timeouts[sc->ntimeouts].type_pattern = xstrdup(type_pattern);
crypto/openssh/channels.c
375
c->xctype = xstrdup(xctype);
crypto/openssh/channels.c
3934
c->path = xstrdup(host);
crypto/openssh/channels.c
3936
c->listening_addr = addr == NULL ? NULL : xstrdup(addr);
crypto/openssh/channels.c
4017
c->path = xstrdup(path);
crypto/openssh/channels.c
4020
c->listening_addr = xstrdup(fwd->listen_path);
crypto/openssh/channels.c
4188
lhost = xstrdup(fwd->listen_host);
crypto/openssh/channels.c
4708
cctx->host = xstrdup(name);
crypto/openssh/channels.c
4740
c->path = xstrdup(host);
crypto/openssh/channels.c
4855
c->path = xstrdup(host);
crypto/openssh/channels.c
5292
sc->x11_saved_display = xstrdup(disp);
crypto/openssh/channels.c
5309
sc->x11_saved_proto = xstrdup(proto);
crypto/openssh/channels.c
535
c->remote_name = xstrdup(remote_name);
crypto/openssh/channels.c
692
#define MAYBE_DUP(s) ((s == NULL) ? NULL : xstrdup(s))
crypto/openssh/clientloop.c
2727
name = xstrdup(env[i]);
crypto/openssh/clientloop.c
2752
name = xstrdup(options.setenv[i]);
crypto/openssh/compat.c
147
return xstrdup(p);
crypto/openssh/dns.c
152
*digest = (u_char *)xstrdup("");
crypto/openssh/groupaccess.c
75
groups_byname[j++] = xstrdup(gr->gr_name);
crypto/openssh/gss-genr.c
150
ret = xstrdup((const char *)sshbuf_ptr(b));
crypto/openssh/gss-serv-krb5.c
183
client->store.filename = xstrdup(krb5_cc_get_name(krb_context, ccache));
crypto/openssh/hostfile.c
252
hostkeys->entries[hostkeys->num_entries].host = xstrdup(ctx->host);
crypto/openssh/hostfile.c
253
hostkeys->entries[hostkeys->num_entries].file = xstrdup(l->path);
crypto/openssh/hostfile.c
443
lhost = xstrdup(host);
crypto/openssh/hostfile.c
785
lineinfo.line = xstrdup(line);
crypto/openssh/kex.c
119
prop[i] = xstrdup(ciphers ? ciphers : defprop[i]);
crypto/openssh/kex.c
123
prop[i] = xstrdup(macs ? macs : defprop[i]);
crypto/openssh/kex.c
127
prop[i] = xstrdup(comp ? comp : defprop[i]);
crypto/openssh/kex.c
130
prop[i] = xstrdup(hkalgs ? hkalgs : defprop[i]);
crypto/openssh/kex.c
133
prop[i] = xstrdup(defprop[i]);
crypto/openssh/kex.c
275
oalgs = algs = xstrdup(allowed_algs);
crypto/openssh/kex.c
293
ssh->kex->server_sig_algs = xstrdup("");
crypto/openssh/kex.c
441
ssh->kex->server_sig_algs = xstrdup((const char *)value);
crypto/openssh/match.c
196
char *hostcopy = xstrdup(host);
crypto/openssh/match.c
256
pat = xstrdup(pattern);
crypto/openssh/match.c
280
c = cp = xstrdup(client);
crypto/openssh/match.c
281
s = sp = xstrdup(server);
crypto/openssh/match.c
296
ret = xstrdup(p);
crypto/openssh/misc.c
1055
uridup = tmp = xstrdup(uri);
crypto/openssh/misc.c
1079
host = xstrdup(cleanhostname(cp));
crypto/openssh/misc.c
1209
*retp = xstrdup(filename);
crypto/openssh/misc.c
1212
ocopy = copy = xstrdup(filename + 1);
crypto/openssh/misc.c
1513
*ifname = xstrdup(ifr.ifr_name);
crypto/openssh/misc.c
1561
return xstrdup("tohex: length > 65536");
crypto/openssh/misc.c
2561
sdup = xstrdup(s);
crypto/openssh/misc.c
2574
*typep = xstrdup(sdup);
crypto/openssh/misc.c
2684
(*array)[*lp] = xstrdup(s);
crypto/openssh/misc.c
2945
name = xstrdup(env);
crypto/openssh/misc.c
3068
nl[0].n_name = xstrdup(s);
crypto/openssh/misc.c
509
copy->pw_name = xstrdup(pw->pw_name);
crypto/openssh/misc.c
510
copy->pw_passwd = xstrdup(pw->pw_passwd == NULL ? "*" : pw->pw_passwd);
crypto/openssh/misc.c
512
copy->pw_gecos = xstrdup(pw->pw_gecos);
crypto/openssh/misc.c
523
copy->pw_class = xstrdup(pw->pw_class);
crypto/openssh/misc.c
525
copy->pw_dir = xstrdup(pw->pw_dir);
crypto/openssh/misc.c
526
copy->pw_shell = xstrdup(pw->pw_shell);
crypto/openssh/misc.c
559
sp = xstrdup(s);
crypto/openssh/misc.c
731
return(xstrdup(host));
crypto/openssh/misc.c
851
sdup = xstrdup(s);
crypto/openssh/misc.c
861
path = xstrdup(tmp);
crypto/openssh/misc.c
867
host = xstrdup(cleanhostname(tmp));
crypto/openssh/misc.c
869
user = xstrdup(sdup);
crypto/openssh/misc.c
871
host = xstrdup(cleanhostname(sdup));
crypto/openssh/misc.c
933
host = xstrdup(cleanhostname(cp));
crypto/openssh/moduli.c
566
eta_str = xstrdup(fmt_time(eta));
crypto/openssh/monitor.c
980
char *s, *l, *ol = xstrdup(list);
crypto/openssh/monitor_wrap.c
1161
oarg = arg = xstrdup(opens[i]);
crypto/openssh/monitor_wrap.c
924
*name = xstrdup("");
crypto/openssh/monitor_wrap.c
925
*infotxt = xstrdup("");
crypto/openssh/openbsd-compat/port-aix.c
272
msg = xstrdup("(none)");
crypto/openssh/openbsd-compat/port-aix.c
405
principal = xstrdup(authname);
crypto/openssh/packet.c
528
ssh->remote_ipaddr = xstrdup("UNKNOWN");
crypto/openssh/packet.c
530
ssh->local_ipaddr = xstrdup("UNKNOWN");
crypto/openssh/packet.c
561
return xstrdup(ntop);
crypto/openssh/packet.c
573
return xstrdup(ntop);
crypto/openssh/packet.c
588
return xstrdup(ntop);
crypto/openssh/packet.c
609
return xstrdup(ntop);
crypto/openssh/packet.c
624
return xstrdup(ntop);
crypto/openssh/packet.c
626
return xstrdup(name);
crypto/openssh/readconf.c
1450
*charptr = xstrdup(arg);
crypto/openssh/readconf.c
1483
cpptr[(*uintptr)++] = xstrdup(arg);
crypto/openssh/readconf.c
1543
*charptr = xstrdup(str + len);
crypto/openssh/readconf.c
1607
options->ciphers = xstrdup(arg);
crypto/openssh/readconf.c
1624
options->macs = xstrdup(arg);
crypto/openssh/readconf.c
1642
options->kex_algorithms = xstrdup(arg);
crypto/openssh/readconf.c
1663
*charptr = xstrdup(arg);
crypto/openssh/readconf.c
1720
(*cppptr)[(*uintptr)++] = xstrdup(arg);
crypto/openssh/readconf.c
1777
arg2 = xstrdup(arg);
crypto/openssh/readconf.c
2105
arg2 = xstrdup(p);
crypto/openssh/readconf.c
2264
cnames[ncnames].source_list = xstrdup(arg);
crypto/openssh/readconf.c
2265
cnames[ncnames].target_list = xstrdup(arg2);
crypto/openssh/readconf.c
2405
*charptr = xstrdup(arg);
crypto/openssh/readconf.c
2504
options->version_addendum = xstrdup("");
crypto/openssh/readconf.c
2506
options->version_addendum = xstrdup(str + len);
crypto/openssh/readconf.c
2818
options->xauth_location = xstrdup(_PATH_XAUTH);
crypto/openssh/readconf.c
2880
xstrdup(_PATH_SSH_SYSTEM_HOSTFILE);
crypto/openssh/readconf.c
2882
xstrdup(_PATH_SSH_SYSTEM_HOSTFILE2);
crypto/openssh/readconf.c
2895
xstrdup(_PATH_SSH_USER_HOSTFILE);
crypto/openssh/readconf.c
2897
xstrdup(_PATH_SSH_USER_HOSTFILE2);
crypto/openssh/readconf.c
2961
options->sk_provider = xstrdup("internal");
crypto/openssh/readconf.c
2964
options->sk_provider = xstrdup("$SSH_SK_PROVIDER");
crypto/openssh/readconf.c
3264
fwd->listen_path = xstrdup(fwdargs[0].arg);
crypto/openssh/readconf.c
3270
fwd->connect_host = xstrdup("socks");
crypto/openssh/readconf.c
3275
fwd->listen_path = xstrdup(fwdargs[0].arg);
crypto/openssh/readconf.c
3277
fwd->connect_path = xstrdup(fwdargs[1].arg);
crypto/openssh/readconf.c
3282
fwd->connect_path = xstrdup(fwdargs[1].arg);
crypto/openssh/readconf.c
3285
fwd->listen_host = xstrdup(fwdargs[0].arg);
crypto/openssh/readconf.c
3287
fwd->connect_host = xstrdup("socks");
crypto/openssh/readconf.c
3293
fwd->listen_path = xstrdup(fwdargs[0].arg);
crypto/openssh/readconf.c
3295
fwd->connect_host = xstrdup(fwdargs[1].arg);
crypto/openssh/readconf.c
3298
fwd->listen_host = xstrdup(fwdargs[0].arg);
crypto/openssh/readconf.c
3300
fwd->connect_path = xstrdup(fwdargs[2].arg);
crypto/openssh/readconf.c
3305
fwd->connect_host = xstrdup(fwdargs[1].arg);
crypto/openssh/readconf.c
3311
fwd->listen_host = xstrdup(fwdargs[0].arg);
crypto/openssh/readconf.c
3313
fwd->connect_host = xstrdup(fwdargs[2].arg);
crypto/openssh/readconf.c
3378
orig = sdup = xstrdup(s);
crypto/openssh/readconf.c
3412
o->jump_host = xstrdup("none");
crypto/openssh/readconf.c
3418
o->proxy_command = xstrdup("none");
crypto/openssh/readconf.c
3421
o->jump_extra = xstrdup(s);
crypto/openssh/readconf.c
486
xstrdup(path);
crypto/openssh/readconf.c
501
path = xstrdup(filename);
crypto/openssh/readconf.c
564
argv[2] = xstrdup(cmd);
crypto/openssh/readconf.c
668
host = xstrdup(options->hostname);
crypto/openssh/readconf.c
674
host = xstrdup(host_arg);
crypto/openssh/readconf.c
727
host = xstrdup(options->hostname);
crypto/openssh/readconf.c
733
host = xstrdup(host_arg);
crypto/openssh/readconf.c
739
attrib = oattrib = xstrdup(attrib);
crypto/openssh/readconf.c
820
criteria = xstrdup(host);
crypto/openssh/readconf.c
825
criteria = xstrdup(original_host);
crypto/openssh/readconf.c
830
criteria = xstrdup(ruser);
crypto/openssh/readconf.c
835
criteria = xstrdup(pw->pw_name);
crypto/openssh/readconf.c
849
criteria = xstrdup(SSH_RELEASE);
crypto/openssh/readconf.c
854
criteria = xstrdup(options->tag == NULL ? "" :
crypto/openssh/readconf.c
862
criteria = xstrdup(remote_command == NULL ?
crypto/openssh/readconf.c
871
criteria = xstrdup("subsystem");
crypto/openssh/readconf.c
873
criteria = xstrdup("none");
crypto/openssh/readconf.c
876
criteria = xstrdup("exec");
crypto/openssh/readconf.c
878
criteria = xstrdup("shell");
crypto/openssh/readconf.c
902
criteria = xstrdup(cmd);
crypto/openssh/readpass.c
108
pass = xstrdup(buf);
crypto/openssh/readpass.c
173
return (flags & RP_ALLOW_EOF) ? NULL : xstrdup("");
crypto/openssh/readpass.c
184
return xstrdup("");
crypto/openssh/readpass.c
191
return xstrdup("");
crypto/openssh/readpass.c
194
ret = xstrdup(buf);
crypto/openssh/regress/misc/fuzz-harness/agent_fuzz_helper.c
160
allowed_providers = xstrdup("");
crypto/openssh/regress/misc/fuzz-harness/agent_fuzz_helper.c
161
websafe_allowlist = xstrdup("*");
crypto/openssh/regress/misc/fuzz-harness/agent_fuzz_helper.c
28
tmp = cp = xstrdup(s);
crypto/openssh/regress/misc/fuzz-harness/agent_fuzz_helper.c
69
id->comment = xstrdup("rhododaktulos Eos");
crypto/openssh/regress/misc/fuzz-harness/agent_fuzz_helper.c
71
id->sk_provider = xstrdup("internal");
crypto/openssh/regress/misc/fuzz-harness/agent_fuzz_helper.c
88
id->comment = xstrdup("outis");
crypto/openssh/regress/misc/fuzz-harness/agent_fuzz_helper.c
90
id->sk_provider = xstrdup("internal");
crypto/openssh/regress/misc/fuzz-harness/kex_fuzz.cc
195
keyname = xstrdup(sshkey_ssh_name(privkey));
crypto/openssh/regress/misc/fuzz-harness/kex_fuzz.cc
284
tmp = cp = xstrdup(pubstr);
crypto/openssh/regress/misc/ssh-verify-attestation/ssh-verify-attestation.c
248
key->sk_application = xstrdup(k->sk_application); /* XXX */
crypto/openssh/regress/misc/ssh-verify-attestation/ssh-verify-attestation.c
293
key->sk_application = xstrdup(k->sk_application); /* XXX */
crypto/openssh/regress/unittests/kex/test_proposal.c
78
out = xstrdup("a,b");
crypto/openssh/regress/unittests/misc/test_hpdelim.c
31
#define START_STRING(x) orig = str = xstrdup(x)
crypto/openssh/regress/unittests/misc/test_strdelim.c
31
#define START_STRING(x) orig = str = xstrdup(x)
crypto/openssh/scp.c
1322
return xstrdup(".");
crypto/openssh/scp.c
1324
return xstrdup(path);
crypto/openssh/scp.c
1327
return xstrdup(".");
crypto/openssh/scp.c
1328
return xstrdup(path + 2 + nslash);
crypto/openssh/scp.c
1619
tmp = xstrdup(g.gl_pathv[i]);
crypto/openssh/scp.c
1629
abs_dst = xstrdup(dst);
crypto/openssh/scp.c
1865
vect[0] = xstrdup(np);
crypto/openssh/scp.c
2040
tmp = xstrdup(g.gl_pathv[i]);
crypto/openssh/scp.c
2050
abs_dst = xstrdup(target);
crypto/openssh/scp.c
492
newargv[n] = xstrdup(argv[n]);
crypto/openssh/scp.c
577
ssh_program = xstrdup(optarg);
crypto/openssh/scp.c
762
*pathp = xstrdup(".");
crypto/openssh/scp.c
996
if (append(xstrdup(cp2), &done, &ndone) != 0) {
crypto/openssh/servconf.c
1070
attrib = xstrdup(oattrib);
crypto/openssh/servconf.c
1415
*charptr = xstrdup(arg);
crypto/openssh/servconf.c
1533
xstrdup(arg) : derelativise_path(arg);
crypto/openssh/servconf.c
1602
*charptr = xstrdup(arg);
crypto/openssh/servconf.c
1748
p = xstrdup(arg);
crypto/openssh/servconf.c
1935
options->ciphers = xstrdup(arg);
crypto/openssh/servconf.c
1948
options->macs = xstrdup(arg);
crypto/openssh/servconf.c
1962
options->kex_algorithms = xstrdup(arg);
crypto/openssh/servconf.c
1999
options->subsystem_name[options->num_subsystems] = xstrdup(arg);
crypto/openssh/servconf.c
2006
xstrdup(arg);
crypto/openssh/servconf.c
2095
*charptr = xstrdup(arg);
crypto/openssh/servconf.c
2326
arg = xstrdup(arg2);
crypto/openssh/servconf.c
2453
arg2 = xstrdup(arg);
crypto/openssh/servconf.c
2488
options->adm_forced_command = xstrdup(str + len);
crypto/openssh/servconf.c
2500
*charptr = xstrdup(arg);
crypto/openssh/servconf.c
2519
xstrdup(arg) : derelativise_path(arg);
crypto/openssh/servconf.c
2561
options->version_addendum = xstrdup("");
crypto/openssh/servconf.c
2563
options->version_addendum = xstrdup(str + len);
crypto/openssh/servconf.c
2577
*charptr = xstrdup(str + len);
crypto/openssh/servconf.c
2590
*charptr = xstrdup(arg);
crypto/openssh/servconf.c
2683
*charptr = xstrdup(arg);
crypto/openssh/servconf.c
2849
ci->address = xstrdup(val);
crypto/openssh/servconf.c
2851
ci->host = xstrdup(val);
crypto/openssh/servconf.c
2853
ci->user = xstrdup(val);
crypto/openssh/servconf.c
2855
ci->laddress = xstrdup(val);
crypto/openssh/servconf.c
2857
ci->rdomain = xstrdup(val);
crypto/openssh/servconf.c
2895
xstrdup(src->subsystem_command[i]);
crypto/openssh/servconf.c
2897
xstrdup(src->subsystem_args[i]);
crypto/openssh/servconf.c
2911
dst->subsystem_name[j] = xstrdup(src->subsystem_name[i]);
crypto/openssh/servconf.c
2912
dst->subsystem_command[j] = xstrdup(src->subsystem_command[i]);
crypto/openssh/servconf.c
2913
dst->subsystem_args[j] = xstrdup(src->subsystem_args[i]);
crypto/openssh/servconf.c
2995
dst->s[i] = xstrdup(src->s[i]); \
crypto/openssh/servconf.c
309
options->pam_service_name = xstrdup(SSHD_PAM_SERVICE);
crypto/openssh/servconf.c
3190
char *laddr1 = xstrdup(""), *laddr2 = NULL;
crypto/openssh/servconf.c
337
options->pid_file = xstrdup(_PATH_SSH_DAEMON_PID_FILE);
crypto/openssh/servconf.c
339
options->moduli_file = xstrdup(_PATH_DH_MODULI);
crypto/openssh/servconf.c
359
options->xauth_location = xstrdup(_PATH_XAUTH);
crypto/openssh/servconf.c
486
options->version_addendum = xstrdup(SSH_VERSION_FREEBSD);
crypto/openssh/servconf.c
498
options->sk_provider = xstrdup("internal");
crypto/openssh/servconf.c
504
options->sshd_session_path = xstrdup(_PATH_SSHD_SESSION);
crypto/openssh/servconf.c
506
options->sshd_auth_path = xstrdup(_PATH_SSHD_AUTH);
crypto/openssh/servconf.c
822
return xstrdup("none");
crypto/openssh/servconf.c
876
options->listen_addrs[i].rdomain = xstrdup(rdomain);
crypto/openssh/servconf.c
946
qla->addr = xstrdup(addr);
crypto/openssh/servconf.c
948
qla->rdomain = rdomain == NULL ? NULL : xstrdup(rdomain);
crypto/openssh/session.c
1110
ocp = xstrdup(auth_opts->env[n]);
crypto/openssh/session.c
1160
cp = xstrdup(options.setenv[i]);
crypto/openssh/session.c
1663
args = xstrdup(command ? command : "sftp-server");
crypto/openssh/session.c
209
auth_sock_dir = xstrdup("/tmp/ssh-XXXXXXXXXX");
crypto/openssh/session.c
239
nc->path = xstrdup(auth_sock_name);
crypto/openssh/session.c
2625
s->display = xstrdup(display);
crypto/openssh/session.c
2626
s->auth_display = xstrdup(auth_display);
crypto/openssh/session.c
2645
s->display = xstrdup(display);
crypto/openssh/session.c
2646
s->auth_display = xstrdup(display);
crypto/openssh/session.c
279
auth_info_file = xstrdup("/tmp/sshauth.XXXXXXXXXXXXXXX");
crypto/openssh/session.c
314
tmp = cp = xstrdup(auth_opts->permitopen[i]);
crypto/openssh/session.c
329
tmp = cp = xstrdup(auth_opts->permitlisten[i]);
crypto/openssh/session.c
944
var_name = xstrdup(source[i]);
crypto/openssh/sftp-client.c
815
(*dir)[ents]->filename = xstrdup(filename);
crypto/openssh/sftp-client.c
816
(*dir)[ents]->longname = xstrdup(longname);
crypto/openssh/sftp-common.c
264
return xstrdup(buf);
crypto/openssh/sftp-server.c
1163
stats[count].name = xstrdup(dp->d_name);
crypto/openssh/sftp-server.c
1252
path = xstrdup(".");
crypto/openssh/sftp-server.c
1569
path = xstrdup(".");
crypto/openssh/sftp-server.c
1575
path = xstrdup(cwd);
crypto/openssh/sftp-server.c
1577
npath = xstrdup(path + 2);
crypto/openssh/sftp-server.c
1968
request_allowlist = xstrdup(optarg);
crypto/openssh/sftp-server.c
1973
request_denylist = xstrdup(optarg);
crypto/openssh/sftp-server.c
2003
client_addr = xstrdup(cp);
crypto/openssh/sftp-server.c
2011
client_addr = xstrdup("UNKNOWN");
crypto/openssh/sftp-server.c
357
handles[i].name = xstrdup(name);
crypto/openssh/sftp-usergroup.c
72
idname->name = xstrdup(name);
crypto/openssh/sftp.c
1418
*path1 = xstrdup(argv[optidx]);
crypto/openssh/sftp.c
1421
*path2 = xstrdup(argv[optidx + 1]);
crypto/openssh/sftp.c
1447
*path1 = xstrdup(argv[optidx]);
crypto/openssh/sftp.c
1448
*path2 = xstrdup(argv[optidx + 1]);
crypto/openssh/sftp.c
1471
*path1 = xstrdup(argv[optidx]);
crypto/openssh/sftp.c
1484
*path1 = xstrdup(argv[optidx]);
crypto/openssh/sftp.c
1493
*path1 = xstrdup(argv[optidx]);
crypto/openssh/sftp.c
1531
*path1 = xstrdup(argv[optidx + 1]);
crypto/openssh/sftp.c
1645
path1 = xstrdup(startdir);
crypto/openssh/sftp.c
1689
path1 = xstrdup(*pwd);
crypto/openssh/sftp.c
1695
path1 = xstrdup("~");
crypto/openssh/sftp.c
1892
char *tmp = xstrdup(list[0]);
crypto/openssh/sftp.c
1899
return xstrdup(word);
crypto/openssh/sftp.c
1916
list[count++] = xstrdup(cmds[y].c);
crypto/openssh/sftp.c
1931
list[count++] = xstrdup(cmds[y].c);
crypto/openssh/sftp.c
2012
tmp = xstrdup("*");
crypto/openssh/sftp.c
2254
startdir = xstrdup(remote_path);
crypto/openssh/sftp.c
2257
dir = xstrdup(file1);
crypto/openssh/sftp.c
2634
host = xstrdup(*argv);
crypto/openssh/sftp.c
384
return (xstrdup(path));
crypto/openssh/sftp.c
390
return (xstrdup(path + len));
crypto/openssh/sftp.c
393
return (xstrdup(path));
crypto/openssh/sftp.c
656
abs_src = make_absolute_pwd_glob(xstrdup(src), pwd);
crypto/openssh/sftp.c
682
tmp = xstrdup(g.gl_pathv[i]);
crypto/openssh/sftp.c
694
abs_dst = xstrdup(dst);
crypto/openssh/sftp.c
699
abs_dst = xstrdup(filename);
crypto/openssh/sftp.c
746
tmp_dst = xstrdup(dst);
crypto/openssh/sftp.c
777
tmp = xstrdup(g.gl_pathv[i]);
crypto/openssh/sftp.c
792
abs_dst = xstrdup(tmp_dst);
crypto/openssh/sftp.c
796
abs_dst = sftp_make_absolute(xstrdup(filename), pwd);
crypto/openssh/srclimit.c
112
NULL : xstrdup(penalty_exempt_conf);
crypto/openssh/ssh-add.c
331
comment = xstrdup(filename);
crypto/openssh/ssh-add.c
686
(*listp)[i] = xstrdup(s);
crypto/openssh/ssh-add.c
700
os = xstrdup(s);
crypto/openssh/ssh-add.c
714
dch->user = xstrdup(user);
crypto/openssh/ssh-add.c
729
dch->user = user == NULL ? NULL : xstrdup(user);
crypto/openssh/ssh-add.c
730
dch->hostname = xstrdup(host);
crypto/openssh/ssh-add.c
765
os = xstrdup(s);
crypto/openssh/ssh-agent.c
1432
sk_provider = xstrdup(canonical_provider);
crypto/openssh/ssh-agent.c
1580
id->provider = xstrdup(provider);
crypto/openssh/ssh-agent.c
1640
comments[i] = xstrdup(canonical_provider);
crypto/openssh/ssh-agent.c
1649
add_p11_identity(k, xstrdup(comments[i]),
crypto/openssh/ssh-agent.c
2306
websafe_allowlist = xstrdup(ccp);
crypto/openssh/ssh-agent.c
2313
allowed_providers = xstrdup(optarg);
crypto/openssh/ssh-agent.c
2353
allowed_providers = xstrdup(DEFAULT_ALLOWED_PROVIDERS);
crypto/openssh/ssh-agent.c
2355
websafe_allowlist = xstrdup(DEFAULT_WEBSAFE_ALLOWLIST);
crypto/openssh/ssh-agent.c
286
out->user = dch->user == NULL ? NULL : xstrdup(dch->user);
crypto/openssh/ssh-agent.c
287
out->hostname = dch->hostname == NULL ? NULL : xstrdup(dch->hostname);
crypto/openssh/ssh-keygen.c
1246
ohosts = hosts = xstrdup(l->hosts);
crypto/openssh/ssh-keygen.c
1461
old_passphrase = xstrdup(identity_passphrase);
crypto/openssh/ssh-keygen.c
1480
passphrase1 = xstrdup(identity_new_passphrase);
crypto/openssh/ssh-keygen.c
1575
passphrase = xstrdup("");
crypto/openssh/ssh-keygen.c
1580
passphrase = xstrdup(identity_passphrase);
crypto/openssh/ssh-keygen.c
1582
passphrase = xstrdup(identity_new_passphrase);
crypto/openssh/ssh-keygen.c
1661
cert_ext[ncert_ext].key = xstrdup(key);
crypto/openssh/ssh-keygen.c
1662
cert_ext[ncert_ext].val = value == NULL ? NULL : xstrdup(value);
crypto/openssh/ssh-keygen.c
1867
otmp = tmp = xstrdup(cert_principals);
crypto/openssh/ssh-keygen.c
1871
if (*(plist[n] = xstrdup(cp)) == '\0')
crypto/openssh/ssh-keygen.c
1891
public->cert->key_id = xstrdup(cert_key_id);
crypto/openssh/ssh-keygen.c
2012
from = xstrdup(timespec);
crypto/openssh/ssh-keygen.c
2083
certflags_command = xstrdup(val);
crypto/openssh/ssh-keygen.c
2092
certflags_src_addr = xstrdup(val);
crypto/openssh/ssh-keygen.c
2095
val = xstrdup(strchr(opt, ':') + 1);
crypto/openssh/ssh-keygen.c
2325
path = xstrdup("(standard input)");
crypto/openssh/ssh-keygen.c
2551
char *privpath = xstrdup(keypath);
crypto/openssh/ssh-keygen.c
2718
*hashalgp = xstrdup(opts[i] + 8);
crypto/openssh/ssh-keygen.c
3069
checkpoint = xstrdup(opts[i]+11);
crypto/openssh/ssh-keygen.c
3148
return xstrdup(identity_passphrase);
crypto/openssh/ssh-keygen.c
3150
return xstrdup(identity_new_passphrase);
crypto/openssh/ssh-keygen.c
3169
ret = xstrdup(application + 6);
crypto/openssh/ssh-keygen.c
3171
ret = xstrdup(application + 4);
crypto/openssh/ssh-keygen.c
3173
ret = xstrdup(application);
crypto/openssh/ssh-keygen.c
327
pass = xstrdup(identity_passphrase);
crypto/openssh/ssh-keygen.c
3524
opts[nopts++] = xstrdup(optarg);
crypto/openssh/ssh-keygen.c
3769
sk_device = xstrdup(opts[i] + 7);
crypto/openssh/ssh-keygen.c
3868
sk_device = xstrdup(opts[i] + 7);
crypto/openssh/ssh-keygen.c
3870
sk_user = xstrdup(opts[i] + 5);
crypto/openssh/ssh-keygen.c
3883
sk_application = xstrdup(opts[i] + 12);
crypto/openssh/ssh-keyscan.c
354
ohosts = hosts = xstrdup(hosts);
crypto/openssh/ssh-keyscan.c
401
namebase = namelist = xstrdup(iname);
crypto/openssh/ssh-keyscan.c
422
fdcon[s].c_output_name = xstrdup(oname);
crypto/openssh/ssh-pkcs11-client.c
615
helper->path = xstrdup(path);
crypto/openssh/ssh-pkcs11-helper.c
74
ki->providername = xstrdup(name);
crypto/openssh/ssh-pkcs11-helper.c
76
ki->label = xstrdup(label);
crypto/openssh/ssh-pkcs11.c
1205
(*labelsp)[*nkeys] = xstrdup((char *)label);
crypto/openssh/ssh-pkcs11.c
1319
(*labelsp)[*nkeys] = xstrdup((char *)label);
crypto/openssh/ssh-pkcs11.c
1579
p->name = xstrdup(provider_id);
crypto/openssh/ssh-pkcs11.c
994
subject = xstrdup("invalid subject");
crypto/openssh/ssh.c
1003
options.macs = xstrdup(optarg);
crypto/openssh/ssh.c
1028
options.user = xstrdup(optarg);
crypto/openssh/ssh.c
1083
line = xstrdup(optarg);
crypto/openssh/ssh.c
1098
options.control_path = xstrdup(optarg);
crypto/openssh/ssh.c
1137
p = xstrdup(*av);
crypto/openssh/ssh.c
1147
host = xstrdup(cp);
crypto/openssh/ssh.c
1166
options.host_arg = xstrdup(host);
crypto/openssh/ssh.c
1236
options.hostname = xstrdup(host);
crypto/openssh/ssh.c
1289
options.hostname = xstrdup(host);
crypto/openssh/ssh.c
1305
options.user = xstrdup(pw->pw_name);
crypto/openssh/ssh.c
1436
cinfo->thishost = xstrdup(thishost);
crypto/openssh/ssh.c
1438
cinfo->shorthost = xstrdup(thishost);
crypto/openssh/ssh.c
1442
cinfo->keyalias = xstrdup(options.host_key_alias ?
crypto/openssh/ssh.c
1444
cinfo->host_arg = xstrdup(options.host_arg);
crypto/openssh/ssh.c
1445
cinfo->remhost = xstrdup(host);
crypto/openssh/ssh.c
1446
cinfo->homedir = xstrdup(pw->pw_dir);
crypto/openssh/ssh.c
1447
cinfo->locuser = xstrdup(pw->pw_name);
crypto/openssh/ssh.c
1448
cinfo->jmphost = xstrdup(options.jump_host == NULL ?
crypto/openssh/ssh.c
1467
cinfo->remuser = xstrdup(options.user);
crypto/openssh/ssh.c
1485
host = xstrdup(ai->ai_canonname);
crypto/openssh/ssh.c
1667
options.sk_provider = xstrdup(cp);
crypto/openssh/ssh.c
1820
forward_agent_sock_path = xstrdup(p);
crypto/openssh/ssh.c
2088
oarg = arg = xstrdup(opens[i]);
crypto/openssh/ssh.c
2486
identity_files[n_ids] = xstrdup(filename);
crypto/openssh/ssh.c
414
*namep = xstrdup(cname);
crypto/openssh/ssh.c
444
*hostp = xstrdup(newname);
crypto/openssh/ssh.c
475
fullhost = xstrdup(*hostp);
crypto/openssh/ssh.c
707
saved_av[i] = xstrdup(av[i]);
crypto/openssh/ssh.c
823
options.tag = xstrdup(optarg);
crypto/openssh/ssh.c
858
cp = xstrdup("2");
crypto/openssh/ssh.c
860
cp = xstrdup(compression_alg_list(0));
crypto/openssh/ssh.c
866
cp = xstrdup(
crypto/openssh/ssh.c
903
options.pkcs11_provider = xstrdup(optarg);
crypto/openssh/ssh.c
918
options.proxy_command = xstrdup("none");
crypto/openssh/ssh.c
998
options.ciphers = xstrdup(optarg);
crypto/openssh/sshconnect.c
1608
local_user = xstrdup(pw->pw_name);
crypto/openssh/sshconnect.c
1612
host = xstrdup(orighost);
crypto/openssh/sshconnect.c
663
*hostfile_ipaddr = xstrdup("<no hostip for proxy "
crypto/openssh/sshconnect.c
676
*hostfile_hostname = xstrdup(options.host_key_alias);
crypto/openssh/sshconnect.c
712
return xstrdup(path);
crypto/openssh/sshconnect.c
714
return xstrdup(path);
crypto/openssh/sshconnect.c
716
return xstrdup(path);
crypto/openssh/sshconnect.c
723
return xstrdup(path);
crypto/openssh/sshconnect.c
859
return xstrdup("This key is not known by any other names.");
crypto/openssh/sshconnect2.c
113
ret = xstrdup(algs);
crypto/openssh/sshconnect2.c
1188
oallowed = allowed = xstrdup(options.pubkey_accepted_algos);
crypto/openssh/sshconnect2.c
1195
alg = xstrdup(cp);
crypto/openssh/sshconnect2.c
156
ret = xstrdup(options.hostkeyalgorithms);
crypto/openssh/sshconnect2.c
164
oavail = avail = xstrdup(options.hostkeyalgorithms);
crypto/openssh/sshconnect2.c
1703
id->filename = xstrdup(options.identity_files[i]);
crypto/openssh/sshconnect2.c
1726
id->filename = xstrdup(options.certificate_files[i]);
crypto/openssh/sshconnect2.c
2139
authctxt->oktypes = xstrdup(options.hostbased_accepted_algos);
crypto/openssh/sshconnect2.c
2317
supported = xstrdup(authlist);
crypto/openssh/sshd-auth.c
472
saved_argv[i] = xstrdup(av[i]);
crypto/openssh/sshd-auth.c
584
line = xstrdup(optarg);
crypto/openssh/sshd-auth.c
690
privsep_pw->pw_passwd = xstrdup("*");
crypto/openssh/sshd-session.c
1064
privsep_pw->pw_passwd = xstrdup("*");
crypto/openssh/sshd-session.c
866
saved_argv[i] = xstrdup(av[i]);
crypto/openssh/sshd-session.c
976
line = xstrdup(optarg);
crypto/openssh/sshd.c
1391
saved_argv[i] = xstrdup(av[i]);
crypto/openssh/sshd.c
1509
line = xstrdup(optarg);
crypto/openssh/xmalloc.h
23
char *xstrdup(const char *);
lib/libsecureboot/brf.c
186
po.name = xstrdup(br_pem_decoder_name(&pc));
lib/libtacplus/taclib.c
1230
return xstrdup(h, srvp->avs[index].data);
lib/libtacplus/taclib.c
714
if ((srvp->secret = xstrdup(h, secret)) == NULL)
lib/libtacplus/taclib.c
732
if ((srvp->avs[i].data = xstrdup(h, avs[i])) == NULL)
lib/libtacplus/taclib.c
80
static char *xstrdup(struct tac_handle *, const char *);
libexec/rtld-elf/libmap.c
148
p->path = xstrdup(path);
libexec/rtld-elf/libmap.c
174
p->path = xstrdup(idir);
libexec/rtld-elf/libmap.c
368
lml = lmp_init(xstrdup(p));
libexec/rtld-elf/libmap.c
373
lm->f = xstrdup(f);
libexec/rtld-elf/libmap.c
374
lm->t = xstrdup(t);
libexec/rtld-elf/libmap.c
80
l = xstrdup(libmap_override);
libexec/rtld-elf/rtld.c
1136
res->msg = xstrdup(lockinfo.dlerror_loc());
libexec/rtld-elf/rtld.c
1196
return (may_free ? real : xstrdup(real));
libexec/rtld-elf/rtld.c
1258
return (xstrdup(real));
libexec/rtld-elf/rtld.c
2515
obj_rtld.path = xstrdup(ld_path_rtld);
libexec/rtld-elf/rtld.c
2790
p = psave = xstrdup(penv);
libexec/rtld-elf/rtld.c
3041
obj->path = xstrdup(kname);
libexec/rtld-elf/rtld.c
3624
envcopy = xstrdup(path);
libexec/rtld-elf/rtld.c
3776
envcopy = xstrdup(path);
libexec/rtld-elf/rtld.c
6796
lvd->val = xstrdup(val);
libexec/rtld-elf/rtld.c
813
obj_main->path = xstrdup(argv0);
libexec/rtld-elf/rtld.c
815
obj_main->path = xstrdup(buf);
libexec/rtld-elf/rtld.c
818
obj_main->path = xstrdup(argv0);
libexec/rtld-elf/rtld.c
837
obj_rtld.path = xstrdup(obj_main->interp);
libexec/rtld-elf/rtld.h
386
char *xstrdup(const char *);
usr.bin/diff/diff.c
237
most_recent_pat = xstrdup(optarg);
usr.bin/diff/diff.c
569
ignore_pats = xstrdup(pattern);
usr.bin/diff/xmalloc.h
25
char *xstrdup(const char *);
usr.bin/gencat/gencat.c
111
static char *xstrdup(const char *);
usr.bin/gencat/gencat.c
651
p->str = xstrdup(str);
usr.bin/lex/initparse.c
931
outfilename = xstrdup(nmstr);
usr.bin/lex/initparse.c
937
{ extra_type = xstrdup(nmstr); }
usr.bin/lex/initparse.c
941
{ prefix = xstrdup(nmstr);
usr.bin/lex/initparse.c
947
{ yyclass = xstrdup(nmstr); }
usr.bin/lex/initparse.c
951
{ headerfilename = xstrdup(nmstr); }
usr.bin/lex/initparse.c
955
{ tablesext = true; tablesfilename = xstrdup(nmstr); }
usr.bin/lex/initscan.c
2522
infilename = xstrdup(yytext + 1);
usr.bin/lex/initscan.c
5226
infilename = xstrdup(file);
usr.bin/lex/initscan.c
5236
infilename = xstrdup("<stdin>");
usr.bin/logins/logins.c
138
grps[ngrps].gr_name = xstrdup(grp->gr_name);
usr.bin/logins/logins.c
139
grps[ngrps].gr_passwd = xstrdup(grp->gr_passwd);
usr.bin/logins/logins.c
141
grps[ngrps].gr_mem = xstrdup("");
usr.bin/logins/logins.c
213
pwds[npwds].pw_name = xstrdup(pwd->pw_name);
usr.bin/logins/logins.c
214
pwds[npwds].pw_passwd = xstrdup(pwd->pw_passwd);
usr.bin/logins/logins.c
218
pwds[npwds].pw_class = xstrdup(pwd->pw_class);
usr.bin/logins/logins.c
219
pwds[npwds].pw_gecos = xstrdup(pwd->pw_gecos);
usr.bin/logins/logins.c
220
pwds[npwds].pw_dir = xstrdup(pwd->pw_dir);
usr.bin/logins/logins.c
221
pwds[npwds].pw_shell = xstrdup(pwd->pw_shell);
usr.bin/m4/eval.c
402
temp = xstrdup(argv[2]);
usr.bin/m4/eval.c
810
m4wraps[wrapindex++] = xstrdup(text);
usr.bin/m4/extern.h
111
extern char *xstrdup(const char *);
usr.bin/m4/gnum4.c
116
envpath = xstrdup(envpath);
usr.bin/m4/gnum4.c
81
n->name = xstrdup(dirname);
usr.bin/m4/look.c
124
d->defn = xstrdup(defn+sizeof(BUILTIN_MARKER)-1);
usr.bin/m4/look.c
129
d->defn = xstrdup(defn);
usr.bin/m4/look.c
240
name2 = xstrdup(name);
usr.bin/m4/misc.c
408
f->name = xstrdup(name);
usr.bin/patch/patch.c
236
outname = xstrdup(filearg[0]);
usr.bin/patch/patch.c
578
simple_backup_suffix = xstrdup(optarg);
usr.bin/patch/patch.c
581
origprae = xstrdup(optarg);
usr.bin/patch/patch.c
619
filearg[filec] = xstrdup(optarg);
usr.bin/patch/patch.c
631
outname = xstrdup(optarg);
usr.bin/patch/patch.c
676
filearg[0] = xstrdup(*Argv++);
usr.bin/patch/patch.c
681
filearg[filec] = xstrdup(*Argv++);
usr.bin/patch/pch.c
1556
return path ? xstrdup(path) : NULL;
usr.bin/patch/pch.c
1614
return best ? xstrdup(best) : NULL;
usr.bin/patch/pch.c
212
filearg[0] = xstrdup(bestguess);
usr.bin/patch/pch.c
219
bestguess = xstrdup(buf);
usr.bin/patch/pch.c
342
revision = xstrdup(t);
usr.bin/patch/pch.c
426
source_file = xstrdup(names[OLD_FILE].path);
usr.bin/patch/pch.c
428
source_file = xstrdup(_PATH_DEVNULL);
usr.bin/patch/pch.c
447
bestguess = xstrdup(filearg[0]);
usr.bin/patch/util.h
42
char *xstrdup(const char *);
usr.bin/rpcgen/rpc_cout.c
419
sizestr = xstrdup(ptemp);
usr.bin/rpcgen/rpc_main.c
1026
arglist[argcount++] = xstrdup(cp);
usr.bin/rpcgen/rpc_main.c
1046
arglist[place] = xstrdup(cp);
usr.bin/rpcgen/rpc_main.c
523
guard = xstrdup(filename);
usr.bin/rpcgen/rpc_parse.c
483
dec->name = (char *) xstrdup(name);
usr.bin/rpcgen/rpc_parse.c
498
dec->name = xstrdup(tok.str);
usr.bin/rpcgen/rpc_util.h
155
char *xstrdup(const char *);
usr.sbin/certctl/certctl.c
356
cert->path = xstrdup(unexpand_path(path));