safe_emalloc      196 Zend/zend_alloc.h #define safe_pemalloc(nmemb, size, offset, persistent)	((persistent)?_safe_malloc(nmemb, size, offset):safe_emalloc(nmemb, size, offset))
safe_emalloc     3973 Zend/zend_compile.c 		jmp_opnums = safe_emalloc(sizeof(uint32_t), list->children - 1, 0);
safe_emalloc     4018 Zend/zend_compile.c 	uint32_t *jmpnz_opnums = safe_emalloc(sizeof(uint32_t), cases->children, 0);
safe_emalloc     4103 Zend/zend_compile.c 	uint32_t *jmp_opnums = safe_emalloc(sizeof(uint32_t), catches->children, 0);
safe_emalloc     4429 Zend/zend_compile.c 		arg_infos = safe_emalloc(sizeof(zend_arg_info), list->children + 1, 0);
safe_emalloc     4445 Zend/zend_compile.c 		arg_infos = safe_emalloc(sizeof(zend_arg_info), list->children, 0);
safe_emalloc     5034 Zend/zend_compile.c 	zend_string **names = safe_emalloc(sizeof(zend_string *), list->children + 1, 0);
safe_emalloc      254 Zend/zend_stream.c 		file_handle->handle.stream.mmap.buf = *buf = safe_emalloc(1, size, ZEND_MMAP_AHEAD);
safe_emalloc      130 ext/bcmath/libbcmath/src/div.c   num1 = (unsigned char *) safe_emalloc (1, n1->n_len+n1->n_scale, extra+2);
safe_emalloc      136 ext/bcmath/libbcmath/src/div.c   num2 = (unsigned char *) safe_emalloc (1, len2, 1);
safe_emalloc      167 ext/bcmath/libbcmath/src/div.c   mval = (unsigned char *) safe_emalloc (1, len2, 1);
safe_emalloc      494 ext/com_dotnet/com_com.c 		vargs = (VARIANT*)safe_emalloc(sizeof(VARIANT), nargs, 0);
safe_emalloc      506 ext/com_dotnet/com_com.c 		byref_vals = (VARIANT*)safe_emalloc(sizeof(VARIANT), byref_count, 0);
safe_emalloc      601 ext/com_dotnet/com_com.c 		vargs = (VARIANT*)safe_emalloc(sizeof(VARIANT), nargs, 0);
safe_emalloc      376 ext/com_dotnet/com_handlers.c 		args = (zval *)safe_emalloc(sizeof(zval), nargs, 0);
safe_emalloc       48 ext/com_dotnet/com_olechar.c 		olestring = (OLECHAR*)safe_emalloc(string_len, sizeof(OLECHAR), 0);
safe_emalloc       83 ext/com_dotnet/com_olechar.c 		string = (char*)safe_emalloc(length, sizeof(char), 0);
safe_emalloc      105 ext/com_dotnet/com_saproxy.c 		args = safe_emalloc(proxy->dimensions + 1, sizeof(zval), 0);
safe_emalloc      165 ext/com_dotnet/com_saproxy.c 		indices = safe_emalloc(dims, sizeof(LONG), 0);
safe_emalloc      217 ext/com_dotnet/com_saproxy.c 		zval *args = safe_emalloc(proxy->dimensions + 2, sizeof(zval), 0);
safe_emalloc      240 ext/com_dotnet/com_saproxy.c 		indices = safe_emalloc(dims, sizeof(LONG), 0);
safe_emalloc      392 ext/com_dotnet/com_saproxy.c 	cloneproxy->indices = safe_emalloc(cloneproxy->dimensions, sizeof(zval *), 0);
safe_emalloc      442 ext/com_dotnet/com_saproxy.c 	proxy->indices = safe_emalloc(proxy->dimensions, sizeof(zval *), 0);
safe_emalloc      555 ext/com_dotnet/com_saproxy.c 	I->indices = safe_emalloc(proxy->dimensions + 1, sizeof(LONG), 0);
safe_emalloc      498 ext/com_dotnet/com_typeinfo.c 					names = (BSTR*)safe_emalloc((func->cParams + 1), sizeof(BSTR), 0);
safe_emalloc      267 ext/com_dotnet/com_wrapper.c 			params = (zval *)safe_emalloc(sizeof(zval), pdp->cArgs, 0);
safe_emalloc      653 ext/dba/dba.c  	args = safe_emalloc(ac, sizeof(zval), 0);
safe_emalloc      673 ext/dba/dba.c  		key = safe_emalloc(keylen, 1, 1);
safe_emalloc      166 ext/dba/dba_cdb.c 		new_entry = safe_emalloc(len, 1, 1);
safe_emalloc      271 ext/dba/dba_cdb.c 	key = safe_emalloc(klen, 1, 1);
safe_emalloc      303 ext/dba/dba_cdb.c 	key = safe_emalloc(klen, 1, 1);
safe_emalloc      174 ext/dba/libcdb/cdb_make.c 	c->split = (struct cdb_hp *) safe_emalloc(memsize, sizeof(struct cdb_hp), 0);
safe_emalloc       93 ext/dba/libflatfile/flatfile.c 			value_datum.dptr = safe_emalloc(value_datum.dsize, 1, 1);
safe_emalloc     1773 ext/dom/node.c 			inclusive_ns_prefixes = safe_emalloc(zend_hash_num_elements(Z_ARRVAL_P(ns_prefixes)) + 1,
safe_emalloc      115 ext/dom/xpath.c 		fci.params = safe_emalloc(fci.param_count, sizeof(zval), 0);
safe_emalloc       74 ext/exif/exif.c #ifndef safe_emalloc
safe_emalloc     1454 ext/exif/exif.c 	sections = safe_emalloc(ml, 1, 1);
safe_emalloc     1606 ext/exif/exif.c 		data = safe_emalloc(size, 1, 0);
safe_emalloc     1727 ext/exif/exif.c 				info_value->list = safe_emalloc(length, sizeof(image_info_value), 0);
safe_emalloc     1870 ext/exif/exif.c 		info_data->value.s = safe_emalloc(length, 1, 1);
safe_emalloc     2358 ext/exif/exif.c 	value_ptr = safe_emalloc(max(byte_count, 4), 1, 0);
safe_emalloc     2568 ext/exif/exif.c 		(*result) = safe_emalloc(byte_count, 1, 1);
safe_emalloc     2859 ext/exif/exif.c 				value_ptr = safe_emalloc(byte_count, 1, 0);
safe_emalloc     3677 ext/exif/exif.c 									ImageInfo->Thumbnail.data = safe_emalloc(ImageInfo->Thumbnail.size, 1, 0);
safe_emalloc     3711 ext/exif/exif.c 						ImageInfo->Thumbnail.data = safe_emalloc(ImageInfo->Thumbnail.size, 1, 0);
safe_emalloc       36 ext/filter/callback_filter.c 	args = safe_emalloc(sizeof(zval), 1, 0);
safe_emalloc     1851 ext/ftp/ftp.c  	ret = safe_emalloc((lines + 1), sizeof(char*), size);
safe_emalloc     1441 ext/gd/gd.c    	stylearr = safe_emalloc(sizeof(int), zend_hash_num_elements(Z_ARRVAL_P(styles)), 0);
safe_emalloc     3362 ext/gd/gd.c    	points = (gdPointPtr) safe_emalloc(npoints, sizeof(gdPoint), 0);
safe_emalloc     1915 ext/gd/libgd/gd.c 	stack = (struct seg *)safe_emalloc(sizeof(struct seg), ((int)(im->sy*im->sx)/4), 1);
safe_emalloc     1982 ext/gd/libgd/gd.c 	stack = (struct seg *)safe_emalloc(sizeof(struct seg), ((int)(im->sy*im->sx)/4), 1);
safe_emalloc       36 ext/gd/libgd/gd_color.c 	buf = (unsigned long *)safe_emalloc(sizeof(unsigned long), 5 * im2->colorsTotal, 0);
safe_emalloc      696 ext/gd/libgd/gd_gd2.c 		chunkData = safe_emalloc(cs * bytesPerPixel, cs, 0);
safe_emalloc      711 ext/gd/libgd/gd_gd2.c 		chunkIdx = safe_emalloc(idxSize, sizeof(t_chunk_info), 0);
safe_emalloc      357 ext/gd/libgd/gd_gif_in.c 			tmp = safe_emalloc(3 * rv, sizeof(char), 1);
safe_emalloc      209 ext/gd/libgd/gd_jpeg.c 	row = (JSAMPROW) safe_emalloc(cinfo.image_width * cinfo.input_components, sizeof(JSAMPLE), 0);
safe_emalloc      441 ext/gd/libgd/gd_jpeg.c 	row = safe_emalloc(cinfo.output_width * channels, sizeof(JSAMPLE), 0);
safe_emalloc      323 ext/gd/libgd/gd_png.c 	image_data = (png_bytep) safe_emalloc(rowbytes, height, 0);
safe_emalloc      325 ext/gd/libgd/gd_png.c 	row_pointers = (png_bytepp) safe_emalloc(height, sizeof(png_bytep), 0);
safe_emalloc      690 ext/gd/libgd/gd_png.c 		row_pointers = safe_emalloc(sizeof(png_bytep), height, 0);
safe_emalloc      693 ext/gd/libgd/gd_png.c 			*prow_pointers = (png_bytep) safe_emalloc(width, channels, 0);
safe_emalloc      731 ext/gd/libgd/gd_png.c 			row_pointers = safe_emalloc(height, sizeof(png_bytep), 0);
safe_emalloc      797 ext/gd/libgd/gd_topal.c   boxlist = (boxptr) safe_emalloc(desired_colors, sizeof (box), 1);
safe_emalloc     1603 ext/gd/libgd/gd_topal.c     (int *) safe_emalloc ((MAXJSAMPLE * 2 + 1), sizeof (int), 0);
safe_emalloc     1871 ext/gd/libgd/gd_topal.c   cquantize->histogram = (hist3d) safe_emalloc (HIST_C0_ELEMS, sizeof (hist2d), 0);
safe_emalloc     1875 ext/gd/libgd/gd_topal.c 	(hist2d) safe_emalloc (HIST_C1_ELEMS * HIST_C2_ELEMS, sizeof (histcell), 0);
safe_emalloc     1926 ext/gd/libgd/gd_topal.c   cquantize->fserrors = (FSERRPTR) safe_emalloc (3, sizeof (FSERROR), 0);
safe_emalloc       45 ext/gd/libgd/gdxpm.c 	colors = (int *) safe_emalloc(number, sizeof(int), 0);
safe_emalloc      128 ext/gd/libgd/wbmp.c   if ((wbmp->bitmap = (int *) safe_emalloc(sizeof(int), width * height, 0)) == NULL)
safe_emalloc      195 ext/gd/libgd/wbmp.c   if ((wbmp->bitmap = (int *) safe_emalloc((size_t)wbmp->width * wbmp->height, sizeof(int), 0)) == NULL)
safe_emalloc      672 ext/hash/hash.c 	result = safe_emalloc(loops, ops->digest_size, 0);
safe_emalloc      674 ext/hash/hash.c 	computed_salt = safe_emalloc(salt_len, 1, 4);
safe_emalloc     1222 ext/iconv/iconv.c 	buf = safe_emalloc(1, max_line_len, 5);
safe_emalloc     1931 ext/imap/php_imap.c 	delim = safe_emalloc(2, sizeof(char), 0);
safe_emalloc     2247 ext/imap/php_imap.c 	delim = safe_emalloc(2, sizeof(char), 0);
safe_emalloc     3961 ext/imap/php_imap.c 		bufferTo = (char *)safe_emalloc(bt_len, 1, 1);
safe_emalloc     3990 ext/imap/php_imap.c 		bufferCc = (char *)safe_emalloc(bt_len, 1, 1);
safe_emalloc     4016 ext/imap/php_imap.c 		bufferBcc = (char *)safe_emalloc(bt_len, 1, 1);
safe_emalloc     4272 ext/imap/php_imap.c 	charset = (char *) safe_emalloc((end + 1), 2, 0);
safe_emalloc      329 ext/interbase/ibase_events.c 	event = (ibase_event *) safe_emalloc(sizeof(ibase_event), 1, 0);
safe_emalloc      336 ext/interbase/ibase_events.c 	event->events = (char **) safe_emalloc(sizeof(char *), 15, 0);
safe_emalloc      218 ext/interbase/ibase_query.c 	ar = safe_emalloc(sizeof(ibase_array), *array_cnt, 0);
safe_emalloc      821 ext/interbase/ibase_query.c 				var->sqldata = safe_emalloc(sizeof(char), var->sqllen, 0);
safe_emalloc      824 ext/interbase/ibase_query.c 				var->sqldata = safe_emalloc(sizeof(char), var->sqllen + sizeof(short), 0);
safe_emalloc      974 ext/interbase/ibase_query.c 		bind_buf = safe_emalloc(sizeof(BIND_BUF), ib_query->in_sqlda->sqld, 0);
safe_emalloc     1145 ext/interbase/interbase.c 	ib_link = (ibase_db_link **) safe_emalloc(sizeof(ibase_db_link *),1+argn,0);
safe_emalloc     1158 ext/interbase/interbase.c 		teb = (ISC_TEB *) safe_emalloc(sizeof(ISC_TEB),argn,0);
safe_emalloc     1159 ext/interbase/interbase.c 		tpb = (char *) safe_emalloc(TPB_MAX_SIZE,argn,0);
safe_emalloc     1250 ext/interbase/interbase.c 	ib_trans = (ibase_trans *) safe_emalloc(link_cnt-1, sizeof(ibase_db_link *), sizeof(ibase_trans));
safe_emalloc      676 ext/intl/converter/converter.c 	temp = safe_emalloc(sizeof(UChar), temp_len, sizeof(UChar));
safe_emalloc       33 ext/intl/intl_common.h # define eumalloc(size)  (UChar*)safe_emalloc(size, sizeof(UChar), 0)
safe_emalloc      403 ext/intl/transliterator/transliterator_methods.c 	uresult = safe_emalloc( ustr_len, sizeof( UChar ), 1 * sizeof( UChar ) );
safe_emalloc      418 ext/intl/transliterator/transliterator_methods.c 			uresult = safe_emalloc( uresult_len, sizeof( UChar ), 1 * sizeof( UChar ) );
safe_emalloc      550 ext/intl/uchar/uchar.c 	closure = safe_emalloc(sizeof(UChar), closure_len + 1, 0);
safe_emalloc      734 ext/ldap/ldap.c 			ldap_attrs = safe_emalloc((num_attribs+1), sizeof(char *), 0);
safe_emalloc      796 ext/ldap/ldap.c 		lds = safe_emalloc(nlinks, sizeof(ldap_linkdata), 0);
safe_emalloc      797 ext/ldap/ldap.c 		rcs = safe_emalloc(nlinks, sizeof(*rcs), 0);
safe_emalloc     1438 ext/ldap/ldap.c 	ldap_mods = safe_emalloc((num_attribs+1), sizeof(LDAPMod *), 0);
safe_emalloc     1439 ext/ldap/ldap.c 	num_berval = safe_emalloc(num_attribs, sizeof(int), 0);
safe_emalloc     1481 ext/ldap/ldap.c 		ldap_mods[i]->mod_bvalues = safe_emalloc((num_values + 1), sizeof(struct berval *), 0);
safe_emalloc     1838 ext/ldap/ldap.c 	ldap_mods = safe_emalloc((num_mods+1), sizeof(LDAPMod *), 0);
safe_emalloc     1843 ext/ldap/ldap.c 		ldap_mods[i] = safe_emalloc(1, sizeof(LDAPMod), 0);
safe_emalloc     1881 ext/ldap/ldap.c 			ldap_mods[i]->mod_bvalues = safe_emalloc((num_modvals+1), sizeof(struct berval *), 0);
safe_emalloc     1890 ext/ldap/ldap.c 				ldap_mods[i]->mod_bvalues[j] = safe_emalloc(1, sizeof(struct berval), 0);
safe_emalloc     2327 ext/ldap/ldap.c 			ctrls = safe_emalloc((1 + ncontrols), sizeof(*ctrls), 0);
safe_emalloc     3737 ext/mbstring/mbstring.c 		stack = (zval *)safe_emalloc(stack_max, sizeof(zval), 0);
safe_emalloc     3826 ext/mbstring/mbstring.c 		stack = (zval*)safe_emalloc(stack_max, sizeof(zval), 0);
safe_emalloc     3953 ext/mbstring/mbstring.c 			convmap = (int *)safe_emalloc(i, sizeof(int), 0);
safe_emalloc     4717 ext/mbstring/mbstring.c 		entry = (const mbfl_encoding **)safe_emalloc(nentries, sizeof(mbfl_encoding*), 0);
safe_emalloc     4723 ext/mbstring/mbstring.c 		entry = (const mbfl_encoding **)safe_emalloc(nentries, sizeof(mbfl_encoding*), 0);
safe_emalloc      251 ext/mysqli/mysqli_api.c 		stmt->param.vars = safe_emalloc(num_vars, sizeof(zval), 0);
safe_emalloc      368 ext/mysqli/mysqli_api.c 	args = safe_emalloc(argc, sizeof(zval), 0);
safe_emalloc      557 ext/mysqli/mysqli_api.c 		stmt->result.vars = safe_emalloc((var_cnt), sizeof(zval), 0);
safe_emalloc       55 ext/mysqli/mysqli_embedded.c 		arguments = safe_emalloc(sizeof(char *), argc + 1, 0);
safe_emalloc       76 ext/mysqli/mysqli_embedded.c 		groups = safe_emalloc(sizeof(char *), zend_hash_num_elements(Z_ARRVAL_P(grps)) + 1, 0);
safe_emalloc       94 ext/mysqli/mysqli_embedded.c 		groups = safe_emalloc(sizeof(char *), 1, 0);
safe_emalloc     1435 ext/oci8/oci8_interface.c 		columns = safe_emalloc(statement->ncolumns, sizeof(php_oci_out_column *), 0);
safe_emalloc     1470 ext/oci8/oci8_interface.c 		columns = safe_emalloc(statement->ncolumns, sizeof(php_oci_out_column *), 0);
safe_emalloc     1471 ext/oci8/oci8_interface.c 		outarrs = safe_emalloc(statement->ncolumns, sizeof(zval*), 0);
safe_emalloc     1836 ext/oci8/oci8_interface.c 		OCI_G(edition) = (char *)safe_emalloc(edition_len+1, sizeof(char), 0);
safe_emalloc      767 ext/oci8/oci8_statement.c 					buf = outcol->data = (text *) safe_emalloc(1, outcol->storage_size4, 0);
safe_emalloc     1706 ext/oci8/oci8_statement.c 	bind->array.elements		= (text *)safe_emalloc(max_table_length * (maxlength + 1), sizeof(text), 0);
safe_emalloc     1711 ext/oci8/oci8_statement.c 	bind->array.element_lengths	= safe_emalloc(max_table_length, sizeof(ub2), 0);
safe_emalloc     1713 ext/oci8/oci8_statement.c 	bind->array.indicators		= safe_emalloc(max_table_length, sizeof(sb2), 0);
safe_emalloc     1765 ext/oci8/oci8_statement.c 	bind->array.elements		= (ub4 *)safe_emalloc(max_table_length, sizeof(ub4), 0);
safe_emalloc     1769 ext/oci8/oci8_statement.c 	bind->array.element_lengths	= safe_emalloc(max_table_length, sizeof(ub2), 0);
safe_emalloc     1804 ext/oci8/oci8_statement.c 	bind->array.elements		= (double *)safe_emalloc(max_table_length, sizeof(double), 0);
safe_emalloc     1808 ext/oci8/oci8_statement.c 	bind->array.element_lengths	= safe_emalloc(max_table_length, sizeof(ub2), 0);
safe_emalloc     1844 ext/oci8/oci8_statement.c 	bind->array.elements		= (OCIDate *)safe_emalloc(max_table_length, sizeof(OCIDate), 0);
safe_emalloc     1848 ext/oci8/oci8_statement.c 	bind->array.element_lengths	= safe_emalloc(max_table_length, sizeof(ub2), 0);
safe_emalloc      397 ext/odbc/birdstep.c 		res->values = (VResVal *)safe_emalloc(sizeof(VResVal), cols, 0);
safe_emalloc      951 ext/odbc/php_odbc.c 	result->values = (odbc_result_value *) safe_emalloc(sizeof(odbc_result_value), result->numcols, 0);
safe_emalloc     1264 ext/odbc/php_odbc.c 	result->param_info = (odbc_param_info *) safe_emalloc(sizeof(odbc_param_info), result->numparams, 0);
safe_emalloc     1325 ext/odbc/php_odbc.c 		params = (params_t *)safe_emalloc(sizeof(params_t), result->numparams, 0);
safe_emalloc     4939 ext/openssl/openssl.c 	pkeys = safe_emalloc(nkeys, sizeof(*pkeys), 0);
safe_emalloc     4940 ext/openssl/openssl.c 	eksl = safe_emalloc(nkeys, sizeof(*eksl), 0);
safe_emalloc     4941 ext/openssl/openssl.c 	eks = safe_emalloc(nkeys, sizeof(*eks), 0);
safe_emalloc     4943 ext/openssl/openssl.c 	key_resources = safe_emalloc(nkeys, sizeof(zend_resource*), 0);
safe_emalloc      877 ext/pcntl/pcntl.c 		argv = safe_emalloc((argc + 2), sizeof(char *), 0);
safe_emalloc      899 ext/pcntl/pcntl.c 		pair = envp = safe_emalloc((envc + 1), sizeof(char *), 0);
safe_emalloc      726 ext/pcre/php_pcre.c 		offsets = (int *)safe_emalloc(size_offsets, sizeof(int), 0);
safe_emalloc      731 ext/pcre/php_pcre.c 		match_sets = (zval *)safe_emalloc(num_subpats, sizeof(zval), 0);
safe_emalloc     1135 ext/pcre/php_pcre.c 		offsets = (int *)safe_emalloc(size_offsets, sizeof(int), 0);
safe_emalloc     1775 ext/pcre/php_pcre.c 		offsets = (int *)safe_emalloc(size_offsets, sizeof(int), 0);
safe_emalloc     2048 ext/pcre/php_pcre.c 		offsets = (int *)safe_emalloc(size_offsets, sizeof(int), 0);
safe_emalloc      786 ext/pdo/pdo_stmt.c 	fci->params = safe_emalloc(sizeof(zval), num_args, 0);
safe_emalloc      800 ext/pdo/pdo_stmt.c 		stmt->fetch.func.values = safe_emalloc(sizeof(zval), stmt->column_count, 0);
safe_emalloc     1862 ext/pdo/pdo_stmt.c 	args = safe_emalloc(ZEND_NUM_ARGS(), sizeof(zval), 0);
safe_emalloc      306 ext/pdo_mysql/mysql_driver.c 	*quoted = safe_emalloc(2, unquotedlen, 3);
safe_emalloc      350 ext/pdo_pgsql/pgsql_driver.c 			*quoted = safe_emalloc(2, unquotedlen, 3);
safe_emalloc      235 ext/pdo_sqlite/sqlite_driver.c 	*quoted = safe_emalloc(2, unquotedlen, 3);
safe_emalloc      338 ext/pdo_sqlite/sqlite_driver.c 		zargs = safe_emalloc(fake_argc, sizeof(zval), 0);
safe_emalloc      814 ext/pgsql/pgsql.c 	rp = result = (char *)safe_emalloc(len, 2, 5); /* leading " E" needs extra 2 bytes + quote_chars on both end for 2 bytes + NULL */
safe_emalloc      820 ext/pgsql/pgsql.c 			char *tmp = (char *)safe_emalloc(len, 2, 1);
safe_emalloc     1283 ext/pgsql/pgsql.c 	args = (zval *)safe_emalloc(ZEND_NUM_ARGS(), sizeof(zval), 0);
safe_emalloc     1968 ext/pgsql/pgsql.c 		params = (char **)safe_emalloc(sizeof(char *), num_params, 0);
safe_emalloc     2171 ext/pgsql/pgsql.c 		params = (char **)safe_emalloc(sizeof(char *), num_params, 0);
safe_emalloc     4954 ext/pgsql/pgsql.c 		params = (char **)safe_emalloc(sizeof(char *), num_params, 0);
safe_emalloc     5131 ext/pgsql/pgsql.c 		params = (char **)safe_emalloc(sizeof(char *), num_params, 0);
safe_emalloc     5535 ext/pgsql/pgsql.c 	escaped = (char *)safe_emalloc(strlen(tmp_name2), 2, 1);
safe_emalloc     5543 ext/pgsql/pgsql.c 	escaped = (char *)safe_emalloc(strlen(tmp_name), 2, 1);
safe_emalloc     6603 ext/pgsql/pgsql.c 					tmp = (char *)safe_emalloc(Z_STRLEN_P(val), 2, 1);
safe_emalloc     6772 ext/pgsql/pgsql.c 					tmp = (char *)safe_emalloc(Z_STRLEN_P(val), 2, 1);
safe_emalloc      229 ext/phar/dirstream.c 				entry = (char *) safe_emalloc(found - ZSTR_VAL(str_key), 1, 1);
safe_emalloc      234 ext/phar/dirstream.c 				entry = (char *) safe_emalloc(keylen, 1, 1);
safe_emalloc      263 ext/phar/dirstream.c 			entry = (char *) safe_emalloc(found - save + dirlen, 1, 1);
safe_emalloc      270 ext/phar/dirstream.c 			entry = (char *) safe_emalloc(keylen - dirlen, 1, 1);
safe_emalloc      465 ext/phar/func_interceptors.c 				gids=(gid_t *)safe_emalloc(groups, sizeof(gid_t), 0);
safe_emalloc      167 ext/phar/tar.c 	metadata = (char *) safe_emalloc(1, entry->uncompressed_filesize, 1);
safe_emalloc     1980 ext/reflection/php_reflection.c 	params = safe_emalloc(sizeof(zval), argc, 0);
safe_emalloc     3291 ext/reflection/php_reflection.c 	params = safe_emalloc(sizeof(zval), argc, 0);
safe_emalloc     4719 ext/reflection/php_reflection.c 			params = safe_emalloc(sizeof(zval), argc, 0);
safe_emalloc     1906 ext/session/session.c 			shutdown_function_entry.arguments = (zval *) safe_emalloc(sizeof(zval), 1, 0);
safe_emalloc     2406 ext/session/session.c 	shutdown_function_entry.arguments = (zval *) safe_emalloc(sizeof(zval), 1, 0);
safe_emalloc      958 ext/soap/php_encoding.c 	str = (unsigned char *) safe_emalloc(Z_STRLEN_P(data) * 2, sizeof(char), 1);
safe_emalloc     1086 ext/soap/php_encoding.c 	str = (char *) safe_emalloc(EG(precision), 1, MAX_LENGTH_OF_DOUBLE + 1);
safe_emalloc     2042 ext/soap/php_encoding.c 	pos = safe_emalloc(sizeof(int), dimension, 0);
safe_emalloc     2099 ext/soap/php_encoding.c 	pos = safe_emalloc(sizeof(int), dimension, 0);
safe_emalloc     2318 ext/soap/php_encoding.c 			dims = safe_emalloc(sizeof(int), dimension, 0);
safe_emalloc     2412 ext/soap/php_encoding.c 			dims = safe_emalloc(sizeof(int), dimension, 0);
safe_emalloc     2418 ext/soap/php_encoding.c 			dims = safe_emalloc(sizeof(int), dimension, 0);
safe_emalloc     2600 ext/soap/php_encoding.c 	pos = safe_emalloc(sizeof(int), dimension, 0);
safe_emalloc     1364 ext/soap/php_sdl.c 		elements = safe_emalloc((i+1), sizeof(sdlTypePtr), 0);
safe_emalloc     1593 ext/soap/php_sdl.c 	types = safe_emalloc((i+1), sizeof(sdlTypePtr), 0);
safe_emalloc     1606 ext/soap/php_sdl.c 	encoders = safe_emalloc((i+1), sizeof(encodePtr), 0);
safe_emalloc     1664 ext/soap/php_sdl.c 	bindings = safe_emalloc(num_bindings, sizeof(sdlBindingPtr), 0);
safe_emalloc     1690 ext/soap/php_sdl.c 		functions = safe_emalloc(num_func, sizeof(sdlFunctionPtr), 0);
safe_emalloc     1320 ext/soap/soap.c 			service->soap_class.argv = safe_emalloc(sizeof(zval), service->soap_class.argc, 0);
safe_emalloc     2941 ext/soap/soap.c 		real_args = safe_emalloc(sizeof(zval), arg_count, 0);
safe_emalloc     3358 ext/soap/soap.c 			tmp_parameters = safe_emalloc(num_of_params, sizeof(zval), 0);
safe_emalloc     3396 ext/soap/soap.c 			tmp_parameters = safe_emalloc(num_of_params, sizeof(zval), 0);
safe_emalloc      132 ext/sockets/conversions.c 	void *ret = safe_emalloc(nmemb, alloc_size, offset);
safe_emalloc     2026 ext/spl/spl_directory.c 		buf = safe_emalloc((intern->u.file.max_line_len + 1), sizeof(char), 0);
safe_emalloc     2062 ext/spl/spl_directory.c 	zval *params = (zval*)safe_emalloc(num_args, sizeof(zval), 0);
safe_emalloc      322 ext/spl/spl_heap.c 	heap->elements = safe_emalloc(sizeof(zval), from->max_size, 0);
safe_emalloc     1404 ext/spl/spl_iterators.c 	func_params = safe_emalloc(sizeof(zval **), arg_count, 0);
safe_emalloc      708 ext/sqlite3/sqlite3.c 		zargs = (zval *)safe_emalloc(fake_argc, sizeof(zval), 0);
safe_emalloc      864 ext/sqlite3/sqlite3.c 	zargs = safe_emalloc(2, sizeof(zval), 0);
safe_emalloc     4051 ext/standard/array.c 	lists = (Bucket **)safe_emalloc(arr_argc, sizeof(Bucket *), 0);
safe_emalloc     4052 ext/standard/array.c 	ptrs = (Bucket **)safe_emalloc(arr_argc, sizeof(Bucket *), 0);
safe_emalloc     4473 ext/standard/array.c 	lists = (Bucket **)safe_emalloc(arr_argc, sizeof(Bucket *), 0);
safe_emalloc     4474 ext/standard/array.c 	ptrs = (Bucket **)safe_emalloc(arr_argc, sizeof(Bucket *), 0);
safe_emalloc     4919 ext/standard/array.c 	indirect = (Bucket **)safe_emalloc(array_size, sizeof(Bucket *), 0);
safe_emalloc     4921 ext/standard/array.c 		indirect[i] = (Bucket *)safe_emalloc((num_arrays + 1), sizeof(Bucket), 0);
safe_emalloc     5362 ext/standard/array.c 			zval *params = (zval *)safe_emalloc(n_arrays, sizeof(zval), 0);
safe_emalloc      214 ext/standard/assert.c 		zval *args = safe_emalloc(!description ? 3 : 4, sizeof(zval), 0);
safe_emalloc     4224 ext/standard/basic_functions.c 	paras = safe_emalloc(sizeof(opt_struct), count, 0);
safe_emalloc     4283 ext/standard/basic_functions.c 		argv = (char **) safe_emalloc(sizeof(char *), (argc + 1), 0);
safe_emalloc     5044 ext/standard/basic_functions.c 	shutdown_function_entry.arguments = (zval *) safe_emalloc(sizeof(zval), shutdown_function_entry.arg_count, 0);
safe_emalloc     5659 ext/standard/basic_functions.c 	tick_fe.arguments = (zval *) safe_emalloc(sizeof(zval), tick_fe.arg_count, 0);
safe_emalloc     1110 ext/standard/file.c 		buf = safe_emalloc(sizeof(char), (len + 1), 0);
safe_emalloc      921 ext/standard/filestat.c 				gids=(gid_t *)safe_emalloc(groups, sizeof(gid_t), 0);
safe_emalloc      427 ext/standard/formatted_print.c 		newargs = (zval *)safe_emalloc(argc, sizeof(zval), 0);
safe_emalloc       46 ext/standard/levenshtein.c 	p1 = safe_emalloc((l2 + 1), sizeof(zend_long), 0);
safe_emalloc       47 ext/standard/levenshtein.c 	p2 = safe_emalloc((l2 + 1), sizeof(zend_long), 0);
safe_emalloc      130 ext/standard/pack.c 	formatcodes = safe_emalloc(formatlen, sizeof(*formatcodes), 0);
safe_emalloc      131 ext/standard/pack.c 	formatargs = safe_emalloc(formatlen, sizeof(*formatargs), 0);
safe_emalloc      124 ext/standard/password.c 	buffer = (char *) safe_emalloc(raw_length, 1, 1);
safe_emalloc      132 ext/standard/password.c 	result = safe_emalloc(length, 1, 1);
safe_emalloc      337 ext/standard/password.c 			salt = safe_emalloc(required_salt_len, 1, 1);
safe_emalloc      346 ext/standard/password.c 			salt = safe_emalloc(required_salt_len, 1, 1);
safe_emalloc      352 ext/standard/password.c 		salt = safe_emalloc(required_salt_len, 1, 1);
safe_emalloc      362 ext/standard/password.c 	hash = safe_emalloc(salt_len + hash_format_len, 1, 1);
safe_emalloc      514 ext/standard/proc_open.c 	descriptors = safe_emalloc(sizeof(struct php_proc_open_descriptor_item), ndescriptors_array, 0);
safe_emalloc      170 ext/standard/scanf.c 	cset->chars = (char *) safe_emalloc(sizeof(char), (end - format - 1), 0);
safe_emalloc      172 ext/standard/scanf.c 		cset->ranges = (struct Range *) safe_emalloc(sizeof(struct Range), nranges, 0);
safe_emalloc      326 ext/standard/scanf.c 		nassign = (int*)safe_emalloc(sizeof(int), numVars, 0);
safe_emalloc      501 ext/standard/scanf.c 					nassign = (void *)safe_emalloc(nspace, sizeof(int), 0);
safe_emalloc      824 ext/standard/var.c 				s = (char *) safe_emalloc(PG(serialize_precision), 1, MAX_LENGTH_OF_DOUBLE + 1);
safe_emalloc       37 ext/standard/versioning.c     char *buf = safe_emalloc(len, 2, 1), *q, lp, lq;
safe_emalloc      349 ext/sysvmsg/sysvmsg.c 	messagebuffer = (struct php_msgbuf *) safe_emalloc(maxsize, 1, sizeof(struct php_msgbuf));
safe_emalloc      425 ext/sysvmsg/sysvmsg.c 		messagebuffer = safe_emalloc(ZSTR_LEN(msg_var.s), 1, sizeof(struct php_msgbuf));
safe_emalloc      454 ext/sysvmsg/sysvmsg.c 		messagebuffer = safe_emalloc(message_len, 1, sizeof(struct php_msgbuf));
safe_emalloc      176 ext/wddx/wddx.c 	stack->elements = (void **) safe_emalloc(sizeof(void **), STACK_BLOCK_SIZE, 0);
safe_emalloc      173 ext/xml/compat.c 		attrs = safe_emalloc((nb_attributes  * 2) + 1, sizeof(int *), 0);
safe_emalloc     1447 ext/xml/xml.c  	parser->ltags = safe_emalloc(XML_MAXLEVEL, sizeof(char *), 0);
safe_emalloc      122 ext/xsl/xsltprocessor.c 		value = (xmlChar*) safe_emalloc (str_len, sizeof(xmlChar), 0);
safe_emalloc      125 ext/xsl/xsltprocessor.c 		value = (xmlChar*) safe_emalloc (str_len, sizeof(xmlChar), 0);
safe_emalloc      146 ext/xsl/xsltprocessor.c 	params = (char **)safe_emalloc((2 * zend_hash_num_elements(parht) + 1), sizeof(char *), 0);
safe_emalloc      229 ext/xsl/xsltprocessor.c 		args = safe_emalloc(fci.param_count, sizeof(zval), 0);
safe_emalloc       58 ext/zlib/zlib.c 	return (voidpf)safe_emalloc(items, size, 0);
safe_emalloc      235 main/network.c 	*sal = safe_emalloc((n + 1), sizeof(*sal), 0);
safe_emalloc      267 main/network.c 	*sal = safe_emalloc(2, sizeof(*sal), 0);