erealloc 688 Zend/zend.h ptr = (char *) erealloc(ptr, size); erealloc 3314 Zend/zend_API.c fci->params = params = (zval ***) erealloc(fci->params, fci->param_count * sizeof(zval **)); erealloc 3338 Zend/zend_API.c fci->params = (zval ***) erealloc(fci->params, fci->param_count * sizeof(zval **)); erealloc 3362 Zend/zend_API.c fci->params = (zval ***) erealloc(fci->params, fci->param_count * sizeof(zval **)); erealloc 126 Zend/zend_alloc.h #define perealloc(ptr, size, persistent) ((persistent)?__zend_realloc((ptr), (size)):erealloc((ptr), (size))) erealloc 77 Zend/zend_ast.c *ast = erealloc(*ast, sizeof(zend_ast) + sizeof(zend_ast*) * ((*ast)->children * 2 + 1)); erealloc 84 Zend/zend_ast.c *ast = erealloc(*ast, sizeof(zend_ast) + sizeof(zend_ast*) * ((*ast)->children - 1)); erealloc 71 Zend/zend_compile.c CG(active_op_array)->run_time_cache = erealloc(CG(active_op_array)->run_time_cache, CG(active_op_array)->last_cache_slot * sizeof(void*)); \ erealloc 82 Zend/zend_compile.c CG(active_op_array)->run_time_cache = erealloc(CG(active_op_array)->run_time_cache, CG(active_op_array)->last_cache_slot * sizeof(void*)); \ erealloc 318 Zend/zend_compile.c op_array->vars = erealloc(op_array->vars, CG(context).vars_size * sizeof(zend_compiled_variable)); erealloc 364 Zend/zend_compile.c op_array->literals = (zend_literal*)erealloc(op_array->literals, CG(context).literals_size * sizeof(zend_literal)); erealloc 377 Zend/zend_compile.c op_array->literals = (zend_literal*)erealloc(op_array->literals, (i + 1) * sizeof(zend_literal)); erealloc 1916 Zend/zend_compile.c CG(active_op_array)->arg_info = erealloc(CG(active_op_array)->arg_info, sizeof(zend_arg_info)*(CG(active_op_array)->num_args)); erealloc 2278 Zend/zend_compile.c Z_STRVAL(class_name->u.constant) = erealloc( erealloc 2920 Zend/zend_compile.c CG(active_op_array)->try_catch_array = erealloc(CG(active_op_array)->try_catch_array, sizeof(zend_try_catch_element)*CG(active_op_array)->last_try_catch); erealloc 3370 Zend/zend_compile.c buf = erealloc(buf, length); \ erealloc 3709 Zend/zend_compile.c ce->interfaces = (zend_class_entry **) erealloc(ce->interfaces, sizeof(zend_class_entry *) * (ce_num + if_num)); erealloc 3810 Zend/zend_compile.c ce->default_static_members_table = erealloc(ce->default_static_members_table, sizeof(void*) * i); erealloc 3924 Zend/zend_compile.c ce->interfaces = (zend_class_entry **) erealloc(ce->interfaces, sizeof(zend_class_entry *) * (++current_iface_num)); erealloc 3959 Zend/zend_compile.c ce->traits = (zend_class_entry **) erealloc(ce->traits, sizeof(zend_class_entry *) * (++current_trait_num)); erealloc 6082 Zend/zend_compile.c list = erealloc(list, sizeof(void*) * (n+2)); erealloc 393 Zend/zend_constants.c lcname = erealloc(lcname, prefix_len + 1 + const_name_len + 1); erealloc 47 Zend/zend_dynamic_array.c da->array = (char *) erealloc(da->array, da->allocated*da->element_size); erealloc 373 Zend/zend_exceptions.c *str = (char*)erealloc(*str, *len + 1 + 1); \ erealloc 379 Zend/zend_exceptions.c *str = (char*)erealloc(*str, *len + l + 1); \ erealloc 399 Zend/zend_exceptions.c *str = (char*)erealloc(*str, *len + 1 + vallen); \ erealloc 4209 Zend/zend_language_scanner.c dirname = erealloc(dirname, MAXPATHLEN); erealloc 118 Zend/zend_objects_API.c EG(objects_store).object_buckets = (zend_object_store_bucket *) erealloc(EG(objects_store).object_buckets, EG(objects_store).size * sizeof(zend_object_store_bucket)); erealloc 48 Zend/zend_opcode.c op_array->opcodes = erealloc(op_array->opcodes, size * sizeof(zend_op)); erealloc 458 Zend/zend_opcode.c op_array->brk_cont_array = erealloc(op_array->brk_cont_array, sizeof(zend_brk_cont_element)*op_array->last_brk_cont); erealloc 738 Zend/zend_opcode.c op_array->vars = (zend_compiled_variable *) erealloc(op_array->vars, sizeof(zend_compiled_variable)*op_array->last_var); erealloc 742 Zend/zend_opcode.c op_array->opcodes = (zend_op *) erealloc(op_array->opcodes, sizeof(zend_op)*op_array->last); erealloc 746 Zend/zend_opcode.c op_array->literals = (zend_literal*)erealloc(op_array->literals, sizeof(zend_literal) * op_array->last_literal); erealloc 36 Zend/zend_stack.c stack->elements = (void **) erealloc(stack->elements, erealloc 61 Zend/zend_static_allocator.c sa->Blocks = (Block *) erealloc(sa->Blocks, ++sa->num_blocks); erealloc 280 Zend/zend_stream.c *buf = erealloc(*buf, ZEND_MMAP_AHEAD); erealloc 74 Zend/zend_string.h : erealloc(str, new_len)) erealloc 1349 Zend/zend_virtual_cwd.c tmp = erealloc(state->cwd, state->cwd_length+1); erealloc 1369 Zend/zend_virtual_cwd.c tmp = erealloc(state->cwd, state->cwd_length+1); erealloc 530 ext/bz2/bz2.c dest = erealloc(dest, dest_len + 1); erealloc 1703 ext/date/php_date.c buf = (char *) erealloc(buf, buf_len); erealloc 1722 ext/date/php_date.c buf = (char *) erealloc(buf, real_len + 1); erealloc 123 ext/dba/libflatfile/flatfile.c buf = erealloc(buf, buf_size); erealloc 146 ext/dba/libflatfile/flatfile.c buf = erealloc(buf, buf_size); erealloc 174 ext/dba/libflatfile/flatfile.c buf = erealloc(buf, buf_size); erealloc 190 ext/dba/libflatfile/flatfile.c buf = erealloc(buf, buf_size); erealloc 215 ext/dba/libflatfile/flatfile.c buf = erealloc(buf, buf_size); erealloc 231 ext/dba/libflatfile/flatfile.c buf = erealloc(buf, buf_size); erealloc 258 ext/dba/libflatfile/flatfile.c buf = erealloc(buf, buf_size); erealloc 268 ext/dba/libflatfile/flatfile.c buf = erealloc(buf, buf_size); erealloc 555 ext/enchant/enchant.c pbroker->dict = (enchant_dict **)erealloc(pbroker->dict, sizeof(enchant_dict *) * pbroker->dictcnt); erealloc 611 ext/enchant/enchant.c pbroker->dict = (enchant_dict **)erealloc(pbroker->dict, sizeof(enchant_dict *) * pbroker->dictcnt); erealloc 78 ext/exif/exif.c # define safe_erealloc(p,a,b,c) erealloc(p, (a)*(b)+(c)) erealloc 1187 ext/exif/exif.c dump = erealloc(dump, len + 4 + 1); erealloc 1194 ext/exif/exif.c dump = erealloc(dump, len + 6 + 1); erealloc 1201 ext/exif/exif.c dump = erealloc(dump, len + 6 + 1); erealloc 1208 ext/exif/exif.c dump = erealloc(dump, len + 13 + 1); erealloc 1215 ext/exif/exif.c dump = erealloc(dump, len + 2 + 1); erealloc 1223 ext/exif/exif.c dump = erealloc(dump, len + 1 + 1); erealloc 934 ext/fileinfo/libmagic/apprentice.c erealloc(mset[i].me, sizeof(*mp) * mset[i].max))) == erealloc 1198 ext/fileinfo/libmagic/apprentice.c erealloc(filearr, mlen))) == NULL) { erealloc 1542 ext/fileinfo/libmagic/apprentice.c if ((nm = CAST(struct magic *, erealloc(me->mp, erealloc 356 ext/fileinfo/libmagic/funcs.c if ((ms->o.pbuf = CAST(char *, erealloc(ms->o.pbuf, psize))) == NULL) { erealloc 420 ext/fileinfo/libmagic/funcs.c erealloc(ms->c.li, len)); erealloc 17 ext/gd/libgd/gdhelpers.h #define gdRealloc(ptr, size) erealloc(ptr, size) erealloc 671 ext/iconv/iconv.c tmp_buf = (char*) erealloc(out_buf, bsz+1); erealloc 693 ext/iconv/iconv.c tmp_buf = (char *) erealloc(out_buf, bsz); erealloc 3796 ext/imap/php_imap.c tempstring = erealloc(tempstring, l + l2 + CRLF_LEN + 1); erealloc 365 ext/interbase/ibase_query.c ib_query->out_sqlda = erealloc(ib_query->out_sqlda, XSQLDA_LENGTH(ib_query->out_sqlda->sqld)); erealloc 385 ext/interbase/ibase_query.c ib_query->in_sqlda = erealloc(ib_query->in_sqlda, XSQLDA_LENGTH(ib_query->in_sqlda->sqld)); erealloc 318 ext/interbase/ibase_service.c heap_buf = (char*) erealloc(heap_buf, heap_buf_size); erealloc 474 ext/intl/collator/collator_sort.c sortKeyBuf = erealloc( sortKeyBuf, sortKeyBufSize ); erealloc 486 ext/intl/collator/collator_sort.c sortKeyIndxBuf = erealloc( sortKeyIndxBuf, sortKeyIndxBufSize ); erealloc 35 ext/intl/intl_common.h # define eurealloc(ptr, size) (UChar*)erealloc((ptr), size * sizeof(UChar)) erealloc 307 ext/intl/locale/locale_methods.c tag_value = erealloc( tag_value , buflen ); erealloc 537 ext/intl/locale/locale_methods.c disp_name = erealloc( disp_name , buflen * sizeof(UChar) ); erealloc 720 ext/intl/locale/locale_methods.c kw_value = erealloc( kw_value , kw_value_len+1); erealloc 723 ext/intl/locale/locale_methods.c kw_value = erealloc( kw_value , kw_value_len+1); erealloc 1461 ext/intl/locale/locale_methods.c cur_arr[i*2] = erealloc(cur_arr[i*2], strlen(lang_tag)+1); erealloc 94 ext/intl/msgformat/msgformat_data.c npattern = erealloc(npattern, sizeof(UChar)*(npattern_len+1)); erealloc 640 ext/mbstring/mbstring.c return erealloc(ptr, sz); erealloc 3094 ext/mbstring/mbstring.c _from_encodings = erealloc(_from_encodings, l+n+2); erealloc 3593 ext/mbstring/mbstring.c ptmp = erealloc(stack, sizeof(zval **)*stack_max); erealloc 3674 ext/mbstring/mbstring.c ptmp = erealloc(stack, sizeof(zval **)*stack_max); erealloc 1272 ext/mssql/php_mssql.c result->data = (zval **) erealloc(result->data,sizeof(zval *)*MSSQL_ROWS_BLOCK*(++result->blocks_initialized)); erealloc 1880 ext/mysql/php_mysql.c new_str = erealloc(new_str, new_str_len + 1); erealloc 2025 ext/mysqli/mysqli_api.c newstr = erealloc(newstr, newstr_len + 1); erealloc 681 ext/mysqlnd/mysqlnd_alloc.c return erealloc(ptr, new_size); erealloc 30 ext/mysqlnd/mysqlnd_bt.c *str = (char*)erealloc(*str, *len + 1 + 1); \ erealloc 36 ext/mysqlnd/mysqlnd_bt.c *str = (char*)erealloc(*str, *len + l + 1); \ erealloc 315 ext/oci8/oci8_statement.c column->data = erealloc(column->data, column->retlen4 + PHP_OCI_PIECE_SIZE + 1); erealloc 987 ext/oci8/oci8_statement.c Z_STRVAL_P(bind->zval) = erealloc(Z_STRVAL_P(bind->zval), Z_STRLEN_P(bind->zval)+1); erealloc 928 ext/opcache/Optimizer/block_pass.c Z_STRVAL(ZEND_OP1_LITERAL(last_op)) = erealloc(Z_STRVAL(ZEND_OP1_LITERAL(last_op)), l + 1); erealloc 972 ext/opcache/Optimizer/block_pass.c Z_STRVAL(ZEND_OP2_LITERAL(src)) = erealloc(Z_STRVAL(ZEND_OP2_LITERAL(src)), l + 1); erealloc 1301 ext/opcache/Optimizer/block_pass.c op_array->opcodes = erealloc(new_opcodes, op_array->last * sizeof(zend_op)); erealloc 44 ext/opcache/Optimizer/optimize_func_calls.c call_stack = erealloc(call_stack, sizeof(optimizer_call_info) * stack_size); erealloc 80 ext/opcache/Optimizer/zend_optimizer.c op_array->vars = erealloc(op_array->vars, op_array->last_var * sizeof(zend_compiled_variable)); erealloc 97 ext/opcache/Optimizer/zend_optimizer.c op_array->literals = (zend_literal*)erealloc(op_array->literals, op_array->last_literal * sizeof(zend_literal)); erealloc 4937 ext/openssl/openssl.c buf = erealloc(buf, len1 + len2 + 1); erealloc 4944 ext/openssl/openssl.c add_next_index_stringl(ekeys, erealloc(eks[i], eksl[i] + 1), eksl[i], 0); erealloc 4952 ext/openssl/openssl.c ZVAL_STRINGL(*ivec, erealloc(iv, ivlen + 1), ivlen, 0); erealloc 5024 ext/openssl/openssl.c ZVAL_STRINGL(opendata, erealloc(buf, len1 + len2 + 1), len1 + len2, 0); erealloc 1811 ext/pcre/php_pcre.c RETVAL_STRINGL(erealloc(out_str, q - out_str + 1), q - out_str, 0); erealloc 270 ext/pdo_firebird/firebird_statement.c *ptr = S->fetch_buf[colno] = erealloc(*ptr, *len+1); erealloc 364 ext/pdo_oci/oci_statement.c Z_STRVAL_P(param->parameter) = erealloc(Z_STRVAL_P(param->parameter), P->actual_len+1); erealloc 78 ext/pdo_odbc/odbc_stmt.c S->convbuf = erealloc(S->convbuf, S->convbufsize); erealloc 110 ext/pdo_odbc/odbc_stmt.c S->convbuf = erealloc(S->convbuf, S->convbufsize); erealloc 497 ext/pdo_odbc/odbc_stmt.c Z_STRVAL_P(param->parameter) = erealloc(Z_STRVAL_P(param->parameter), srclen+1); erealloc 665 ext/pdo_odbc/odbc_stmt.c buf = erealloc(buf, used + 255+1); erealloc 669 ext/pdo_odbc/odbc_stmt.c buf = erealloc(buf, used + C->fetched_len+1); erealloc 611 ext/pdo_pgsql/pgsql_driver.c query = erealloc(query, buffer_len + 2); /* room for \n\0 */ erealloc 4117 ext/pgsql/pgsql.c csv = (char *)erealloc(csv, strlen(csv) + sizeof(char)*(COPYBUFSIZ+1)); erealloc 4480 ext/pgsql/pgsql.c buffer = erealloc(buffer, buflen+1); erealloc 2221 ext/phar/phar.c return erealloc(newpath, newpath_len + 1); erealloc 653 ext/readline/readline_cli.c code = erealloc(code, size); erealloc 141 ext/reflection/php_reflection.c str->string = erealloc(str->string, str->alloced); erealloc 156 ext/reflection/php_reflection.c str->string = erealloc(str->string, str->alloced); erealloc 577 ext/snmp/snmp.c dbuf = (char *)erealloc(dbuf, val_len + 1); erealloc 3006 ext/soap/php_encoding.c buf = (char *) erealloc(buf, buf_len); erealloc 3027 ext/soap/php_encoding.c buf = (char *) erealloc(buf, real_len+1); erealloc 1420 ext/soap/php_http.c http_buf = erealloc(http_buf, http_buf_size + buf_size + 1); erealloc 1490 ext/soap/php_http.c http_buf = erealloc(http_buf, http_buf_size + 4096 + 1); erealloc 1168 ext/sockets/sockets.c tmpbuf = erealloc(tmpbuf, retval + 1); erealloc 554 ext/spl/php_spl.c lc_name = erealloc(lc_name, func_name_len + 2 + sizeof(zend_object_handle)); erealloc 570 ext/spl/php_spl.c lc_name = erealloc(lc_name, func_name_len + 2 + sizeof(zend_object_handle)); erealloc 662 ext/spl/php_spl.c lc_name = erealloc(lc_name, func_name_len + 2 + sizeof(zend_object_handle)); erealloc 685 ext/spl/php_spl.c lc_name = erealloc(lc_name, func_name_len + 2 + sizeof(zend_object_handle)); erealloc 129 ext/spl/spl_fixedarray.c array->elements = erealloc(array->elements, sizeof(zval *) * size); erealloc 166 ext/spl/spl_iterators.c object->iterators = erealloc(object->iterators, sizeof(spl_sub_iterator)); erealloc 350 ext/spl/spl_iterators.c object->iterators = erealloc(object->iterators, sizeof(spl_sub_iterator) * (++object->level+1)); erealloc 408 ext/spl/spl_iterators.c object->iterators = erealloc(object->iterators, sizeof(spl_sub_iterator)); erealloc 379 ext/spl/spl_observer.c intern->gcdata = (zval**)erealloc(intern->gcdata, sizeof(zval*) * intern->gcdata_num); erealloc 4293 ext/standard/basic_functions.c opts = (opt_struct *) erealloc(opts, sizeof(opt_struct) * (len + count + 1)); erealloc 4334 ext/standard/basic_functions.c opts = (opt_struct*) erealloc(opts, sizeof(opt_struct) * (len + 1)); erealloc 143 ext/standard/exec.c buf = erealloc(buf, buflen); erealloc 384 ext/standard/exec.c cmd = erealloc(cmd, y + 1); erealloc 471 ext/standard/exec.c cmd = erealloc(cmd, y + 1); erealloc 1047 ext/standard/file.c Z_STRVAL_P(return_value) = erealloc(buf, line_len + 1); erealloc 2149 ext/standard/file.c new_temp = erealloc(temp, temp_len); erealloc 65 ext/standard/formatted_print.c *buffer = erealloc(*buffer, *size); erealloc 108 ext/standard/formatted_print.c *buffer = erealloc(*buffer, *size); erealloc 234 ext/standard/image.c buf = (char *) erealloc(buf,szlength); erealloc 825 ext/standard/image.c ifd_data = erealloc(ifd_data,ifd_size); erealloc 191 ext/standard/quot_print.c ret = erealloc(ret, *ret_length + 1); erealloc 507 ext/standard/scanf.c nassign = (void *)erealloc((void *)nassign, nspace * sizeof(int)); erealloc 951 ext/standard/string.c newtext = erealloc(newtext, alloced); erealloc 1012 ext/standard/string.c newtext = erealloc(newtext, newtextlen+1); erealloc 1071 ext/standard/string.c positions = erealloc(positions, allocated*sizeof(char *)); erealloc 2646 ext/standard/string.c RETURN_STRINGL(erealloc(str, q - str + 1), q - str, 0); erealloc 3530 ext/standard/string.c new_str = erealloc(new_str, newlen + 1); erealloc 3588 ext/standard/string.c new_str = (char *) erealloc(new_str, *new_length + 1); erealloc 3808 ext/standard/string.c new_str = erealloc(new_str, *_new_length + 1); erealloc 4634 ext/standard/string.c tbuf = erealloc(tbuf, (tp - tbuf) + PHP_TAG_BUF_SIZE + 1); erealloc 4653 ext/standard/string.c tbuf = erealloc(tbuf, (tp - tbuf) + PHP_TAG_BUF_SIZE + 1); erealloc 4671 ext/standard/string.c tbuf = erealloc(tbuf, (tp - tbuf) + PHP_TAG_BUF_SIZE + 1); erealloc 4700 ext/standard/string.c tbuf = erealloc(tbuf, (tp - tbuf) + PHP_TAG_BUF_SIZE + 1); erealloc 4754 ext/standard/string.c tbuf = erealloc(tbuf, (tp - tbuf) + PHP_TAG_BUF_SIZE + 1); erealloc 4779 ext/standard/string.c tbuf = erealloc(tbuf, (tp - tbuf) + PHP_TAG_BUF_SIZE + 1); erealloc 4838 ext/standard/string.c tbuf = erealloc(tbuf, (tp - tbuf) + PHP_TAG_BUF_SIZE + 1); erealloc 5531 ext/standard/string.c RETURN_STRINGL(erealloc(str, str_len + 1), str_len, 0); erealloc 479 ext/tidy/tidy.c return erealloc(buf, len); erealloc 190 ext/wddx/wddx.c stack->elements = (void **) erealloc(stack->elements, erealloc 1070 ext/wddx/wddx.c Z_STRVAL_P(ent->data) = erealloc(Z_STRVAL_P(ent->data), Z_STRLEN_P(ent->data) + len + 1); erealloc 1082 ext/wddx/wddx.c Z_STRVAL_P(ent->data) = erealloc(Z_STRVAL_P(ent->data), Z_STRLEN_P(ent->data) + len + 1); erealloc 303 ext/xml/xml.c return erealloc(ptr, sz); erealloc 658 ext/xml/xml.c newbuf = erealloc(newbuf, (*newlen)+1); erealloc 698 ext/xml/xml.c newbuf = erealloc(newbuf, *newlen + 1); erealloc 957 ext/xml/xml.c Z_STRVAL_PP(myval) = erealloc(Z_STRVAL_PP(myval),newlen+1); erealloc 977 ext/xml/xml.c Z_STRVAL_PP(myval) = erealloc(Z_STRVAL_PP(myval),newlen+1); erealloc 1910 ext/zip/php_zip.c ze_obj->buffers = (char **)erealloc(ze_obj->buffers, sizeof(char *) * (ze_obj->buffers_cnt+1)); erealloc 340 ext/zlib/zlib.c *out_buf = erealloc(*out_buf, Z.total_out + 1); erealloc 389 ext/zlib/zlib.c buffer.data = erealloc(buffer.data, buffer.used + 1); erealloc 905 main/output.c handler->buffer.data = erealloc(handler->buffer.data, handler->buffer.size + grow_max); erealloc 516 main/php_variables.c t = (t == buf ? emalloc(alloc_size): erealloc(t, alloc_size)); erealloc 664 main/rfc1867.c out = erealloc(out, total_bytes + read_bytes + 1); erealloc 63 main/streams/memory.c tmp = erealloc(ms->data, ms->fpos + count); erealloc 268 main/streams/memory.c ms->data = erealloc(ms->data, newsize); erealloc 939 main/streams/streams.c bufstart = erealloc(bufstart, current_buf_size + cpysz + 1); erealloc 1604 sapi/cgi/cgi_main.c t = (t == buf ? emalloc(alloc_size): erealloc(t, alloc_size)); erealloc 1618 sapi/cgi/cgi_main.c t = (t == buf ? emalloc(alloc_size): erealloc(t, alloc_size)); erealloc 480 sapi/fpm/fpm/fastcgi.c tmp = (tmp == buf ? emalloc(buf_size): erealloc(tmp, buf_size)); erealloc 294 sapi/litespeed/lsapi_main.c t = (t == buf ? emalloc(alloc_size): erealloc(t, alloc_size)); erealloc 625 sapi/phpdbg/phpdbg_prompt.c argv = erealloc(argv, (argc * 2 + 1) * sizeof(char *)); erealloc 636 sapi/phpdbg/phpdbg_prompt.c SG(request_info).argv = erealloc(argv, ++argc * sizeof(char *)); erealloc 667 win32/sendmail.c if (NULL == (*header_buffer = erealloc(*header_buffer, strlen(*header_buffer) + strlen(specifier) + strlen(string) + 1))) {