| /openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/unbound/unbound/ |
| H A D | 0001-fix-build-with-gcc-15-Wbuiltin-declaration-mismatch-.patch | 7 ../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 D | 0001-Match-malloc-signature-to-its-use.patch | 4 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 D | kmerr.cocci | 1 /// 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 D | ppa.c | 91 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 D | nvedit_efi.c | 56 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 D | binop.c | 21 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 D | 0001-Enable-system-malloc-on-all-linux.patch | 4 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 D | no-gtk1.patch | 19 dnl ElectricFence malloc debugging 20 AC_MSG_CHECKING(use of ElectricFence malloc debugging)
|
| /openbmc/u-boot/lib/zlib/ |
| H A D | zutil.c | 50 extern voidp malloc OF((uInt size)); 60 return sizeof(uInt) > 2 ? (voidpf)malloc(items * size) : in zcalloc()
|
| /openbmc/u-boot/lib/rsa/ |
| H A D | rsa-verify.c | 122 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 D | malloc.patch | 4 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 D | copy_flash.c | 40 src = malloc(TEST_SIZE); in main() 41 dst = malloc(TEST_SIZE); in main()
|
| /openbmc/u-boot/env/ |
| H A D | attr.c | 54 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 D | 0001-ihpm-Include-stdlib.h-for-malloc-free-atoi-functions.patch | 4 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 D | meson.build | 9 'libqos-malloc.c', 14 'malloc-spapr.c', 21 'malloc-pc.c',
|
| /openbmc/hiomapd/test/ |
| H A D | flash_copy.c | 43 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 D | 0003-heaptrack_preload-Make-noexcept-attribute-conditiona.patch | 33 -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 D | CVE-2024-25081_CVE-2024-25082.patch | 35 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 D | CVE-2022-0529.patch | 21 - if ((buffer = (char *)malloc(wsize * max_bytes + 1)) == NULL) { 23 + if ((buffer = (char *)malloc(buffer_size)) == NULL) {
|
| H A D | 0001-unzip-fix-CVE-2018-1000035.patch | 34 - 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 D | 0001-hook-Do-not-append-int-to-std-string.patch | 25 - 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 D | CVE-2022-40320.patch | 31 - user = malloc(file - filename); 33 + user = malloc(len + 1);
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/lvgl/files/ |
| H A D | 0001-thorvg-fix-build-with-gcc-15.patch | 12 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 D | fm.c | 365 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 D | hash.c | 36 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()
|