| /openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/ez-ipupdate/files/ |
| H A D | 0001-ez-ipupdate-Include-time.h-for-time-API-prototype.patch | 28 p += strlen(p); 29 limit = BUFFER_SIZE - 1 - strlen(buf); 31 - snprintf(buf, BUFFER_SIZE, "Content-length: %d\015\012", strlen(putbuf)); 32 + snprintf(buf, BUFFER_SIZE, "Content-length: %lu\015\012", strlen(putbuf)); 37 p += strlen(p); 38 limit = BUFFER_SIZE - 1 - strlen(buf); 40 - snprintf(buf, BUFFER_SIZE, "Content-length: %d\015\012", strlen(putbuf)); 41 + snprintf(buf, BUFFER_SIZE, "Content-length: %lu\015\012", strlen(putbuf));
|
| /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 + 39 - strlen( archivers[i].listargs) + 1 + 40 - strlen( name ) + 3 + 41 - strlen( listfile ) +4 ); 71 + fwrite(stdoutresponse, strlen(stdoutresponse), 1, fp); 82 - unarchivecmd = malloc( strlen(archivers[i].unarchive) + 1 + 83 - strlen( archivers[i].listargs) + 1 + 84 - strlen( name ) + 1 + 85 - strlen( desiredfile ) + 3 + [all …]
|
| /openbmc/qemu/tests/unit/ |
| H A D | test-crypto-hmac.c | 111 strlen(KEY), &error_fatal); in test_hmac_alloc() 115 strlen(INPUT_TEXT), &result, in test_hmac_alloc() 149 resultlen = strlen(exp_output) / 2; in test_hmac_prealloc() 153 strlen(KEY), &error_fatal); in test_hmac_prealloc() 157 strlen(INPUT_TEXT), &result, in test_hmac_prealloc() 188 { .iov_base = (char *)INPUT_TEXT1, .iov_len = strlen(INPUT_TEXT1) }, in test_hmac_iov() 189 { .iov_base = (char *)INPUT_TEXT2, .iov_len = strlen(INPUT_TEXT2) }, in test_hmac_iov() 190 { .iov_base = (char *)INPUT_TEXT3, .iov_len = strlen(INPUT_TEXT3) }, in test_hmac_iov() 200 strlen(KEY), &error_fatal); in test_hmac_iov() 236 strlen(KEY), &error_fatal); in test_hmac_digest() [all …]
|
| H A D | test-cutils.c | 116 g_assert_true(endptr == str + strlen(str)); in test_parse_uint_correct() 130 g_assert_true(endptr == str + strlen(str)); in test_parse_uint_octal() 144 g_assert_true(endptr == str + strlen(str)); in test_parse_uint_decimal() 158 g_assert_true(endptr == str + strlen(str)); in test_parse_uint_llong_max() 174 g_assert_true(endptr == str + strlen(str)); in test_parse_uint_max() 192 g_assert_true(endptr == str + strlen(str)); in test_parse_uint_overflow() 200 g_assert_true(endptr == str + strlen(str)); in test_parse_uint_overflow() 208 g_assert_true(endptr == str + strlen(str)); in test_parse_uint_overflow() 224 g_assert_true(endptr == str + strlen(str)); in test_parse_uint_negative() 232 g_assert_true(endptr == str + strlen(st in test_parse_uint_negative() [all...] |
| H A D | test-crypto-hash.c | 121 strlen(INPUT_TEXT), in test_hash_alloc() 156 strlen(INPUT_TEXT), in test_hash_prealloc() 180 { .iov_base = (char *)INPUT_TEXT1, .iov_len = strlen(INPUT_TEXT1) }, in test_hash_iov() 181 { .iov_base = (char *)INPUT_TEXT2, .iov_len = strlen(INPUT_TEXT2) }, in test_hash_iov() 182 { .iov_base = (char *)INPUT_TEXT3, .iov_len = strlen(INPUT_TEXT3) }, in test_hash_iov() 225 g_assert_cmpint(digestsize * 2, ==, strlen(expected_outputs[i])); in test_hash_digest() 229 strlen(INPUT_TEXT), in test_hash_digest() 253 strlen(INPUT_TEXT), in test_hash_base64() 269 { .iov_base = (char *)INPUT_TEXT1, .iov_len = strlen(INPUT_TEXT1) }, in test_hash_accumulate() 270 { .iov_base = (char *)INPUT_TEXT2, .iov_len = strlen(INPUT_TEXT2) }, in test_hash_accumulate() [all …]
|
| H A D | test-xs-node.c | 46 (int)(n->content ? n->content->len : strlen("<empty>")), in dump_ref() 167 int pathlen = strlen(cw->path); in compare_child() 227 g_byte_array_append(d, (void *)content, strlen(content)); in write_str() 330 g_assert(guest_watches->len == strlen("someguestwatch")); in test_xs_node_simple() 337 g_assert(qemu_watches->len == strlen("/local/domain/1/someqemuwatch")); in test_xs_node_simple() 362 g_assert(data->len == strlen("something")); in test_xs_node_simple() 370 g_assert(data->len == strlen("something")); in test_xs_node_simple() 425 g_assert(guest_watches->len == strlen("some/relative/path2watchp2")); in test_xs_node_simple() 433 strlen("/local/domain/1/some/relativewatchrel")); in test_xs_node_simple() 455 g_assert(data->len == strlen("moredata")); in test_xs_node_simple() [all …]
|
| /openbmc/u-boot/env/ |
| H A D | attr.c | 46 int entry_len = strlen(entry); in env_attr_walk() 94 if (strlen(name) != 0) { in env_attr_walk() 124 char regex[strlen(name) + 3]; in regex_callback() 132 strlen(cbp->searched_for), caps)) { in regex_callback() 138 cbp->regex = malloc(strlen(regex) + 1); in regex_callback() 147 cbp->attributes = malloc(strlen(attributes) + 1); in regex_callback() 214 return strlen(searched); in reverse_name_search() 227 nextch = match + strlen(search_for); in reverse_name_search() 249 result_size = strlen(search_for); in reverse_name_search() 295 len = strlen(entry); in env_attr_lookup()
|
| /openbmc/libcper/tests/ |
| H A D | base64_test.c | 23 strlen(data), &encoded_len); in test_base64_encode_good() 24 assert((size_t)encoded_len == strlen(good_encode_outputs[i])); in test_base64_encode_good() 46 base64_decode(data, strlen(data), &decoded_len); in test_base64_decode_good() 48 assert((size_t)decoded_len == strlen(good_decode_outputs[i])); in test_base64_decode_good()
|
| /openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/tftp-hpa/files/ |
| H A D | tftp-hpa-0.49-fortify-strcpy-crash.patch | 19 - cp += strlen(name); 22 - cp += strlen(mode); 24 + len = strlen(name) + 1; 27 + len = strlen(mode) + 1;
|
| /openbmc/u-boot/cmd/ |
| H A D | ini.c | 41 char *p = s + strlen(s); in rstrip() 181 value[strlen(value)-1] == '"') { in ini_parse() 182 value[strlen(value)-1] = '\0'; in ini_parse() 208 for (i = 0; i < strlen(requested_section); i++) in ini_handler() 210 for (i = 0; i < strlen(section); i++) in ini_handler() 216 for (i = 0; i < strlen(name); i++) in ini_handler() 218 for (i = 0; i < strlen(value); i++) in ini_handler()
|
| H A D | tpm-v2.c | 71 const ssize_t pw_sz = pw ? strlen(pw) : 0; in do_tpm2_clear() 213 const ssize_t pw_sz = pw ? strlen(pw) : 0; in do_tpm_dam_reset() 234 const ssize_t pw_sz = pw ? strlen(pw) : 0; in do_tpm_dam_parameters() 280 const ssize_t newpw_sz = strlen(newpw); in do_tpm_change_auth() 281 const ssize_t oldpw_sz = oldpw ? strlen(oldpw) : 0; in do_tpm_change_auth() 316 const ssize_t pw_sz = pw ? strlen(pw) : 0; in do_tpm_pcr_setauthpolicy() 324 if (strlen(key) != TPM2_DIGEST_LEN) in do_tpm_pcr_setauthpolicy() 339 const ssize_t key_sz = strlen(key); in do_tpm_pcr_setauthvalue() 341 const ssize_t pw_sz = pw ? strlen(pw) : 0; in do_tpm_pcr_setauthvalue() 349 if (strlen(key) != TPM2_DIGEST_LEN) in do_tpm_pcr_setauthvalue()
|
| /openbmc/u-boot/common/ |
| H A D | hwconfig.c | 32 size_t optlen = strlen(opt); in hwconfig_parse() 56 *arglen = min(maxlen, strlen(str)) - optlen - 1; in hwconfig_parse() 87 ret = hwconfig_parse(env_hwconfig, strlen(env_hwconfig), in __hwconfig() 93 ret = hwconfig_parse(board_hwconfig, strlen(board_hwconfig), in __hwconfig() 98 return hwconfig_parse(cpu_hwconfig, strlen(cpu_hwconfig), in __hwconfig() 165 if (!argstr || arglen != strlen(arg)) in hwconfig_arg_cmp_f() 233 if (!argstr || arglen != strlen(subarg)) in hwconfig_subarg_cmp_f()
|
| H A D | command.c | 100 len = ((p = strchr(cmd, '.')) == NULL) ? strlen (cmd) : (p - cmd); in find_cmd_tbl() 104 if (len == strlen(cmdtp->name)) in find_cmd_tbl() 226 len = strlen(cmd); in complete_subcmdv() 233 clen = strlen(cmdtp->name); in complete_subcmdv() 300 int ll = leader != NULL ? strlen(leader) : 0; in print_argv() 301 int sl = sep != NULL ? strlen(sep) : 0; in print_argv() 311 len = strlen(*argv) + sl; in print_argv() 335 len = strlen(anchor); in find_common_prefix() 363 cnt = strlen(buf); in cmd_auto_complete() 398 k = strlen(argv[argc - 1]); in cmd_auto_complete() [all …]
|
| /openbmc/libpldm/tests/ |
| H A D | utils.cpp | 40 EXPECT_EQ(rc, (signed)std::strlen(vstr)); in TEST() 46 EXPECT_EQ(rc, (signed)std::strlen(vstr)); in TEST() 52 EXPECT_EQ(rc, (signed)std::strlen(vstr)); in TEST() 58 EXPECT_EQ(rc, (signed)std::strlen(vstr)); in TEST() 64 EXPECT_EQ(rc, (signed)std::strlen(vstr)); in TEST()
|
| /openbmc/qemu/hw/avr/ |
| H A D | boot.c | 81 int cpu_len = strlen(mcu_cpu_type) - strlen(AVR_CPU_TYPE_SUFFIX); in avr_load_firmware() 100 (int)(strlen(elf_cpu) - strlen(AVR_CPU_TYPE_SUFFIX)), in avr_load_firmware()
|
| /openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/sox/sox/ |
| H A D | CVE-2021-40426.patch | 23 - header_size -= (strlen(buf) + 1); 24 + bytes_read = strlen(buf); 33 - header_size -= (strlen(buf) + 1); 34 + bytes_read = strlen(buf);
|
| /openbmc/qemu/bsd-user/freebsd/ |
| H A D | target_os_stack.h | 71 execpath_len = strlen(bprm->fullpath) + 1; in setup_initial_stack() 103 stringspace += strlen(bprm->argv[i]) + 1; in setup_initial_stack() 106 stringspace += strlen(bprm->envp[i]) + 1; in setup_initial_stack() 127 size_t len = strlen(bprm->argv[i]) + 1; in setup_initial_stack() 152 size_t len = strlen(bprm->envp[i]) + 1; in setup_initial_stack()
|
| /openbmc/openbmc/poky/meta/lib/patchtest/selftest/files/ |
| H A D | TestPatch.test_signed_off_by_presence.fail | 32 + strlen.c | 1 + 35 +diff --git a/strlen.c b/strlen.c 37 +--- a/strlen.c 38 ++++ b/strlen.c
|
| H A D | TestMbox.test_commit_message_presence.fail | 29 + strlen.c | 1 + 32 +diff --git a/strlen.c b/strlen.c 34 +--- a/strlen.c 35 ++++ b/strlen.c
|
| H A D | TestMbox.test_signed_off_by_presence.1.fail | 32 + strlen.c | 1 + 35 +diff --git a/strlen.c b/strlen.c 37 +--- a/strlen.c 38 ++++ b/strlen.c
|
| H A D | TestMbox.test_commit_message_presence.pass | 33 + strlen.c | 1 + 36 +diff --git a/strlen.c b/strlen.c 38 +--- a/strlen.c 39 ++++ b/strlen.c
|
| H A D | TestPatch.test_cve_tag_format.fail | 33 + strlen.c | 1 + 36 +diff --git a/strlen.c b/strlen.c 38 +--- a/strlen.c 39 ++++ b/strlen.c
|
| H A D | TestPatch.test_cve_tag_format.pass | 33 + strlen.c | 1 + 36 +diff --git a/strlen.c b/strlen.c 38 +--- a/strlen.c 39 ++++ b/strlen.c
|
| /openbmc/openbmc/meta-security/recipes-mac/smack/tcp-smack-test/ |
| H A D | tcp_client.c | 67 if(fsetxattr(sock, attr_out, label_out, strlen(label_out), 0) < 0) in main() 73 if(fsetxattr(sock, attr_in, label_in, strlen(label_in), 0) < 0) in main() 98 if(write(sock, message, strlen(message)) < 0) in main()
|
| /openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-connectivity/gupnp/gupnp-av/ |
| H A D | 0001-all-Drop-xmlRecoverMemory.patch | 24 - doc = xmlRecoverMemory (didl, strlen (didl)); 25 + doc = xmlReadMemory (didl, strlen (didl), NULL, NULL, XML_PARSE_NONET | XML_PARSE_RECOVER); 37 - doc = xmlRecoverMemory (text, strlen (text)); 38 + doc = xmlReadMemory (text, strlen (text), NULL, NULL, XML_PARSE_NONET | XML_PARSE_RECOVER);
|