strlcpy 3 examples/libsmbclient/smbwrapper/bsd-strlfunc.h extern size_t strlcpy(char *dst, const char *src, size_t siz); strlcpy 105 lib/replace/test/testsuite.c if (strlcpy(buf, tests[i].src, sizeof(buf)) != tests[i].result) { strlcpy 118 lib/replace/test/testsuite.c strlcpy(tmp, "", sizeof(tmp)); strlcpy 129 lib/replace/test/testsuite.c strlcpy(tmp, "da", sizeof(tmp)); strlcpy 482 lib/replace/test/testsuite.c strlcpy(_s, str, sizeof(_s));\ strlcpy 202 lib/util/util_net.c strlcpy(addr, str, strlcpy 281 source3/client/cifs.upcall.c strlcpy(arg->hostname, tkn + 5, len); strlcpy 293 source3/client/cifs.upcall.c strlcpy(arg->ip, tkn + 4, len); strlcpy 577 source3/client/cifs.upcall.c strlcpy(princ, "cifs/", datalen); strlcpy 578 source3/client/cifs.upcall.c strlcpy(princ + 5, host, datalen - 5); strlcpy 245 source3/client/mount.cifs.c strlcpy(user_name,temp_val, length+1); strlcpy 270 source3/client/mount.cifs.c strlcpy(mountpassword,temp_val,MOUNT_PASSWD_SIZE+1); strlcpy 298 source3/client/mount.cifs.c strlcpy(domain_name,temp_val,DOMAIN_SIZE+1); strlcpy 457 source3/client/mount.cifs.c strlcpy(mountpassword, percent_char,MOUNT_PASSWD_SIZE+1); strlcpy 596 source3/client/mount.cifs.c strlcpy(user,value,sizeof(user)); strlcpy 612 source3/client/mount.cifs.c strlcpy(group,value,sizeof(group)); strlcpy 861 source3/client/mount.cifs.c strlcpy(domainnm,*ppuser,len+1); strlcpy 937 source3/client/mount.cifs.c strlcpy((*punc_name)+2,unc_name,length+1); strlcpy 1276 source3/client/mount.cifs.c strlcpy(mountpassword,optarg,MOUNT_PASSWD_SIZE+1); strlcpy 1303 source3/client/mount.cifs.c strlcpy(mountpassword,getenv("PASSWD"),MOUNT_PASSWD_SIZE+1); strlcpy 1382 source3/client/mount.cifs.c strlcpy(mountpassword, tmp_pass, MOUNT_PASSWD_SIZE+1); strlcpy 1414 source3/client/mount.cifs.c strlcpy(options, "unc=", options_size); strlcpy 65 source3/lib/conn_tdb.c strlcpy(ckey.name, name, sizeof(ckey.name)); strlcpy 481 source3/lib/interface.c (void)strlcpy(ifs.name, token, sizeof(ifs.name)); strlcpy 196 source3/lib/interfaces.c strlcpy(ifaces[total].name, ifptr->ifa_name, strlcpy 47 source3/lib/util_sock.c strlcpy(addr, str, strlcpy 196 source3/lib/util_sock.c strlcpy(addr_buf, "0.0.0.0", addr_len); strlcpy 1478 source3/lib/util_sock.c strlcpy(addr_buf,"0.0.0.0",addr_buf_len); strlcpy 1682 source3/lib/util_sock.c strlcpy(name_buf, p, sizeof(name_buf)); strlcpy 1686 source3/lib/util_sock.c strlcpy(name_buf,"UNKNOWN",sizeof(name_buf)); strlcpy 1694 source3/lib/util_sock.c strlcpy(tmp_name, name_buf, sizeof(tmp_name)); strlcpy 1697 source3/lib/util_sock.c strlcpy(name_buf, "UNKNOWN", sizeof(name_buf)); strlcpy 1786 source3/lib/util_sock.c strlcpy(sunaddr.sun_path, path, sizeof(sunaddr.sun_path)); strlcpy 206 source3/lib/wbclient.c strlcpy(sunaddr.sun_path, path, sizeof(sunaddr.sun_path)); strlcpy 54 source3/libads/ads_struct.c strlcpy(ret,field, len); strlcpy 524 source3/libsmb/clilist.c strlcpy(finfo->short_name, strlcpy 65 source3/libsmb/clirap.c strlcpy(p,"OOWb54WrLh",sizeof(param)-PTR_DIFF(p,param)); strlcpy 67 source3/libsmb/clirap.c strlcpy(p,"WB21BWDWWDDDDDDDzzzD",sizeof(param)-PTR_DIFF(p,param)); strlcpy 71 source3/libsmb/clirap.c strlcpy(p,user,sizeof(param)-PTR_DIFF(p,param)); strlcpy 77 source3/libsmb/clirap.c strlcpy(p, workstation,sizeof(param)-PTR_DIFF(p,param)); strlcpy 126 source3/libsmb/clirap.c strlcpy(p,"WrLeh",sizeof(param)-PTR_DIFF(p,param)); strlcpy 128 source3/libsmb/clirap.c strlcpy(p,"B13BWz",sizeof(param)-PTR_DIFF(p,param)); strlcpy 254 source3/libsmb/clirap.c strlcpy(p,"WrLehDOz", sizeof(param)-PTR_DIFF(p,param)); strlcpy 256 source3/libsmb/clirap.c strlcpy(p,"WrLehDz", sizeof(param)-PTR_DIFF(p,param)); strlcpy 260 source3/libsmb/clirap.c strlcpy(p,"B16BBDz", sizeof(param)-PTR_DIFF(p,param)); strlcpy 448 source3/libsmb/clirap.c strlcpy(p, "zsT", sizeof(param)-PTR_DIFF(p,param)); strlcpy 450 source3/libsmb/clirap.c strlcpy(p, "B516B16", sizeof(param)-PTR_DIFF(p,param)); strlcpy 452 source3/libsmb/clirap.c strlcpy(p,user, sizeof(param)-PTR_DIFF(p,param)); strlcpy 1868 source3/libsmb/clirap2.c strlcpy(upperbuf, user, sizeof(upperbuf)); strlcpy 1873 source3/libsmb/clirap2.c strlcpy(upperbuf, workstation, sizeof(upperbuf)); strlcpy 134 source3/libsmb/libsmb_path.c strlcpy(dest, pdest, max_dest_len); strlcpy 106 source3/libsmb/libsmb_server.c strlcpy(workgroup, *pp_workgroup, sizeof(workgroup)); strlcpy 107 source3/libsmb/libsmb_server.c strlcpy(username, *pp_username, sizeof(username)); strlcpy 108 source3/libsmb/libsmb_server.c strlcpy(password, *pp_password, sizeof(password)); strlcpy 369 source3/libsmb/namecache.c strlcpy(srvname_out, value, 16); strlcpy 551 source3/modules/vfs_shadow_copy2.c strlcpy(tlabels[shadow_copy2_data->num_volumes], d->d_name, sizeof(*tlabels)); strlcpy 130 source3/modules/vfs_smb_traffic_analyzer.c strlcpy(remote.sun_path, name, strlcpy 188 source3/modules/vfs_tsmsm.c strlcpy((char *)&dmname.an_chars[0], tsmd->attrib_name, sizeof(dmname.an_chars)); strlcpy 441 source3/modules/vfs_xattr_tdb.c strlcpy(list+len, attribs->eas[i].name, strlcpy 325 source3/nmbd/nmbd_nameregister.c strlcpy(userdata->data, tag, userdata->userdata_len); strlcpy 551 source3/nmbd/nmbd_packets.c strlcpy(userdata->data, tag, userdata->userdata_len); strlcpy 3919 source3/printing/nt_printing.c strlcpy(info->comment, "", sizeof(info->comment)); strlcpy 4019 source3/printing/nt_printing.c strlcpy(info->comment, comment, sizeof(info->comment)); strlcpy 210 source3/printing/pcap.c strlcpy(comment, p, sizeof(comment)); strlcpy 217 source3/printing/pcap.c strlcpy(comment, name, sizeof(comment)); strlcpy 219 source3/printing/pcap.c strlcpy(name, p, sizeof(name)); strlcpy 225 source3/printing/pcap.c strlcpy(comment, p, sizeof(comment)); strlcpy 1292 source3/printing/print_cups.c strlcpy(temp->fs_user, user_name, sizeof(temp->fs_user)); strlcpy 1293 source3/printing/print_cups.c strlcpy(temp->fs_file, job_name, sizeof(temp->fs_file)); strlcpy 1737 source3/printing/print_cups.c strlcpy(printer->comment, strlcpy 1756 source3/printing/print_cups.c strlcpy(printer->location, strlcpy 1162 source3/registry/reg_backend_db.c strlcpy(p, sorted_subkeys[i], len-offset); strlcpy 157 source3/smbd/connection.c strlcpy(crec.servicename, lp_servicename(SNUM(conn)), strlcpy 163 source3/smbd/connection.c strlcpy(crec.machine,get_remote_machine_name(),sizeof(crec.machine)); strlcpy 164 source3/smbd/connection.c strlcpy(crec.addr,conn?conn->client_address: strlcpy 2147 source3/smbd/lanman.c strlcpy(p, name, 21); strlcpy 2316 source3/smbd/lanman.c strlcpy(p, names.names[0].string, PTR_DIFF(endp,p)); strlcpy 2463 source3/smbd/lanman.c strlcpy(p,name,PTR_DIFF(endp,p)); strlcpy 3227 source3/smbd/lanman.c strlcpy(p2,get_local_machine_name(),PTR_DIFF(endp,p2)); strlcpy 3236 source3/smbd/lanman.c strlcpy(p2,conn->server_info->sanitized_username,PTR_DIFF(endp,p2)); strlcpy 3244 source3/smbd/lanman.c strlcpy(p2,lp_workgroup(),PTR_DIFF(endp,p2)); strlcpy 3257 source3/smbd/lanman.c strlcpy(p2,lp_workgroup(),PTR_DIFF(endp,p2)); /* don't know. login domain?? */ strlcpy 3265 source3/smbd/lanman.c strlcpy(p2,"",PTR_DIFF(endp,p2)); strlcpy 3530 source3/smbd/lanman.c strlcpy(p2,"Comment",PTR_DIFF(endp,p2)); strlcpy 3537 source3/smbd/lanman.c strlcpy(p2,"UserComment",PTR_DIFF(endp,p2)); strlcpy 3545 source3/smbd/lanman.c strlcpy(p2,((vuser != NULL) strlcpy 3565 source3/smbd/lanman.c strlcpy(p2, homedir, PTR_DIFF(endp,p2)); strlcpy 3571 source3/smbd/lanman.c strlcpy(p2,"",PTR_DIFF(endp,p2)); strlcpy 3581 source3/smbd/lanman.c strlcpy(p2,"\\\\*",PTR_DIFF(endp,p2)); strlcpy 3589 source3/smbd/lanman.c strlcpy(p2,"",PTR_DIFF(endp,p2)); strlcpy 3616 source3/smbd/lanman.c strlcpy(p2, vuser ? pdb_get_homedir( strlcpy 3627 source3/smbd/lanman.c strlcpy(p2, vuser ? pdb_get_logon_script( strlcpy 3637 source3/smbd/lanman.c strlcpy(p2,((vuser != NULL) strlcpy 3646 source3/smbd/lanman.c strlcpy(p2,"",PTR_DIFF(endp,p2)); strlcpy 142 source3/smbd/mangle.c strlcpy(out, in, 13); strlcpy 5366 source3/torture/torture.c strlcpy(fname, "\\shortname\\", sizeof(fname)); strlcpy 247 source3/utils/net_rap.c strlcpy(sinfo.share_name, sharename, sizeof(sinfo.share_name)); strlcpy 302 source3/utils/ntlm_auth.c strlcpy(request.data.auth.require_membership_of_sid, strlcpy 1242 source3/winbindd/winbindd_util.c strlcpy(name, tmp_user, sizeof(fstring)); strlcpy 196 source4/heimdal/kdc/kerberos5.c strlcpy(starttime_str, "unset", sizeof(starttime_str)); strlcpy 203 source4/heimdal/kdc/kerberos5.c strlcpy(renewtime_str, "unset", sizeof(renewtime_str)); strlcpy 59 source4/heimdal/lib/com_err/com_err.c strlcpy(msg, p, sizeof(msg)); strlcpy 229 source4/heimdal/lib/com_err/compile_et.c strlcpy(Basename, p, sizeof(Basename)); strlcpy 1394 source4/heimdal/lib/com_err/parse.c strlcpy(name, (yyvsp[(2) - (2)].string), sizeof(name)); strlcpy 1403 source4/heimdal/lib/com_err/parse.c strlcpy(name, (yyvsp[(3) - (3)].string), sizeof(name)); strlcpy 81 source4/heimdal/lib/com_err/parse.y strlcpy(name, $2, sizeof(name)); strlcpy 87 source4/heimdal/lib/com_err/parse.y strlcpy(name, $3, sizeof(name)); strlcpy 73 source4/heimdal/lib/hcrypto/rand-egd.c strlcpy(addr.sun_path, path, sizeof(addr.sun_path)); strlcpy 129 source4/heimdal/lib/hx509/keyset.c strlcpy(type, name, residue - name + 1); strlcpy 444 source4/heimdal/lib/hx509/ks_p11.c strlcpy(pin, slot->pin, sizeof(pin)); strlcpy 1060 source4/heimdal/lib/hx509/revoke.c strlcpy(s, ctime(&t)+ 4, sizeof(s)); strlcpy 476 source4/heimdal/lib/krb5/addr_families.c if (strlcpy(buf, address, sizeof(buf)) > sizeof(buf)) strlcpy 600 source4/heimdal/lib/krb5/addr_families.c l = strlcpy(str, "RANGE:", len); strlcpy 695 source4/heimdal/lib/krb5/addr_families.c l = strlcpy(str, "ADDRPORT:", len); strlcpy 461 source4/heimdal/lib/krb5/init_creds_pw.c strlcpy (newpw, buf1, newpw_sz); strlcpy 232 source4/heimdal/lib/krb5/kcm.c strlcpy(k->path.sun_path, path, sizeof(k->path.sun_path)); strlcpy 131 source4/heimdal/lib/krb5/keytab.c if (strlcpy (name, context->default_keytab, namesize) >= namesize) { strlcpy 156 source4/heimdal/lib/krb5/keytab.c strlcpy(name, context->default_keytab + 4, namesize); strlcpy 162 source4/heimdal/lib/krb5/keytab.c if (strlcpy (name, kt, namesize) >= namesize) { strlcpy 226 source4/heimdal/lib/krb5/keytab.c strlcpy(prefix, keytab->prefix, prefixsize); strlcpy 107 source4/heimdal/lib/krb5/keytab_any.c strlcpy(name, a->name, namesize); strlcpy 342 source4/heimdal/lib/krb5/keytab_file.c strlcpy(name, d->filename, namesize); strlcpy 192 source4/heimdal/lib/krb5/keytab_keyfile.c strlcpy (name, d->filename, name_sz); strlcpy 138 source4/heimdal/lib/krb5/keytab_memory.c strlcpy(name, d->name, namesize); strlcpy 132 source4/heimdal/lib/krb5/krbhst.c strlcpy(hi->hostname, rr->u.srv->target, len + 1); strlcpy 341 source4/heimdal/lib/krb5/log.c strlcpy(severity, "ERR", sizeof(severity)); strlcpy 343 source4/heimdal/lib/krb5/log.c strlcpy(facility, "AUTH", sizeof(facility)); strlcpy 1899 source4/heimdal/lib/krb5/pkinit.c strlcpy(buf, default_moduli_rfc3526_MODP_group14, sizeof(buf)); strlcpy 1907 source4/heimdal/lib/krb5/pkinit.c strlcpy(buf, default_moduli_RFC2412_MODP_group2, sizeof(buf)); strlcpy 1017 source4/heimdal/lib/krb5/principal.c strlcpy(host, local_hostname, sizeof(host)); strlcpy 1251 source4/heimdal/lib/krb5/principal.c strlcpy (tmpinst, i, sizeof(tmpinst)); strlcpy 1258 source4/heimdal/lib/krb5/principal.c if (strlcpy (name, n, aname_sz) >= aname_sz) { strlcpy 1263 source4/heimdal/lib/krb5/principal.c if (strlcpy (instance, i, aname_sz) >= aname_sz) { strlcpy 1268 source4/heimdal/lib/krb5/principal.c if (strlcpy (realm, r, aname_sz) >= aname_sz) { strlcpy 212 source4/heimdal/lib/krb5/transited.c strlcpy(tmp, prev_realm, len); strlcpy 113 source4/heimdal/lib/roken/getarg.c strlcpy(cmd, p, sizeof(cmd)); strlcpy 258 source4/heimdal/lib/roken/getarg.c strlcpy(buf, "[-", sizeof(buf)); strlcpy 59 source4/heimdal/lib/roken/getnameinfo.c strlcpy (host, hostent_find_fqdn(he), hostlen); strlcpy 86 source4/heimdal/lib/roken/getnameinfo.c strlcpy (serv, se->s_name, servlen); strlcpy 207 source4/heimdal/lib/roken/resolve.c strlcpy(rr->u.mx->domain, host, hostlen + 1); strlcpy 233 source4/heimdal/lib/roken/resolve.c strlcpy(rr->u.srv->target, host, hostlen + 1); strlcpy 315 source4/heimdal/lib/roken/resolve.c strlcpy(rr->u.sig->signer, host, hostlen + 1); strlcpy 81 source4/lib/socket/netif.c strlcpy(ifaces[total].name, ifptr->ifa_name, strlcpy 572 source4/lib/socket/socket_ip.c strlcpy(addr, sp, strlcpy 568 source4/param/loadparm.c strlcpy(ret, s, len); strlcpy 572 source4/param/loadparm.c strlcpy(ret, s, len);