malloc 253 TSRM/TSRM.c p->storage[j] = (void *) malloc(resource_types_table[j].size); malloc 275 TSRM/TSRM.c (*thread_resources_ptr) = (tsrm_tls_entry *) malloc(sizeof(tsrm_tls_entry)); malloc 276 TSRM/TSRM.c (*thread_resources_ptr)->storage = (void **) malloc(sizeof(void *)*id_count); malloc 292 TSRM/TSRM.c (*thread_resources_ptr)->storage[i] = (void *) malloc(resource_types_table[i].size); malloc 595 TSRM/TSRM.c mutexp = malloc(sizeof(CRITICAL_SECTION)); malloc 598 TSRM/TSRM.c mutexp = (MUTEX_T) malloc(sizeof(*mutexp)); malloc 601 TSRM/TSRM.c mutexp = (pthread_mutex_t *)malloc(sizeof(pthread_mutex_t)); malloc 610 TSRM/TSRM.c mutexp = (beos_ben*)malloc(sizeof(beos_ben)); malloc 59 TSRM/tsrm_config_common.h ((use_heap = ((size) > (limit))) ? malloc(size) : alloca(size)) malloc 66 TSRM/tsrm_config_common.h # define tsrm_do_alloca(p, use_heap) malloc(p) malloc 130 TSRM/tsrm_nw.c command = (char*)malloc(ptrLen + 1); malloc 142 TSRM/tsrm_nw.c argv[argc] = (char*)malloc(ptrLen + 1); malloc 172 TSRM/tsrm_win32.c pResultSid = malloc(sid_len); malloc 216 TSRM/tsrm_win32.c real_path = (char *)malloc(MAX_PATH); malloc 286 TSRM/tsrm_win32.c real_path = (char *)malloc(MAX_PATH); malloc 330 TSRM/tsrm_win32.c psec_desc = (BYTE *)malloc(sec_desc_length); malloc 535 TSRM/tsrm_win32.c cmd = (char*)malloc(strlen(command)+strlen(TWG(comspec))+sizeof(" /c ")+2); malloc 511 Zend/zend.c compiler_globals->function_table = (HashTable *) malloc(sizeof(HashTable)); malloc 515 Zend/zend.c compiler_globals->class_table = (HashTable *) malloc(sizeof(HashTable)); malloc 523 Zend/zend.c compiler_globals->auto_globals = (HashTable *) malloc(sizeof(HashTable)); malloc 702 Zend/zend.c GLOBAL_FUNCTION_TABLE = (HashTable *) malloc(sizeof(HashTable)); malloc 703 Zend/zend.c GLOBAL_CLASS_TABLE = (HashTable *) malloc(sizeof(HashTable)); malloc 704 Zend/zend.c GLOBAL_AUTO_GLOBALS_TABLE = (HashTable *) malloc(sizeof(HashTable)); malloc 705 Zend/zend.c GLOBAL_CONSTANTS_TABLE = (HashTable *) malloc(sizeof(HashTable)); malloc 730 Zend/zend.c compiler_globals->function_table = (HashTable *) malloc(sizeof(HashTable)); malloc 731 Zend/zend.c compiler_globals->class_table = (HashTable *) malloc(sizeof(HashTable)); malloc 912 Zend/zend.c new_info = (char *) malloc(new_info_length + 1); malloc 1828 Zend/zend_API.c module_request_startup_handlers = (zend_module_entry**)malloc( malloc 1864 Zend/zend_API.c class_cleanup_handlers = (zend_class_entry**)malloc( malloc 2510 Zend/zend_API.c zend_class_entry *class_entry = malloc(sizeof(zend_class_entry)); malloc 139 Zend/zend_alloc.c return malloc(sizeof(zend_mm_storage)); malloc 208 Zend/zend_alloc.c return malloc(sizeof(zend_mm_storage)); malloc 243 Zend/zend_alloc.c storage = (zend_mm_storage*)malloc(sizeof(zend_mm_storage)); malloc 287 Zend/zend_alloc.c return (zend_mm_segment*)malloc(size); malloc 1098 Zend/zend_alloc.c heap = malloc(sizeof(struct _zend_mm_heap)); malloc 2671 Zend/zend_alloc.c p = (char *) malloc(safe_address(length, 1, 1)); malloc 2726 Zend/zend_alloc.c alloc_globals->mm_heap = malloc(sizeof(struct _zend_mm_heap)); malloc 2729 Zend/zend_alloc.c alloc_globals->mm_heap->_malloc = malloc; malloc 95 Zend/zend_alloc.h void *tmp = malloc(len); malloc 86 Zend/zend_constants.c EG(zend_constants) = (HashTable *) malloc(sizeof(HashTable)); malloc 124 Zend/zend_gc.c GC_G(buf) = (gc_root_buffer*) malloc(sizeof(gc_root_buffer) * GC_ROOT_BUFFER_MAX_ENTRIES); malloc 198 Zend/zend_gc.h (z) = (zval*)malloc(sizeof(zval_gc_info)); \ malloc 91 Zend/zend_ini.c registered_zend_ini_directives = (HashTable *) malloc(sizeof(HashTable)); malloc 138 Zend/zend_ini.c EG(ini_directives) = (HashTable *) malloc(sizeof(HashTable)); malloc 166 Zend/zend_ini_parser.c Z_STRVAL_P(result) = (char *) malloc(Z_STRLEN_P(result)+1); malloc 177 Zend/zend_ini_parser.c Z_STRVAL_P(result) = malloc(1); malloc 536 Zend/zend_ini_parser.c && ! ((defined YYMALLOC || defined malloc) \ malloc 544 Zend/zend_ini_parser.c # define YYMALLOC malloc malloc 545 Zend/zend_ini_parser.c # if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ malloc 547 Zend/zend_ini_parser.c void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ malloc 89 Zend/zend_ini_parser.y Z_STRVAL_P(result) = (char *) malloc(Z_STRLEN_P(result)+1); malloc 100 Zend/zend_ini_parser.y Z_STRVAL_P(result) = malloc(1); malloc 574 Zend/zend_language_parser.c && ! ((defined YYMALLOC || defined malloc) \ malloc 582 Zend/zend_language_parser.c # define YYMALLOC malloc malloc 583 Zend/zend_language_parser.c # if ! defined malloc && ! defined _STDLIB_H && (defined __STDC__ || defined __C99__FUNC__ \ malloc 585 Zend/zend_language_parser.c void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ malloc 28 Zend/zend_static_allocator.h #define emalloc(s) malloc(s) malloc 48 Zend/zend_string.c CG(interned_strings_start) = malloc(size); malloc 200 Zend/zend_strtod.c #define MALLOC malloc malloc 336 Zend/zend_virtual_cwd.c tmp = (char*)malloc(len); malloc 681 Zend/zend_virtual_cwd.c realpath_cache_bucket *bucket = malloc(size); malloc 131 ext/com_dotnet/com_dotnet.c stuff = malloc(sizeof(*stuff)); malloc 1229 ext/curl/interface.c php_curl_openssl_tsl = malloc(c * sizeof(MUTEX_T)); malloc 320 ext/date/lib/parse_date.c uchar *buf = (uchar*) malloc(((s->lim - s->bot) + BSIZE)*sizeof(uchar)); malloc 24624 ext/date/lib/parse_date.c in.errors = malloc(sizeof(struct timelib_error_container)); malloc 24652 ext/date/lib/parse_date.c in.str = malloc((e - s) + YYMAXFILL); malloc 24739 ext/date/lib/parse_date.c in.errors = malloc(sizeof(struct timelib_error_container)); malloc 1017 ext/date/lib/parse_iso_intervals.c in.errors = malloc(sizeof(struct timelib_error_container)); malloc 1043 ext/date/lib/parse_iso_intervals.c in.str = malloc((e - s) + YYMAXFILL); malloc 104 ext/date/lib/parse_tz.c buffer = (int32_t*) malloc(tz->bit32.timecnt * sizeof(int32_t)); malloc 114 ext/date/lib/parse_tz.c cbuffer = (unsigned char*) malloc(tz->bit32.timecnt * sizeof(unsigned char)); malloc 148 ext/date/lib/parse_tz.c buffer = (unsigned char*) malloc(tz->bit32.typecnt * sizeof(unsigned char) * 6); malloc 155 ext/date/lib/parse_tz.c tz->type = (ttinfo*) malloc(tz->bit32.typecnt * sizeof(struct ttinfo)); malloc 169 ext/date/lib/parse_tz.c tz->timezone_abbr = (char*) malloc(tz->bit32.charcnt); malloc 177 ext/date/lib/parse_tz.c leap_buffer = (int32_t *) malloc(tz->bit32.leapcnt * 2 * sizeof(int32_t)); malloc 184 ext/date/lib/parse_tz.c tz->leap_times = (tlinfo*) malloc(tz->bit32.leapcnt * sizeof(tlinfo)); malloc 197 ext/date/lib/parse_tz.c buffer = (unsigned char*) malloc(tz->bit32.ttisstdcnt * sizeof(unsigned char)); malloc 211 ext/date/lib/parse_tz.c buffer = (unsigned char*) malloc(tz->bit32.ttisgmtcnt * sizeof(unsigned char)); malloc 250 ext/date/lib/parse_tz.c tz->location.comments = malloc(comments_len + 1); malloc 126 ext/date/lib/timelib.c tmp->trans = (int32_t *) malloc(tz->bit32.timecnt * sizeof(int32_t)); malloc 127 ext/date/lib/timelib.c tmp->trans_idx = (unsigned char*) malloc(tz->bit32.timecnt * sizeof(unsigned char)); malloc 131 ext/date/lib/timelib.c tmp->type = (ttinfo*) malloc(tz->bit32.typecnt * sizeof(struct ttinfo)); malloc 134 ext/date/lib/timelib.c tmp->timezone_abbr = (char*) malloc(tz->bit32.charcnt); malloc 137 ext/date/lib/timelib.c tmp->leap_times = (tlinfo*) malloc(tz->bit32.leapcnt * sizeof(tlinfo)); malloc 1093 ext/date/php_date.c offset->abbr = malloc(9); /* GMT�xxxx\0 */ malloc 1304 ext/date/php_date.c offset->abbr = malloc(9); /* GMT�xxxx\0 */ malloc 146 ext/ereg/regex/engine.c m->pmatch = (regmatch_t *)malloc((m->g->nsub + 1) * malloc 159 ext/ereg/regex/engine.c m->lastpos = (unsigned char **)malloc((g->nplus+1) * malloc 116 ext/ereg/regex/regcomp.c g = (struct re_guts *)malloc(sizeof(struct re_guts) + malloc 129 ext/ereg/regex/regcomp.c p->strip = (sop *)malloc(p->ssize * sizeof(sop)); malloc 1024 ext/ereg/regex/regcomp.c p->g->sets = (cset *)malloc(nc * sizeof(cset)); malloc 1029 ext/ereg/regex/regcomp.c p->g->setbits = (uch *)malloc(nbytes); malloc 1170 ext/ereg/regex/regcomp.c cs->multis = malloc(cs->smultis); malloc 1574 ext/ereg/regex/regcomp.c g->must = malloc((size_t)g->mlen + 1); malloc 78 ext/ereg/regex/regexec.c #define STATESETUP(m, nv) { (m)->space = malloc((nv)*(m)->g->nstates); \ malloc 617 ext/fileinfo/libmagic/cdf.c if ((buf = CAST(char *, malloc(ss))) == NULL) { malloc 803 ext/fileinfo/libmagic/cdf.c malloc(*maxcount * sizeof(*inp))); malloc 187 ext/fileinfo/libmagic/magic.c dllpath = malloc(sizeof(*dllpath) * (MAX_PATH + 1)); malloc 166 ext/gd/gdcache.c map = (key_value_t *)malloc(sizeof(key_value_t)); malloc 1000 ext/interbase/interbase.c ib_link = (ibase_db_link *) malloc(sizeof(ibase_db_link)); malloc 76 ext/mbstring/libmbfl/mbfl/mbfl_allocators.c return malloc(sz); malloc 37 ext/mbstring/libmbfl/mbfl/mbfl_allocators.h void *(*malloc)(unsigned int); malloc 48 ext/mbstring/libmbfl/mbfl/mbfl_allocators.h #define mbfl_malloc (__mbfl_allocators->malloc) malloc 104 ext/mbstring/oniguruma/regint.h #define xmalloc malloc malloc 259 ext/mbstring/ucgendat/ucgendat.c malloc(sizeof(ac_uint4) << 3); malloc 367 ext/mbstring/ucgendat/ucgendat.c malloc(sizeof(ac_uint4) << 3); malloc 482 ext/mbstring/ucgendat/ucgendat.c *pdecomps = (_decomp_t *) malloc(sizeof(_decomp_t) << 3); malloc 508 ext/mbstring/ucgendat/ucgendat.c malloc(sizeof(ac_uint4) * size); malloc 544 ext/mbstring/ucgendat/ucgendat.c title = (_case_t *) malloc(sizeof(_case_t) << 3); malloc 591 ext/mbstring/ucgendat/ucgendat.c upper = (_case_t *) malloc(sizeof(_case_t) << 3); malloc 638 ext/mbstring/ucgendat/ucgendat.c lower = (_case_t *) malloc(sizeof(_case_t) << 3); malloc 673 ext/mbstring/ucgendat/ucgendat.c ccl = (ac_uint4 *) malloc(sizeof(ac_uint4) * 24); malloc 754 ext/mbstring/ucgendat/ucgendat.c nums = (_num_t *) malloc(sizeof(_num_t) << 3); malloc 792 ext/mbstring/ucgendat/ucgendat.c ncodes = (_codeidx_t *) malloc(sizeof(_codeidx_t) << 3); malloc 1258 ext/mbstring/ucgendat/ucgendat.c comps = (_comp_t *) malloc(comps_used * sizeof(_comp_t)); malloc 692 ext/mssql/php_mssql.c mssql_ptr = (mssql_link *) malloc(sizeof(mssql_link)); malloc 866 ext/mysql/php_mysql.c mysql = (php_mysql_conn *) malloc(sizeof(php_mysql_conn)); malloc 411 ext/mysqlnd/mysqlnd_alloc.c ret = malloc(REAL_SIZE(size)); malloc 713 ext/mysqlnd/mysqlnd_alloc.c return malloc(size); malloc 381 ext/mysqlnd/mysqlnd_auth.c ret = malloc(SCRAMBLE_LENGTH); malloc 590 ext/mysqlnd/mysqlnd_auth.c ret = malloc(passwd_len); malloc 617 ext/mysqlnd/mysqlnd_auth.c ret = malloc(*auth_data_len); malloc 1721 ext/opcache/ZendAccelerator.c new_state.cwd = (char*)malloc(1); malloc 1748 ext/opcache/ZendAccelerator.c new_state.cwd = (char*)malloc(1); malloc 81 ext/opcache/zend_accelerator_blacklist.c errbuf = malloc(errsize); malloc 189 ext/opcache/zend_accelerator_blacklist.c it = (zend_regexp_list*)malloc(sizeof(zend_regexp_list)); malloc 314 ext/opcache/zend_accelerator_blacklist.c blacklist->entries[blacklist->pos].path = (char *)malloc(path_length + 1); malloc 921 ext/pcre/pcrelib/pcre_compile.c newspace = (PUBL(malloc))(IN_UCHARS(newsize)); malloc 7094 ext/pcre/pcrelib/pcre_compile.c named_group *newspace = (PUBL(malloc)) malloc 9217 ext/pcre/pcrelib/pcre_compile.c re = (REAL_PCRE *)(PUBL(malloc))(size); malloc 1790 ext/pcre/pcrelib/pcre_exec.c (int *)(PUBL(malloc))(new_recursive.saved_max * sizeof(int)); malloc 6666 ext/pcre/pcrelib/pcre_exec.c md->offset_vector = (int *)(PUBL(malloc))(ocount * sizeof(int)); malloc 462 ext/pcre/pcrelib/pcre_get.c stringlist = (pcre_uchar **)(PUBL(malloc))(size); malloc 562 ext/pcre/pcrelib/pcre_get.c substring = (pcre_uchar *)(PUBL(malloc))(IN_UCHARS(yield + 1)); malloc 64 ext/pcre/pcrelib/pcre_globals.c return malloc(aSize); malloc 78 ext/pcre/pcrelib/pcre_globals.c PCRE_EXP_DATA_DEFN void *(*PUBL(malloc))(size_t) = malloc; malloc 80 ext/pcre/pcrelib/pcre_globals.c PCRE_EXP_DATA_DEFN void *(*PUBL(stack_malloc))(size_t) = malloc; malloc 55 ext/pcre/pcrelib/pcre_jit_compile.c #define SLJIT_MALLOC(size, allocator_data) (PUBL(malloc))(size) malloc 84 ext/pcre/pcrelib/pcre_maketables.c yield = (unsigned char*)(PUBL(malloc))(tables_length); malloc 86 ext/pcre/pcrelib/pcre_maketables.c yield = (unsigned char*)malloc(tables_length); malloc 1565 ext/pcre/pcrelib/pcre_study.c extra = (PUBL(extra) *)(PUBL(malloc)) malloc 354 ext/pcre/pcrelib/pcreposix.c ovector = (int *)malloc(sizeof(int) * nmatch * 3); malloc 206 ext/pcre/pcrelib/sljit/sljitConfigInternal.h #define SLJIT_MALLOC(size, allocator_data) malloc(size) malloc 100 ext/pdo_odbc/pdo_odbc.c char *env = malloc(sizeof("DB2INSTANCE=") + strlen(instance)); malloc 507 ext/readline/readline.c matches = malloc(sizeof(char *) * 2); malloc 441 ext/readline/readline_cli.c retval = malloc(strlen(tmp) + 2); malloc 455 ext/readline/readline_cli.c retval = malloc(strlen(tmp) + 2); malloc 569 ext/readline/readline_cli.c char *tmp = malloc(len); malloc 2391 ext/soap/php_sdl.c prest = malloc(sizeof(sdlRestrictionInt)); malloc 2402 ext/soap/php_sdl.c prest = malloc(sizeof(sdlRestrictionChar)); malloc 2449 ext/soap/php_sdl.c pheaders = malloc(sizeof(HashTable)); malloc 2454 ext/soap/php_sdl.c pheader = malloc(sizeof(sdlSoapBindingFunctionHeader)); malloc 2517 ext/soap/php_sdl.c pparams = malloc(sizeof(HashTable)); malloc 2522 ext/soap/php_sdl.c pparam = malloc(sizeof(sdlParam)); malloc 2564 ext/soap/php_sdl.c pfaults = malloc(sizeof(HashTable)); malloc 2569 ext/soap/php_sdl.c pfault = malloc(sizeof(sdlFault)); malloc 2583 ext/soap/php_sdl.c soap_binding = malloc(sizeof(sdlSoapBindingFunctionFault)); malloc 2613 ext/soap/php_sdl.c pattr = malloc(sizeof(sdlAttribute)); malloc 2642 ext/soap/php_sdl.c pattr->extraAttributes = malloc(sizeof(HashTable)); malloc 2648 ext/soap/php_sdl.c pextra = malloc(sizeof(sdlExtraAttribute)); malloc 2674 ext/soap/php_sdl.c pmodel = malloc(sizeof(sdlContentModel)); malloc 2688 ext/soap/php_sdl.c pmodel->u.content = malloc(sizeof(HashTable)); malloc 2726 ext/soap/php_sdl.c ptype = malloc(sizeof(sdlType)); malloc 2753 ext/soap/php_sdl.c ptype->restrictions = malloc(sizeof(sdlRestrictions)); malloc 2794 ext/soap/php_sdl.c ptype->restrictions->enumeration = malloc(sizeof(HashTable)); malloc 2803 ext/soap/php_sdl.c ptype->elements = malloc(sizeof(HashTable)); malloc 2822 ext/soap/php_sdl.c ptype->attributes = malloc(sizeof(HashTable)); malloc 2848 ext/soap/php_sdl.c penc = malloc(sizeof(encode)); malloc 2871 ext/soap/php_sdl.c pbind = malloc(sizeof(sdlBinding)); malloc 2886 ext/soap/php_sdl.c soap_binding = malloc(sizeof(sdlSoapBinding)); malloc 2899 ext/soap/php_sdl.c pfunc = malloc(sizeof(sdlFunction)); malloc 2925 ext/soap/php_sdl.c soap_binding = malloc(sizeof(sdlSoapBindingFunction)); malloc 2963 ext/soap/php_sdl.c psdl = malloc(sizeof(*sdl)); malloc 2977 ext/soap/php_sdl.c psdl->groups = malloc(sizeof(HashTable)); malloc 2997 ext/soap/php_sdl.c psdl->types = malloc(sizeof(HashTable)); malloc 3017 ext/soap/php_sdl.c psdl->elements = malloc(sizeof(HashTable)); malloc 3037 ext/soap/php_sdl.c psdl->encoders = malloc(sizeof(HashTable)); malloc 3084 ext/soap/php_sdl.c psdl->bindings = malloc(sizeof(HashTable)); malloc 3122 ext/soap/php_sdl.c psdl->requests = malloc(sizeof(HashTable)); malloc 3371 ext/soap/php_sdl.c SOAP_GLOBAL(mem_cache) = malloc(sizeof(HashTable)); malloc 17085 ext/sqlite3/libsqlite/sqlite3.c #define SQLITE_MALLOC(x) malloc(x) malloc 17563 ext/sqlite3/libsqlite/sqlite3.c p = malloc(totalSize); malloc 101968 ext/sqlite3/libsqlite/sqlite3.c void *(*malloc)(int); malloc 102214 ext/sqlite3/libsqlite/sqlite3.c #define sqlite3_malloc sqlite3_api->malloc malloc 113 ext/sqlite3/libsqlite/sqlite3ext.h void *(*malloc)(int); malloc 359 ext/sqlite3/libsqlite/sqlite3ext.h #define sqlite3_malloc sqlite3_api->malloc malloc 805 ext/standard/proc_open.c child_argv = (char**) malloc((command_num_args + 1) * sizeof(char*)); malloc 60 ext/standard/url_scanner_ex.c ctx->tags = malloc(sizeof(HashTable)); malloc 779 ext/sybase_ct/php_sybase_ct.c sybase_ptr = (sybase_link *) malloc(sizeof(sybase_link)); malloc 26 ext/xmlrpc/libxmlrpc/base64.c b->data = malloc(sizeof(char)*(b->length)); malloc 76 ext/xmlrpc/libxmlrpc/encodings.c outbuf = (char*)malloc(outlen + 1); malloc 292 ext/xmlrpc/libxmlrpc/queue.c p = malloc(sizeof(datanode)); malloc 344 ext/xmlrpc/libxmlrpc/queue.c n = malloc(sizeof(datanode)); malloc 793 ext/xmlrpc/libxmlrpc/queue.c index = malloc(q->size * sizeof(q->cursor->data)); malloc 797 ext/xmlrpc/libxmlrpc/queue.c posn_index = malloc(q->size * sizeof(q->cursor)); malloc 114 ext/xmlrpc/libxmlrpc/simplestring.c string->str = (char*)malloc(SIMPLESTRING_INCR); malloc 350 ext/xmlrpc/libxmlrpc/xml_element.c NewBuffer= malloc(iLength+1); malloc 610 ext/xmlrpc/libxmlrpc/xml_element.c xml_element_attr* attr = malloc(sizeof(xml_element_attr)); malloc 183 ext/xmlrpc/libxmlrpc/xml_to_dandarpc.c xml_element_attr* attr_type = bNoAddType ? NULL : malloc(sizeof(xml_element_attr)); malloc 194 ext/xmlrpc/libxmlrpc/xml_to_dandarpc.c xml_element_attr* attr_id = malloc(sizeof(xml_element_attr)); malloc 285 ext/xmlrpc/libxmlrpc/xml_to_dandarpc.c xml_element_attr* version = malloc(sizeof(xml_element_attr)); malloc 69 ext/xmlrpc/libxmlrpc/xml_to_soap.c xml_element_attr* attr = malloc(sizeof(xml_element_attr)); malloc 1058 ext/xmlrpc/libxmlrpc/xmlrpc.c value->v->q = (queue*)malloc(sizeof(queue)); malloc 2442 ext/xmlrpc/libxmlrpc/xmlrpc.c server_method* sm = malloc(sizeof(server_method)); malloc 113 ext/zip/lib/zip_close.c if ((filelist=(struct zip_filelist *)malloc(sizeof(filelist[0])*(size_t)survivors)) == NULL) malloc 599 ext/zip/lib/zip_close.c if ((temp=(char *)malloc(strlen(za->tempdir)+13)) == NULL) { malloc 606 ext/zip/lib/zip_close.c if ((temp=(char *)malloc(strlen(za->zn)+8)) == NULL) { malloc 67 ext/zip/lib/zip_dir_add.c if ((s=(char *)malloc(len+2)) == NULL) { malloc 106 ext/zip/lib/zip_dirent.c if ((cd=(struct zip_cdir *)malloc(sizeof(*cd))) == NULL) { malloc 113 ext/zip/lib/zip_dirent.c else if (nentry > ((size_t)-1)/sizeof(*(cd->entry)) || (cd->entry=(struct zip_entry *)malloc(sizeof(*(cd->entry))*(size_t)nentry)) == NULL) { malloc 215 ext/zip/lib/zip_dirent.c if ((tde=(struct zip_dirent *)malloc(sizeof(*tde))) == NULL) malloc 299 ext/zip/lib/zip_dirent.c if ((de=(struct zip_dirent *)malloc(sizeof(*de))) == NULL) malloc 802 ext/zip/lib/zip_dirent.c if ((data=(zip_uint8_t *)malloc(len+5)) == NULL) { malloc 897 ext/zip/lib/zip_dirent.c r = (zip_uint8_t *)malloc(nulp ? len+1 : len); malloc 78 ext/zip/lib/zip_error_strerror.c if ((s=(char *)malloc(strlen(ss) malloc 196 ext/zip/lib/zip_extra_field.c if ((ef=(struct zip_extra_field *)malloc(sizeof(*ef))) == NULL) malloc 79 ext/zip/lib/zip_fopen_index_encrypted.c if ((zf=(struct zip_file *)malloc(sizeof(struct zip_file))) == NULL) { malloc 49 ext/zip/lib/zip_memdup.c ret = malloc(len); malloc 51 ext/zip/lib/zip_new.c za = (struct zip *)malloc(sizeof(struct zip)); malloc 515 ext/zip/lib/zip_open.c if ((buf=(unsigned char *)malloc(CDBUFSIZE)) == NULL) { malloc 65 ext/zip/lib/zip_source_buffer.c if ((f=(struct read_data *)malloc(sizeof(*f))) == NULL) { malloc 64 ext/zip/lib/zip_source_crc.c if ((ctx=(struct crc_context *)malloc(sizeof(*ctx))) == NULL) { malloc 75 ext/zip/lib/zip_source_deflate.c if ((ctx=(struct deflate *)malloc(sizeof(*ctx))) == NULL) { malloc 91 ext/zip/lib/zip_source_filep.c if ((f=(struct read_file *)malloc(sizeof(struct read_file))) == NULL) { malloc 66 ext/zip/lib/zip_source_function.c if ((src=(struct zip_source *)malloc(sizeof(*src))) == NULL) { malloc 79 ext/zip/lib/zip_source_pkware.c if ((ctx=(struct trad_pkware *)malloc(sizeof(*ctx))) == NULL) { malloc 63 ext/zip/lib/zip_source_window.c if ((ctx=(struct window *)malloc(sizeof(*ctx))) == NULL) { malloc 159 ext/zip/lib/zip_string.c if ((s=(struct zip_string *)malloc(sizeof(*s))) == NULL) { malloc 164 ext/zip/lib/zip_string.c if ((s->raw=(zip_uint8_t *)malloc(length+1)) == NULL) { malloc 241 ext/zip/lib/zip_utf-8.c if ((utf8buf=(zip_uint8_t*)malloc(buflen)) == NULL) { malloc 156 ext/zip/php_zip.c # define CWD_STATE_ALLOC(l) malloc(l) malloc 205 main/alloca.c register pointer new = malloc (sizeof (header) + size); malloc 267 main/main.c binary_location = (char *)malloc(MAXPATHLEN); malloc 274 main/main.c binary_location = (char *)malloc(MAXPATHLEN); malloc 129 main/mergesort.c if ((list2 = malloc(nmemb * size + PSIZE)) == NULL) malloc 101 main/php_scandir.c newdp = (struct dirent *) malloc(dsize); malloc 87 main/snprintf.c if ((rve = s = (char *)malloc(ndigit?siz:2)) == NULL) { malloc 108 main/snprintf.c if ((s = (char *)malloc(siz+1)) == NULL) { malloc 1302 main/snprintf.c if ((*buf = malloc(++cc)) != NULL) { malloc 34 main/streams/php_streams_int.h #define pemalloc_rel_orig(size, persistent) ((persistent) ? malloc((size)) : emalloc_rel_orig((size))) malloc 609 sapi/aolserver/aolserver.c ctx = malloc(sizeof *ctx); malloc 726 sapi/apache/mod_php5.c per_dir_entry->key = (char *) malloc(tmp.key_length+1); malloc 730 sapi/apache/mod_php5.c per_dir_entry->value = (char *) malloc(tmp.value_length+1); malloc 770 sapi/apache/mod_php5.c per_dir_info = (HashTable *) malloc(sizeof(HashTable)); malloc 818 sapi/apache/mod_php5.c per_dir_entry.key = (char *) malloc(per_dir_entry.key_length+1); malloc 822 sapi/apache/mod_php5.c per_dir_entry.value = (char *) malloc(per_dir_entry.value_length+1); malloc 779 sapi/apache_hooks/mod_php5.c per_dir_entry->key = (char *) malloc(tmp.key_length+1); malloc 783 sapi/apache_hooks/mod_php5.c per_dir_entry->value = (char *) malloc(tmp.value_length+1); malloc 839 sapi/apache_hooks/mod_php5.c conf = (php_per_server_config *) malloc(sizeof(php_per_server_config)); malloc 855 sapi/apache_hooks/mod_php5.c conf = (php_per_dir_config *) malloc(sizeof(php_per_dir_config)); malloc 856 sapi/apache_hooks/mod_php5.c conf->ini_settings = (HashTable *) malloc(sizeof(HashTable)); malloc 916 sapi/apache_hooks/mod_php5.c per_dir_entry.key = (char *) malloc(per_dir_entry.key_length+1); malloc 920 sapi/apache_hooks/mod_php5.c per_dir_entry.value = (char *) malloc(per_dir_entry.value_length+1); malloc 933 sapi/apache_hooks/mod_php5.c handler = (php_handler *) malloc(sizeof(php_handler)); malloc 952 sapi/apache_hooks/mod_php5.c handler = (php_handler *) malloc(sizeof(php_handler)); malloc 705 sapi/caudium/caudium.c THIS = malloc(sizeof(php_caudium_request)); malloc 587 sapi/cgi/cgi_main.c buf = (char *) malloc(len); malloc 737 sapi/cgi/cgi_main.c char *buf = malloc(len+2); malloc 2300 sapi/cgi/cgi_main.c s = malloc(len); malloc 188 sapi/cgi/fastcgi.c h->buckets = (fcgi_hash_buckets*)malloc(sizeof(fcgi_hash_buckets)); malloc 191 sapi/cgi/fastcgi.c h->data = (fcgi_data_seg*)malloc(sizeof(fcgi_data_seg) - 1 + FCGI_HASH_SEG_SIZE); malloc 244 sapi/cgi/fastcgi.c fcgi_data_seg *p = (fcgi_data_seg*)malloc(sizeof(fcgi_data_seg) - 1 + seg_size); malloc 276 sapi/cgi/fastcgi.c fcgi_hash_buckets *b = (fcgi_hash_buckets*)malloc(sizeof(fcgi_hash_buckets)); malloc 515 sapi/cgi/fastcgi.c acl = malloc(req_acl_size); malloc 706 sapi/cgi/fastcgi.c allowed_clients = malloc(sizeof(in_addr_t) * (n+2)); malloc 1349 sapi/cli/php_cli.c ini_entries = malloc(sizeof(HARDCODED_INI)); malloc 185 sapi/cli/ps_title.c new_environ = (char **) malloc((i + 1) * sizeof(char *)); malloc 186 sapi/cli/ps_title.c frozen_environ = (char **) malloc((i + 1) * sizeof(char *)); malloc 217 sapi/cli/ps_title.c new_argv = (char **) malloc((argc + 1) * sizeof(char *)); malloc 480 sapi/continuity/capi.c request_context = (capi_request_context *) malloc(sizeof(capi_request_context)); malloc 188 sapi/embed/php_embed.c php_embed_module.ini_entries = malloc(sizeof(HARDCODED_INI)); malloc 89 sapi/fpm/fpm/events/devpoll.c pollfds = malloc(sizeof(struct pollfd) * max); malloc 102 sapi/fpm/fpm/events/devpoll.c active_pollfds = malloc(sizeof(struct pollfd) * max); malloc 82 sapi/fpm/fpm/events/epoll.c epollfds = malloc(sizeof(struct epoll_event) * max); malloc 86 sapi/fpm/fpm/events/kqueue.c kevents = malloc(sizeof(struct kevent) * max); malloc 81 sapi/fpm/fpm/events/poll.c pollfds = malloc(sizeof(struct pollfd) * max); malloc 94 sapi/fpm/fpm/events/poll.c active_pollfds = malloc(sizeof(struct pollfd) * max); malloc 83 sapi/fpm/fpm/events/port.c events = malloc(sizeof(port_event_t) * max); malloc 259 sapi/fpm/fpm/fastcgi.c allowed_clients = malloc(sizeof(sa_t) * (n+2)); malloc 23 sapi/fpm/fpm/fpm_arrays.h a = malloc(sizeof(struct fpm_array_s)); malloc 47 sapi/fpm/fpm/fpm_children.c ret = malloc(sizeof(struct fpm_child_s)); malloc 438 sapi/fpm/fpm/fpm_children.c wp->ondemand_event = (struct fpm_event_s *)malloc(sizeof(struct fpm_event_s)); malloc 462 sapi/fpm/fpm/fpm_children.c last_faults = malloc(sizeof(time_t) * fpm_global_config.emergency_restart_threshold); malloc 552 sapi/fpm/fpm/fpm_conf.c kv = malloc(sizeof(*kv)); malloc 605 sapi/fpm/fpm/fpm_conf.c wp->config = malloc(sizeof(struct fpm_worker_pool_config_s)); malloc 1047 sapi/fpm/fpm/fpm_conf.c wp->limit_extensions = malloc(sizeof(char *) * (nb_ext + 1)); malloc 28 sapi/fpm/fpm/fpm_env.c char *malloc(); malloc 36 sapi/fpm/fpm/fpm_env.c if ((cp = malloc(strlen(name) + strlen(value) + 2)) == 0) { malloc 259 sapi/fpm/fpm/fpm_env.c if ((new_environ = malloc((1U + env_nb) * sizeof (char *))) == NULL) { malloc 155 sapi/fpm/fpm/fpm_events.c if (!(elt = malloc(sizeof(struct fpm_event_queue_s)))) { malloc 677 sapi/fpm/fpm/fpm_main.c char *buf = malloc(len + 2); malloc 269 sapi/fpm/fpm/fpm_process_ctl.c saved_argv = malloc(sizeof(char *) * (saved_argc + 1)); malloc 419 sapi/fpm/fpm/fpm_unix.c new_con = malloc(strlen(con) + strlen(wp->config->apparmor_hat) + 3); // // + 0 Byte malloc 59 sapi/fpm/fpm/fpm_worker_pool.c ret = malloc(sizeof(struct fpm_worker_pool_s)); malloc 626 sapi/litespeed/lsapilib.c s_lve = malloc(rc); malloc 1230 sapi/litespeed/lsapilib.c pReq->m_pRespBuf = pReq->m_pRespBufPos = (char *)malloc( LSAPI_RESP_BUF_SIZE ); malloc 2449 sapi/litespeed/lsapilib.c g_prefork_server = (lsapi_prefork_server *)malloc( sizeof( lsapi_prefork_server ) ); malloc 1030 sapi/phpdbg/phpdbg.c bp_tmp_file = malloc(L_tmpnam); malloc 1119 sapi/phpdbg/phpdbg.c } else zend_extensions = malloc(sizeof(char*) * zend_extensions_len); malloc 1262 sapi/phpdbg/phpdbg.c ini_entries = malloc(sizeof(phpdbg_ini_hardcoded)); malloc 28 sapi/phpdbg/phpdbg_btree.c # define emalloc malloc malloc 634 sapi/phpdbg/phpdbg_cmd.c list = malloc( malloc 360 sapi/phpdbg/phpdbg_parser.c && ! ((defined YYMALLOC || defined malloc) \ malloc 368 sapi/phpdbg/phpdbg_parser.c # define YYMALLOC malloc malloc 369 sapi/phpdbg/phpdbg_parser.c # if ! defined malloc && ! defined EXIT_SUCCESS && (defined __STDC__ || defined __C99__FUNC__ \ malloc 371 sapi/phpdbg/phpdbg_parser.c void *malloc (YYSIZE_T); /* INFRINGES ON USER NAME SPACE */ malloc 1497 sapi/phpdbg/phpdbg_parser.c (yyval).file.name = malloc((yyvsp[(1) - (4)]).len + (yyvsp[(2) - (4)]).len + 1); malloc 1512 sapi/phpdbg/phpdbg_parser.c (yyval).file.name = malloc((yyvsp[(1) - (5)]).len + (yyvsp[(2) - (5)]).len + 1); malloc 89 sapi/phpdbg/phpdbg_parser.y $$.file.name = malloc($1.len + $2.len + 1); malloc 99 sapi/phpdbg/phpdbg_parser.y $$.file.name = malloc($1.len + $2.len + 1); malloc 234 sapi/phpdbg/phpdbg_prompt.c code = malloc(cmd_len + 1); malloc 341 sapi/phpdbg/phpdbg_watch.c watch->str = malloc(i + Z_STRLEN_P(key) + 2); malloc 531 sapi/phpdbg/phpdbg_watch.c dump = malloc(MEMDUMP_SIZE(size)); malloc 190 sapi/phttpd/phttpd.c SG(request_info).path_translated = malloc(MAXPATHLEN); malloc 573 sapi/thttpd/thttpd.c nhc = malloc(sizeof *nhc); malloc 577 sapi/thttpd/thttpd.c m = malloc(sizeof *m); malloc 115 sapi/tux/php_tux.c vec = malloc(sizeof(struct iovec) * max_headers); malloc 116 sapi/tux/php_tux.c status_line = malloc(30); malloc 728 win32/glob.c malloc(newsize); malloc 749 win32/glob.c if ((copy = malloc(len)) != NULL) { malloc 35 win32/readdir.c filespec = (char *)malloc(strlen(resolved_path_buff) + 2 + 1); malloc 46 win32/readdir.c dp = (DIR *) malloc(sizeof(DIR)); malloc 149 win32/readdir.c filespec = (char *)malloc(strlen(dp->dir) + 2 + 1); malloc 81 win32/registry.c ht = (HashTable*)malloc(sizeof(HashTable)); malloc 87 win32/registry.c data = (zval*)malloc(sizeof(zval)); malloc 183 win32/registry.c PW32G(registry_directories) = (HashTable*)malloc(sizeof(HashTable)); malloc 156 win32/time.c struct timer_msg *msg = malloc(sizeof(struct timer_msg));