Home
last modified time | relevance | path

Searched refs:malloc (Results 1 – 25 of 542) sorted by relevance

12345678910>>...22

/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/unbound/unbound/
H A D0001-fix-build-with-gcc-15-Wbuiltin-declaration-mismatch-.patch7 ../git/compat/malloc.c:9:7: warning: conflicting types for built-in function 'malloc'; expected 'vo…
8 9 | void *malloc ();
10 ../git/compat/malloc.c:5:1: note: 'malloc' is declared in header '<stdlib.h>'
13 5 | #undef malloc
14 ../git/compat/malloc.c: In function 'rpl_malloc_unbound':
15 ../git/compat/malloc.c:23:10: error: too many arguments to function 'malloc'; expected 0, have 1
16 23 | return malloc (n);
18 ../git/compat/malloc.c:9:7: note: declared here
19 9 | void *malloc ();
22 * Seeing that there is '#undef malloc', it appears they don't want to
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/flex/flex/
H A D0001-Match-malloc-signature-to-its-use.patch4 Subject: [PATCH] Match `malloc` signature to its use
10 lib/malloc.c | 2 +-
13 diff --git a/lib/malloc.c b/lib/malloc.c
15 --- a/lib/malloc.c
16 +++ b/lib/malloc.c
21 - void *malloc ();
22 + void *malloc (size_t n);
/openbmc/u-boot/scripts/coccinelle/null/
H A Dkmerr.cocci1 /// This semantic patch looks for malloc etc that are not followed by a
4 /// in determining what the error handling code for the call to malloc etc
40 *x@p1 = \(malloc\|calloc\)(...);
56 x@p1 = \(malloc\|calloc\)(...);
/openbmc/u-boot/arch/arm/cpu/armv8/fsl-layerscape/
H A Dppa.c91 fitp = malloc(roundup(fdt_header_len, 512)); in ppa_init()
118 ppa_hdr_ddr = malloc(CONFIG_LS_PPA_ESBC_HDR_SIZE); in ppa_init()
141 ppa_fit_addr = malloc(fw_length); in ppa_init()
182 ppa_hdr_ddr = malloc(CONFIG_LS_PPA_ESBC_HDR_SIZE); in ppa_init()
206 ppa_fit_addr = malloc(fw_length); in ppa_init()
/openbmc/u-boot/cmd/
H A Dnvedit_efi.c56 data = malloc(size); in efi_dump_single_var()
102 var_name16 = malloc(buf_size); in efi_dump_vars()
145 var_name16 = malloc(buf_size); in efi_dump_var_all()
263 tmp_buf = malloc(len); in append_value()
290 tmp_buf = malloc(len); in append_value()
379 var_name16 = malloc((len + 1) * 2); in do_env_set_efi()
H A Dbinop.c21 str_output = malloc(len * 2 + 1); in write_to_env_var()
114 src1 = malloc(len); in do_binop()
115 src2 = malloc(len); in do_binop()
127 result = malloc(len); in do_binop()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-shells/tcsh/tcsh/
H A D0001-Enable-system-malloc-on-all-linux.patch4 Subject: [PATCH 1/2] Enable system malloc on all linux
7 internal malloc falls flat on musl based systems
8 as well. So switch to using system malloc
/openbmc/openbmc/poky/meta/recipes-multimedia/lame/lame/
H A Dno-gtk1.patch19 dnl ElectricFence malloc debugging
20 AC_MSG_CHECKING(use of ElectricFence malloc debugging)
/openbmc/u-boot/lib/zlib/
H A Dzutil.c50 extern voidp malloc OF((uInt size));
60 return sizeof(uInt) > 2 ? (voidpf)malloc(items * size) : in zcalloc()
/openbmc/u-boot/lib/rsa/
H A Drsa-verify.c122 tmp = malloc(hash_len); in mask_generation_function1()
200 masked_db = malloc(masked_db_len); in padding_pss_verify()
201 h = malloc(h_len); in padding_pss_verify()
202 db_mask = malloc(db_mask_len); in padding_pss_verify()
203 db = malloc(db_len); in padding_pss_verify()
204 salt = malloc(salt_len); in padding_pss_verify()
205 hprime = malloc(hash_len); in padding_pss_verify()
/openbmc/openbmc/poky/meta/recipes-support/libunwind/libunwind/
H A Dmalloc.patch4 Subject: [PATCH] Fix bad prototype for malloc() in test
6 The unit test Gtest-nomalloc.c had an incorrect prototype for malloc()
36 + * Verify that @c malloc() is not called during an unwinding operation.
101 + * Intercepted malloc() call.
105 + * malloc().
108 -malloc(size_t s)
109 +malloc (size_t sz)
115 - func = (void *(*)()) dlsym(RTLD_NEXT, "malloc");
119 + real_malloc = (malloc_t)(intptr_t)dlsym (RTLD_NEXT, "malloc");
122 + fprintf (stderr, "no malloc() found\n");
[all …]
/openbmc/phosphor-mboxd/test/
H A Dcopy_flash.c40 src = malloc(TEST_SIZE); in main()
41 dst = malloc(TEST_SIZE); in main()
/openbmc/u-boot/env/
H A Dattr.c54 entry_cpy = malloc(entry_len + 1); in env_attr_walk()
70 entry_cpy = malloc(entry_len + 1); in env_attr_walk()
138 cbp->regex = malloc(strlen(regex) + 1); in regex_callback()
147 cbp->attributes = malloc(strlen(attributes) + 1); in regex_callback()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/ipmiutil/ipmiutil/
H A D0001-ihpm-Include-stdlib.h-for-malloc-free-atoi-functions.patch4 Subject: [PATCH] ihpm: Include stdlib.h for malloc/free/atoi functions
20 +#include <stdlib.h> /* malloc/free/atoi */
/openbmc/qemu/tests/qtest/libqos/
H A Dmeson.build9 'libqos-malloc.c',
14 'malloc-spapr.c',
21 'malloc-pc.c',
/openbmc/hiomapd/test/
H A Dflash_copy.c43 src = malloc(TEST_SIZE); in main()
44 dst = malloc(TEST_SIZE); in main()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/heaptrack/heaptrack/
H A D0003-heaptrack_preload-Make-noexcept-attribute-conditiona.patch33 -void* malloc(size_t size) noexcept
34 +void* malloc(size_t size) NOEXECPT
36 if (!hooks::malloc) {
38 @@ -186,7 +192,7 @@ void* malloc(size_t size) noexcept
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/fontforge/fontforge/
H A DCVE-2024-25081_CVE-2024-25082.patch35 listfile = malloc(strlen(archivedir)+strlen("/" TOC_NAME)+1);
38 - listcommand = malloc( strlen(archivers[i].unarchive) + 1 +
82 - unarchivecmd = malloc( strlen(archivers[i].unarchive) + 1 +
118 finalfile = malloc( strlen(archivedir) + 1 + strlen(desiredfile) + 1);
134 tmpfn = malloc(strlen(dir)+strlen(GFileNameTail(name))+2);
/openbmc/openbmc/poky/meta/recipes-extended/unzip/unzip/
H A DCVE-2022-0529.patch21 - if ((buffer = (char *)malloc(wsize * max_bytes + 1)) == NULL) {
23 + if ((buffer = (char *)malloc(buffer_size)) == NULL) {
H A D0001-unzip-fix-CVE-2018-1000035.patch34 - if ((prompt = (char *)malloc(2*FILNAMSIZ + 15)) != (char *)NULL) {
39 + prompt = (char *)malloc( /* Slightly too long (2* "%s"). */
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/ltrace/ltrace/
H A D0001-hook-Do-not-append-int-to-std-string.patch25 - syspath = malloc(strlen(sysconfdir) + sizeof FN);
26 + syspath = malloc(strlen(sysconfdir) + sizeof FN + 2);
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libconfuse/files/
H A DCVE-2022-40320.patch31 - user = malloc(file - filename);
33 + user = malloc(len + 1);
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/lvgl/files/
H A D0001-thorvg-fix-build-with-gcc-15.patch12 fc5c15638 feat(thorvg): use LVGL's malloc/realloc/zalloc/free (#7772)
16 … where it was resolved differently in fc5c15638 feat(thorvg): use LVGL's malloc/realloc/zalloc/fre…
/openbmc/u-boot/drivers/net/fm/
H A Dfm.c365 addr = malloc(CONFIG_SYS_QE_FMAN_FW_LENGTH); in fm_init_common()
377 addr = malloc(CONFIG_SYS_QE_FMAN_FW_LENGTH); in fm_init_common()
409 addr = malloc(CONFIG_SYS_QE_FMAN_FW_LENGTH); in fm_init_common()
453 void *addr = malloc(CONFIG_SYS_QE_FMAN_FW_LENGTH); in fm_init_common()
464 void *addr = malloc(CONFIG_SYS_QE_FMAN_FW_LENGTH); in fm_init_common()
490 void *addr = malloc(CONFIG_SYS_QE_FMAN_FW_LENGTH); in fm_init_common()
/openbmc/u-boot/common/
H A Dhash.c36 sha1_context *ctx = malloc(sizeof(sha1_context)); in hash_init_sha1()
64 sha256_context *ctx = malloc(sizeof(sha256_context)); in hash_init_sha256()
92 sha512_context *ctx = malloc(sizeof(sha512_context)); in hash_init_sha384()
120 sha512_context *ctx = malloc(sizeof(sha512_context)); in hash_init_sha512()
148 uint16_t *ctx = malloc(sizeof(uint16_t)); in hash_init_crc16_ccitt()
175 uint32_t *ctx = malloc(sizeof(uint32_t)); in hash_init_crc32()

12345678910>>...22