bin/chio/parse.y
125
strdup($2)) == NULL)
bin/chio/parse.y
321
yylval.v.string = strdup(buf);
bin/chio/parse.y
380
if ((yylval.v.string = strdup(buf)) == NULL)
bin/chio/parse.y
400
if ((nfile->name = strdup(name)) == NULL) {
bin/chio/parse.y
478
if ((p->name = strdup(name)) == NULL)
bin/csh/alloc.c
86
if ((n = strdup(s)) == NULL) {
bin/dd/args.c
222
if ((in.name = strdup(arg)) == NULL)
bin/dd/args.c
237
if ((out.name = strdup(arg)) == NULL)
bin/dd/args.c
99
if ((oper = strdup(*argv)) == NULL)
bin/expr/expr.c
78
if (vp == NULL || ((vp->u.s = strdup(s)) == NULL)) {
bin/ksh/emacs.c
1343
k->args = args ? strdup(args) : NULL;
bin/ksh/eval.c
627
if ((p = strdup("")) == NULL)
bin/mt/mtrmt.c
78
if ((rmtpeer = strdup(host)) == NULL)
bin/pax/ar_io.c
1222
if ((arcname = strdup(buf)) == NULL) {
bin/pax/options.c
1547
if ((dstr = strdup(str)) == NULL) {
bin/pax/pat_rep.c
350
if ((pt->pstr = strdup(arcn->name)) == NULL) {
bin/pax/tables.c
1006
if ((pt->nname = strdup(nname)) == NULL) {
bin/pax/tables.c
1018
if ((pt->oname = strdup(oname)) != NULL) {
bin/pax/tables.c
1019
if ((pt->nname = strdup(nname)) != NULL) {
bin/pax/tables.c
1460
if ((pt->ft.ft_name = strdup(fname)) != NULL) {
bin/pax/tables.c
1620
if ((dblk->ft.ft_name = strdup(name)) == NULL) {
bin/pax/tables.c
321
if ((pt->name = strdup(arcn->name)) != NULL) {
bin/pax/tables.c
695
} else if ((path = strdup(path0)) == NULL) {
bin/pax/tables.c
700
if ((value = strdup(value0)) == NULL) {
bin/pax/tables.c
786
} else if ((p->sp_path = strdup(path)) == NULL) {
games/battlestar/init.c
89
return(strdup(name));
games/battlestar/save.c
160
if ((newname = strdup(filename)) == NULL)
games/monop/execute.c
339
if ((name_list[i] = play[i].name = strdup(st)) == NULL)
games/monop/execute.c
342
if ((name_list[i++] = strdup("done")) == NULL)
games/monop/monop.c
105
if ((name_list[i] = play[i].name = strdup(buf)) == NULL)
games/quiz/quiz.c
145
qp->q_text = strdup(lp);
include/string.h
106
char *strdup(const char *);
lib/libagentx/agentx.c
2574
(unsigned char *)strdup((char *)axc->axc_name.aos_string);
lib/libagentx/agentx.c
410
axs->axs_descr.aos_string = (unsigned char *)strdup(descr);
lib/libagentx/agentx.c
656
axc->axc_name.aos_string = (unsigned char *)strdup(name);
lib/libagentx/agentx.c
902
axa->axa_descr.aos_string = (unsigned char *)strdup(descr);
lib/libc/asr/asr.c
570
if ((ac->ac_dom[ac->ac_domcount] = strdup(buf)) == NULL)
lib/libc/asr/asr.c
621
ac->ac_domain = strdup(tok[1]);
lib/libc/asr/asr.c
701
ac->ac_domain = strdup(ch + 1);
lib/libc/asr/asr.c
703
ac->ac_domain = strdup("");
lib/libc/asr/asr_utils.c
466
str2 = strdup(str);
lib/libc/asr/getaddrinfo_async.c
348
as->as.ai.fqdn = strdup(fqdn);
lib/libc/asr/getaddrinfo_async.c
577
if ((ai->ai_canonname = strdup(cname)) == NULL) {
lib/libc/asr/getaddrinfo_async.c
90
if ((as->as.ai.hostname = strdup(hostname)) == NULL)
lib/libc/asr/getaddrinfo_async.c
93
if (servname && (as->as.ai.servname = strdup(servname)) == NULL)
lib/libc/asr/gethostnamadr_async.c
95
as->as.hostnamadr.name = strdup(name);
lib/libc/asr/getrrsetbyname_async.c
294
rrset->rri_name = strdup(response->answer->name);
lib/libc/asr/getrrsetbyname_async.c
466
curr->name = strdup(name);
lib/libc/asr/getrrsetbyname_async.c
52
as->as.rrset.name = strdup(hostname);
lib/libc/asr/getrrsetbyname_async.c
526
curr->name = strdup(name);
lib/libc/asr/res_search_async.c
67
if ((as->as.search.name = strdup(name)) == NULL)
lib/libc/asr/res_send_async.c
409
as->as.dns.dname = strdup(dname);
lib/libc/asr/res_send_async.c
86
as->as.dns.dname = strdup(q.q_dname);
lib/libc/gdtoa/gethex.c
60
decimalpoint_cache = strdup(s0);
lib/libc/gdtoa/strtod.c
117
decimalpoint_cache = strdup(s0);
lib/libc/gdtoa/strtodg.c
366
decimalpoint_cache = strdup(s0);
lib/libc/gen/auth_subr.c
462
if (value != NULL && (value = strdup(value)) == NULL)
lib/libc/gen/auth_subr.c
471
if (value != NULL && (value = strdup(value)) == NULL)
lib/libc/gen/auth_subr.c
484
if (value != NULL && (value = strdup(value)) == NULL)
lib/libc/gen/auth_subr.c
495
else if ((value = strdup(value)) == NULL)
lib/libc/gen/auth_subr.c
506
(value = strdup(value)) == NULL)
lib/libc/gen/auth_subr.c
689
value = strdup(line);
lib/libc/gen/getnetgrent.c
270
*line = strdup(data.data);
lib/libc/gen/getnetgrent.c
647
ng_copy = strdup(ng);
lib/libc/gen/getnetgrent.c
715
grpdup = strdup(grp);
lib/libc/gen/getpwent.c
446
name = strdup(pw->pw_name + 1);
lib/libc/gen/getpwent.c
581
if ((name = strdup(name)) == NULL) {
lib/libc/gen/getusershell.c
107
if (!(shells[nshells] = strdup(line)))
lib/libc/gen/login_cap.c
106
if ((lc->lc_class = strdup(class)) == NULL) {
lib/libc/gen/login_cap.c
206
lc->lc_style = strdup(*authtypes);
lib/libc/gen/posix_spawn.c
302
fae->fae_path = strdup(path);
lib/libc/hidden/string.h
54
PROTO_NORMAL(strdup);
lib/libc/locale/rune.c
186
rl->rl_codeset = strdup(codeset);
lib/libc/locale/rune.c
190
rl->rl_codeset = strdup(codeset);
lib/libc/locale/setlocale.c
46
if ((newgl[ic] = strdup(ic == LC_ALL ? "" :
lib/libc/locale/setlocale.c
61
(cp = strdup(locname)) == NULL)
lib/libc/locale/setlocale.c
96
if ((firstname = strdup(locname)) == NULL) {
lib/libc/net/rcmdsh.c
159
rshprog = strdup(rshprog);
lib/libc/stdlib/realpath.c
39
return (strdup(rbuf));
lib/libc/string/strdup.c
50
DEF_WEAK(strdup);
lib/libc/yp/yp_master.c
72
if ((*outname = strdup(yprm.peer)) == NULL)
lib/libc/yp/ypexclude.c
46
new->name = strdup(name);
lib/libc/yp/ypmatch_cache.c
66
if ((newmap = strdup(map)) == NULL ||
lib/libcrypto/asn1/asn_mime.c
849
if (!(tmpname = strdup(name)))
lib/libcrypto/asn1/asn_mime.c
855
if (!(tmpval = strdup(value)))
lib/libcrypto/asn1/asn_mime.c
883
tmpname = strdup(name);
lib/libcrypto/asn1/asn_mime.c
890
tmpval = strdup(value);
lib/libcrypto/bio/b_sock.c
144
if ((str = strdup(host)) == NULL) {
lib/libcrypto/bio/bss_acpt.c
358
data->param_addr = strdup(ptr);
lib/libcrypto/bio/bss_conn.c
157
c->param_port = strdup(p);
lib/libcrypto/bio/bss_conn.c
473
data->param_hostname = strdup(ptr);
lib/libcrypto/bio/bss_conn.c
476
data->param_port = strdup(ptr);
lib/libcrypto/conf/conf_api.c
235
if ((v->section = strdup(section)) == NULL)
lib/libcrypto/conf/conf_def.c
149
section = strdup("default");
lib/libcrypto/conf/conf_def.c
282
v->name = strdup(pname);
lib/libcrypto/conf/conf_mod.c
232
if ((mod->name = strdup(name)) == NULL)
lib/libcrypto/conf/conf_mod.c
293
if ((imod->value = strdup(value)) == NULL)
lib/libcrypto/crypto_memory.c
50
return strdup(str);
lib/libcrypto/ct/ct_log.c
310
ret->name = strdup(name);
lib/libcrypto/ct/ct_x509v3.c
71
return strdup("NULL");
lib/libcrypto/dsa/dsa_meth.c
33
if ((meth->name = strdup(name)) == NULL) {
lib/libcrypto/dsa/dsa_meth.c
62
if ((copy->name = strdup(meth->name)) == NULL) {
lib/libcrypto/dsa/dsa_meth.c
83
if ((new_name = strdup(name)) == NULL) {
lib/libcrypto/objects/obj_lib.c
105
sn = strdup(o->sn);
lib/libcrypto/objects/obj_lib.c
98
ln = strdup(o->ln);
lib/libcrypto/ocsp/ocsp_lib.c
201
host = strdup(url + 8);
lib/libcrypto/ocsp/ocsp_lib.c
203
host = strdup(url + 7);
lib/libcrypto/ocsp/ocsp_lib.c
214
path = strdup(tmp);
lib/libcrypto/ocsp/ocsp_lib.c
217
path = strdup("/");
lib/libcrypto/ocsp/ocsp_lib.c
220
port = strdup(tmp + 1);
lib/libcrypto/ocsp/ocsp_lib.c
224
port = strdup("443");
lib/libcrypto/ocsp/ocsp_lib.c
226
port = strdup("80");
lib/libcrypto/rsa/rsa_meth.c
32
if ((meth->name = strdup(name)) == NULL) {
lib/libcrypto/rsa/rsa_meth.c
61
if ((copy->name = strdup(meth->name)) == NULL) {
lib/libcrypto/rsa/rsa_meth.c
75
if ((new_name = strdup(name)) == NULL)
lib/libcrypto/ui/ui_lib.c
161
if ((uis->out_string = strdup(prompt)) == NULL) {
lib/libcrypto/ui/ui_lib.c
229
strdup(action_desc)) == NULL) {
lib/libcrypto/ui/ui_lib.c
234
if ((s->_.boolean_data.ok_chars = strdup(ok_chars)) == NULL) {
lib/libcrypto/ui/ui_lib.c
238
if ((s->_.boolean_data.cancel_chars = strdup(cancel_chars)) ==
lib/libcrypto/ui/ui_lib.c
577
if ((method->name = strdup(name)) == NULL)
lib/libcrypto/x509/x509_addr.c
1609
s = strdup(t);
lib/libcrypto/x509/x509_addr.c
1611
s = strdup(val->value);
lib/libcrypto/x509/x509_asid.c
907
char *s = strdup(val->value);
lib/libcrypto/x509/x509_constraints.c
101
if (name->local != NULL && (new->local = strdup(name->local)) == NULL)
lib/libcrypto/x509/x509_constraints.c
380
candidate_domain = strdup(working);
lib/libcrypto/x509/x509_constraints.c
420
candidate_local = strdup(working);
lib/libcrypto/x509/x509_constraints.c
539
*hostpart = strdup("");
lib/libcrypto/x509/x509_constraints.c
99
if (name->name != NULL && (new->name = strdup(name->name)) == NULL)
lib/libcrypto/x509/x509_utl.c
106
if ((conf_value->name = strdup(name)) == NULL) {
lib/libcrypto/x509/x509_utl.c
112
if ((conf_value->value = strdup(value)) == NULL) {
lib/libcrypto/x509/x509_utl.c
1241
iptmp = strdup(ipasc);
lib/libcrypto/x509/x509_utl.c
224
return strdup(enam->lname);
lib/libcrypto/x509/x509_utl.c
365
if ((linebuf = strdup(line)) == NULL) {
lib/libcrypto/x509/x509_utl.c
745
emtmp = strdup((char *)email->data);
lib/libcrypto/x509/x509_verify.c
771
if ((candidate = strdup(name)) == NULL) {
lib/libcrypto/x509/x509_vpm.c
354
if ((tmp = strdup(src)) == NULL)
lib/libcrypto/x509/x509_vpm.c
379
param->name = strdup(name);
lib/libcrypto/x509/x509_vpm.c
99
if ((copy = strdup(sk_OPENSSL_STRING_value(sk, i))) == NULL)
lib/libcurses/base/lib_initscr.c
74
if ((name = strdup(env)) == NULL) {
lib/libcurses/base/lib_set_term.c
523
set_a_foreground = strdup("\033[3%?%p1%{8}%>%t9%e%p1%d%;m");
lib/libcurses/base/lib_set_term.c
531
set_a_background = strdup("\033[4%?%p1%{8}%>%t9%e%p1%d%;m");
lib/libcurses/base/lib_slkset.c
112
if ((slk->ent[i].ent_text = strdup(str)) == 0)
lib/libcurses/nc_alloc.h
111
#undef strdup
lib/libcurses/tinfo/access.c
75
if ((temp = strdup(result)) != 0)
lib/libcurses/tinfo/alloc_entry.c
242
ep->uses[i].name = strdup(tp->str_table + useoffsets[i]);
lib/libcurses/tinfo/comp_error.c
69
SourceName = strdup(name);
lib/libcurses/tinfo/comp_error.c
72
SourceName = strdup(name);
lib/libcurses/tinfo/comp_parse.c
362
char *from_name = strdup(_nc_first_name(from->term_names));
lib/libcurses/tinfo/comp_parse.c
687
acs_chars = strdup(VT_ACSC);
lib/libcurses/tinfo/db_iterator.c
133
value = strdup(value);
lib/libcurses/tinfo/db_iterator.c
225
update_tic_dir(strdup(path));
lib/libcurses/tinfo/db_iterator.c
389
char *my_copy = strdup(TERMINFO);
lib/libcurses/tinfo/getenv_num.c
72
if ((s = strdup(buffer)) != 0)
lib/libcurses/tinfo/hashed_db.c
106
p->path = strdup(path);
lib/libcurses/tinfo/lib_setup.c
683
myname = strdup(tname);
lib/libcurses/tinfo/lib_setup.c
776
termp->_termname = strdup(myname);
lib/libcurses/tinfo/lib_setup.c
823
termp->_termname = strdup(myname);
lib/libcurses/tinfo/lib_tparm.c
661
if ((fs->format = strdup(string)) != 0) {
lib/libcurses/tinfo/obsolete.c
331
: strdup(ptr));
lib/libcurses/tinfo/read_entry.c
806
char *save = strdup(name);
lib/libcurses/tinfo/read_termcap.c
1051
tc_buf = strdup(tc);
lib/libcurses/tinfo/read_termcap.c
1060
if ((copied = strdup(get_termpath())) != 0) {
lib/libcurses/tinfo/read_termcap.c
922
if ((the_source = strdup(temp)) != 0)
lib/libcurses/tinfo/read_termcap.c
925
if ((the_source = strdup(pathvec[i])) != 0)
lib/libcurses/tinfo/read_termcap.c
990
tc_buf = strdup(p);
lib/libcurses/tinfo/trim_sgr0.c
249
char *end = strdup(exit_attribute_mode);
lib/libcurses/tinfo/trim_sgr0.c
310
tmp = strdup(end);
lib/libcurses/tinfo/trim_sgr0.c
59
result = strdup(value);
lib/libedit/filecomplete.c
158
filename = strdup(text);
lib/libedit/filecomplete.c
176
if ((dirname = strdup("")) == NULL)
lib/libedit/filecomplete.c
178
dirpath = strdup("./");
lib/libedit/filecomplete.c
182
dirpath = strdup(dirname);
lib/libedit/filecomplete.c
71
return strdup(txt);
lib/libedit/filecomplete.c
75
temp = strdup(txt + 1);
lib/libedit/filecomplete.c
95
return strdup(txt);
lib/libedit/history.c
65
#define Strdup(s) strdup(s)
lib/libedit/readline.c
1480
he->line = strdup(ev.str);
lib/libedit/readline.c
1750
return strdup(pwd->pw_name);
lib/libedit/readline.c
1971
if ((wbuf = strdup(buf)) != NULL)
lib/libedit/readline.c
2169
if ((list[0] = strdup(list[1])) == NULL)
lib/libedit/readline.c
2184
if ((list[0] = strdup(str)) == NULL)
lib/libedit/readline.c
269
rl_prompt = strdup(prompt);
lib/libedit/readline.c
425
buf = strdup(ret);
lib/libedit/readline.c
686
*result = strdup(aptr ? aptr : ptr);
lib/libedit/readline.c
699
tmp = strdup(last_search_match? last_search_match:"");
lib/libedit/readline.c
740
tmp = strdup(aptr? aptr:ptr);
lib/libedit/readline.c
758
aptr = strdup(aptr + 1);
lib/libedit/readline.c
767
aptr = strdup(aptr);
lib/libedit/readline.c
814
from = strdup(search);
lib/libedit/readline.c
894
*output = strdup(str);
lib/libedit/readline.c
911
*output = strdup(str);
lib/libedit/tokenizer.c
65
#define tok_strdup(s) strdup(s)
lib/libfido2/src/assert.c
568
if ((assert->rp_id = strdup(id)) == NULL)
lib/libfido2/src/bio.c
769
if (name && (t->name = strdup(name)) == NULL)
lib/libfido2/src/cred.c
796
if (id != NULL && (rp->id = strdup(id)) == NULL)
lib/libfido2/src/cred.c
798
if (name != NULL && (rp->name = strdup(name)) == NULL)
lib/libfido2/src/cred.c
838
if (name != NULL && (up->name = strdup(name)) == NULL)
lib/libfido2/src/cred.c
841
(up->display_name = strdup(display_name)) == NULL)
lib/libfido2/src/cred.c
843
if (icon != NULL && (up->icon = strdup(icon)) == NULL)
lib/libfido2/src/cred.c
959
if ((cred->fmt = strdup(fmt)) == NULL)
lib/libfido2/src/dev.c
454
if ((dev->path = strdup(di->path)) == NULL) {
lib/libfido2/src/hid.c
169
if ((path_copy = strdup(path)) == NULL ||
lib/libfido2/src/hid.c
170
(manu_copy = strdup(manufacturer)) == NULL ||
lib/libfido2/src/hid.c
171
(prod_copy = strdup(product)) == NULL) {
lib/libfido2/src/hid_openbsd.c
73
if ((di->path = strdup(path)) == NULL ||
lib/libfido2/src/hid_openbsd.c
74
(di->manufacturer = strdup(udi.udi_vendor)) == NULL ||
lib/libfido2/src/hid_openbsd.c
75
(di->product = strdup(udi.udi_product)) == NULL) {
lib/libfido2/src/touch.c
37
if ((rp.id = strdup(FIDO_DUMMY_RP_ID)) == NULL ||
lib/libfido2/src/touch.c
38
(user.name = strdup(FIDO_DUMMY_USER_NAME)) == NULL) {
lib/libfido2/src/types.c
68
if ((sa->ptr[i] = strdup(v[i])) == NULL) {
lib/libform/fty_enum.c
112
(*kptarget++) = strdup(*kp++);
lib/libform/fty_enum.c
176
(*kptarget++) = strdup(*kp++);
lib/libfuse/fuse.c
478
*mp = strdup(opt.mp);
lib/libfuse/fuse_opt.c
104
*opts = strdup(opt);
lib/libfuse/fuse_opt.c
172
escaped_opt = strdup(opt);
lib/libfuse/fuse_opt.c
235
*((char **)(data + o->off)) = strdup(val);
lib/libfuse/fuse_opt.c
305
tofree = optlist = strdup(arg);
lib/libfuse/fuse_opt.c
383
this_arg = strdup(name);
lib/libfuse/fuse_opt.c
56
argv[i] = strdup(args->argv[i]);
lib/libfuse/fuse_subr.c
176
name = strdup("/");
lib/libkeynote/auxil.c
239
stringkey = strdup(key);
lib/libkeynote/environment.c
262
en->env_name = strdup(name);
lib/libkeynote/environment.c
296
en->env_value = strdup(value);
lib/libkeynote/environment.c
882
if ((buf[*numassertions] = strdup(ptr)) == NULL) {
lib/libkeynote/keynote-verify.c
216
retv[numret] = strdup(optarg);
lib/libkeynote/keynote.y
604
$$ = strdup("");
lib/libkeynote/keynote.y
607
$$ = strdup($$);
lib/libkeynote/keynote.y
630
$$ = strdup("");
lib/libkeynote/keynote.y
633
$$ = strdup($$);
lib/libkeynote/parse_assertion.c
383
as->as_buf = strdup(buf);
lib/libkeynote/signature.c
369
if ((dc->dec_key = strdup(key)) == NULL) {
lib/libkeynote/signature.c
415
decoded = strdup(key);
lib/libkeynote/signature.c
731
if ((decoded = strdup(sig)) == NULL) {
lib/libmenu/m_item_new.c
227
menu->mark = strdup(mark);
lib/libpanel/p_new.c
60
name ## _id = strdup(#name); \
lib/libpcap/pcap-bpf.c
830
p->opt.source = strdup(device);
lib/libssl/s3_lib.c
1560
if ((s->tlsext_hostname = strdup(name)) == NULL) {
lib/libssl/ssl_ciphers.c
220
if ((s = strdup(str)) == NULL)
lib/libssl/ssl_sess.c
293
copy->tlsext_hostname = strdup(sess->tlsext_hostname);
lib/libssl/ssl_sess.c
516
ss->tlsext_hostname = strdup(s->tlsext_hostname);
lib/libssl/ssl_tlsext.c
878
strdup(s->tlsext_hostname)) == NULL) {
lib/libssl/t1_lib.c
612
if ((gs = strdup(groups)) == NULL)
lib/libtls/tls_client.c
302
if ((ctx->servername = strdup(servername)) == NULL) {
lib/libtls/tls_config.c
237
if ((s = strdup(protostr)) == NULL)
lib/libtls/tls_config.c
315
if ((s = strdup(alpn)) == NULL) {
lib/libtls/tls_config.c
587
if ((cs = strdup(curves)) == NULL) {
lib/libtls/tls_conninfo.c
268
if ((ctx->conninfo->cipher = strdup(tmp)) == NULL)
lib/libtls/tls_conninfo.c
274
strdup(ctx->servername)) == NULL)
lib/libtls/tls_conninfo.c
280
if ((ctx->conninfo->version = strdup(tmp)) == NULL)
lib/libtls/tls_ocsp.c
196
ocsp->ocsp_url = strdup(sk_OPENSSL_STRING_value(ocsp_urls, 0));
lib/libtls/tls_server.c
115
if ((conn_ctx->servername = strdup(name)) == NULL)
lib/libtls/tls_util.c
61
if ((*dest = strdup(src)) == NULL)
lib/libtls/tls_util.c
83
if ((s = strdup(hostport)) == NULL)
lib/libtls/tls_verify.c
303
*out_common_name = strdup("");
lib/libusbhid/usage.c
112
n = strdup(name);
lib/libutil/passwd.c
82
pw_dir = strdup(dir);
libexec/ftpd/ftpcmd.y
1306
yylval.s = strdup(cp);
libexec/ftpd/ftpcmd.y
916
$$ = strdup(gl.gl_pathv[0]);
libexec/ftpd/ftpd.c
2430
tmp = strdup(arg);
libexec/ftpd/ftpd.c
2824
return (strdup(dir));
libexec/ftpd/ftpd.c
2839
return(strdup(dir));
libexec/ftpd/ftpd.c
2850
newdir = strdup(pw->pw_dir);
libexec/ftpd/ftpd.c
908
guestpw = strdup(passwd);
libexec/ftpd/popen.c
89
argv[argc++] = strdup(*pop);
libexec/ld.so/ldconfig/etc.c
25
if ((ptr = strdup(s)) == NULL)
libexec/ld.so/ldconfig/shlib.c
117
path = dup = strdup(path);
libexec/ld.so/ldconfig/sod.c
128
sodp->sod_name = (long)strdup(realname);
libexec/ld.so/ldconfig/sod.c
139
sodp->sod_name = (long)strdup(name);
libexec/ld.so/ldconfig/sod.c
69
sodp->sod_name = (long)strdup(name); /* strtok is destructive */
libexec/login_ldap/aldap.c
707
if ((lu->buffer = p = strdup(url)) == NULL)
libexec/login_ldap/util.c
239
if ((ctx->basedn = strdup(value)) == NULL) {
libexec/login_ldap/util.c
249
if ((ctx->bindpw = strdup(value)) == NULL) {
libexec/login_ldap/util.c
268
if ((ctx->cacert = strdup(value)) == NULL) {
libexec/login_ldap/util.c
274
if ((ctx->cacertdir = strdup(value)) == NULL) {
libexec/login_ldap/util.c
280
if ((ctx->gbasedn = strdup(value)) == NULL) {
libexec/login_ldap/util.c
286
if ((ctx->gfilter = strdup(value)) == NULL) {
libexec/login_ldap/util.c
528
q = strdup(tmp);
libexec/mail.local/mail.local.c
119
if ((tbuf = strdup(_PATH_LOCTMP)) == NULL)
libexec/rpc.rquotad/rquotad.c
200
fs_current->fs_file = strdup(fs->fs_file);
libexec/rpc.rquotad/rquotad.c
206
fs_current->qfpathname = strdup(qfpathname);
libexec/spamd/grey.c
364
whitelist[whitecount] = strdup(addr);
libexec/spamd/grey.c
399
traplist[trapcount] = strdup(addr);
libexec/spamd/grey.c
420
if ((dbc->key = strdup(key)) == NULL) {
libexec/spamd/sdl.c
145
if ((blacklists[idx].tag = strdup(sdname)) == NULL)
libexec/spamd/sdl.c
147
if ((blacklists[idx].string = strdup(sdstring)) == NULL)
libexec/spamd/spamd.c
748
cp->lists = strdup(loglists(cp));
libexec/spamd/sync.c
95
if ((shost->h_name = strdup(name)) == NULL) {
regress/lib/libc/glob/globtest.c
97
entry.results[entry.nresults++] = strdup(buf);
regress/lib/libc/hsearch/hsearchtest.c
75
e.key = strdup(ch); /* ptr to provided key is kept! */
regress/lib/libc/locale/uselocale/uselocale.c
359
segc = strdup(sego);
regress/lib/libc/locale/uselocale/uselocale.c
361
selc = strdup(selo);
regress/lib/libc/locale/uselocale/uselocale.c
465
segc = strdup(sego);
regress/lib/libc/locale/uselocale/uselocale.c
467
selc = strdup(selo);
regress/lib/libc/sys/t_clock_gettime.c
174
REQUIRE_LIBC(save = strdup(cbuf), NULL);
regress/lib/libcrypto/asn1/asn1time.c
488
if ((parsed_time = strdup(t->data)) == NULL)
regress/lib/libcrypto/test/test.c
44
if ((t->name = strdup(name)) == NULL)
regress/lib/libcrypto/test/test.c
70
if ((tmp_file = strdup("/tmp/libressl-test.XXXXXXXX")) == NULL)
regress/lib/libfuse/fuse-opt-add-opt-escaped.c
27
opt2 = strdup("-a,\\,a\\,b\\,c,\\\\\\,\\\\\\,\\,\\,\\,\\\\\\\\\\,");
regress/lib/libfuse/fuse-opt-add-opt.c
27
opt2 = strdup("-a,--bc,01234,-56789,-o test1");
regress/lib/libssl/tlsext/tlsexttest.c
1896
if ((ssl->session->tlsext_hostname = strdup("notthesame.libressl.org")) ==
regress/lib/libssl/tlsext/tlsexttest.c
1960
if ((ssl->session->tlsext_hostname = strdup(TEST_SNI_SERVERNAME)) ==
regress/lib/libssl/tlsext/tlsexttest.c
4010
ssl->s3->hs.tls13.cookie = strdup(cookie);
regress/lib/libssl/tlsext/tlsexttest.c
4100
ssl->s3->hs.tls13.cookie = strdup(cookie);
regress/sbin/ifconfig/ifaddr.c
593
if ((oname = strdup(name)) == NULL)
regress/sbin/iked/test_helper/test_helper.c
167
assert((active_test_name = strdup(n)) != NULL);
regress/sys/kern/setuid/setgid_exec_inherit.c
30
if ((toexec = strdup(argv[0])) == NULL)
regress/sys/kern/setuid/setresgid_effective_exec.c
32
if ((toexec = strdup(argv[0])) == NULL)
regress/sys/kern/setuid/setresgid_real_exec.c
32
if ((toexec = strdup(argv[0])) == NULL)
regress/sys/kern/setuid/setresgid_saved_exec.c
32
if ((toexec = strdup(argv[0])) == NULL)
regress/sys/kern/setuid/setresuid_effective_exec.c
32
if ((toexec = strdup(argv[0])) == NULL)
regress/sys/kern/setuid/setresuid_real_exec.c
32
if ((toexec = strdup(argv[0])) == NULL)
regress/sys/kern/setuid/setresuid_saved_exec.c
32
if ((toexec = strdup(argv[0])) == NULL)
regress/sys/kern/setuid/setuid_exec_inherit.c
30
if ((toexec = strdup(argv[0])) == NULL)
regress/sys/kern/setuid/setuid_real_exec.c
32
if ((toexec = strdup(argv[0])) == NULL)
regress/sys/kern/setuid/sgidexec.c
30
if ((toexec = strdup(argv[0])) == NULL)
regress/sys/kern/setuid/sgidexec_inherit.c
30
if ((toexec = strdup(argv[0])) == NULL)
regress/sys/kern/setuid/sgidexec_none.c
30
if ((toexec = strdup(argv[0])) == NULL)
regress/sys/kern/setuid/suidexec.c
30
if ((toexec = strdup(argv[0])) == NULL)
regress/sys/kern/setuid/suidexec_inherit.c
30
if ((toexec = strdup(argv[0])) == NULL)
regress/sys/kern/setuid/suidexec_none.c
30
if ((toexec = strdup(argv[0])) == NULL)
regress/usr.bin/ssh/unittests/authopt/tests.c
232
expected->var = strdup(val); \
regress/usr.bin/ssh/unittests/authopt/tests.c
237
expected->var = strdup(val); \
regress/usr.bin/ssh/unittests/authopt/tests.c
342
expected->force_command = strdup("foo");
regress/usr.bin/ssh/unittests/authopt/tests.c
351
expected->required_from_host_cert = strdup("127.0.0.1/32,::1/128");
regress/usr.bin/ssh/unittests/authopt/tests.c
483
expected->required_from_host_cert = strdup("127.0.0.1/32,::1/128");
regress/usr.bin/ssh/unittests/authopt/tests.c
485
expected->required_from_host_keys = strdup("127.0.0.1");
regress/usr.bin/ssh/unittests/authopt/tests.c
497
expected->required_from_host_keys = strdup("127.0.0.1");
regress/usr.bin/ssh/unittests/authopt/tests.c
504
expected->required_from_host_cert = strdup("127.0.0.1/32,::1/128");
regress/usr.bin/ssh/unittests/authopt/tests.c
511
expected->force_command = strdup("foo");
regress/usr.bin/ssh/unittests/authopt/tests.c
523
expected->force_command = strdup("bar");
regress/usr.bin/ssh/unittests/authopt/tests.c
530
expected->force_command = strdup("foo");
regress/usr.bin/ssh/unittests/authopt/tests.c
70
ocp = cp = strdup(s);
regress/usr.bin/ssh/unittests/authopt/tests.c
75
cp2 = strdup(cp2);
regress/usr.bin/ssh/unittests/kex/test_kex.c
111
keyname = strdup(sshkey_ssh_name(private));
regress/usr.bin/ssh/unittests/sshkey/test_sshkey.c
418
k1->cert->key_id = strdup("estragon");
regress/usr.bin/ssh/unittests/sshkey/test_sshkey.c
422
k1->cert->principals[0] = strdup("estragon");
regress/usr.bin/ssh/unittests/sshkey/test_sshkey.c
423
k1->cert->principals[1] = strdup("vladimir");
regress/usr.bin/ssh/unittests/sshkey/test_sshkey.c
424
k1->cert->principals[2] = strdup("pozzo");
regress/usr.bin/ssh/unittests/sshkey/test_sshkey.c
425
k1->cert->principals[3] = strdup("lucky");
regress/usr.bin/ssh/unittests/test_helper/test_helper.c
254
assert((active_test_name = strdup(n)) != NULL);
regress/usr.sbin/bgpd/unittests/rde_trie_test.c
71
if ((ps = strdup(s)) == NULL)
regress/usr.sbin/rpki-client/test-rrdp.c
146
if ((s->local = strdup(local)) == NULL)
regress/usr.sbin/rpki-client/test-rrdp.c
148
if ((s->notifyuri = strdup(notify)) == NULL)
regress/usr.sbin/rpki-client/test-rrdp.c
151
(s->repository.session_id = strdup(session_id)) == NULL)
regress/usr.sbin/rpki-client/test-rrdp.c
155
(s->repository.last_mod = strdup(last_mod)) == NULL)
regress/usr.sbin/rpki-client/test-rrdp.c
96
if ((r = strdup(s)) == NULL)
regress/usr.sbin/snmpd/snmp.c
916
str = strdup("noSuchObject");
regress/usr.sbin/snmpd/snmp.c
919
str = strdup("noSuchInstance");
regress/usr.sbin/snmpd/snmp.c
922
str = strdup("endOfMibView");
sbin/dhcp6leased/parse.y
450
yylval.v.string = strdup(buf);
sbin/dhcp6leased/parse.y
509
if ((yylval.v.string = strdup(buf)) == NULL)
sbin/dhcp6leased/parse.y
551
if ((nfile->name = strdup(name)) == NULL) {
sbin/dhcp6leased/parse.y
668
sym->nam = strdup(nam);
sbin/dhcp6leased/parse.y
673
sym->val = strdup(val);
sbin/dhcp6leased/parse_lease.y
204
yylval.v.string = strdup(buf);
sbin/dhcp6leased/parse_lease.y
263
if ((yylval.v.string = strdup(buf)) == NULL)
sbin/dhcpleased/parse.y
225
if ((hex = strdup($4)) == NULL) {
sbin/dhcpleased/parse.y
296
if ((iface_conf->h_name = strdup("")) == NULL) {
sbin/dhcpleased/parse.y
578
yylval.v.string = strdup(buf);
sbin/dhcpleased/parse.y
637
if ((yylval.v.string = strdup(buf)) == NULL)
sbin/dhcpleased/parse.y
679
if ((nfile->name = strdup(name)) == NULL) {
sbin/dhcpleased/parse.y
793
sym->nam = strdup(nam);
sbin/dhcpleased/parse.y
798
sym->val = strdup(val);
sbin/disklabel/disklabel.c
385
mountpoints[i] = strdup(fsent->fs_file);
sbin/disklabel/disklabel.c
998
mountpoints[part] = strdup(mp);
sbin/disklabel/editor.c
1467
to[i] = strdup(from[i]);
sbin/disklabel/editor.c
1772
if ((mountpoints[partno] = strdup(p)) == NULL)
sbin/disklabel/editor.c
627
mountpoints[partno] = strdup(sa->mp);
sbin/dump/dumprmt.c
127
if ((name = strdup(pwd->pw_name)) == NULL)
sbin/dump/main.c
242
argv[i] = strdup(realpath);
sbin/dump/main.c
267
if ((toplevel = strdup(fsbuf.f_mntonname)) == NULL) {
sbin/dump/optr.c
278
(new->fs_file = strdup(fs->fs_file)) == NULL ||
sbin/dump/optr.c
279
(new->fs_type = strdup(fs->fs_type)) == NULL ||
sbin/dump/optr.c
280
(new->fs_spec = strdup(fs->fs_spec)) == NULL)
sbin/fdisk/disk.c
50
disk.dk_name = strdup(name);
sbin/fsck/fsck.c
502
optbuf = strdup(mntopts);
sbin/fsck/fsutil.c
278
char *p = strdup(s);
sbin/fsdb/fsdb.c
288
line = strdup(elline);
sbin/ifconfig/brconfig.c
517
optlist = strdup(val);
sbin/ifconfig/brconfig.c
685
str = strdup(val);
sbin/ifconfig/brconfig.c
944
buf = strdup(addr);
sbin/ifconfig/ifconfig.c
1182
if ((oname = strdup(name)) == NULL)
sbin/ifconfig/ifconfig.c
2075
if ((optlist = strdup(val)) == NULL)
sbin/ifconfig/ifconfig.c
2115
if ((optlist = strdup(val)) == NULL)
sbin/ifconfig/ifconfig.c
2180
if ((optlist = strdup(val)) == NULL)
sbin/ifconfig/ifconfig.c
3156
optlist = strdup(val);
sbin/ifconfig/ifconfig.c
4645
char *act_mac = strdup(
sbin/ifconfig/ifconfig.c
4960
optlist = strdup(val);
sbin/ifconfig/ifconfig.c
6306
if ((optlist = strdup(spec)) == NULL)
sbin/iked/eap.c
75
if ((str = strdup("")) == NULL) {
sbin/iked/ikev2.c
4801
nsa->sa_eapid = strdup(sa->sa_eapid);
sbin/iked/ocsp.c
151
oc->oc_url = strdup(url);
sbin/iked/parse.y
1849
yylval.v.string = strdup(buf);
sbin/iked/parse.y
1908
if ((yylval.v.string = strdup(buf)) == NULL)
sbin/iked/parse.y
1950
if ((nfile->name = strdup(name)) == NULL) {
sbin/iked/parse.y
1958
if ((nfile->name = strdup("stdin")) == NULL) {
sbin/iked/parse.y
2106
sym->nam = strdup(nam);
sbin/iked/parse.y
2111
sym->val = strdup(val);
sbin/iked/parse.y
2241
if ((ps = strdup(s)) == NULL)
sbin/iked/parse.y
2298
if ((ipa->name = strdup(hbuf)) == NULL)
sbin/iked/parse.y
2335
ipa->name = strdup(hbuf);
sbin/iked/parse.y
2427
if ((n->name = strdup(ifa->ifa_name)) == NULL)
sbin/iked/parse.y
2550
if ((n->name = strdup(p->name)) == NULL)
sbin/iked/radius.c
268
req->rr_sa->sa_eapid = strdup(username);
sbin/iked/radius.c
700
sa->sa_eapid = strdup(sa_id);
sbin/iked/radius.c
91
sa->sa_radreq->rr_user = strdup(msg->msg_eap.eam_identity);
sbin/init/init.c
893
sp->se_window = strdup(typ->ty_window);
sbin/ipsecctl/ike.c
105
if ((r->auth->srcid = strdup(myname)) == NULL)
sbin/ipsecctl/ike.c
660
if ((network = strdup(name)) == NULL)
sbin/ipsecctl/ike.c
839
if ((r->p1name = strdup("peer-default")) == NULL)
sbin/ipsecctl/parse.y
1284
yylval.v.string = strdup(buf);
sbin/ipsecctl/parse.y
1343
if ((yylval.v.string = strdup(buf)) == NULL)
sbin/ipsecctl/parse.y
1385
if ((nfile->name = strdup(name)) == NULL) {
sbin/ipsecctl/parse.y
1393
if ((nfile->name = strdup("stdin")) == NULL) {
sbin/ipsecctl/parse.y
1486
sym->nam = strdup(nam);
sbin/ipsecctl/parse.y
1491
sym->val = strdup(val);
sbin/ipsecctl/parse.y
1663
if ((ps = strdup(s)) == NULL)
sbin/ipsecctl/parse.y
1731
if ((ipa->name = strdup(hbuf)) == NULL)
sbin/ipsecctl/parse.y
1761
ipa->name = strdup(s);
sbin/ipsecctl/parse.y
1818
ipa->name = strdup(hbuf);
sbin/ipsecctl/parse.y
1897
if ((n->name = strdup(ifa->ifa_name)) == NULL)
sbin/ipsecctl/parse.y
2024
if ((n->name = strdup(p->name)) == NULL)
sbin/ipsecctl/parse.y
2237
if (src->name != NULL && (dst->name = strdup(src->name)) == NULL)
sbin/ipsecctl/parse.y
2250
if ((tag = strdup(src)) == NULL)
sbin/ipsecctl/parse.y
2643
if ((ipa->name = strdup("0.0.0.0/0")) == NULL)
sbin/ipsecctl/parse.y
2651
if ((ipa->next->name = strdup("::/0")) == NULL)
sbin/ipsecctl/parse.y
2847
strdup(rule->auth->dstid)) == NULL)
sbin/ipsecctl/parse.y
2850
strdup(rule->auth->srcid)) == NULL)
sbin/ipsecctl/parse.y
932
if (($$.string = strdup($2)) == NULL)
sbin/isakmpd/conf.c
175
if ((node->section = strdup(section)) == NULL)
sbin/isakmpd/conf.c
177
if ((node->tag = strdup(tag)) == NULL)
sbin/isakmpd/conf.c
179
if ((node->value = strdup(value)) == NULL)
sbin/isakmpd/conf.c
764
liststr = strdup(liststr);
sbin/isakmpd/conf.c
784
node->field = strdup(field);
sbin/isakmpd/conf.c
819
node->field = strdup(cb->tag);
sbin/isakmpd/conf.c
871
if (section && (node->section = strdup(section)) == NULL)
sbin/isakmpd/conf.c
873
if (tag && (node->tag = strdup(tag)) == NULL)
sbin/isakmpd/conf.c
875
if (value && (node->value = strdup(value)) == NULL)
sbin/isakmpd/connection.c
160
name = strdup(conn->name);
sbin/isakmpd/connection.c
288
conn->name = strdup(name);
sbin/isakmpd/connection.c
338
conn->name = strdup(name);
sbin/isakmpd/exchange.c
1054
exchange->name = name ? strdup(name) : 0;
sbin/isakmpd/exchange.c
1348
sa->name = exchange->name ? strdup(exchange->name) : 0;
sbin/isakmpd/exchange.c
1805
name = strdup(name);
sbin/isakmpd/exchange.c
766
exchange->name = strdup(name);
sbin/isakmpd/exchange.c
906
exchange->name = strdup(name);
sbin/isakmpd/field.c
171
return strdup(constant_name_maps(maps, val));
sbin/isakmpd/ike_auth.c
174
key = strdup(buf);
sbin/isakmpd/ike_phase_1.c
1363
vs->life = strdup(life->field);
sbin/isakmpd/ike_quick_mode.c
1775
exchange->name = strdup(name);
sbin/isakmpd/ike_quick_mode.c
220
principal[0] = strdup(isakmp_sa->keynote_key);
sbin/isakmpd/key.c
101
return strdup((char *)data);
sbin/isakmpd/key.c
119
return strdup((char *)data);
sbin/isakmpd/key.c
153
*data = (u_int8_t *) strdup(key);
sbin/isakmpd/key.c
61
*data = (u_int8_t *)strdup((char *)key);
sbin/isakmpd/log.c
405
pcaplog_file = strdup(newname);
sbin/isakmpd/pf_key_v2.c
1746
res = (u_int8_t *) strdup(addrbuf);
sbin/isakmpd/pf_key_v2.c
1761
res = (u_int8_t *) strdup(addrbuf);
sbin/isakmpd/pf_key_v2.c
1778
res = (u_int8_t *) strdup(addrbuf);
sbin/isakmpd/pf_key_v2.c
1795
res = (u_int8_t *) strdup(addrbuf);
sbin/isakmpd/policy.c
1063
strdup(remote_filter_addr_upper);
sbin/isakmpd/policy.c
1297
remote_filter = strdup(remote_filter_addr_upper);
sbin/isakmpd/policy.c
1316
local_filter = strdup(local_filter_addr_upper);
sbin/isakmpd/policy.c
1387
local_filter = strdup(local_filter_addr_upper);
sbin/isakmpd/policy.c
1621
local_filter = strdup(local_filter_addr_upper);
sbin/isakmpd/policy.c
2282
return strdup((char *)cert);
sbin/isakmpd/policy.c
2289
*data = (u_int8_t *)strdup(cert); /* i.e an extra character at
sbin/isakmpd/policy.c
2299
return strdup((char *)cert);
sbin/isakmpd/policy.c
2306
return strdup(cert);
sbin/isakmpd/policy.c
706
remote_id = strdup(remote_id_addr_upper);
sbin/isakmpd/policy.c
773
remote_id = strdup(remote_id_addr_upper);
sbin/isakmpd/policy.c
991
strdup(remote_filter_addr_upper);
sbin/isakmpd/util.c
363
*address = strdup(buf);
sbin/isakmpd/util.c
418
*address = strdup("<error>");
sbin/isakmpd/x509.c
1380
return strdup(buf);
sbin/mount/getmntopts.c
52
p = q = strdup(optionp);
sbin/mount/mount.c
308
if ((optbuf = strdup(mntopts)) == NULL)
sbin/mount/mount.c
373
if ((cp = strdup(mntopts)) == NULL)
sbin/mount/mount.c
699
if ((cp = strdup(s1)) == NULL)
sbin/mountd/mountd.c
1313
hpe->h_name = strdup("Default");
sbin/newfs_msdos/newfs_msdos.c
436
if (!(bname = strdup(buf)))
sbin/pdisk/io.c
255
return strdup(buf);
sbin/pdisk/pdisk.c
263
type = strdup(kUnixType);
sbin/pfctl/parse.y
1073
if ((loadanchor->filename = strdup($5)) == NULL)
sbin/pfctl/parse.y
5815
yylval.v.string = strdup(buf);
sbin/pfctl/parse.y
5898
if ((yylval.v.string = strdup(buf)) == NULL)
sbin/pfctl/parse.y
5937
(nfile->name = strdup(name)) == NULL) {
sbin/pfctl/parse.y
5946
if ((nfile->name = strdup("stdin")) == NULL) {
sbin/pfctl/parse.y
6054
sym->nam = strdup(nam);
sbin/pfctl/parse.y
6059
sym->val = strdup(val);
sbin/pfctl/parse.y
817
if (($$ = strdup("all")) == NULL) {
sbin/pfctl/pfctl.c
2582
pf->ifname = strdup(ifname);
sbin/pfctl/pfctl.c
3039
pf.ifname = strdup("none");
sbin/pfctl/pfctl.c
764
s = strdup(state_kill[1]);
sbin/pfctl/pfctl.c
809
s = strdup(str);
sbin/pfctl/pfctl_osfp.c
345
if ((wr_name = strdup(name)) == NULL)
sbin/pfctl/pfctl_parser.c
1483
if ((n->ifname = strdup(ifa->ifa_name)) == NULL)
sbin/pfctl/pfctl_parser.c
1546
if ((n->ifname = strdup(ifa_name)) == NULL)
sbin/pfctl/pfctl_parser.c
1704
if ((ps = strdup(s)) == NULL)
sbin/pfctl/pfctl_parser.c
1740
if ((ps = strdup(s)) == NULL)
sbin/pfctl/pfctl_parser.c
1826
if ((ps = strdup(s)) == NULL)
sbin/ping/ping.c
481
hostname = res->ai_canonname ? strdup(res->ai_canonname) :
sbin/quotacheck/quotacheck.c
507
targetdev = strdup(tmp);
sbin/restore/main.c
88
if ((tmpdir = strdup(tmpdir)) == NULL)
sbin/savecore/savecore.c
582
if ((sl = strdup(name)) == NULL) {
sbin/swapctl/swapctl.c
381
spec = strdup(s + strlen(NFSMNTPT));
sbin/unwind/frontend.c
1388
if ((ta->ta = strdup(val)) == NULL)
sbin/unwind/frontend.c
1573
if ((bl_node->domain = strdup(line)) == NULL)
sbin/unwind/libunbound/iterator/iter_delegpt.c
673
ns->tls_auth_name = strdup(tls_auth_name);
sbin/unwind/libunbound/iterator/iter_delegpt.c
719
a->tls_auth_name = strdup(tls_auth_name);
sbin/unwind/libunbound/libunbound/context.c
179
q->res->qname = strdup(name);
sbin/unwind/libunbound/libunbound/context.c
282
q->res->qname = strdup((char*)(p+4*sizeof(uint32_t)));
sbin/unwind/libunbound/libunbound/libunbound.c
1019
s->name = strdup(".");
sbin/unwind/libunbound/libunbound/libunbound.c
1033
dupl = strdup(addr);
sbin/unwind/libunbound/libunbound/libunbound.c
1114
if(elem) elem->name = strdup(zone);
sbin/unwind/libunbound/libunbound/libunbound.c
1127
a = strdup(addr);
sbin/unwind/libunbound/libunbound/libunbound.c
1310
ins = strdup(ldata);
sbin/unwind/libunbound/libunbound/libunbound.c
460
char* dup = strdup(ta);
sbin/unwind/libunbound/libunbound/libunbound.c
479
char* dup = strdup(fname);
sbin/unwind/libunbound/libunbound/libunbound.c
497
char* dup = strdup(fname);
sbin/unwind/libunbound/libunbound/libunbound.c
517
char* dup = strdup(fname);
sbin/unwind/libunbound/libunbound/libworker.c
428
res->canonname = strdup(buf);
sbin/unwind/libunbound/libunbound/libworker.c
545
q->res->why_bogus = strdup(why_bogus);
sbin/unwind/libunbound/libunbound/libworker.c
750
q->res->why_bogus = strdup(reason);
sbin/unwind/libunbound/libunbound/libworker.c
766
q->res->why_bogus = strdup(reason);
sbin/unwind/libunbound/services/authzone.c
1509
incfile = strdup(incfile);
sbin/unwind/libunbound/services/authzone.c
3965
m->host = strdup(m->host);
sbin/unwind/libunbound/services/authzone.c
3973
m->file = strdup(m->file);
sbin/unwind/libunbound/services/authzone.c
566
z->zonefile = strdup(zonefile);
sbin/unwind/libunbound/services/authzone.c
7204
char* result = strdup(str);
sbin/unwind/libunbound/services/authzone.c
7287
*file = strdup("/");
sbin/unwind/libunbound/services/authzone.c
7288
else *file = strdup(p);
sbin/unwind/libunbound/services/authzone.c
7318
m->host = strdup(p->str);
sbin/unwind/libunbound/services/authzone.c
7328
m->host = strdup(p->str);
sbin/unwind/libunbound/services/authzone.c
8023
*result = strdup(res);
sbin/unwind/libunbound/services/authzone.c
8025
*result = strdup(reason);
sbin/unwind/libunbound/services/authzone.c
8114
*result = strdup("DNSSEC verified nonexistence of ZONEMD");
sbin/unwind/libunbound/services/authzone.c
8122
*result = strdup("no ZONEMD present");
sbin/unwind/libunbound/services/authzone.c
8140
*result = strdup(reason);
sbin/unwind/libunbound/services/authzone.c
8141
else *result = strdup("ZONEMD verification successful");
sbin/unwind/libunbound/services/listen_dnsport.c
1784
(*ip_addresses)[*ip_addresses_size] = strdup(addr_buf);
sbin/unwind/libunbound/services/listen_dnsport.c
1800
(*ip_addresses)[*ip_addresses_size] = strdup(search_ifa);
sbin/unwind/libunbound/services/listen_dnsport.c
1872
(*resif)[i] = strdup(ifs[i]);
sbin/unwind/libunbound/services/listen_dnsport.c
1885
(*resif)[idx] = strdup(p->str);
sbin/unwind/libunbound/services/rpz.c
546
if(!(r->log_name = strdup(p->rpz_log_name))) {
sbin/unwind/libunbound/services/view.c
107
if(!(v->name = strdup(name))) {
sbin/unwind/libunbound/services/view.c
179
nd_str = strdup(nd->str);
sbin/unwind/libunbound/services/view.c
185
nd_type = strdup("nodefault");
sbin/unwind/libunbound/sldns/wire2str.c
290
return strdup(buf);
sbin/unwind/libunbound/sldns/wire2str.c
297
return strdup(buf);
sbin/unwind/libunbound/sldns/wire2str.c
313
return strdup(buf);
sbin/unwind/libunbound/util/alloc.h
205
# ifdef strdup
sbin/unwind/libunbound/util/config_file.c
1001
return strdup(list->str);
sbin/unwind/libunbound/util/config_file.c
133
if(!(cfg->http_endpoint = strdup("/dns-query"))) goto error_exit;
sbin/unwind/libunbound/util/config_file.c
195
if(!(cfg->username = strdup(UB_USERNAME))) goto error_exit;
sbin/unwind/libunbound/util/config_file.c
197
if(!(cfg->chrootdir = strdup(CHROOT_DIR))) goto error_exit;
sbin/unwind/libunbound/util/config_file.c
199
if(!(cfg->directory = strdup(RUN_DIR))) goto error_exit;
sbin/unwind/libunbound/util/config_file.c
200
if(!(cfg->logfile = strdup(""))) goto error_exit;
sbin/unwind/libunbound/util/config_file.c
201
if(!(cfg->pidfile = strdup(PIDFILE))) goto error_exit;
sbin/unwind/libunbound/util/config_file.c
202
if(!(cfg->target_fetch_policy = strdup("3 2 1 0 0"))) goto error_exit;
sbin/unwind/libunbound/util/config_file.c
2357
newtag = strdup(tag);
sbin/unwind/libunbound/util/config_file.c
2424
if ((nsid = (uint8_t *)strdup(str + 6)))
sbin/unwind/libunbound/util/config_file.c
2469
return strdup(buf);
sbin/unwind/libunbound/util/config_file.c
2692
strdup(name));
sbin/unwind/libunbound/util/config_file.c
2696
strdup(name));
sbin/unwind/libunbound/util/config_file.c
2699
return cfg_str2list_insert(&cfg->local_zones, strdup(buf),
sbin/unwind/libunbound/util/config_file.c
2700
strdup(type));
sbin/unwind/libunbound/util/config_file.c
2778
result = strdup(buf);
sbin/unwind/libunbound/util/config_file.c
2815
result = strdup((char*)buf);
sbin/unwind/libunbound/util/config_file.c
322
if(!(cfg->server_key_file = strdup(RUN_DIR"/unbound_server.key")))
sbin/unwind/libunbound/util/config_file.c
324
if(!(cfg->server_cert_file = strdup(RUN_DIR"/unbound_server.pem")))
sbin/unwind/libunbound/util/config_file.c
326
if(!(cfg->control_key_file = strdup(RUN_DIR"/unbound_control.key")))
sbin/unwind/libunbound/util/config_file.c
328
if(!(cfg->control_cert_file = strdup(RUN_DIR"/unbound_control.pem")))
sbin/unwind/libunbound/util/config_file.c
331
if(!(cfg->module_conf = strdup("validator iterator"))) goto error_exit;
sbin/unwind/libunbound/util/config_file.c
333
strdup("1024 150 2048 150 4096 150"))) goto error_exit;
sbin/unwind/libunbound/util/config_file.c
335
if(!(cfg->dnstap_socket_path = strdup(DNSTAP_SOCKET_PATH)))
sbin/unwind/libunbound/util/config_file.c
391
if(!(cfg->cachedb_backend = strdup("testframe"))) goto error_exit;
sbin/unwind/libunbound/util/config_file.c
392
if(!(cfg->cachedb_secret = strdup("default"))) goto error_exit;
sbin/unwind/libunbound/util/config_file.c
396
if(!(cfg->redis_server_host = strdup("127.0.0.1"))) goto error_exit;
sbin/unwind/libunbound/util/config_file.c
397
if(!(cfg->redis_replica_server_host = strdup(""))) goto error_exit;
sbin/unwind/libunbound/util/config_file.c
504
{ free(cfg->var); return (cfg->var = strdup(val)) != NULL; }
sbin/unwind/libunbound/util/config_file.c
507
{ return cfg_strlist_insert(&cfg->var, strdup(val)); }
sbin/unwind/libunbound/util/config_file.c
511
return cfg_strlist_insert(&cfg->var, strdup(val)); }
sbin/unwind/libunbound/util/config_file.c
514
{ return cfg_strlist_append(&cfg->var, strdup(val)); }
sbin/unwind/libunbound/util/config_file.c
578
return (cfg->logfile = strdup(val)) != NULL;
sbin/unwind/libunbound/util/config_file.c
702
if (!(cfg->nsid_cfg_str = strdup(val)))
sbin/unwind/libunbound/util/config_file.c
910
char* d = strdup(val);
sbin/unwind/libunbound/util/config_file.c
958
if(!cfg_strlist_append(&m->list, strdup(line)))
sbin/unwind/libunbound/util/config_file.c
999
return strdup("");
sbin/unwind/libunbound/util/configlexer.c
3687
nm = strdup(filename);
sbin/unwind/libunbound/util/configlexer.c
6051
yylval.str = strdup(yytext);
sbin/unwind/libunbound/util/configlexer.c
6091
yylval.str = strdup(yytext);
sbin/unwind/libunbound/util/configlexer.c
6259
yylval.str = strdup(yytext); return STRING_ARG; }
sbin/unwind/libunbound/util/module.c
154
p = strdup(buf);
sbin/unwind/libunbound/util/netevent.c
6132
if(!(c->http_endpoint = strdup(http_endpoint))) {
sbin/unwind/libunbound/validator/autotrust.c
546
tp->autr->file = strdup(fname);
sbin/unwind/libunbound/validator/val_anchor.c
686
str = strdup((char*)sldns_buffer_begin(buf));
sbin/unwind/libunbound/validator/val_kentry.c
194
newd->reason = strdup(d->reason);
sbin/unwind/libunbound/validator/val_kentry.c
206
newd->algo = (uint8_t*)strdup((char*)d->algo);
sbin/unwind/parse.y
186
conf->blocklist_file = strdup($3);
sbin/unwind/parse.y
642
yylval.v.string = strdup(buf);
sbin/unwind/parse.y
701
if ((yylval.v.string = strdup(buf)) == NULL)
sbin/unwind/parse.y
743
if ((nfile->name = strdup(name)) == NULL) {
sbin/unwind/parse.y
871
sym->nam = strdup(nam);
sbin/unwind/parse.y
876
sym->val = strdup(val);
sbin/unwind/unwind.c
912
if ((nconf->blocklist_file = strdup(imsg->data)) ==
sys/dev/microcode/aic7xxx/aicasm.c
232
include_dir->directory = strdup(optarg);
sys/dev/microcode/aic7xxx/aicasm_gram.y
1578
cur_symbol->info.macroinfo->body = strdup(bodytext);
sys/dev/microcode/aic7xxx/aicasm_gram.y
276
prefix = strdup($3);
sys/dev/microcode/aic7xxx/aicasm_gram.y
288
patch_arg_list = strdup($3);
sys/dev/microcode/aic7xxx/aicasm_macro_gram.y
154
marg->replacement_text = strdup(argtext);
sys/dev/microcode/aic7xxx/aicasm_symbol.c
386
lower_name = strdup(regnode->symbol->name);
sys/dev/microcode/aic7xxx/aicasm_symbol.c
77
new_symbol->name = strdup(name);
sys/dev/microcode/cyclades/cyzfirm2h.c
79
include_name = strdup(argv[2]);
usr.bin/apply/apply.c
159
if ((cmd = strdup(str)) == NULL)
usr.bin/awk/maketab.c
166
names[tok-FIRSTTOKEN] = strdup(name);
usr.bin/awk/run.c
1676
origs = s = strdup(getsval(y));
usr.bin/awk/run.c
1685
fs = origfs = strdup(getsval(x));
usr.bin/awk/tran.c
467
n = (vp->sval = strdup(p)) ? 0 : -1; \
usr.bin/awk/tran.c
530
char *p = strdup(s);
usr.bin/bc/bc.y
1113
if ((cmdexpr = strdup("")) == NULL)
usr.bin/bc/bc.y
777
instructions[current].u.astr = strdup(str);
usr.bin/bc/bc.y
882
entry.key = strdup(str);
usr.bin/bgplg/bgplgsh.c
165
if ((cmdstr = strdup(cmd->name)) == NULL)
usr.bin/bgplg/bgplgsh.c
205
return (strdup(name));
usr.bin/calendar/day.c
102
if ((ndays[i].name = strdup(buf)) == NULL)
usr.bin/calendar/day.c
111
if ((fndays[i].name = strdup(buf)) == NULL)
usr.bin/calendar/day.c
123
if ((nmonths[i].name = strdup(buf)) == NULL)
usr.bin/calendar/day.c
132
if ((fnmonths[i].name = strdup(buf)) == NULL)
usr.bin/calendar/day.c
137
spev[0].name = strdup(PESACH);
usr.bin/calendar/day.c
140
spev[1].name = strdup(EASTER);
usr.bin/calendar/day.c
143
spev[2].name = strdup(PASKHA);
usr.bin/calendar/io.c
126
if ((prefix = strdup(buf + 6)) == NULL)
usr.bin/calendar/io.c
131
if ((recipient = strdup(buf + 16)) == NULL)
usr.bin/calendar/io.c
144
if ((spev[i].uname = strdup(p)) == NULL)
usr.bin/calendar/io.c
188
strdup(p)) == NULL)
usr.bin/cap_mkdb/cap_mkdb.c
105
if ((capname = strdup(buf)) == NULL)
usr.bin/cdio/cddb.c
108
*p = strdup(copy_buffer);
usr.bin/cdio/cddb.c
240
names[i] = strdup(e->control & 4 ? "data" : "audio");
usr.bin/chpass/field.c
142
else if (!(pw->pw_class = strdup(p))) {
usr.bin/chpass/field.c
173
else if (!(ep->save = strdup(p))) {
usr.bin/chpass/field.c
187
if (!(pw->pw_dir = strdup(p))) {
usr.bin/chpass/field.c
213
t = strdup(p);
usr.bin/chpass/field.c
63
if (!(pw->pw_name = strdup(p))) {
usr.bin/chpass/field.c
82
else if (!(pw->pw_passwd = strdup(p))) {
usr.bin/chpass/util.c
95
*out = strdup(sh);
usr.bin/column/column.c
314
if ((cols[col].content = strdup(s)) == NULL)
usr.bin/compress/main.c
223
if ((evbuf = strdup(p)) == NULL)
usr.bin/csplit/csplit.c
362
if ((ecopy = strdup(expr)) == NULL)
usr.bin/ctags/ctags.c
305
if ((curfile = strdup(file)) == NULL)
usr.bin/ctags/tree.c
76
if (!(np->entry = strdup(name)))
usr.bin/ctags/tree.c
83
if (!(np->pat = strdup(lbuf)))
usr.bin/ctfconv/xmalloc.c
79
if ((cp = strdup(str)) == NULL)
usr.bin/cu/cu.c
472
out = strdup(filename1);
usr.bin/cvs/xmalloc.c
73
if ((cp = strdup(str)) == NULL)
usr.bin/dc/mem.c
85
q = strdup(p);
usr.bin/deroff/deroff.c
446
q->datap = strdup(fname);
usr.bin/diff/xmalloc.c
66
if ((cp = strdup(str)) == NULL)
usr.bin/dig/lib/isc/lex.c
168
source->name = strdup(name);
usr.bin/dig/lib/isc/log.c
543
channel->name = strdup(name);
usr.bin/dig/lib/lwres/lwconfig.c
246
confdata->domainname = strdup(word);
usr.bin/dig/lib/lwres/lwconfig.c
280
confdata->search[idx] = strdup(word);
usr.bin/doas/doas.c
283
path = strdup(ipath);
usr.bin/doas/doas.c
434
formerpath = strdup(p);
usr.bin/doas/env.c
61
node->key = strdup(key);
usr.bin/doas/env.c
62
node->value = strdup(value);
usr.bin/doas/parse.y
345
if ((str = strdup(buf)) == NULL)
usr.bin/encrypt/encrypt.c
168
if ((string = strdup(argv[optind])) == NULL)
usr.bin/file/xmalloc.c
68
if ((cp = strdup(str)) == NULL)
usr.bin/finger/util.c
79
char *p = strdup(s);
usr.bin/ftp/cmds.c
688
gateport = strdup(argv[2]);
usr.bin/ftp/complete.c
187
tcp = strdup(dp->d_name);
usr.bin/ftp/complete.c
252
tcp = strdup(tcp);
usr.bin/ftp/cookie.c
139
ck->key = strdup(param);
usr.bin/ftp/cookie.c
144
ck->val = strdup(param);
usr.bin/ftp/cookie.c
98
ck->domain = strdup(param);
usr.bin/ftp/fetch.c
1295
url = strdup(argv[argpos]);
usr.bin/ftp/fetch.c
211
pathbuf = strdup(path);
usr.bin/ftp/fetch.c
349
newline = strdup(origline);
usr.bin/ftp/fetch.c
420
pathbuf = strdup(path);
usr.bin/ftp/fetch.c
444
sslpath = strdup(path);
usr.bin/ftp/fetch.c
445
sslhost = strdup(host);
usr.bin/ftp/fetch.c
450
proxyhost = strdup(host);
usr.bin/ftp/fetch.c
453
proxyurl = strdup(proxyenv);
usr.bin/ftp/fetch.c
520
if ((full_host = strdup(host)) == NULL)
usr.bin/ftp/fetch.c
642
sslhost = strdup(host);
usr.bin/ftp/fetch.c
746
h = strdup(host);
usr.bin/ftp/fetch.c
921
locbase = strdup(path);
usr.bin/ftp/fetch.c
949
} else if ((redirurl = strdup(cp)) == NULL)
usr.bin/ftp/ruserpass.c
146
if ((*aname = strdup(tokval)) == NULL)
usr.bin/ftp/ruserpass.c
165
if ((*apass = strdup(tokval)) == NULL)
usr.bin/ftp/ruserpass.c
179
if ((*aacct = strdup(tokval)) == NULL)
usr.bin/ftp/util.c
558
*cpp = strdup(gl.gl_pathv[0]);
usr.bin/ftp/util.c
784
if ((filenamebuf = strdup(filename)) != NULL &&
usr.bin/ftp/util.c
787
title = strdup(filename);
usr.bin/gencat/gencat.c
217
if ((nstr = strdup(str)) == NULL)
usr.bin/indent/args.c
277
if ((str = strdup(param_start)) == NULL)
usr.bin/ldap/aldap.c
707
if ((lu->buffer = p = strdup(url)) == NULL)
usr.bin/less/main.c
314
n = strdup(str);
usr.bin/lndir/lndir.c
163
new->name = strdup(name);
usr.bin/login/login.c
198
if ((fqdn = strdup(optarg)) == NULL) {
usr.bin/login/login.c
404
(fullname = strdup(username)) == NULL) {
usr.bin/m4/misc.c
375
char *p = strdup(s);
usr.bin/mail/cmd2.c
398
igp->i_field = strdup(field);
usr.bin/mail/cmd3.c
728
if ((*ap2 = strdup(*ap)) == NULL)
usr.bin/mail/temp.c
51
if ((tmpdir = strdup(tmpdir)) == NULL)
usr.bin/mail/vars.c
89
if ((new = strdup(str)) == NULL)
usr.bin/mandoc/mandoc_aux.c
98
p = strdup(ptr);
usr.bin/mg/autoexec.c
80
ae->pattern = strdup(pattern);
usr.bin/mg/buffer.c
625
if ((bp->b_bname = strdup(bname)) == NULL) {
usr.bin/mg/dired.c
1084
if ((d1->fn = strdup(p)) == NULL) {
usr.bin/mg/dired.c
1096
if ((d2->fn = strdup(p)) == NULL) {
usr.bin/mg/dired.c
799
tmp_b_fname = strdup(bp->b_fname);
usr.bin/mg/echo.c
1007
current->l_name = strdup(lp->l_name);
usr.bin/mg/file.c
549
if ((curbp->b_bname = strdup(bn)) == NULL)
usr.bin/mg/funmap.c
314
if ((el->l_name = strdup(fn->fn_name)) == NULL) {
usr.bin/mg/line.c
545
if ((repl = strdup(st)) == NULL) {
usr.bin/mg/tags.c
197
if ((s->bname = strdup(bname)) == NULL) {
usr.bin/mklocale/yacc.y
120
new_locale.rl_variable = strdup($1);
usr.bin/mktemp/mktemp.c
113
tempfile = strdup(template);
usr.bin/nc/netcat.c
296
if ((proxy = strdup(optarg)) == NULL)
usr.bin/netstat/inet.c
859
n->rpcname = strdup(rpc->r_name);
usr.bin/netstat/inet.c
863
n->rpcname = strdup(num);
usr.bin/newsyslog/newsyslog.c
1040
flog = strdup(ent->log);
usr.bin/newsyslog/newsyslog.c
494
errline = strdup(tmp);
usr.bin/newsyslog/newsyslog.c
503
working->log = strdup(q);
usr.bin/newsyslog/newsyslog.c
690
working->pidfile = strdup(q);
usr.bin/newsyslog/newsyslog.c
696
working->runcmd = strdup(q);
usr.bin/newsyslog/newsyslog.c
721
working->whom = strdup(q);
usr.bin/openssl/apps.c
1879
stmp = strdup(value);
usr.bin/openssl/apps.c
377
return strdup(arg + 5);
usr.bin/openssl/apps.c
385
return strdup(tmp);
usr.bin/openssl/apps.c
441
return strdup(tpass);
usr.bin/openssl/ca.c
1258
serialstr = strdup("00");
usr.bin/openssl/ca.c
2067
row[DB_serial] = strdup("00");
usr.bin/openssl/ca.c
2082
row[DB_name] = strdup(row[DB_serial]);
usr.bin/openssl/ca.c
2291
row[DB_serial] = strdup("00");
usr.bin/openssl/ca.c
2302
row[DB_name] = strdup(row[DB_serial]);
usr.bin/openssl/ca.c
2752
if ((tmp = strdup(str)) == NULL) {
usr.bin/openssl/certhash.c
255
if ((l = strdup(linkname)) == NULL)
usr.bin/openssl/certhash.c
263
if ((hi->target = strdup(target)) == NULL)
usr.bin/openssl/certhash.c
79
if ((hi->filename = strdup(filename)) == NULL) {
usr.bin/openssl/cms.c
1515
pwri_tmp = strdup(cfg.pwri_pass);
usr.bin/openssl/ocsp.c
1359
itmp = strdup("00");
usr.bin/openssl/ocsp.c
201
if ((conf_value->name = strdup(name)) == NULL) {
usr.bin/openssl/ocsp.c
207
if ((conf_value->value = strdup(value)) == NULL) {
usr.bin/openssl/req.c
1683
*palgnam = strdup(anam);
usr.bin/openssl/req.c
1858
if ((kv = strdup(kv)) == NULL)
usr.bin/openssl/s_socket.c
254
if ((host = strdup(h1->h_name)) == NULL) {
usr.bin/patch/backupfile.c
61
tmp_file = strdup(file);
usr.bin/patch/backupfile.c
68
tmp_file = strdup(file);
usr.bin/patch/util.c
181
rv = strdup(s);
usr.bin/patch/util.c
201
rv = strdup(s);
usr.bin/patch/util.c
321
if ((tmpbuf = strdup(filename)) == NULL)
usr.bin/pkgconf/libpkgconf/client.c
255
client->sysroot_dir = sysroot_dir != NULL ? strdup(sysroot_dir) : NULL;
usr.bin/pkgconf/libpkgconf/client.c
299
client->buildroot_dir = buildroot_dir != NULL ? strdup(buildroot_dir) : NULL;
usr.bin/pkgconf/libpkgconf/client.c
487
client->prefix_varname = strdup(prefix_varname);
usr.bin/pkgconf/libpkgconf/dependency.c
474
new_dep->package = strdup(dep->package);
usr.bin/pkgconf/libpkgconf/dependency.c
477
new_dep->version = strdup(dep->version);
usr.bin/pkgconf/libpkgconf/fragment.c
153
return strdup(mungebuf);
usr.bin/pkgconf/libpkgconf/fragment.c
410
frag->data = strdup(base->data);
usr.bin/pkgconf/libpkgconf/path.c
172
iter = workbuf = strdup(text);
usr.bin/pkgconf/libpkgconf/path.c
270
path->path = strdup(srcpath->path);
usr.bin/pkgconf/libpkgconf/path.c
313
char *copy = strdup(path);
usr.bin/pkgconf/libpkgconf/path.c
94
node->path = strdup(path);
usr.bin/pkgconf/libpkgconf/personality.c
186
*dest = strdup(value);
usr.bin/pkgconf/libpkgconf/personality.c
269
p->name = strdup(triplet);
usr.bin/pkgconf/libpkgconf/pkg.c
140
return strdup(buf);
usr.bin/pkgconf/libpkgconf/pkg.c
1483
pkg->id = strdup(pkgdep->package);
usr.bin/pkgconf/libpkgconf/pkg.c
1495
pkg->why = strdup(pkgdep->package);
usr.bin/pkgconf/libpkgconf/pkg.c
500
pkg->filename = strdup(filename);
usr.bin/pkgconf/libpkgconf/pkg.c
531
pkg->id = strdup(idptr);
usr.bin/pkgconf/libpkgconf/queue.c
48
pkgq->package = strdup(package);
usr.bin/pkgconf/libpkgconf/tuple.c
121
char *workbuf = strdup(kv);
usr.bin/pkgconf/libpkgconf/tuple.c
245
tuple->key = strdup(key);
usr.bin/pkgconf/libpkgconf/tuple.c
249
tuple->value = strdup(dequote_value);
usr.bin/pkgconf/libpkgconf/tuple.c
429
return strdup(cleanpath);
usr.bin/pkgconf/libpkgconf/tuple.c
432
return strdup(buf);
usr.bin/rcs/xmalloc.c
68
if ((cp = strdup(str)) == NULL)
usr.bin/rpcgen/rpc_cout.c
508
sizestr = strdup(ptemp);
usr.bin/rpcgen/rpc_main.c
441
guard = strdup(filename);
usr.bin/rpcgen/rpc_parse.c
491
dec->name = (char *)strdup(tok.str);
usr.bin/rpcgen/rpc_parse.c
512
dec->name = (char *)strdup(tok.str);
usr.bin/rsync/fargs.c
68
ap = strdup(sess->opts->ssh_prog);
usr.bin/rsync/flist.c
1259
if ((hent.key = strdup(wfl[i].wpath)) == NULL) {
usr.bin/rsync/flist.c
1345
if ((f->path = strdup(ent->fts_path)) == NULL) {
usr.bin/rsync/flist.c
552
if ((f->path = strdup(path)) == NULL) {
usr.bin/rsync/flist.c
978
if ((f->path = strdup(ent->fts_path)) == NULL) {
usr.bin/rsync/ids.c
211
(*ids)[*idsz].name = strdup(name);
usr.bin/rsync/main.c
114
if ((f->host = strdup(f->sink)) == NULL)
usr.bin/rsync/main.c
123
if ((f->host = strdup(f->sources[0])) == NULL)
usr.bin/rsync/main.c
573
opts.basedir_abs[i] = strdup(opts.basedir[i]);
usr.bin/rsync/main.c
96
if ((f->sources[i] = strdup(argv[i])) == NULL)
usr.bin/rsync/main.c
99
if ((f->sink = strdup(argv[i])) == NULL)
usr.bin/rsync/receiver.c
192
if ((tofree = strdup(root)) == NULL)
usr.bin/rsync/rules.c
195
r->pattern = strdup(pattern);
usr.bin/rsync/uploader.c
821
p->root = strdup(root);
usr.bin/rup/rup.c
144
if ((rup_data[rup_data_idx].host = strdup(host)) == NULL)
usr.bin/rusers/rusers.c
193
if ((hostinfo[nentries].host = strdup(host)) == NULL)
usr.bin/sdiff/sdiff.c
842
if (!(*s = strdup(append)))
usr.bin/signify/signify.c
698
if (!(e = strdup(c.file)))
usr.bin/skeyaudit/skeyaudit.c
140
if ((name = strdup(pw->pw_name)) == NULL)
usr.bin/skeyinfo/skeyinfo.c
75
if ((name = strdup(pw->pw_name)) == NULL)
usr.bin/snmp/smi.c
383
str = strdup("No Such Object available on this "
usr.bin/snmp/smi.c
386
str = strdup("No Such Instance currently "
usr.bin/snmp/smi.c
389
str = strdup("No more variables left in this "
usr.bin/snmp/smi.c
393
str = strdup("Unknown status at this OID");
usr.bin/snmp/smi.c
476
str = strdup("");
usr.bin/snmp/snmp.c
97
if ((agent->community = strdup(community)) == NULL)
usr.bin/snmp/snmpc.c
1220
if ((agentdup = specifier = strdup(agent)) == NULL)
usr.bin/snmp/snmpc.c
1503
if ((str = strdup(argv[i + 2])) == NULL)
usr.bin/sort/mem.c
87
if ((dup = strdup(str)) == NULL)
usr.bin/spell/spellprog.c
760
if ((d = strdup(s)) == NULL)
usr.bin/ssh/addrmatch.c
115
if ((o = list = strdup(_list)) == NULL)
usr.bin/ssh/addrmatch.c
55
if ((o = list = strdup(_list)) == NULL)
usr.bin/ssh/auth-options.c
278
if ((tmp = strdup(opt)) == NULL) {
usr.bin/ssh/auth-options.c
413
if ((cp = strdup(opt)) == NULL) {
usr.bin/ssh/auth-options.c
550
if (tmp != NULL && (ret->required_from_host_cert = strdup(tmp)) == NULL)
usr.bin/ssh/auth-options.c
555
if (tmp != NULL && (ret->required_from_host_keys = strdup(tmp)) == NULL)
usr.bin/ssh/auth-options.c
56
if ((dst[i] = strdup(src[i])) == NULL) {
usr.bin/ssh/auth-options.c
623
ret->force_command = strdup(primary->force_command);
usr.bin/ssh/auth-options.c
631
if ((ret->force_command = strdup(
usr.bin/ssh/auth-options.c
635
if ((ret->force_command = strdup(
usr.bin/ssh/auth-options.c
679
if (orig->x != NULL && (ret->x = strdup(orig->x)) == NULL) { \
usr.bin/ssh/authfile.c
228
*commentp = strdup(*cp ?
usr.bin/ssh/cipher.c
206
if ((cipher_list = cp = strdup(names)) == NULL)
usr.bin/ssh/kex-names.c
160
if ((s = cp = strdup(names)) == NULL)
usr.bin/ssh/kex-names.c
198
return strdup(b);
usr.bin/ssh/kex-names.c
200
return strdup(a);
usr.bin/ssh/kex-names.c
204
if ((tmp = cp = strdup(b)) == NULL ||
usr.bin/ssh/kex-names.c
242
if ((*listp = strdup(def)) == NULL)
usr.bin/ssh/kex-names.c
284
if ((patterns = opatterns = strdup(list)) == NULL) {
usr.bin/ssh/krl.c
204
if ((krl->comment = strdup(comment)) == NULL)
usr.bin/ssh/krl.c
351
(rki->key_id = strdup(key_id)) == NULL) {
usr.bin/ssh/log.c
162
if ((log_verbose[nlog_verbose] = strdup(s)) != NULL)
usr.bin/ssh/mac.c
238
if ((maclist = cp = strdup(names)) == NULL)
usr.bin/ssh/match.c
318
char *orig_prop = strdup(proposal);
usr.bin/ssh/misc.c
939
if ((sdup = tmp = strdup(s)) == NULL)
usr.bin/ssh/misc.c
946
if ((user = strdup(tmp)) == NULL)
usr.bin/ssh/scp.c
902
if ((cp = strdup(pattern)) == NULL)
usr.bin/ssh/servconf.c
2310
item->selector = strdup(arg);
usr.bin/ssh/servconf.c
2320
item->selector = strdup(arg);
usr.bin/ssh/servconf.c
2321
item->filename = strdup(gbuf.gl_pathv[n]);
usr.bin/ssh/sk-usbhid.c
1223
(srk->application = strdup(rp_id)) == NULL ||
usr.bin/ssh/sk-usbhid.c
144
if ((sk->path = strdup(path)) == NULL) {
usr.bin/ssh/sk-usbhid.c
621
if ((*devicep = strdup(options[i]->value)) == NULL) {
usr.bin/ssh/sk-usbhid.c
997
if ((*devicep = strdup(options[i]->value)) == NULL) {
usr.bin/ssh/ssh-sk.c
106
if ((ret->path = strdup(path)) == NULL) {
usr.bin/ssh/ssh-sk.c
326
if ((key->sk_application = strdup(application)) == NULL) {
usr.bin/ssh/ssh-sk.c
396
if ((opts[nopts]->name = strdup(name)) == NULL ||
usr.bin/ssh/ssh-sk.c
397
(opts[nopts]->value = strdup(value)) == NULL) {
usr.bin/ssh/ssh_api.c
532
if ((oavail = avail = strdup(orig)) == NULL) {
usr.bin/ssh/sshbuf-getput-basic.c
652
if ((val = strdup(sshbuf_ptr(buf))) == NULL)
usr.bin/ssh/sshbuf-misc.c
78
return strdup("");
usr.bin/ssh/sshkey.c
1499
else if ((to->key_id = strdup(from->key_id)) == NULL) {
usr.bin/ssh/sshkey.c
1511
(to->signature_type = strdup(from->signature_type)) == NULL) {
usr.bin/ssh/sshkey.c
1526
to->principals[i] = strdup(from->principals[i]);
usr.bin/ssh/sshkey.c
1550
if ((to->sk_application = strdup(from->sk_application)) == NULL)
usr.bin/ssh/sshkey.c
333
if ((s = cp = strdup(names)) == NULL)
usr.bin/ssh/sshsig.c
762
if ((principals = strdup(tmp)) == NULL) {
usr.bin/su/su.c
151
if ((username = strdup(pwd->pw_name)) == NULL)
usr.bin/su/su.c
155
if ((shell = strdup(pwd->pw_shell)) == NULL)
usr.bin/su/su.c
246
if ((shell = strdup(pwd->pw_shell)) == NULL)
usr.bin/systat/engine.c
1169
curr_message = strdup(msg);
usr.bin/systat/sensors.c
154
devnames[dev] = strdup(sensordev.xname);
usr.bin/systat/swap.c
164
FLD_SW_BLOCKS->title = strdup(bs);
usr.bin/systat/vmstat.c
204
intrname[i] = strdup(name);
usr.bin/talk/get_names.c
91
names = strdup(argv[1]);
usr.bin/tcpbench/tcpbench.c
1162
if ((tmp = strdup(optarg)) == NULL)
usr.bin/tcpbench/tcpbench.c
347
if ((ret[n - 1] = strdup(item)) == NULL)
usr.bin/telnet/commands.c
1487
if ((ep->var = strdup(var)) == NULL)
usr.bin/telnet/commands.c
1489
if ((ep->value = strdup(value)) == NULL)
usr.bin/telnet/commands.c
1765
if ((user = strdup(*argv++)) == NULL)
usr.bin/tic/tic.c
1211
return strdup(value);
usr.bin/tic/tic.c
2322
return strdup(result);
usr.bin/tic/tic.c
2453
if (!VALID_STRING(value) || (ti_value = strdup(value)) == NULL) {
usr.bin/tic/tic.c
3276
zero = strdup(CHECK_SGR(0, exit_attribute_mode));
usr.bin/tic/tic.c
3278
zero = strdup(TIPARM_9(set_attributes, 0, 0, 0, 0, 0, 0, 0, 0, 0));
usr.bin/tic/tic.c
378
if ((dst = strdup(src)) == NULL) {
usr.bin/tic/tic.c
449
to_remove = strdup(alt_file);
usr.bin/tic/tic.c
590
char *result = strdup(nominal);
usr.bin/tmux/procname.c
127
name = strdup(bestp->p_comm);
usr.bin/tmux/xmalloc.c
93
if ((cp = strdup(str)) == NULL)
usr.bin/top/commands.c
145
if ((errs[errcnt].arg = strdup(p)) == NULL) \
usr.bin/top/top.c
333
if ((ps.command = strdup(optarg)) == NULL)
usr.bin/top/top.c
996
else if ((ps.command = strdup(tempbuf)) == NULL)
usr.bin/tput/tput.c
438
argv[0] = strdup(_nc_progname);
usr.bin/tset/tset.c
384
copy = strdup(arg);
usr.bin/tset/tset.c
599
ttype = strdup(t);
usr.bin/tset/tset.c
684
argv[0] = strdup("-q");
usr.bin/tset/tset.c
695
argv[0] = strdup("-e^H");
usr.bin/tset/tset.c
698
argv[0] = strdup("-i^C");
usr.bin/tset/tset.c
701
argv[0] = strdup("-k^U");
usr.bin/units/units.c
87
ret = strdup(str);
usr.bin/usbhidaction/usbhidaction.c
380
cmd->name = strdup(name);
usr.bin/usbhidaction/usbhidaction.c
381
cmd->action = strdup(action);
usr.bin/vi/cl/cl_main.c
78
OG_STR(gp, GO_TERM) = strdup(ttype)) == NULL)
usr.bin/vi/common/exf.c
1374
else if ((sp->alt_name = strdup(name)) == NULL)
usr.bin/vi/common/exf.c
207
if ((frp->tname = strdup(tname)) == NULL ||
usr.bin/vi/common/exf.c
208
(frp->name == NULL && (frp->name = strdup(tname)) == NULL)) {
usr.bin/vi/common/exf.c
254
if ((ep->rcv_path = strdup(rcv_name)) == NULL) {
usr.bin/vi/common/exf.c
98
(frp->name = strdup(name)) == NULL) {
usr.bin/vi/common/main.c
546
argv[0] = strdup("-c$");
usr.bin/vi/common/main.c
560
argv[0] = strdup("-s");
usr.bin/vi/common/options.c
707
if (LF_ISSET(OS_STRDUP) && (str = strdup(str)) == NULL) {
usr.bin/vi/common/recover.c
160
if ((ep->rcv_path = strdup(path)) == NULL) {
usr.bin/vi/common/recover.c
357
if ((ep->rcv_mpath = strdup(mpath)) == NULL) {
usr.bin/vi/common/recover.c
677
if ((recp = strdup(recpath)) == NULL) {
usr.bin/vi/common/recover.c
682
if ((pathp = strdup(path)) == NULL) {
usr.bin/vi/common/screen.c
67
(sp->alt_name = strdup(orig->alt_name)) == NULL)
usr.bin/vi/ex/ex_bang.c
67
if ((exp->lastbcomm = strdup(ap->bp)) == NULL) {
usr.bin/vi/ex/ex_init.c
59
(nexp->lastbcomm = strdup(oexp->lastbcomm)) == NULL) {
usr.bin/vi/ex/ex_read.c
116
strdup(cmdp->argv[argc]->bp)) == NULL) {
usr.bin/vi/ex/ex_tag.c
107
if ((exp->tag_last = strdup(cmdp->argv[0]->bp)) == NULL) {
usr.bin/vi/ex/ex_tag.c
645
(nexp->tag_last = strdup(oexp->tag_last)) == NULL) {
usr.bin/vi/ex/ex_tag.c
665
if ((tfp->name = strdup(otfp->name)) == NULL) {
usr.bin/vi/vi/v_ex.c
189
if ((name = strdup(sp->alt_name)) == NULL) {
usr.bin/vmstat/dkstats.c
542
cur.dk_name[i] = strdup(buf);
usr.bin/wall/wall.c
278
g->mem[i] = strdup(grp->gr_mem[i]);
usr.bin/which/which.c
114
if ((path = strdup(path)) == NULL)
usr.bin/whois/whois.c
252
nhost = strdup(ip_whois[i]);
usr.bin/xargs/xargs.c
449
if ((*tmp++ = strdup(*avj++)) == NULL)
usr.bin/xargs/xargs.c
467
if ((*tmp = strdup(*tmp)) == NULL)
usr.bin/yacc/main.c
197
defines_file_name = strdup(output_file_name);
usr.bin/yacc/symtab.c
78
bp->name = strdup(name);
usr.sbin/acme-client/certproc.c
104
if ((chain = strdup(chaincp)) == NULL) {
usr.sbin/acme-client/http.c
266
http->src.ip = strdup(addrs[cur].ip);
usr.sbin/acme-client/http.c
267
http->host = strdup(host);
usr.sbin/acme-client/http.c
268
http->path = strdup(path);
usr.sbin/acme-client/http.c
493
if ((buf = strdup(trans->hbuf)) == NULL) {
usr.sbin/acme-client/json.c
322
cp = strdup(n->d.obj[i].rhs->d.str);
usr.sbin/acme-client/json.c
458
if ((order->finalize = strdup(finalize)) == NULL)
usr.sbin/acme-client/json.c
477
if ((order->auths[i] = strdup(str)) == NULL) {
usr.sbin/acme-client/json.c
494
if ((order->certificate = strdup(certificate)) == NULL)
usr.sbin/acme-client/json.c
656
if ((p = strdup("{ \"identifiers\": [")) == NULL)
usr.sbin/acme-client/keyproc.c
172
if ((sans = strdup("")) == NULL) {
usr.sbin/acme-client/keyproc.c
56
if ((cp = strdup(value)) == NULL) {
usr.sbin/acme-client/main.c
109
if ((tmps = strdup(tmps)) == NULL)
usr.sbin/acme-client/main.c
113
if ((certdir = strdup(tmpsd)) == NULL)
usr.sbin/acme-client/main.c
147
if ((chngdir = strdup(WWW_DIR)) == NULL)
usr.sbin/acme-client/main.c
69
if ((conffile = strdup(optarg)) == NULL)
usr.sbin/acme-client/netproc.c
102
*path = strdup("");
usr.sbin/acme-client/netproc.c
286
} else if ((nonce = strdup(h->val)) == NULL) {
usr.sbin/acme-client/netproc.c
382
} else if ((nonce = strdup(h->val)) == NULL) {
usr.sbin/acme-client/netproc.c
398
*loc = strdup(h->val);
usr.sbin/acme-client/netproc.c
88
if ((url = strdup(host + 8)) == NULL) {
usr.sbin/acme-client/netproc.c
99
*path = strdup(ep);
usr.sbin/acme-client/parse.y
190
if ((s = strdup($2)) == NULL)
usr.sbin/acme-client/parse.y
222
if ((s = strdup($3)) == NULL)
usr.sbin/acme-client/parse.y
232
if ((s = strdup($3)) == NULL)
usr.sbin/acme-client/parse.y
243
if ((s = strdup($2)) == NULL)
usr.sbin/acme-client/parse.y
254
if ((s = strdup($2)) == NULL)
usr.sbin/acme-client/parse.y
273
if ((s = strdup(ip)) == NULL)
usr.sbin/acme-client/parse.y
276
if ((s = strdup(domain->handle)) ==
usr.sbin/acme-client/parse.y
320
if ((s = strdup(ip)) == NULL)
usr.sbin/acme-client/parse.y
328
if ((s = strdup($3)) == NULL)
usr.sbin/acme-client/parse.y
339
if ((s = strdup($3)) == NULL)
usr.sbin/acme-client/parse.y
359
if ((s = strdup($3)) == NULL)
usr.sbin/acme-client/parse.y
379
if ((s = strdup($4)) == NULL)
usr.sbin/acme-client/parse.y
394
if ((s = strdup($5)) == NULL)
usr.sbin/acme-client/parse.y
409
if ((s = strdup($3)) == NULL)
usr.sbin/acme-client/parse.y
424
if ((s = strdup($2)) == NULL)
usr.sbin/acme-client/parse.y
434
if ((s = strdup($2)) == NULL)
usr.sbin/acme-client/parse.y
454
if ((s = strdup(ip)) == NULL)
usr.sbin/acme-client/parse.y
462
if ((s = strdup($1)) == NULL)
usr.sbin/acme-client/parse.y
730
yylval.v.string = strdup(buf);
usr.sbin/acme-client/parse.y
789
if ((yylval.v.string = strdup(buf)) == NULL)
usr.sbin/acme-client/parse.y
812
if ((nfile->name = strdup(name)) == NULL) {
usr.sbin/acme-client/parse.y
927
sym->nam = strdup(nam);
usr.sbin/acme-client/parse.y
932
sym->val = strdup(val);
usr.sbin/amd/amd/afs_ops.c
1375
auto_opts = strdup(auto_opts);
usr.sbin/amd/amd/afs_ops.c
1464
pfname = strdup(pfname);
usr.sbin/amd/amd/afs_ops.c
1479
cp->def_opts = strdup(auto_opts);
usr.sbin/amd/amd/afs_ops.c
286
mp->am_pref = strdup(mf->mf_fo->opt_pref);
usr.sbin/amd/amd/afs_ops.c
86
return strdup(fo->opt_rfs ? fo->opt_rfs : ".");
usr.sbin/amd/amd/afs_ops.c
887
mp->am_link = strdup(link_dir);
usr.sbin/amd/amd/efs_ops.c
56
return strdup("(error-hook)");
usr.sbin/amd/amd/info_file.c
154
char *dc = strdup(cp);
usr.sbin/amd/amd/info_file.c
156
(*fn)(m, strdup(kp), dc);
usr.sbin/amd/amd/info_ndbm.c
59
*val = strdup(v.dptr);
usr.sbin/amd/amd/info_nis.c
80
domain = strdup(default_domain);
usr.sbin/amd/amd/info_passwd.c
141
*pval = strdup(val);
usr.sbin/amd/amd/info_passwd.c
73
*pval = strdup("type:=nfs");
usr.sbin/amd/amd/info_passwd.c
92
dir = strdup(pw->pw_dir);
usr.sbin/amd/amd/info_union.c
119
(*fn)(m, strdup(dp->d_name), val);
usr.sbin/amd/amd/info_union.c
131
(*fn)(m, strdup("*"), val);
usr.sbin/amd/amd/info_union.c
67
char *mapd = strdup(map + UNION_PREFLEN);
usr.sbin/amd/amd/info_union.c
83
char *mapd = strdup(map + UNION_PREFLEN);
usr.sbin/amd/amd/info_union.c
90
(*fn)(m, strdup("/defaults"),
usr.sbin/amd/amd/info_union.c
91
strdup("type:=link;opts:=nounmount;sublink:=${key}"));
usr.sbin/amd/amd/map.c
301
mp->am_name = strdup(dir);
usr.sbin/amd/amd/map.c
302
mp->am_path = strdup(dir);
usr.sbin/amd/amd/mapc.c
435
m->map_name = strdup(map);
usr.sbin/amd/amd/mapc.c
597
*pval = strdup(k->val);
usr.sbin/amd/amd/mapc.c
614
mapc_add_kv(m, strdup(key), strdup(*pval));
usr.sbin/amd/amd/mapc.c
645
*pval = strdup(m->wildcard);
usr.sbin/amd/amd/mapc.c
735
dir = strdup(dir);
usr.sbin/amd/amd/mapc.c
741
mapc_repl_kv(root_map, dir, strdup(str));
usr.sbin/amd/amd/mntfs.c
90
mf->mf_mount = strdup(mp);
usr.sbin/amd/amd/mntfs.c
91
mf->mf_info = strdup(info);
usr.sbin/amd/amd/mntfs.c
92
mf->mf_auto = strdup(auto_opts);
usr.sbin/amd/amd/mntfs.c
93
mf->mf_mopts = strdup(mopts);
usr.sbin/amd/amd/mntfs.c
94
mf->mf_remopts = strdup(remopts);
usr.sbin/amd/amd/mtab.c
103
new_mp->mnt_fsname = strdup(mp->f_mntfromname);
usr.sbin/amd/amd/mtab.c
104
new_mp->mnt_dir = strdup(mp->f_mntonname);
usr.sbin/amd/amd/mtab.c
105
new_mp->mnt_type = strdup(mp->f_fstypename);
usr.sbin/amd/amd/mtab.c
106
new_mp->mnt_opts = strdup("unset");
usr.sbin/amd/amd/nfs_ops.c
300
fp->fh_path = strdup(path);
usr.sbin/amd/amd/nfs_ops.c
478
xopts = strdup(mf->mf_remopts);
usr.sbin/amd/amd/nfs_ops.c
480
xopts = strdup(opts);
usr.sbin/amd/amd/nfsx_ops.c
168
info = strdup(mf->mf_info);
usr.sbin/amd/amd/opts.c
623
*p->opt = strdup(cp);
usr.sbin/amd/amd/opts.c
637
*p->opt = strdup(expbuf);
usr.sbin/amd/amd/pfs_ops.c
61
return strdup(prog ? prog+1 : fo->opt_mount);
usr.sbin/amd/amd/pfs_ops.c
71
mf->mf_private = strdup(mf->mf_fo->opt_unmount);
usr.sbin/amd/amd/pfs_ops.c
85
info = strdup(info);
usr.sbin/amd/amd/restart.c
109
mo.opt_rhost = strdup(me->mnt_fsname);
usr.sbin/amd/amd/restart.c
110
mo.opt_rfs = strdup(cp+1);
usr.sbin/amd/amd/restart.c
118
mo.opt_rhost = strdup(me->mnt_fsname);
usr.sbin/amd/amd/restart.c
119
mo.opt_rfs = strdup("/");
usr.sbin/amd/amd/sfs_ops.c
85
fullpath = strdup(link);
usr.sbin/amd/amd/sfs_ops.c
89
fullpath = strdup(fo->opt_fs);
usr.sbin/amd/amd/sfs_ops.c
97
return strdup(fo->opt_fs);
usr.sbin/amd/amd/srvr_afs.c
60
fs->fs_host = strdup("localhost");
usr.sbin/amd/amd/srvr_nfs.c
659
fs->fs_host = strdup(hp ? hp->h_name : "unknown_hostname");
usr.sbin/amd/amd/ufs_ops.c
68
return strdup(fo->opt_dev);
usr.sbin/amd/amd/util.c
514
char *p2 = strdup(path);
usr.sbin/amd/amd/util.c
562
char *xdp = strdup(dir);
usr.sbin/amd/amd/wire.c
116
netname = strdup(s);
usr.sbin/amd/amd/wire.c
120
return (netname ? netname : strdup(NO_SUBNET));
usr.sbin/amd/amd/wire.c
79
return strdup(NO_SUBNET);
usr.sbin/authpf/authpf.c
334
if ((path_message = strdup(PATH_MESSAGE)) == NULL)
usr.sbin/authpf/authpf.c
793
if ((fn = strdup(PATH_PFRULES)) == NULL)
usr.sbin/bgpctl/bgpctl.c
609
if ((p = strdup(descr)) == NULL)
usr.sbin/bgpctl/bgpctl.c
620
if ((p = strdup(ip)) == NULL)
usr.sbin/bgpctl/mrtparser.c
292
if ((p->view = strdup("")) == NULL)
usr.sbin/bgpctl/ometric.c
214
if ((l->value = strdup(*values)) == NULL)
usr.sbin/bgpctl/output.c
277
} else if ((s = strdup(log_addr(&p->conf.remote_addr))) == NULL)
usr.sbin/bgpctl/parser.c
1065
parseword = strdup(word);
usr.sbin/bgpctl/parser.c
733
char *p = strdup(word);
usr.sbin/bgpd/bgpd.c
1208
if ((cname = strdup(conf->csock)) == NULL)
usr.sbin/bgpd/bgpd.c
1229
if ((rcname = strdup(conf->rcsock)) == NULL)
usr.sbin/bgpd/carp.c
69
if ((c->group = strdup(group)) == NULL) {
usr.sbin/bgpd/config.c
530
if ((ps = strdup(s)) == NULL)
usr.sbin/bgpd/logmsg.c
44
if ((p = strdup(ip)) == NULL)
usr.sbin/bgpd/name2id.c
133
if ((label->name = strdup(name)) == NULL) {
usr.sbin/bgpd/parse.y
3908
yylval.v.string = strdup(buf);
usr.sbin/bgpd/parse.y
3993
if ((yylval.v.string = strdup(buf)) == NULL)
usr.sbin/bgpd/parse.y
4027
if ((nfile->name = strdup(name)) == NULL) {
usr.sbin/bgpd/parse.y
4267
sym->nam = strdup(nam);
usr.sbin/bgpd/parse.y
4272
sym->val = strdup(val);
usr.sbin/bgplgd/qs.c
197
ctx->qs_args[qs].string = strdup(val);
usr.sbin/bgplgd/qs.c
208
ctx->qs_args[qs].string = strdup(val);
usr.sbin/bgplgd/qs.c
219
ctx->qs_args[qs].string = strdup(val);
usr.sbin/bgplgd/qs.c
230
ctx->qs_args[qs].string = strdup(val);
usr.sbin/bgplgd/qs.c
244
ctx->qs_args[qs].string = strdup(val);
usr.sbin/bgplgd/qs.c
258
ctx->qs_args[qs].string = strdup(val);
usr.sbin/bgplgd/slowcgi.c
256
if ((path = strdup(getenv("PATH"))) == NULL)
usr.sbin/btrace/bt_parse.y
1053
if ((str = strdup(buf)) == NULL)
usr.sbin/btrace/bt_parse.y
1109
if ((yylval.v.string = strdup(buf)) == NULL)
usr.sbin/btrace/bt_parse.y
977
if ((yylval.v.string = strdup(buf)) == NULL)
usr.sbin/btrace/bt_parse.y
997
if ((yylval.v.string = strdup(buf)) == NULL)
usr.sbin/btrace/ksyms.c
192
syms->table[syms->nsymb].sym_name = strdup(name);
usr.sbin/config/main.c
352
p = strdup("machine");
usr.sbin/config/mkmakefile.c
152
if ((nam = n = strdup(_nam)) == NULL)
usr.sbin/cron/entry.c
410
if ((e->cmd = strdup(cmd)) == NULL) {
usr.sbin/cron/env.c
119
if ((envcopy = strdup(envstr)) == NULL)
usr.sbin/cron/env.c
66
if ((p[i] = strdup(envp[i])) == NULL) {
usr.sbin/cron/user.c
77
if ((u->name = strdup(name)) == NULL) {
usr.sbin/crunchgen/crunchgen.c
1027
p2->str = strdup(str);
usr.sbin/crunchgen/crunchgen.c
451
p2->name = strdup(progname);
usr.sbin/crunchgen/crunchgen.c
510
if ((p->ident = strdup(argv[3])) == NULL)
usr.sbin/crunchgen/crunchgen.c
515
if ((p->srcdir = strdup(argv[3])) == NULL)
usr.sbin/crunchgen/crunchgen.c
520
if ((p->mf_name = strdup(argv[3])) == NULL)
usr.sbin/crunchgen/crunchgen.c
525
if ((p->objdir = strdup(argv[3])) == NULL)
usr.sbin/crunchgen/crunchgen.c
602
p->srcdir = strdup(path);
usr.sbin/crunchgen/crunchgen.c
607
p->objdir = strdup(path);
usr.sbin/crunchgen/crunchgen.c
611
p->objdir = strdup(path);
usr.sbin/crunchgen/crunchgen.c
860
if ((n = strdup(str)) == NULL)
usr.sbin/crunchgen/crunchide.c
144
newp->sym = strdup(symbol);
usr.sbin/dhcpd/confpars.c
1009
vendor = strdup(val);
usr.sbin/dhcpd/confpars.c
1522
domain = strdup(val);
usr.sbin/dhcpd/confpars.c
272
share->name = strdup(n);
usr.sbin/dhcpd/confpars.c
673
name = strdup(val);
usr.sbin/dhcpd/memory.c
277
address_range[i].hostname = strdup(h->h_name);
usr.sbin/dhcpd/memory.c
826
tname = strdup(name);
usr.sbin/dhcpd/parse.c
146
s = strdup(val);
usr.sbin/dhcpd/parse.c
177
s = strdup(val);
usr.sbin/dhcpd/parse.c
367
t = strdup(val);
usr.sbin/dhcpd/sync.c
94
shost->h_name = strdup(name);
usr.sbin/dvmrpd/parse.y
594
yylval.v.string = strdup(buf);
usr.sbin/dvmrpd/parse.y
653
if ((yylval.v.string = strdup(buf)) == NULL)
usr.sbin/dvmrpd/parse.y
695
if ((nfile->name = strdup(name)) == NULL) {
usr.sbin/dvmrpd/parse.y
816
sym->nam = strdup(nam);
usr.sbin/dvmrpd/parse.y
821
sym->val = strdup(val);
usr.sbin/eeprom/main.c
122
keyword = strdup(line);
usr.sbin/eigrpd/parse.y
1076
sym->nam = strdup(nam);
usr.sbin/eigrpd/parse.y
1081
sym->val = strdup(val);
usr.sbin/eigrpd/parse.y
1294
if ((ps = strdup(s)) == NULL)
usr.sbin/eigrpd/parse.y
843
yylval.v.string = strdup(buf);
usr.sbin/eigrpd/parse.y
902
if ((yylval.v.string = strdup(buf)) == NULL)
usr.sbin/eigrpd/parse.y
944
if ((nfile->name = strdup(name)) == NULL) {
usr.sbin/hostapd/parse.y
1530
yylval.v.string = strdup(buf);
usr.sbin/hostapd/parse.y
1613
if ((yylval.v.string = strdup(buf)) == NULL)
usr.sbin/hostapd/parse.y
1649
sym->nam = strdup(nam);
usr.sbin/hostapd/parse.y
1654
sym->val = strdup(val);
usr.sbin/hostapd/parse.y
1735
if ((nfile->name = strdup(name)) == NULL) {
usr.sbin/httpd/config.c
614
strdup(parent->return_uri)) == NULL)
usr.sbin/httpd/httpd.c
1039
} else if ((kv->kv_value = strdup(value)) == NULL)
usr.sbin/httpd/httpd.c
1094
(entry->media_encoding = strdup(media->media_encoding)) == NULL) {
usr.sbin/httpd/httpd.c
941
if ((kv->kv_key = strdup(key)) == NULL) {
usr.sbin/httpd/httpd.c
946
(kv->kv_value = strdup(value)) == NULL) {
usr.sbin/httpd/parse.y
1723
yylval.v.string = strdup(buf);
usr.sbin/httpd/parse.y
1782
if ((yylval.v.string = strdup(buf)) == NULL)
usr.sbin/httpd/parse.y
1824
if ((nfile->name = strdup(name)) == NULL) {
usr.sbin/httpd/parse.y
2013
sym->nam = strdup(nam);
usr.sbin/httpd/parse.y
2018
sym->val = strdup(val);
usr.sbin/httpd/parse.y
2309
strdup(src->srv_conf.tls_cert_file)) == NULL)
usr.sbin/httpd/parse.y
2312
strdup(src->srv_conf.tls_key_file)) == NULL)
usr.sbin/httpd/parse.y
2316
strdup(src->srv_conf.tls_ocsp_staple_file)) == NULL)
usr.sbin/httpd/parse.y
2322
strdup(src->srv_conf.return_uri)) == NULL)
usr.sbin/httpd/parse.y
284
strdup(HTTPD_TLS_CERT)) == NULL)
usr.sbin/httpd/parse.y
287
strdup(HTTPD_TLS_KEY)) == NULL)
usr.sbin/httpd/parse.y
870
if ((srv_conf->tls_cert_file = strdup($2)) == NULL)
usr.sbin/httpd/parse.y
876
if ((srv_conf->tls_key_file = strdup($2)) == NULL)
usr.sbin/httpd/parse.y
882
if ((srv_conf->tls_ocsp_staple_file = strdup($2))
usr.sbin/httpd/parse.y
900
if ((srv_conf->tls_ca_file = strdup($3)) == NULL)
usr.sbin/httpd/parse.y
956
if ((srv_conf->tls_crl_file = strdup($3)) == NULL)
usr.sbin/httpd/server_fcgi.c
761
if ((name = strdup(key)) == NULL)
usr.sbin/httpd/server_http.c
1223
str = strdup("");
usr.sbin/httpd/server_http.c
1303
(desc->http_path_orig = strdup(desc->http_path)) == NULL)
usr.sbin/httpd/server_http.c
1314
if ((desc->http_path = strdup(path)) == NULL)
usr.sbin/httpd/server_http.c
1408
if ((desc->http_host = strdup(hostname)) == NULL)
usr.sbin/httpd/server_http.c
1413
if ((resp->http_version = strdup(desc->http_version)) == NULL)
usr.sbin/httpd/server_http.c
1438
if ((desc->http_query_alias = strdup(query)) == NULL)
usr.sbin/httpd/server_http.c
1452
if ((desc->http_path_alias = strdup(path)) == NULL)
usr.sbin/httpd/server_http.c
156
if ((clt->clt_remote_user = strdup(clt_user)) == NULL)
usr.sbin/httpd/server_http.c
335
desc->http_path = strdup(value);
usr.sbin/httpd/server_http.c
365
strdup("HTTP/1.1")) == NULL)
usr.sbin/httpd/server_http.c
369
strdup(http_version)) == NULL)
usr.sbin/httpd/server_http.c
377
if ((desc->http_query = strdup(query)) == NULL)
usr.sbin/ifstated/parse.y
588
yylval.v.string = strdup(buf);
usr.sbin/ifstated/parse.y
647
if ((yylval.v.string = strdup(buf)) == NULL)
usr.sbin/ifstated/parse.y
689
if ((nfile->name = strdup(name)) == NULL) {
usr.sbin/ifstated/parse.y
853
sym->nam = strdup(nam);
usr.sbin/ifstated/parse.y
858
sym->val = strdup(val);
usr.sbin/ifstated/parse.y
979
if ((external->command = strdup(command)) == NULL)
usr.sbin/ikectl/ikeca.c
1063
p = strdup(value);
usr.sbin/ikectl/ikeca.c
1115
ca->caname = strdup(caname);
usr.sbin/ikectl/ikeca.c
367
p = dir = strdup(KEYBASE);
usr.sbin/ikectl/ikeca.c
399
p = dir = strdup(KEYBASE);
usr.sbin/ikectl/ikeca.c
517
p = dir = strdup(KEYBASE);
usr.sbin/ikectl/parser.c
320
res.path = strdup(word);
usr.sbin/ikectl/parser.c
327
res.caname = strdup(word);
usr.sbin/ikectl/parser.c
334
res.peer = strdup(word);
usr.sbin/ikectl/parser.c
342
res.host = strdup(word);
usr.sbin/ikectl/parser.c
353
res.pass = strdup(word);
usr.sbin/ikectl/parser.c
360
res.id = strdup(word);
usr.sbin/inetd/inetd.c
1350
if ((cp = strdup(cp ? cp : "")))
usr.sbin/iscsictl/parse.y
261
if (($2.port = strdup("iscsi")) == NULL) {
usr.sbin/iscsictl/parse.y
578
yylval.v.string = strdup(buf);
usr.sbin/iscsictl/parse.y
637
if ((yylval.v.string = strdup(buf)) == NULL)
usr.sbin/iscsictl/parse.y
659
if ((nfile->name = strdup(name)) == NULL) {
usr.sbin/iscsictl/parse.y
792
sym->nam = strdup(nam);
usr.sbin/iscsictl/parse.y
797
sym->val = strdup(val);
usr.sbin/iscsid/session.c
101
s->config.InitiatorName = strdup(sc->InitiatorName);
usr.sbin/iscsid/session.c
96
s->config.TargetName = strdup(sc->TargetName);
usr.sbin/ldapd/auth.c
291
if ((req->conn->pending_binddn = strdup(authcid)) == NULL)
usr.sbin/ldapd/auth.c
366
if ((req->conn->binddn = strdup(binddn)) == NULL)
usr.sbin/ldapd/auth.c
372
if ((req->conn->pending_binddn = strdup(binddn)) == NULL)
usr.sbin/ldapd/btree.c
1157
bt->path = strdup(path);
usr.sbin/ldapd/parse.y
1212
ns->suffix = strdup(suffix);
usr.sbin/ldapd/parse.y
349
| ROOT { $$ = strdup(""); }
usr.sbin/ldapd/parse.y
360
| BY SELF { $$ = strdup("@"); }
usr.sbin/ldapd/parse.y
681
yylval.v.string = strdup(buf);
usr.sbin/ldapd/parse.y
740
if ((yylval.v.string = strdup(buf)) == NULL)
usr.sbin/ldapd/parse.y
784
if ((nfile->name = strdup(name)) == NULL) {
usr.sbin/ldapd/parse.y
901
sym->nam = strdup(nam);
usr.sbin/ldapd/parse.y
906
sym->val = strdup(val);
usr.sbin/ldapd/schema.c
157
return strdup(symoid->oid);
usr.sbin/ldapd/schema.c
390
if (kw != NULL && (*kw = strdup(buf)) == NULL)
usr.sbin/ldapd/schema.c
411
if (kw != NULL && (*kw = strdup(buf)) == NULL)
usr.sbin/ldapd/validate.c
110
if ((copy = strdup(dn)) == NULL)
usr.sbin/ldomctl/util.c
66
p = strdup(s);
usr.sbin/ldpd/parse.y
1157
yylval.v.string = strdup(buf);
usr.sbin/ldpd/parse.y
1216
if ((yylval.v.string = strdup(buf)) == NULL)
usr.sbin/ldpd/parse.y
1258
if ((nfile->name = strdup(name)) == NULL) {
usr.sbin/ldpd/parse.y
1390
sym->nam = strdup(nam);
usr.sbin/ldpd/parse.y
1395
sym->val = strdup(val);
usr.sbin/lpd/engine_lpr.c
508
if ((j->hostfrom = strdup(hostfrom)) == NULL) {
usr.sbin/lpd/engine_lpr.c
570
if ((j->cfname = strdup(fname)) == NULL) {
usr.sbin/lpd/engine_lpr.c
618
if ((f->dfname = strdup(filename)) == NULL) {
usr.sbin/lpd/frontend_lpr.c
262
conn->cmd = strdup(cmd);
usr.sbin/lpd/lp.c
148
lp->lp_name = strdup(buf);
usr.sbin/lpd/lp.c
214
lp->lp_port = strdup(LP_LP(lp));
usr.sbin/lpd/lp.c
351
if ((qe[nqe].name = strdup(d->d_name)) == NULL) {
usr.sbin/lpd/lp_stty.c
518
p = strdup(lp->lp_ms);
usr.sbin/lpd/lp_stty.c
522
if ((*ap++ = strdup(val)) == NULL)
usr.sbin/lpd/parse.y
448
yylval.v.string = strdup(buf);
usr.sbin/lpd/parse.y
514
if ((yylval.v.string = strdup(buf)) == NULL)
usr.sbin/lpd/parse.y
556
if ((nfile->name = strdup(name)) == NULL) {
usr.sbin/lpd/parse.y
664
sym->nam = strdup(nam);
usr.sbin/lpd/parse.y
669
sym->val = strdup(val);
usr.sbin/lpd/printer.c
315
if ((r = strdup(s)) == NULL)
usr.sbin/lpd/printer.c
427
job.name = strdup(line + 1);
usr.sbin/lpd/printer.c
429
job.name = strdup(" ");
usr.sbin/lpd/proc.c
167
p->title = strdup(title);
usr.sbin/lpd/resolver.c
259
ai->ai_canonname = strdup(cname);
usr.sbin/lpr/lpd/lpd.c
167
blist[blist_addrs] = strdup(optarg);
usr.sbin/lpr/lpd/printjob.c
1551
p = strdup(MS);
usr.sbin/lpr/lpd/printjob.c
1555
if ((*ap++ = strdup(val)) == NULL) {
usr.sbin/lpr/lpr/lpr.c
258
if ((person = strdup(pw->pw_name)) == NULL)
usr.sbin/makefs/msdos/mkfs_msdos.c
433
if (!(bname = strdup(buf))) {
usr.sbin/makefs/xmalloc.c
42
if ((s2 = strdup(s)) == NULL)
usr.sbin/memconfig/memconfig.c
167
if (!(owner = strdup(optarg)))
usr.sbin/memconfig/memconfig.c
289
if (!(owner = strdup(optarg)))
usr.sbin/mrouted/cfparse.y
209
boundlist[numbounds].name = strdup($2);
usr.sbin/mtree/spec.c
189
ip->md5digest = strdup(val);
usr.sbin/mtree/spec.c
226
ip->rmd160digest = strdup(val);
usr.sbin/mtree/spec.c
231
ip->sha1digest = strdup(val);
usr.sbin/mtree/spec.c
236
ip->sha256digest = strdup(val);
usr.sbin/npppd/common/addr_range.c
229
if ((p0 = strdup(str)) == NULL) {
usr.sbin/npppd/npppd/parse.y
1345
yylval.v.string = strdup(buf);
usr.sbin/npppd/npppd/parse.y
1404
if ((yylval.v.string = strdup(buf)) == NULL)
usr.sbin/npppd/npppd/parse.y
1426
if ((nfile->name = strdup(name)) == NULL) {
usr.sbin/nsd/dnstap/dnstap.c
160
dtw->ip = strdup(ip);
usr.sbin/nsd/dnstap/dnstap.c
244
dtw->tls_server_name = strdup(tls_server_name);
usr.sbin/nsd/dnstap/dnstap.c
638
env->identity = strdup(buf);
usr.sbin/nsd/dnstap/dnstap.c
643
env->identity = strdup(cfg->dnstap_identity);
usr.sbin/nsd/dnstap/dnstap.c
659
env->version = strdup(PACKAGE_STRING);
usr.sbin/nsd/dnstap/dnstap.c
661
env->version = strdup(cfg->dnstap_version);
usr.sbin/nsd/ixfr.c
1066
ixfr_store->data->log_str = strdup(log_buf);
usr.sbin/nsd/ixfrcreate.c
182
ixfrcr->file_name = strdup(buf);
usr.sbin/nsd/ixfrcreate.c
967
store->data->log_str = strdup(log_buf);
usr.sbin/nsd/metrics.c
249
hl->ident = strdup(ip);
usr.sbin/nsd/remote.c
513
hl->ident = strdup(ip);
usr.sbin/nsd/udb.c
83
udb->fname = strdup(fname);
usr.sbin/nsd/util.c
310
char *result = strdup(src);
usr.sbin/ntpd/config.c
168
if ((s->device = strdup(device)) == NULL)
usr.sbin/ntpd/constraint.c
800
ncstr->addr_head.name = strdup(cstr->addr_head.name);
usr.sbin/ntpd/constraint.c
801
ncstr->addr_head.path = strdup(cstr->addr_head.path);
usr.sbin/ntpd/constraint.c
925
if ((httpsdate->tls_addr = strdup(addr)) == NULL ||
usr.sbin/ntpd/constraint.c
926
(httpsdate->tls_port = strdup(port)) == NULL ||
usr.sbin/ntpd/constraint.c
927
(httpsdate->tls_hostname = strdup(hostname)) == NULL ||
usr.sbin/ntpd/constraint.c
928
(httpsdate->tls_path = strdup(path)) == NULL)
usr.sbin/ntpd/parse.y
192
p->addr_head.name = strdup($2->name);
usr.sbin/ntpd/parse.y
233
p->addr_head.name = strdup($2->name);
usr.sbin/ntpd/parse.y
268
p->addr_head.name = strdup($3->name);
usr.sbin/ntpd/parse.y
269
p->addr_head.path = strdup($3->path);
usr.sbin/ntpd/parse.y
306
p->addr_head.name = strdup($3->name);
usr.sbin/ntpd/parse.y
307
p->addr_head.path = strdup($3->path);
usr.sbin/ntpd/parse.y
388
if (($$->path = strdup(path)) == NULL)
usr.sbin/ntpd/parse.y
393
if (($$->name = strdup(hname)) == NULL)
usr.sbin/ntpd/parse.y
397
($$->path = strdup("/")) == NULL)
usr.sbin/ntpd/parse.y
707
yylval.v.string = strdup(buf);
usr.sbin/ntpd/parse.y
766
if ((yylval.v.string = strdup(buf)) == NULL)
usr.sbin/ntpd/parse.y
788
if ((nfile->name = strdup(name)) == NULL) {
usr.sbin/ntpd/sensors.c
138
if ((s->device = strdup(dxname)) == NULL)
usr.sbin/ocspcheck/http.c
289
http->src.ip = strdup(addrs[cur].ip);
usr.sbin/ocspcheck/http.c
290
http->host = strdup(host);
usr.sbin/ocspcheck/http.c
291
http->path = strdup(path);
usr.sbin/ocspcheck/http.c
509
if ((buf = strdup(trans->hbuf)) == NULL) {
usr.sbin/ocspcheck/ocspcheck.c
137
if ((url = strdup(host + 8)) == NULL) {
usr.sbin/ocspcheck/ocspcheck.c
143
if ((url = strdup(host + 7)) == NULL) {
usr.sbin/ocspcheck/ocspcheck.c
155
*path = strdup(ep);
usr.sbin/ocspcheck/ocspcheck.c
158
*path = strdup("/");
usr.sbin/ocspcheck/ocspcheck.c
358
if ((request->url = strdup(sk_OPENSSL_STRING_value(urls, 0))) == NULL)
usr.sbin/ospf6ctl/ospf6ctl.c
1155
if ((header = strdup("External Routing Table")) == NULL)
usr.sbin/ospf6d/carp.c
68
if ((c->group = strdup(group)) == NULL) {
usr.sbin/ospf6d/name2id.c
121
if ((label->name = strdup(name)) == NULL) {
usr.sbin/ospf6d/parse.y
1111
sym->nam = strdup(nam);
usr.sbin/ospf6d/parse.y
1116
sym->val = strdup(val);
usr.sbin/ospf6d/parse.y
871
yylval.v.string = strdup(buf);
usr.sbin/ospf6d/parse.y
930
if ((yylval.v.string = strdup(buf)) == NULL)
usr.sbin/ospf6d/parse.y
972
if ((nfile->name = strdup(name)) == NULL) {
usr.sbin/ospfctl/output.c
130
if ((header = strdup("External Routing Table")) == NULL)
usr.sbin/ospfctl/output.c
441
if ((header = strdup("Type-5 AS External Link States")) == NULL)
usr.sbin/ospfctl/output.c
452
if ((header = strdup("Type-11 AS Wide Opaque Link States")) ==
usr.sbin/ospfd/carp.c
68
if ((c->group = strdup(group)) == NULL) {
usr.sbin/ospfd/name2id.c
121
if ((label->name = strdup(name)) == NULL) {
usr.sbin/ospfd/parse.y
1062
yylval.v.string = strdup(buf);
usr.sbin/ospfd/parse.y
1121
if ((yylval.v.string = strdup(buf)) == NULL)
usr.sbin/ospfd/parse.y
1163
if ((nfile->name = strdup(name)) == NULL) {
usr.sbin/ospfd/parse.y
1304
sym->nam = strdup(nam);
usr.sbin/ospfd/parse.y
1309
sym->val = strdup(val);
usr.sbin/pppd/chat/chat.c
244
if ((chat_file = strdup(optarg)) == NULL)
usr.sbin/pppd/chat/chat.c
257
if ((report_file = strdup(optarg)) == NULL)
usr.sbin/pppd/chat/chat.c
269
if ((phone_num = strdup(optarg)) == NULL)
usr.sbin/pppd/chat/chat.c
274
phone_num2 = strdup(optarg);
usr.sbin/pppd/chat/chat.c
275
if ((phone_num2 = strdup(optarg)) == NULL)
usr.sbin/pppd/options.c
1224
cbcp[0].us_number = strdup(*argv);
usr.sbin/pppd/options.c
1364
connector = strdup(*argv);
usr.sbin/pppd/options.c
1379
disconnector = strdup(*argv);
usr.sbin/pppd/options.c
1394
welcomer = strdup(*argv);
usr.sbin/pppd/options.c
2082
ipparam = strdup(*argv);
usr.sbin/pppd/options.c
86
char *strdup(char *);
usr.sbin/pwd_mkdb/pwd_mkdb.c
170
if ((pname = strdup(changedir(*argv, basedir))) == NULL)
usr.sbin/quot/quot.c
244
usr->name = strdup(name);
usr.sbin/rad/parse.y
1020
sym->nam = strdup(nam);
usr.sbin/rad/parse.y
1025
sym->val = strdup(val);
usr.sbin/rad/parse.y
752
yylval.v.string = strdup(buf);
usr.sbin/rad/parse.y
811
if ((yylval.v.string = strdup(buf)) == NULL)
usr.sbin/rad/parse.y
853
if ((nfile->name = strdup(name)) == NULL) {
usr.sbin/radiusd/parse.y
387
| SECRET { $$ = strdup("secret"); }
usr.sbin/radiusd/parse.y
780
yylval.v.string = strdup(buf);
usr.sbin/radiusd/parse.y
839
if ((yylval.v.string = strdup(buf)) == NULL)
usr.sbin/radiusd/parse.y
861
if ((nfile->name = strdup(name)) == NULL) {
usr.sbin/radiusd/radiusd.c
1421
module->secret = strdup(imsg->data);
usr.sbin/radiusd/radiusd_bsdauth.c
303
if ((groups[i] = strdup(argv[i])) == NULL) {
usr.sbin/radiusd/radiusd_ipcp.c
1888
buf = strdup(range);
usr.sbin/radiusd/radiusd_ipcp.c
2074
if ((str = strdup(str0)) == NULL)
usr.sbin/rbootd/utils.c
314
stmp = strdup(str);
usr.sbin/relayctl/parser.c
229
res->path = strdup(word);
usr.sbin/relayd/carp.c
72
if ((c->group = strdup(group)) == NULL) {
usr.sbin/relayd/name2id.c
130
if ((label->name = strdup(name)) == NULL) {
usr.sbin/relayd/parse.y
1325
if ((proto->tlscapass = strdup($5)) == NULL) {
usr.sbin/relayd/parse.y
1509
rule->rule_kv[keytype].kv_key = strdup($3);
usr.sbin/relayd/parse.y
1512
strdup($4) : strdup("*"));
usr.sbin/relayd/parse.y
1531
rule->rule_kv[keytype].kv_key = strdup($3);
usr.sbin/relayd/parse.y
1533
strdup($4) : strdup("*"));
usr.sbin/relayd/parse.y
1550
rule->rule_kv[keytype].kv_key = strdup($3);
usr.sbin/relayd/parse.y
1552
strdup($4) : strdup("*"));
usr.sbin/relayd/parse.y
1595
rule->rule_kv[keytype].kv_key = strdup($3);
usr.sbin/relayd/parse.y
1597
strdup($4) : strdup("*"));
usr.sbin/relayd/parse.y
1634
rule->rule_kv[keytype].kv_key = strdup($3.digest);
usr.sbin/relayd/parse.y
1637
strdup($4) : strdup("*"));
usr.sbin/relayd/parse.y
1788
strdup($3)) == NULL)
usr.sbin/relayd/parse.y
253
$$ = strdup("");
usr.sbin/relayd/parse.y
2736
yylval.v.string = strdup(buf);
usr.sbin/relayd/parse.y
2795
if ((yylval.v.string = strdup(buf)) == NULL)
usr.sbin/relayd/parse.y
2837
if ((nfile->name = strdup(name)) == NULL) {
usr.sbin/relayd/parse.y
305
if ((proto->style = strdup($2)) == NULL)
usr.sbin/relayd/parse.y
3079
sym->nam = strdup(nam);
usr.sbin/relayd/parse.y
3084
sym->val = strdup(val);
usr.sbin/relayd/parse.y
377
table->sendbuf = strdup($1);
usr.sbin/relayd/parse.y
393
table->sendbuf = strdup($1);
usr.sbin/relayd/relay_http.c
1004
if ((val = strdup(desc->http_query)) == NULL) {
usr.sbin/relayd/relay_http.c
1029
match->kv_key = strdup(tmpkey);
usr.sbin/relayd/relay_http.c
1032
match->kv_value = strdup(tmpval);
usr.sbin/relayd/relay_http.c
2055
desc->http_version = strdup(key);
usr.sbin/relayd/relay_http.c
2059
desc->http_rescode = strdup(value);
usr.sbin/relayd/relay_http.c
2068
desc->http_resmesg = strdup(desc->http_resmesg);
usr.sbin/relayd/relay_http.c
2099
desc->http_path = strdup(value);
usr.sbin/relayd/relay_http.c
2117
if ((desc->http_version = strdup(desc->http_version)) == NULL)
usr.sbin/relayd/relay_http.c
2121
strdup(desc->http_query)) == NULL)
usr.sbin/relayd/relay_http.c
901
if ((pp = strdup(desc->http_path)) == NULL) {
usr.sbin/relayd/relay_http.c
947
if ((val = strdup(str)) == NULL) {
usr.sbin/relayd/relayd.c
1612
if ((proto = strdup(url)) == NULL)
usr.sbin/relayd/relayd.c
1618
if (*p == '\0' || (host = strdup(p)) == NULL)
usr.sbin/relayd/relayd.c
1625
if ((path = strdup(p)) == NULL)
usr.sbin/relayd/relayd.c
639
if ((kv->kv_key = strdup(key)) == NULL)
usr.sbin/relayd/relayd.c
642
(kv->kv_value = strdup(value)) == NULL)
usr.sbin/relayd/relayd.c
743
} else if ((kv->kv_value = strdup(value)) == NULL)
usr.sbin/relayd/relayd.c
779
if ((dst->kv_key = strdup(src->kv_key)) == NULL) {
usr.sbin/relayd/relayd.c
785
if ((dst->kv_value = strdup(src->kv_value)) == NULL) {
usr.sbin/relayd/relayd.c
865
if ((val = strdup(match->kv_value)) == NULL)
usr.sbin/relayd/relayd.c
915
(kv->kv_key = strdup("*")) == NULL)
usr.sbin/relayd/relayd.c
961
if ((kv->kv_key = strdup(buf)) == NULL) {
usr.sbin/ripd/carp.c
68
if ((c->group = strdup(group)) == NULL) {
usr.sbin/ripd/name2id.c
109
if ((label->name = strdup(name)) == NULL) {
usr.sbin/ripd/parse.y
629
yylval.v.string = strdup(buf);
usr.sbin/ripd/parse.y
688
if ((yylval.v.string = strdup(buf)) == NULL)
usr.sbin/ripd/parse.y
730
if ((nfile->name = strdup(name)) == NULL) {
usr.sbin/ripd/parse.y
843
sym->nam = strdup(nam);
usr.sbin/ripd/parse.y
848
sym->val = strdup(val);
usr.sbin/route6d/route6d.c
3109
q = strdup(p);
usr.sbin/rpki-client/ccr.c
766
if ((ccr_mft->sia = strdup(mft->sia)) == NULL)
usr.sbin/rpki-client/ccr.c
769
if ((ccr_mft->seqnum = strdup(mft->seqnum)) == NULL)
usr.sbin/rpki-client/cert.c
2363
if ((b->ski = strdup(cert->ski)) == NULL)
usr.sbin/rpki-client/cert.c
2365
if ((b->pubkey = strdup(cert->pubkey)) == NULL)
usr.sbin/rpki-client/cert.c
2439
if ((nca->location = strdup(cert->path)) == NULL)
usr.sbin/rpki-client/cert.c
2441
if ((nca->carepo = strdup(cert->repo)) == NULL)
usr.sbin/rpki-client/cert.c
2443
if ((nca->mfturi = strdup(cert->mft)) == NULL)
usr.sbin/rpki-client/cert.c
2445
if ((nca->ski = strdup(cert->ski)) == NULL)
usr.sbin/rpki-client/filemode.c
74
if ((up->uri = strdup(uri)) == NULL)
usr.sbin/rpki-client/http.c
1357
if ((mod_since = strdup(conn->req->modified_since)) == NULL)
usr.sbin/rpki-client/http.c
1414
locbase = strdup(conn->req->path);
usr.sbin/rpki-client/http.c
1436
} else if ((redirurl = strdup(cp)) == NULL)
usr.sbin/rpki-client/http.c
1475
if ((conn->last_modified = strdup(cp)) == NULL)
usr.sbin/rpki-client/http.c
460
if ((cookie = strdup("")) == NULL)
usr.sbin/rpki-client/http.c
463
if ((proxy.proxyhost = strdup(host)) == NULL)
usr.sbin/rpki-client/http.c
465
if ((proxy.proxyport = strdup(port)) == NULL)
usr.sbin/rpki-client/http.c
524
if ((port = strdup("443")) == NULL)
usr.sbin/rpki-client/http.c
846
if ((conn->host = strdup(req->host)) == NULL)
usr.sbin/rpki-client/http.c
848
if ((conn->port = strdup(req->port)) == NULL)
usr.sbin/rpki-client/main.c
440
if ((npath = strdup(mft->path)) == NULL)
usr.sbin/rpki-client/main.c
442
if ((nfile = strdup(f->file)) == NULL)
usr.sbin/rpki-client/main.c
444
if ((mftaki = strdup(mft->aki)) == NULL)
usr.sbin/rpki-client/main.c
468
if ((nfile = strdup(file)) == NULL)
usr.sbin/rpki-client/main.c
487
if ((taldescs[tal->id] = strdup(tal->descr)) == NULL)
usr.sbin/rpki-client/main.c
493
if ((nfile = strdup(nfile + 1)) == NULL)
usr.sbin/rpki-client/main.c
566
if ((nfile = strdup(uri)) == NULL)
usr.sbin/rpki-client/main.c
571
if ((nfile = strdup(file + 1)) == NULL)
usr.sbin/rpki-client/main.c
914
if ((le->fqdn = strdup(line)) == NULL)
usr.sbin/rpki-client/main.c
941
if ((le->fqdn = strdup(fqdn)) == NULL)
usr.sbin/rpki-client/mft.c
398
if ((mft->aki = strdup(cert->aki)) == NULL)
usr.sbin/rpki-client/mft.c
400
if ((mft->sia = strdup(cert->signedobj)) == NULL)
usr.sbin/rpki-client/mft.c
421
if ((mft->crl = strdup(crlfile)) == NULL)
usr.sbin/rpki-client/mkdir.c
52
if ((path = strdup(dir)) == NULL)
usr.sbin/rpki-client/ometric.c
214
if ((l->value = strdup(*values)) == NULL)
usr.sbin/rpki-client/parser.c
100
if ((rp->validpath = strdup(validpath)) == NULL)
usr.sbin/rpki-client/parser.c
345
if ((crl->mftpath = strdup(mft->sia)) == NULL)
usr.sbin/rpki-client/parser.c
396
if ((mft->path = strdup(entp->path)) == NULL)
usr.sbin/rpki-client/parser.c
708
if ((cert1->path = strdup(file2)) == NULL)
usr.sbin/rpki-client/parser.c
727
if ((cert2->path = strdup(file2)) == NULL)
usr.sbin/rpki-client/parser.c
98
if ((rp->path = strdup(path)) == NULL)
usr.sbin/rpki-client/repo.c
1190
if ((rp->repouri = strdup(tal->uri[0])) == NULL)
usr.sbin/rpki-client/repo.c
1245
if ((rp->notifyuri = strdup(notify)) == NULL)
usr.sbin/rpki-client/repo.c
1334
if ((path = strdup(rp->ta->basedir)) == NULL)
usr.sbin/rpki-client/repo.c
1337
if ((path = strdup(rp->rsync->basedir)) == NULL)
usr.sbin/rpki-client/repo.c
1344
if ((path = strdup(rp->basedir)) == NULL)
usr.sbin/rpki-client/repo.c
148
if ((fp->file = strdup(file)) == NULL)
usr.sbin/rpki-client/repo.c
1795
if ((fp->file = strdup(fn)) == NULL)
usr.sbin/rpki-client/repo.c
258
if ((out = strdup(local)) == NULL)
usr.sbin/rpki-client/repo.c
431
if ((tr->descr = strdup(tal->descr)) == NULL)
usr.sbin/rpki-client/repo.c
553
if ((nfile = strdup(uri)) == NULL)
usr.sbin/rpki-client/repo.c
708
if ((state->session_id = strdup(line)) == NULL)
usr.sbin/rpki-client/repo.c
730
if ((state->last_mod = strdup(line)) == NULL)
usr.sbin/rpki-client/repo.c
739
if ((state->deltas[deltacnt++] = strdup(line)) == NULL)
usr.sbin/rpki-client/repo.c
910
if ((rr->notifyuri = strdup(uri)) == NULL)
usr.sbin/rpki-client/rrdp.c
82
if ((r = strdup(s)) == NULL)
usr.sbin/rpki-client/rsync.c
274
if ((path = strdup(getenv("PATH"))) == NULL)
usr.sbin/rpki-client/rsync.c
95
if ((base_uri = strdup(uri)) == NULL)
usr.sbin/rpki-client/tal.c
103
tal->uri[tal->num_uris] = strdup(line);
usr.sbin/sasyncd/conf.y
338
yylval.string = strdup(confptr);
usr.sbin/sasyncd/conf.y
420
cfgstate.carp_ifgroup = strdup("carp");
usr.sbin/sasyncd/timer.c
123
new->name = strdup(name); /* We handle failures here. */
usr.sbin/smtpd/control.c
328
if ((c->mproc.name = strdup(proc_title(c->mproc.proc))) == NULL)
usr.sbin/smtpd/mail.lmtp.c
127
if ((destcopy = strdup(destination)) == NULL)
usr.sbin/smtpd/mailaddr.c
76
if ((buffer = strdup(s)) == NULL)
usr.sbin/smtpd/mproc.c
632
if ((tmp = strdup(value)) == NULL)
usr.sbin/smtpd/mta.c
1113
relay->secret = strdup(secret);
usr.sbin/smtpd/parse.y
1053
rule->table_tag = strdup(t->t_name);
usr.sbin/smtpd/parse.y
1072
rule->table_tag = strdup(t->t_name);
usr.sbin/smtpd/parse.y
1090
rule->table_smtp_helo = strdup(t->t_name);
usr.sbin/smtpd/parse.y
1108
rule->table_smtp_helo = strdup(t->t_name);
usr.sbin/smtpd/parse.y
1139
rule->table_smtp_auth = strdup(t->t_name);
usr.sbin/smtpd/parse.y
1157
rule->table_smtp_auth = strdup(t->t_name);
usr.sbin/smtpd/parse.y
1174
rule->table_smtp_mail_from = strdup(t->t_name);
usr.sbin/smtpd/parse.y
1192
rule->table_smtp_mail_from = strdup(t->t_name);
usr.sbin/smtpd/parse.y
1209
rule->table_smtp_rcpt_to = strdup(t->t_name);
usr.sbin/smtpd/parse.y
1227
rule->table_smtp_rcpt_to = strdup(t->t_name);
usr.sbin/smtpd/parse.y
1246
rule->table_from = strdup(t->t_name);
usr.sbin/smtpd/parse.y
1256
rule->table_from = strdup(t->t_name);
usr.sbin/smtpd/parse.y
1273
rule->table_from = strdup(t->t_name);
usr.sbin/smtpd/parse.y
1291
rule->table_from = strdup(t->t_name);
usr.sbin/smtpd/parse.y
1317
rule->table_from = strdup(t->t_name);
usr.sbin/smtpd/parse.y
1336
rule->table_from = strdup(t->t_name);
usr.sbin/smtpd/parse.y
1348
rule->table_from = strdup(anyhost->t_name);
usr.sbin/smtpd/parse.y
1367
rule->table_from = strdup(anyhost->t_name);
usr.sbin/smtpd/parse.y
1369
rule->table_smtp_auth = strdup(t->t_name);
usr.sbin/smtpd/parse.y
1387
rule->table_from = strdup(anyhost->t_name);
usr.sbin/smtpd/parse.y
1390
rule->table_smtp_auth = strdup(t->t_name);
usr.sbin/smtpd/parse.y
1409
rule->table_from = strdup(anyhost->t_name);
usr.sbin/smtpd/parse.y
1411
rule->table_smtp_mail_from = strdup(t->t_name);
usr.sbin/smtpd/parse.y
1429
rule->table_from = strdup(anyhost->t_name);
usr.sbin/smtpd/parse.y
1432
rule->table_smtp_mail_from = strdup(t->t_name);
usr.sbin/smtpd/parse.y
1443
rule->table_for = strdup(t->t_name);
usr.sbin/smtpd/parse.y
1453
rule->table_for = strdup(t->t_name);
usr.sbin/smtpd/parse.y
1470
rule->table_for = strdup(t->t_name);
usr.sbin/smtpd/parse.y
1488
rule->table_for = strdup(t->t_name);
usr.sbin/smtpd/parse.y
1506
rule->table_for = strdup(anyhost->t_name);
usr.sbin/smtpd/parse.y
1508
rule->table_smtp_rcpt_to = strdup(t->t_name);
usr.sbin/smtpd/parse.y
1526
rule->table_for = strdup(anyhost->t_name);
usr.sbin/smtpd/parse.y
1529
rule->table_smtp_rcpt_to = strdup(t->t_name);
usr.sbin/smtpd/parse.y
1560
rule->table_from = strdup("<localhost>");
usr.sbin/smtpd/parse.y
1564
rule->table_for = strdup("<localnames>");
usr.sbin/smtpd/parse.y
2984
yylval.v.string = strdup(buf);
usr.sbin/smtpd/parse.y
3050
if ((yylval.v.string = strdup(buf)) == NULL)
usr.sbin/smtpd/parse.y
3092
if ((nfile->name = strdup(name)) == NULL) {
usr.sbin/smtpd/parse.y
3220
sym->nam = strdup(nam);
usr.sbin/smtpd/parse.y
3225
sym->val = strdup(val);
usr.sbin/smtpd/parse.y
3365
(h->tls_ciphers = strdup(lo->tls_ciphers)) == NULL) {
usr.sbin/smtpd/parse.y
3370
(h->tls_protocols = strdup(lo->tls_protocols)) == NULL) {
usr.sbin/smtpd/parse.y
644
dsp->u.local.table_alias = strdup(t->t_name);
usr.sbin/smtpd/parse.y
665
dsp->u.local.table_virtual = strdup(t->t_name);
usr.sbin/smtpd/parse.y
681
dsp->u.local.table_userbase = strdup(t->t_name);
usr.sbin/smtpd/parse.y
766
dsp->u.remote.helo_source = strdup(t->t_name);
usr.sbin/smtpd/parse.y
814
dsp->u.remote.source = strdup(t->t_name);
usr.sbin/smtpd/parse.y
867
dsp->u.remote.smarthost = strdup(t->t_name);
usr.sbin/smtpd/parse.y
887
dsp->u.remote.smarthost = strdup(t->t_name);
usr.sbin/smtpd/parse.y
926
dsp->u.remote.auth = strdup(t->t_name);
usr.sbin/smtpd/parser.c
104
tmp->token = strdup(argv[i]);
usr.sbin/smtpd/parser.c
296
str2 = strdup(str);
usr.sbin/smtpd/parser.c
62
str = s = strdup(pattern);
usr.sbin/smtpd/resolver.c
288
ai->ai_canonname = strdup(cname);
usr.sbin/smtpd/smtpd.c
658
env->sc_queue_key = strdup(password);
usr.sbin/smtpd/smtpd.c
830
if((p->name = strdup(rexec)) == NULL)
usr.sbin/smtpd/smtpd.c
914
if((p_parent->name = strdup("parent")) == NULL)
usr.sbin/smtpd/smtpd.c
928
env->sc_queue_key = strdup(imsg.data);
usr.sbin/smtpd/smtpd.c
992
if((p->name = strdup(proc_title(proc))) == NULL)
usr.sbin/smtpd/table_db.c
214
*dst = strdup(dbk.data);
usr.sbin/smtpd/table_proc.c
267
if ((*dst = strdup(r)) == NULL)
usr.sbin/smtpd/table_proc.c
302
if ((*dst = strdup(r)) == NULL)
usr.sbin/smtpd/table_static.c
306
*dst = strdup(line);
usr.sbin/smtpd/table_static.c
325
*dst = strdup(k);
usr.sbin/smtpd/table_static.c
94
new = strdup(val);
usr.sbin/smtpd/util.c
73
if ((r = strdup(str)) == NULL)
usr.sbin/snmpd/application_agentx.c
1039
if ((ostring->aos_string = strdup(str)) == NULL)
usr.sbin/snmpd/application_agentx.c
533
strdup(pdu->ap_payload.ap_open.ap_descr.aos_string);
usr.sbin/snmpd/parse.y
1219
args[cmd->cmd_argc] = strdup(pos);
usr.sbin/snmpd/parse.y
1547
yylval.v.string = strdup(buf);
usr.sbin/snmpd/parse.y
1606
if ((yylval.v.string = strdup(buf)) == NULL)
usr.sbin/snmpd/parse.y
1648
if ((nfile->name = strdup(name)) == NULL) {
usr.sbin/snmpd/parse.y
1981
sym->nam = strdup(nam);
usr.sbin/snmpd/parse.y
1986
sym->val = strdup(val);
usr.sbin/snmpd/parse.y
953
if (($$.descriptor = strdup("1.3")) == NULL) {
usr.sbin/snmpd/smi.c
141
if ((object->o_name = strdup(name)) == NULL) {
usr.sbin/snmpd/smi.c
425
str = strdup("");
usr.sbin/snmpd/smi.c
540
str = strdup("noSuchObject");
usr.sbin/snmpd/smi.c
543
str = strdup("noSuchInstance");
usr.sbin/snmpd/smi.c
546
str = strdup("endOfMibView");
usr.sbin/syslogd/syslogd.c
1211
(p->p_hostname = strdup(hostname)) == NULL)
usr.sbin/syslogd/syslogd.c
2745
f->f_program = strdup(progblock);
usr.sbin/syslogd/syslogd.c
2747
f->f_hostname = strdup(hostblock);
usr.sbin/syslogd/syslogd.c
2876
f->f_un.f_forw.f_ipproto = strdup(ipproto);
usr.sbin/syslogd/syslogd.c
2877
f->f_un.f_forw.f_host = strdup(host);
usr.sbin/syslogd/syslogd.c
2878
f->f_un.f_forw.f_port = strdup(port);
usr.sbin/syslogd/syslogd.c
912
if ((p = strdup(address)) == NULL)
usr.sbin/tcpdrop/tcpdrop.c
110
laddr1 = strdup(addr1);
usr.sbin/tcpdrop/tcpdrop.c
117
faddr2 = strdup(addr2);
usr.sbin/tcpdrop/tcpdrop.c
78
laddr1 = addr1 = strdup(argv[1]);
usr.sbin/tcpdrop/tcpdrop.c
90
faddr2 = addr2 = strdup(argv[2]);
usr.sbin/tcpdump/pfctl_osfp.c
343
if ((wr_name = strdup(name)) == NULL)
usr.sbin/traceroute/traceroute.c
637
hostname = res->ai_canonname ? strdup(res->ai_canonname) : dest;
usr.sbin/unbound/cachedb/cachedb.c
196
d->stored_key = strdup(key);
usr.sbin/unbound/daemon/cachedump.c
72
if(!cfg_strlist_append(txt, strdup(str))) {
usr.sbin/unbound/daemon/remote.c
4567
char* item = strdup(msg);
usr.sbin/unbound/daemon/unbound.c
572
daemon->pidfile = strdup(cfg->pidfile);
usr.sbin/unbound/daemon/unbound.c
645
daemon->pidfile = strdup(old+strlen(cfg->chrootdir));
usr.sbin/unbound/daemon/unbound.c
650
daemon->chroot = strdup(cfg->chrootdir);
usr.sbin/unbound/daemon/unbound.c
711
daemon->cfgfile = strdup(*cfgfile);
usr.sbin/unbound/dnscrypt/dnscrypt.c
688
strdup(dnscenv->provider_name),
usr.sbin/unbound/dnscrypt/dnscrypt.c
689
strdup("deny"))) {
usr.sbin/unbound/dnscrypt/dnscrypt.c
753
cfg_strlist_insert(&cfg->local_data, strdup(rr));
usr.sbin/unbound/dnstap/dnstap.c
204
env->identity = strdup(buf);
usr.sbin/unbound/dnstap/dnstap.c
209
env->identity = strdup(cfg->dnstap_identity);
usr.sbin/unbound/dnstap/dnstap.c
228
env->version = strdup(PACKAGE_STRING);
usr.sbin/unbound/dnstap/dnstap.c
230
env->version = strdup(cfg->dnstap_version);
usr.sbin/unbound/dnstap/dnstap_fstrm.c
185
return strdup(buf);
usr.sbin/unbound/dnstap/dnstap_fstrm.c
235
return strdup(buf);
usr.sbin/unbound/dnstap/dtstream.c
367
dtio->socket_path = strdup(nm);
usr.sbin/unbound/dnstap/dtstream.c
380
dtio->ip_str = strdup(cfg->dnstap_ip);
usr.sbin/unbound/dnstap/dtstream.c
392
dtio->tls_server_name = strdup(
usr.sbin/unbound/dnstap/dtstream.c
405
dtio->client_key_file = strdup(
usr.sbin/unbound/dnstap/dtstream.c
421
dtio->client_cert_file = strdup(
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1195
id = strdup(usock->sun_path);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1209
id = strdup(ip);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1505
strdup(optarg)))
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1510
strdup(optarg)))
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
1515
strdup(optarg)))
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
297
s->socketpath = strdup(socketpath);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
318
s->ip = strdup(ip);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
340
s->ip = strdup(ip);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
533
return strdup(buf);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
536
return strdup(buf);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
558
return strdup(buf);
usr.sbin/unbound/dnstap/unbound-dnstap-socket.c
610
return strdup(buf2);
usr.sbin/unbound/iterator/iter_delegpt.c
673
ns->tls_auth_name = strdup(tls_auth_name);
usr.sbin/unbound/iterator/iter_delegpt.c
719
a->tls_auth_name = strdup(tls_auth_name);
usr.sbin/unbound/libunbound/context.c
179
q->res->qname = strdup(name);
usr.sbin/unbound/libunbound/context.c
282
q->res->qname = strdup((char*)(p+4*sizeof(uint32_t)));
usr.sbin/unbound/libunbound/libunbound.c
1019
s->name = strdup(".");
usr.sbin/unbound/libunbound/libunbound.c
1033
dupl = strdup(addr);
usr.sbin/unbound/libunbound/libunbound.c
1114
if(elem) elem->name = strdup(zone);
usr.sbin/unbound/libunbound/libunbound.c
1127
a = strdup(addr);
usr.sbin/unbound/libunbound/libunbound.c
1310
ins = strdup(ldata);
usr.sbin/unbound/libunbound/libunbound.c
460
char* dup = strdup(ta);
usr.sbin/unbound/libunbound/libunbound.c
479
char* dup = strdup(fname);
usr.sbin/unbound/libunbound/libunbound.c
497
char* dup = strdup(fname);
usr.sbin/unbound/libunbound/libunbound.c
517
char* dup = strdup(fname);
usr.sbin/unbound/libunbound/libworker.c
428
res->canonname = strdup(buf);
usr.sbin/unbound/libunbound/libworker.c
545
q->res->why_bogus = strdup(why_bogus);
usr.sbin/unbound/libunbound/libworker.c
750
q->res->why_bogus = strdup(reason);
usr.sbin/unbound/libunbound/libworker.c
766
q->res->why_bogus = strdup(reason);
usr.sbin/unbound/services/authzone.c
1509
incfile = strdup(incfile);
usr.sbin/unbound/services/authzone.c
3965
m->host = strdup(m->host);
usr.sbin/unbound/services/authzone.c
3973
m->file = strdup(m->file);
usr.sbin/unbound/services/authzone.c
566
z->zonefile = strdup(zonefile);
usr.sbin/unbound/services/authzone.c
7204
char* result = strdup(str);
usr.sbin/unbound/services/authzone.c
7287
*file = strdup("/");
usr.sbin/unbound/services/authzone.c
7288
else *file = strdup(p);
usr.sbin/unbound/services/authzone.c
7318
m->host = strdup(p->str);
usr.sbin/unbound/services/authzone.c
7328
m->host = strdup(p->str);
usr.sbin/unbound/services/authzone.c
8023
*result = strdup(res);
usr.sbin/unbound/services/authzone.c
8025
*result = strdup(reason);
usr.sbin/unbound/services/authzone.c
8114
*result = strdup("DNSSEC verified nonexistence of ZONEMD");
usr.sbin/unbound/services/authzone.c
8122
*result = strdup("no ZONEMD present");
usr.sbin/unbound/services/authzone.c
8140
*result = strdup(reason);
usr.sbin/unbound/services/authzone.c
8141
else *result = strdup("ZONEMD verification successful");
usr.sbin/unbound/services/listen_dnsport.c
1784
(*ip_addresses)[*ip_addresses_size] = strdup(addr_buf);
usr.sbin/unbound/services/listen_dnsport.c
1800
(*ip_addresses)[*ip_addresses_size] = strdup(search_ifa);
usr.sbin/unbound/services/listen_dnsport.c
1872
(*resif)[i] = strdup(ifs[i]);
usr.sbin/unbound/services/listen_dnsport.c
1885
(*resif)[idx] = strdup(p->str);
usr.sbin/unbound/services/rpz.c
546
if(!(r->log_name = strdup(p->rpz_log_name))) {
usr.sbin/unbound/services/view.c
107
if(!(v->name = strdup(name))) {
usr.sbin/unbound/services/view.c
179
nd_str = strdup(nd->str);
usr.sbin/unbound/services/view.c
185
nd_type = strdup("nodefault");
usr.sbin/unbound/sldns/wire2str.c
290
return strdup(buf);
usr.sbin/unbound/sldns/wire2str.c
297
return strdup(buf);
usr.sbin/unbound/sldns/wire2str.c
313
return strdup(buf);
usr.sbin/unbound/smallapp/unbound-anchor.c
1449
data->tag = strdup(name);
usr.sbin/unbound/smallapp/unbound-anchor.c
2449
s = strdup(root_anchor_file);
usr.sbin/unbound/smallapp/unbound-anchor.c
449
char* d = strdup(builtin_cert); /* to avoid const warnings in the
usr.sbin/unbound/smallapp/unbound-checkconf.c
731
char* ad = (cfg->pidfile[0]=='/')?strdup(cfg->pidfile):
usr.sbin/unbound/smallapp/unbound-host.c
130
*res = strdup(buf);
usr.sbin/unbound/smallapp/unbound-host.c
156
*res = strdup(buf);
usr.sbin/unbound/smallapp/unbound-host.c
175
res = strdup(nm);
usr.sbin/unbound/testcode/doqclient.c
409
s = strdup("query_with_no_question");
usr.sbin/unbound/testcode/doqclient.c
417
s = strdup("query_dname_not_valid");
usr.sbin/unbound/testcode/doqclient.c
428
s = strdup(result);
usr.sbin/unbound/testcode/lock_verify.c
179
*str = strdup(buf);
usr.sbin/unbound/testcode/memstats.c
108
cl->codeline = strdup(key);
usr.sbin/unbound/testcode/memstats.c
113
cl->func = strdup(func);
usr.sbin/unbound/testcode/replay.c
216
if(!cfg_strlist_insert(last, strdup(line)))
usr.sbin/unbound/testcode/replay.c
233
mom->variable = strdup(buf);
usr.sbin/unbound/testcode/replay.c
238
mom->string = strdup(remain);
usr.sbin/unbound/testcode/replay.c
297
mom->string = strdup(remain);
usr.sbin/unbound/testcode/replay.c
308
mom->autotrust_id = strdup(remain);
usr.sbin/unbound/testcode/replay.c
316
mom->autotrust_id = strdup(remain);
usr.sbin/unbound/testcode/replay.c
347
mom->variable = strdup(remain);
usr.sbin/unbound/testcode/replay.c
348
mom->string = strdup(m);
usr.sbin/unbound/testcode/replay.c
356
mom->string = strdup(remain);
usr.sbin/unbound/testcode/replay.c
363
mom->string = strdup(remain);
usr.sbin/unbound/testcode/replay.c
427
scen->title = strdup(line);
usr.sbin/unbound/testcode/replay.c
610
char* save = strdup(after);
usr.sbin/unbound/testcode/replay.c
698
return strdup(buf);
usr.sbin/unbound/testcode/replay.c
786
return strdup(res);
usr.sbin/unbound/testcode/replay.c
813
return strdup(buf);
usr.sbin/unbound/testcode/replay.c
823
return strdup(buf);
usr.sbin/unbound/testcode/replay.c
864
return strdup(buf);
usr.sbin/unbound/testcode/replay.c
874
return strdup(text); /* no macros */
usr.sbin/unbound/testcode/replay.c
892
return strdup(buf);
usr.sbin/unbound/testcode/replay.c
899
if(!x) return strdup("");
usr.sbin/unbound/testcode/replay.c
900
return strdup(x->value);
usr.sbin/unbound/testcode/replay.c
921
x->name = strdup(name);
usr.sbin/unbound/testcode/replay.c
928
x->value = strdup(value);
usr.sbin/unbound/testcode/testbound.c
178
if(!cfg_strlist_insert(&cfgfiles, strdup(line)))
usr.sbin/unbound/testcode/testbound.c
225
if(!cfg_strlist_insert(&cfgfiles, strdup(line)))
usr.sbin/unbound/testcode/testbound.c
256
if(!cfg_strlist_insert(&cfgfiles, strdup(configfile)))
usr.sbin/unbound/testcode/testbound.c
531
char *pathname = strdup("/tmp/fuzz-XXXXXX");
usr.sbin/unbound/testcode/unitauth.c
626
fname = strdup(buf);
usr.sbin/unbound/testcode/unitauth.c
853
str = strdup((char*)sldns_buffer_begin(buf));
usr.sbin/unbound/testcode/unitauth.c
865
pdup = strdup(p);
usr.sbin/unbound/testcode/unitauth.c
866
qdup = strdup(q);
usr.sbin/unbound/testcode/unitmain.c
748
char* ip = strdup(config_response_ip[i].ip);
usr.sbin/unbound/testcode/unitmain.c
749
char* sact = strdup(config_response_ip[i].sact);
usr.sbin/unbound/testcode/unitmain.c
792
cv1->name = strdup("view1");
usr.sbin/unbound/testcode/unitmain.c
793
cv2->name = strdup("view2");
usr.sbin/unbound/testcode/unitmain.c
799
char* ip = strdup(config_response_ip_view1[i].ip);
usr.sbin/unbound/testcode/unitmain.c
800
char* sact = strdup(config_response_ip_view1[i].sact);
usr.sbin/unbound/testcode/unitmain.c
806
char* ip = strdup(config_response_ip_view2[i].ip);
usr.sbin/unbound/testcode/unitmain.c
807
char* sact = strdup(config_response_ip_view2[i].sact);
usr.sbin/unbound/testcode/unitmain.c
882
char* ip = strdup(config_response_ip_data[i].ip);
usr.sbin/unbound/testcode/unitmain.c
883
char* sact = strdup("redirect");
usr.sbin/unbound/testcode/unitmain.c
890
char* ip = strdup(config_response_ip_data[i].ip);
usr.sbin/unbound/testcode/unitmain.c
891
char* data = strdup(config_response_ip_data[i].data);
usr.sbin/unbound/testcode/unitmain.c
934
cv->name = strdup("view1");
usr.sbin/unbound/testcode/unitzonemd.c
108
digestdup = strdup(digest);
usr.sbin/unbound/testcode/unitzonemd.c
277
env.cfg->module_conf = strdup("validator iterator");
usr.sbin/unbound/testcode/unitzonemd.c
282
strdup(tastr)))
usr.sbin/unbound/util/alloc.h
205
# ifdef strdup
usr.sbin/unbound/util/config_file.c
1001
return strdup(list->str);
usr.sbin/unbound/util/config_file.c
133
if(!(cfg->http_endpoint = strdup("/dns-query"))) goto error_exit;
usr.sbin/unbound/util/config_file.c
195
if(!(cfg->username = strdup(UB_USERNAME))) goto error_exit;
usr.sbin/unbound/util/config_file.c
197
if(!(cfg->chrootdir = strdup(CHROOT_DIR))) goto error_exit;
usr.sbin/unbound/util/config_file.c
199
if(!(cfg->directory = strdup(RUN_DIR))) goto error_exit;
usr.sbin/unbound/util/config_file.c
200
if(!(cfg->logfile = strdup(""))) goto error_exit;
usr.sbin/unbound/util/config_file.c
201
if(!(cfg->pidfile = strdup(PIDFILE))) goto error_exit;
usr.sbin/unbound/util/config_file.c
202
if(!(cfg->target_fetch_policy = strdup("3 2 1 0 0"))) goto error_exit;
usr.sbin/unbound/util/config_file.c
2357
newtag = strdup(tag);
usr.sbin/unbound/util/config_file.c
2424
if ((nsid = (uint8_t *)strdup(str + 6)))
usr.sbin/unbound/util/config_file.c
2469
return strdup(buf);
usr.sbin/unbound/util/config_file.c
2692
strdup(name));
usr.sbin/unbound/util/config_file.c
2696
strdup(name));
usr.sbin/unbound/util/config_file.c
2699
return cfg_str2list_insert(&cfg->local_zones, strdup(buf),
usr.sbin/unbound/util/config_file.c
2700
strdup(type));
usr.sbin/unbound/util/config_file.c
2778
result = strdup(buf);
usr.sbin/unbound/util/config_file.c
2815
result = strdup((char*)buf);
usr.sbin/unbound/util/config_file.c
322
if(!(cfg->server_key_file = strdup(RUN_DIR"/unbound_server.key")))
usr.sbin/unbound/util/config_file.c
324
if(!(cfg->server_cert_file = strdup(RUN_DIR"/unbound_server.pem")))
usr.sbin/unbound/util/config_file.c
326
if(!(cfg->control_key_file = strdup(RUN_DIR"/unbound_control.key")))
usr.sbin/unbound/util/config_file.c
328
if(!(cfg->control_cert_file = strdup(RUN_DIR"/unbound_control.pem")))
usr.sbin/unbound/util/config_file.c
331
if(!(cfg->module_conf = strdup("validator iterator"))) goto error_exit;
usr.sbin/unbound/util/config_file.c
333
strdup("1024 150 2048 150 4096 150"))) goto error_exit;
usr.sbin/unbound/util/config_file.c
335
if(!(cfg->dnstap_socket_path = strdup(DNSTAP_SOCKET_PATH)))
usr.sbin/unbound/util/config_file.c
391
if(!(cfg->cachedb_backend = strdup("testframe"))) goto error_exit;
usr.sbin/unbound/util/config_file.c
392
if(!(cfg->cachedb_secret = strdup("default"))) goto error_exit;
usr.sbin/unbound/util/config_file.c
396
if(!(cfg->redis_server_host = strdup("127.0.0.1"))) goto error_exit;
usr.sbin/unbound/util/config_file.c
397
if(!(cfg->redis_replica_server_host = strdup(""))) goto error_exit;
usr.sbin/unbound/util/config_file.c
504
{ free(cfg->var); return (cfg->var = strdup(val)) != NULL; }
usr.sbin/unbound/util/config_file.c
507
{ return cfg_strlist_insert(&cfg->var, strdup(val)); }
usr.sbin/unbound/util/config_file.c
511
return cfg_strlist_insert(&cfg->var, strdup(val)); }
usr.sbin/unbound/util/config_file.c
514
{ return cfg_strlist_append(&cfg->var, strdup(val)); }
usr.sbin/unbound/util/config_file.c
578
return (cfg->logfile = strdup(val)) != NULL;
usr.sbin/unbound/util/config_file.c
702
if (!(cfg->nsid_cfg_str = strdup(val)))
usr.sbin/unbound/util/config_file.c
910
char* d = strdup(val);
usr.sbin/unbound/util/config_file.c
958
if(!cfg_strlist_append(&m->list, strdup(line)))
usr.sbin/unbound/util/config_file.c
999
return strdup("");
usr.sbin/unbound/util/module.c
154
p = strdup(buf);
usr.sbin/unbound/util/netevent.c
6132
if(!(c->http_endpoint = strdup(http_endpoint))) {
usr.sbin/unbound/validator/autotrust.c
546
tp->autr->file = strdup(fname);
usr.sbin/unbound/validator/val_anchor.c
686
str = strdup((char*)sldns_buffer_begin(buf));
usr.sbin/unbound/validator/val_kentry.c
194
newd->reason = strdup(d->reason);
usr.sbin/unbound/validator/val_kentry.c
206
newd->algo = (uint8_t*)strdup((char*)d->algo);
usr.sbin/user/user.c
217
if ((*cpp = strdup(s)) == NULL)
usr.sbin/vmctl/main.c
378
if ((s = strdup(word)) == NULL) {
usr.sbin/vmctl/main.c
487
if ((s = strdup(word)) == NULL) {
usr.sbin/vmctl/main.c
529
if ((res->name = strdup(word)) == NULL)
usr.sbin/vmctl/main.c
544
if ((res->instance = strdup(word)) == NULL)
usr.sbin/vmctl/main.c
764
if ((res->path = strdup(argv[1])) == NULL)
usr.sbin/vmctl/main.c
834
if ((res->path = strdup(path)) == NULL)
usr.sbin/vmctl/main.c
854
if ((res->isopath = strdup(path)) == NULL)
usr.sbin/vmctl/vmctl.c
504
if ((res.name = strdup(vir->vir_name)) == NULL)
usr.sbin/vmd/config.c
406
if ((vif->vif_name = strdup(s)) == NULL) {
usr.sbin/vmd/config.c
414
if ((vif->vif_switch = strdup(s)) == NULL) {
usr.sbin/vmd/config.c
424
if ((vif->vif_group = strdup(s)) == NULL) {
usr.sbin/vmd/parse.y
1070
yylval.v.string = strdup(buf);
usr.sbin/vmd/parse.y
1129
if ((yylval.v.string = strdup(buf)) == NULL)
usr.sbin/vmd/parse.y
1151
if ((nfile->name = strdup(name)) == NULL) {
usr.sbin/vmd/parse.y
1267
sym->nam = strdup(nam);
usr.sbin/vmd/parse.y
1272
sym->val = strdup(val);
usr.sbin/vmd/parse.y
1427
if ((ps = strdup(str)) == NULL)
usr.sbin/vmd/parse.y
1493
if ((ps = strdup(str)) == NULL)
usr.sbin/wsmoused/wsmoused.c
463
if ((mouse.portname = strdup(optarg)) == NULL)
usr.sbin/wsmoused/wsmoused.c
494
if ((mouse.ttyname = strdup(optarg)) == NULL)
usr.sbin/ypldap/aldap.c
743
if ((lu->buffer = p = strdup(url)) == NULL)
usr.sbin/ypldap/entries.c
84
ue->ue_netid_line = strdup(tmp);
usr.sbin/ypldap/parse.y
1001
sym->val = strdup(val);
usr.sbin/ypldap/parse.y
770
yylval.v.string = strdup(buf);
usr.sbin/ypldap/parse.y
829
if ((yylval.v.string = strdup(buf)) == NULL)
usr.sbin/ypldap/parse.y
871
if ((nfile->name = strdup(name)) == NULL) {
usr.sbin/ypldap/parse.y
930
conf->sc_cafile = strdup(tls_default_ca_cert_file());
usr.sbin/ypldap/parse.y
996
sym->nam = strdup(nam);
usr.sbin/ypldap/ypldap.c
397
(ue->ue_line = strdup(ir.ir_line)) == NULL) {
usr.sbin/ypldap/ypldap.c
423
(ge->ge_line = strdup(ir.ir_line)) == NULL) {
usr.sbin/yppoll/yppoll.c
119
*outname = (char *)strdup(yprm.master);
usr.sbin/ypserv/common/yplib_host.c
360
*outname = strdup(yprm.peer);
usr.sbin/ypserv/mknetid/mknetid.c
121
u->usr_name = strdup(username);
usr.sbin/ypserv/revnetgroup/hash.c
153
new->key = strdup(key);
usr.sbin/ypserv/revnetgroup/hash.c
154
new->data = strdup(data);
usr.sbin/ypserv/revnetgroup/hash.c
182
tmp->groupname = strdup(data);
usr.sbin/ypserv/revnetgroup/hash.c
206
new->key = strdup(key);
usr.sbin/ypserv/revnetgroup/hash.c
207
new->domain = strdup(domain);
usr.sbin/ypserv/revnetgroup/parse_netgroup.c
107
grouphead.grname = strdup(group);
usr.sbin/ypserv/ypserv/ypserv_db.c
299
d->domain = strdup(domain);
usr.sbin/ypserv/ypserv/ypserv_db.c
319
m->map = strdup(map);
usr.sbin/zic/zic.c
378
#define ecpyalloc(ptr) memcheck(strdup(ptr))