SMB_MALLOC_ARRAY 137 source3/auth/pampass.c reply = SMB_MALLOC_ARRAY(struct pam_response, num_msg); SMB_MALLOC_ARRAY 303 source3/auth/pampass.c reply = SMB_MALLOC_ARRAY(struct pam_response, num_msg); SMB_MALLOC_ARRAY 4179 source3/client/client.c info.matches = SMB_MALLOC_ARRAY(char *,MAX_COMPLETIONS); SMB_MALLOC_ARRAY 4203 source3/client/client.c info.dirmask = SMB_MALLOC_ARRAY(char, i+2); SMB_MALLOC_ARRAY 4318 source3/client/client.c matches = SMB_MALLOC_ARRAY(char *, MAX_COMPLETIONS); SMB_MALLOC_ARRAY 631 source3/client/clitar.c data = SMB_MALLOC_ARRAY(char, read_size); SMB_MALLOC_ARRAY 1436 source3/client/clitar.c if (!(ret=iret=SMB_MALLOC_ARRAY(char *,ictok+1))) SMB_MALLOC_ARRAY 1699 source3/client/clitar.c cliplist = SMB_MALLOC_ARRAY(char *, clipn + 1); SMB_MALLOC_ARRAY 1879 source3/client/clitar.c if ((tmplist=SMB_MALLOC_ARRAY(char *,clipn)) == NULL) { SMB_MALLOC_ARRAY 92 source3/lib/account_pol.c nl = SMB_MALLOC_ARRAY(const char *, count); SMB_MALLOC_ARRAY 37 source3/lib/bitmap.c bm->b = SMB_MALLOC_ARRAY(uint32, (n+31)/32); SMB_MALLOC_ARRAY 783 source3/lib/dbwrap_ctdb.c if (!(cdata.dptr = SMB_MALLOC_ARRAY(uint8, cdata.dsize))) { SMB_MALLOC_ARRAY 360 source3/lib/gencache.c buf = SMB_MALLOC_ARRAY(unsigned char, len); SMB_MALLOC_ARRAY 78 source3/lib/recvfile.c buffer = SMB_MALLOC_ARRAY(char, bufsize); SMB_MALLOC_ARRAY 776 source3/lib/system.c if((group_list = SMB_MALLOC_ARRAY(GID_T, setlen)) == NULL) { SMB_MALLOC_ARRAY 813 source3/lib/system.c if((group_list = SMB_MALLOC_ARRAY(GID_T, setlen)) == NULL) { SMB_MALLOC_ARRAY 865 source3/lib/system.c new_gidset = SMB_MALLOC_ARRAY(gid_t, setlen + 1); SMB_MALLOC_ARRAY 58 source3/lib/system_smbd.c gids_saved = SMB_MALLOC_ARRAY(gid_t, ngrp_saved+1); SMB_MALLOC_ARRAY 157 source3/lib/system_smbd.c temp_groups = SMB_MALLOC_ARRAY(gid_t, max_grp); SMB_MALLOC_ARRAY 151 source3/lib/util.c smb_my_netbios_names = SMB_MALLOC_ARRAY( char *, smb_num_netbios_names ); SMB_MALLOC_ARRAY 1762 source3/lib/util.c if(( (*ppname_array) = SMB_MALLOC_ARRAY(name_compare_entry, num_entries + 1)) == NULL) { SMB_MALLOC_ARRAY 63 source3/lib/util_reg_api.c if (!(tmp = SMB_MALLOC_ARRAY(smb_ucs2_t, 2))) { SMB_MALLOC_ARRAY 78 source3/lib/util_reg_api.c if (!(tmp = SMB_MALLOC_ARRAY(smb_ucs2_t, num_ucs2+1))) { SMB_MALLOC_ARRAY 1285 source3/lib/util_sock.c sockets = SMB_MALLOC_ARRAY(int, num_addrs); SMB_MALLOC_ARRAY 1802 source3/lib/util_str.c if ( (*ip_list = SMB_MALLOC_ARRAY(struct ip_service, count)) == NULL ) { SMB_MALLOC_ARRAY 2271 source3/lib/util_str.c char *ret = SMB_MALLOC_ARRAY(char, (srclen * 2) + 1); SMB_MALLOC_ARRAY 47 source3/lib/util_transfer_file.c if ((buf = SMB_MALLOC_ARRAY(char, TRANSFER_BUF_SIZE)) == NULL) { SMB_MALLOC_ARRAY 654 source3/lib/util_unistr.c dest = SMB_MALLOC_ARRAY(smb_ucs2_t, len + 1); SMB_MALLOC_ARRAY 216 source3/lib/wins_srv.c ret = SMB_MALLOC_ARRAY(char *, 2); SMB_MALLOC_ARRAY 635 source3/libsmb/clidfs.c param = SMB_MALLOC_ARRAY(char, 2+pathlen+2); SMB_MALLOC_ARRAY 40 source3/libsmb/clifile.c param = SMB_MALLOC_ARRAY(char, 6+newlen+2); SMB_MALLOC_ARRAY 46 source3/libsmb/clifile.c data = SMB_MALLOC_ARRAY(char, oldlen+2); SMB_MALLOC_ARRAY 201 source3/libsmb/clifile.c param = SMB_MALLOC_ARRAY(char, 6+nlen+2); SMB_MALLOC_ARRAY 261 source3/libsmb/clifile.c param = SMB_MALLOC_ARRAY(char, 6+nlen+2); SMB_MALLOC_ARRAY 362 source3/libsmb/clifile.c param = SMB_MALLOC_ARRAY(char, 6+nlen+2); SMB_MALLOC_ARRAY 1885 source3/libsmb/clifile.c char *path2 = SMB_MALLOC_ARRAY(char, len+1); SMB_MALLOC_ARRAY 2002 source3/libsmb/clifile.c param = SMB_MALLOC_ARRAY(char, 6+srclen+2); SMB_MALLOC_ARRAY 2175 source3/libsmb/clifile.c param = SMB_MALLOC_ARRAY(char, 6+srclen+2); SMB_MALLOC_ARRAY 2280 source3/libsmb/clifile.c param = SMB_MALLOC_ARRAY(char, 6+srclen+2); SMB_MALLOC_ARRAY 2365 source3/libsmb/clifile.c param = SMB_MALLOC_ARRAY(char, 6+srclen+2); SMB_MALLOC_ARRAY 518 source3/libsmb/clikrb5.c sa = SMB_MALLOC_ARRAY( struct sockaddr, num_kdcs ); SMB_MALLOC_ARRAY 269 source3/libsmb/clilist.c param = SMB_MALLOC_ARRAY(char, 12+nlen+last_name_raw.length+2); SMB_MALLOC_ARRAY 536 source3/libsmb/clirap.c param = SMB_MALLOC_ARRAY(char, 6+nlen+2); SMB_MALLOC_ARRAY 625 source3/libsmb/clirap.c param = SMB_MALLOC_ARRAY(char, 6+nlen+2); SMB_MALLOC_ARRAY 725 source3/libsmb/clirap.c param = SMB_MALLOC_ARRAY(char, 6+nlen+2); SMB_MALLOC_ARRAY 806 source3/libsmb/clirap.c param = SMB_MALLOC_ARRAY(char, 6+namelen+2); SMB_MALLOC_ARRAY 1191 source3/libsmb/clirap.c param = SMB_MALLOC_ARRAY(char, 6+nlen+2); SMB_MALLOC_ARRAY 309 source3/libsmb/clirap2.c data = SMB_MALLOC_ARRAY(char, data_size); SMB_MALLOC_ARRAY 235 source3/libsmb/namequery.c ret = SMB_MALLOC_ARRAY(NODE_STATUS_STRUCT,*num_names); SMB_MALLOC_ARRAY 972 source3/libsmb/namequery.c if ((*return_iplist = SMB_MALLOC_ARRAY(struct ip_service, count)) == SMB_MALLOC_ARRAY 1424 source3/libsmb/namequery.c if ((*return_iplist = SMB_MALLOC_ARRAY(struct ip_service, numaddrs)) == SMB_MALLOC_ARRAY 2013 source3/libsmb/namequery.c if ((return_iplist = SMB_MALLOC_ARRAY(struct ip_service, SMB_MALLOC_ARRAY 371 source3/libsmb/nmblib.c *recs = SMB_MALLOC_ARRAY(struct res_rec, count); SMB_MALLOC_ARRAY 616 source3/libsmb/nmblib.c if((copy_nmb->answers = SMB_MALLOC_ARRAY( SMB_MALLOC_ARRAY 623 source3/libsmb/nmblib.c if((copy_nmb->nsrecs = SMB_MALLOC_ARRAY( SMB_MALLOC_ARRAY 630 source3/libsmb/nmblib.c if((copy_nmb->additional = SMB_MALLOC_ARRAY( SMB_MALLOC_ARRAY 709 source3/locking/brlock.c tp = SMB_MALLOC_ARRAY(struct lock_struct, (br_lck->num_locks + 2)); SMB_MALLOC_ARRAY 1063 source3/locking/brlock.c tp = SMB_MALLOC_ARRAY(struct lock_struct, (br_lck->num_locks + 1)); SMB_MALLOC_ARRAY 1588 source3/locking/brlock.c new_lock_data = SMB_MALLOC_ARRAY(struct lock_struct, num_valid_entries); SMB_MALLOC_ARRAY 1810 source3/locking/brlock.c br_lck->lock_data = SMB_MALLOC_ARRAY(struct lock_struct, SMB_MALLOC_ARRAY 257 source3/modules/onefs_acl.c aces = SMB_MALLOC_ARRAY(struct ifs_ace, num_aces); SMB_MALLOC_ARRAY 316 source3/modules/onefs_acl.c if ((samba_aces = SMB_MALLOC_ARRAY(SEC_ACE, num_aces)) == NULL) SMB_MALLOC_ARRAY 412 source3/modules/onefs_acl.c new_aces = SMB_MALLOC_ARRAY(struct ifs_ace, sd->dacl->num_aces); SMB_MALLOC_ARRAY 569 source3/modules/onefs_acl.c sd->dacl->aces = SMB_MALLOC_ARRAY(struct ifs_ace, SMB_MALLOC_ARRAY 189 source3/modules/onefs_config.c SMB_MALLOC_ARRAY(struct onefs_vfs_share_config, SMB_MALLOC_ARRAY 206 source3/nmbd/nmbd_namelistdb.c namerec->data.ip = SMB_MALLOC_ARRAY( struct in_addr, num_ips ); SMB_MALLOC_ARRAY 365 source3/nmbd/nmbd_namelistdb.c new_list = SMB_MALLOC_ARRAY( struct in_addr, namerec->data.num_ips + 1); SMB_MALLOC_ARRAY 504 source3/nmbd/nmbd_namelistdb.c iplist = SMB_MALLOC_ARRAY( struct in_addr, num_ips); SMB_MALLOC_ARRAY 435 source3/nmbd/nmbd_nameregister.c if((ip_list = SMB_MALLOC_ARRAY(struct in_addr, num_ips))==NULL) { SMB_MALLOC_ARRAY 1693 source3/nmbd/nmbd_packets.c if((sock_array = SMB_MALLOC_ARRAY(int, (count*2) + 2)) == NULL) { SMB_MALLOC_ARRAY 66 source3/nmbd/nmbd_winsproxy.c if((iplist = SMB_MALLOC_ARRAY( struct in_addr, num_ips )) == NULL) { SMB_MALLOC_ARRAY 98 source3/nmbd/nmbd_winsserver.c namerec->data.ip = SMB_MALLOC_ARRAY(struct in_addr, num_ips); SMB_MALLOC_ARRAY 691 source3/nmbd/nmbd_winsserver.c if((ip_list = SMB_MALLOC_ARRAY( struct in_addr, num_ips)) == NULL) { SMB_MALLOC_ARRAY 180 source3/pam_smbpass/pam_smb_passwd.c Announce = SMB_MALLOC_ARRAY(char, sizeof(greeting)+strlen(user)); SMB_MALLOC_ARRAY 97 source3/pam_smbpass/support.c mod_format = SMB_MALLOC_ARRAY(char, sizeof(tag) + strlen(format)); SMB_MALLOC_ARRAY 277 source3/pam_smbpass/support.c if ((newstr = SMB_MALLOC_ARRAY(char, ++i)) == NULL) { SMB_MALLOC_ARRAY 382 source3/pam_smbpass/support.c data_name = SMB_MALLOC_ARRAY(char, sizeof(FAIL_PREFIX) + strlen( name )); SMB_MALLOC_ARRAY 141 source3/passdb/login_cache.c databuf.dptr = SMB_MALLOC_ARRAY(uint8, databuf.dsize); SMB_MALLOC_ARRAY 1446 source3/passdb/passdb.c uint8 *pw_hist = SMB_MALLOC_ARRAY(uint8, pwHistLen * PW_HISTORY_ENTRY_LEN); SMB_MALLOC_ARRAY 1331 source3/passdb/pdb_ldap.c pwstr = SMB_MALLOC_ARRAY(char, 1024); SMB_MALLOC_ARRAY 243 source3/passdb/pdb_nds.c retOctStr = SMB_MALLOC_ARRAY(char, retOctStrLen); SMB_MALLOC_ARRAY 406 source3/passdb/pdb_nds.c pwdBuf = SMB_MALLOC_ARRAY(char, pwdBufLen); /* digest and null */ SMB_MALLOC_ARRAY 570 source3/passdb/pdb_nds.c pwdBuf = SMB_MALLOC_ARRAY(char, pwdBufLen+2); SMB_MALLOC_ARRAY 745 source3/passdb/secrets.c pass_buf = SMB_MALLOC_ARRAY(uint8, pass_len); SMB_MALLOC_ARRAY 2204 source3/printing/nt_printing.c if ((info.dependentfiles= SMB_MALLOC_ARRAY(fstring, 2)) == NULL) SMB_MALLOC_ARRAY 250 source3/printing/print_generic.c queue = SMB_MALLOC_ARRAY(print_queue_struct, numlines+1); SMB_MALLOC_ARRAY 2666 source3/printing/printing.c if ((queue = SMB_MALLOC_ARRAY(print_queue_struct, qcount + extra_count)) == NULL) SMB_MALLOC_ARRAY 1528 source3/rpc_server/srv_spoolss_nt.c if((nt_devmode->nt_dev_private = SMB_MALLOC_ARRAY(uint8_t, nt_devmode->driverextra)) == NULL) SMB_MALLOC_ARRAY 1840 source3/rpc_server/srv_spoolss_nt.c *farray = SMB_MALLOC_ARRAY(fstring, 1); SMB_MALLOC_ARRAY 67 source3/rpcclient/rpcclient.c matches = SMB_MALLOC_ARRAY(char *, MAX_COMPLETIONS); SMB_MALLOC_ARRAY 595 source3/smbd/aio.c aiocb_list = SMB_MALLOC_ARRAY(const SMB_STRUCT_AIOCB *, SMB_MALLOC_ARRAY 1025 source3/smbd/lanman.c if((queue = SMB_MALLOC_ARRAY(print_queue_struct*, queuecnt)) == NULL) { SMB_MALLOC_ARRAY 1030 source3/smbd/lanman.c if((status = SMB_MALLOC_ARRAY(print_status_struct,queuecnt)) == NULL) { SMB_MALLOC_ARRAY 1035 source3/smbd/lanman.c if((subcntarr = SMB_MALLOC_ARRAY(int,queuecnt)) == NULL) { SMB_MALLOC_ARRAY 331 source3/smbd/mangle_hash.c chartest = SMB_MALLOC_ARRAY(unsigned char, 256); SMB_MALLOC_ARRAY 3167 source3/smbd/posix_acls.c if ((nt_ace_list = SMB_MALLOC_ARRAY(SEC_ACE,num_acls + num_profile_acls + num_def_acls)) == NULL) { SMB_MALLOC_ARRAY 2675 source3/smbd/reply.c if (!(buf = SMB_MALLOC_ARRAY(char, bufsize))) { SMB_MALLOC_ARRAY 529 source3/smbd/seal.c if (!(*pparam = SMB_MALLOC_ARRAY(unsigned char, 2))) { SMB_MALLOC_ARRAY 587 source3/smbd/seal.c if (!(*pparam = SMB_MALLOC_ARRAY(unsigned char, 2))) { SMB_MALLOC_ARRAY 640 source3/smbd/seal.c if (!(*pparam = SMB_MALLOC_ARRAY(unsigned char, 2))) { SMB_MALLOC_ARRAY 156 source3/smbd/sec_ctx.c if((groups = SMB_MALLOC_ARRAY(gid_t, ngroups+1)) == NULL) { SMB_MALLOC_ARRAY 218 source3/smbd/sec_ctx.c if (!(ctx_p->ut.groups = SMB_MALLOC_ARRAY(gid_t, ctx_p->ut.ngroups))) { SMB_MALLOC_ARRAY 458 source3/torture/locktest.c recorded = SMB_MALLOC_ARRAY(struct record, numops); SMB_MALLOC_ARRAY 383 source3/torture/locktest2.c recorded = SMB_MALLOC_ARRAY(struct record, numops); SMB_MALLOC_ARRAY 183 source3/torture/nsstest.c buf = SMB_MALLOC_ARRAY(char, buflen); SMB_MALLOC_ARRAY 222 source3/torture/nsstest.c buf = SMB_MALLOC_ARRAY(char, buflen); SMB_MALLOC_ARRAY 260 source3/torture/nsstest.c buf = SMB_MALLOC_ARRAY(char, buflen); SMB_MALLOC_ARRAY 372 source3/torture/nsstest.c groups = SMB_MALLOC_ARRAY(gid_t, size); SMB_MALLOC_ARRAY 57 source3/torture/vfstest.c matches = SMB_MALLOC_ARRAY(char *, MAX_COMPLETIONS); SMB_MALLOC_ARRAY 287 source3/torture/vfstest.c argv = SMB_MALLOC_ARRAY(char *, argc); SMB_MALLOC_ARRAY 161 source3/utils/net_dns.c if ( (list = SMB_MALLOC_ARRAY( struct sockaddr_storage, n )) == NULL ) { SMB_MALLOC_ARRAY 3743 source3/utils/net_rpc.c server_aliases = SMB_MALLOC_ARRAY(struct full_alias, 100); SMB_MALLOC_ARRAY 3814 source3/utils/net_rpc.c alias.members = SMB_MALLOC_ARRAY(DOM_SID, alias.num_members); SMB_MALLOC_ARRAY 3944 source3/utils/net_rpc.c if (!(token->user_sids = SMB_MALLOC_ARRAY(DOM_SID, 4))) { SMB_MALLOC_ARRAY 4146 source3/utils/net_rpc.c result = SMB_MALLOC_ARRAY(struct user_token, num_users); SMB_MALLOC_ARRAY 386 source3/utils/ntlm_auth.c request.extra_data.data = SMB_MALLOC_ARRAY(char, request.extra_len); SMB_MALLOC_ARRAY 693 source3/utils/ntlm_auth.c wb_request.extra_data.data = SMB_MALLOC_ARRAY(char, wb_request.extra_len); SMB_MALLOC_ARRAY 1026 source3/utils/smbcontrol.c buf = SMB_MALLOC_ARRAY(uint8_t, buf_len); SMB_MALLOC_ARRAY 86 source3/web/neg_lang.c pl = SMB_MALLOC_ARRAY(struct pri_list, lang_num); SMB_MALLOC_ARRAY 114 source3/winbindd/nss_info.c if ( (q = SMB_MALLOC_ARRAY( char, len )) == NULL ) { SMB_MALLOC_ARRAY 809 source3/winbindd/winbindd.c SMB_MALLOC_ARRAY(char, state->request.extra_len + 1); SMB_MALLOC_ARRAY 3678 source3/winbindd/winbindd_cache.c keystr = SMB_MALLOC_ARRAY(char, kbuf.dsize+1); SMB_MALLOC_ARRAY 3942 source3/winbindd/winbindd_cache.c if ( (buffer = SMB_MALLOC_ARRAY(unsigned char, len)) == NULL ) { SMB_MALLOC_ARRAY 784 source3/winbindd/winbindd_cred_cache.c memcredp->nt_hash = SMB_MALLOC_ARRAY(unsigned char, memcredp->len); SMB_MALLOC_ARRAY 65 source3/winbindd/winbindd_dual.c SMB_MALLOC_ARRAY(char, state->request.extra_len + 1); SMB_MALLOC_ARRAY 1169 source3/winbindd/winbindd_group.c name_list = SMB_MALLOC_ARRAY(struct acct_info, num_entries); SMB_MALLOC_ARRAY 1275 source3/winbindd/winbindd_group.c group_list = SMB_MALLOC_ARRAY(struct winbindd_gr, num_groups); SMB_MALLOC_ARRAY 782 source3/winbindd/winbindd_user.c user_list = SMB_MALLOC_ARRAY(struct winbindd_pw, num_users); SMB_MALLOC_ARRAY 108 source3/winbindd/winbindd_wins.c if ( (return_ss = SMB_MALLOC_ARRAY(struct sockaddr_storage, *count)) == NULL ) {