/openbmc/openbmc/poky/meta/recipes-connectivity/openssh/openssh/ |
H A D | fix-potential-signed-overflow-in-pointer-arithmatic.patch | 7 type, so that 's - src' in strlcpy and others may trigger signed overflow. 19 openbsd-compat/strlcpy.c | 8 ++++++-- 58 diff --git a/openbsd-compat/strlcpy.c b/openbsd-compat/strlcpy.c 60 --- a/openbsd-compat/strlcpy.c 61 +++ b/openbsd-compat/strlcpy.c 70 @@ -51,8 +52,11 @@ strlcpy(char *dst, const char *src, size_t siz)
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/openflow/openflow/ |
H A D | 0001-Check-and-use-strlcpy-from-libc-before-defining-own.patch | 4 Subject: [PATCH 1/2] Check and use strlcpy from libc before defining own 28 +AC_CHECK_FUNCS([strlcpy strsignal]) 42 strlcpy(char *dst, const char *src, size_t size) 44 @@ -148,6 +149,7 @@ strlcpy(char *dst, const char *src, size_t size)
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/samba/samba/ |
H A D | 0004-Add-options-to-configure-the-use-of-libbsd.patch | 44 - # libbsd on some platforms provides strlcpy and strlcat 45 - if not conf.CHECK_FUNCS('strlcpy strlcat'): 46 - if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h', 59 + # libbsd on some platforms provides strlcpy and strlcat 60 + if not conf.CHECK_FUNCS('strlcpy strlcat'): 61 + if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h',
|
/openbmc/u-boot/board/ti/common/ |
H A D | board_detect.c | 220 strlcpy(ep->name, am_ep.name, TI_EEPROM_HDR_NAME_LEN + 1); in ti_i2c_eeprom_am_get() 226 strlcpy(ep->version, "BBG1", TI_EEPROM_HDR_REV_LEN + 1); in ti_i2c_eeprom_am_get() 228 strlcpy(ep->version, am_ep.version, TI_EEPROM_HDR_REV_LEN + 1); in ti_i2c_eeprom_am_get() 230 strlcpy(ep->serial, am_ep.serial, TI_EEPROM_HDR_SERIAL_LEN + 1); in ti_i2c_eeprom_am_get() 232 strlcpy(ep->config, am_ep.config, TI_EEPROM_HDR_CONFIG_LEN + 1); in ti_i2c_eeprom_am_get() 268 strlcpy(ep->name, dra7_ep.name, TI_EEPROM_HDR_NAME_LEN + 1); in ti_i2c_eeprom_dra7_get() 281 strlcpy(ep->config, dra7_ep.config, TI_EEPROM_HDR_CONFIG_LEN + 1); in ti_i2c_eeprom_dra7_get()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/core/ |
H A D | 0001-memory.h-Always-define-strlcpy-for-glibc-based-syste.patch | 4 Subject: [PATCH] memory.h: Always define strlcpy for glibc based systems 30 /* Declaration of strlcpy() for platforms that don't already have it. */ 31 size_t strlcpy(char *dst, const char *src, size_t size);
|
/openbmc/openbmc/poky/meta/recipes-devtools/nasm/nasm/ |
H A D | 0001-stdlib-Add-strlcat.patch | 26 LIBOBJ_NW = stdlib/snprintf.$(O) stdlib/vsnprintf.$(O) stdlib/strlcpy.$(O) \ 38 AC_CHECK_FUNCS([strlcpy]) 45 AC_CHECK_DECLS(strlcpy) 56 @@ -169,6 +169,10 @@ size_t strlcpy(char *, const char *, size_t); 111 + return strlcpy(&dest[n], src, size - n) + n;
|
H A D | 0002-Add-debug-prefix-map-option.patch | 150 + strlcpy(dest, d->dest, len); 156 + strlcpy(dest, in, len); 211 - strlcpy(elf_module, inname, sizeof(elf_module)); 212 - strlcpy(elf_dir, nasm_dirname(cur_path), sizeof(elf_dir)); 255 - strlcpy(ieee_infile, inname, sizeof(ieee_infile)); 268 - strlcpy(obj_infile, inname, sizeof(obj_infile));
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/libtevent/libtevent/ |
H A D | 0001-Add-configure-options-for-packages.patch | 117 - # libbsd on some platforms provides strlcpy and strlcat 118 - if not conf.CHECK_FUNCS('strlcpy strlcat'): 119 - if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h', 124 - # got strlcpy and strlcat in libc, but not in <string.h> 143 + # libbsd on some platforms provides strlcpy and strlcat 144 + if not conf.CHECK_FUNCS('strlcpy strlcat'): 145 + if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h', 150 + # got strlcpy and strlcat in libc, but not in <string.h>
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/libtdb/libtdb/ |
H A D | 0001-tdb-Add-configure-options-for-packages.patch | 113 - # libbsd on some platforms provides strlcpy and strlcat 114 - if not conf.CHECK_FUNCS('strlcpy strlcat'): 115 - if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h', 120 - # got strlcpy and strlcat in libc, but not in <string.h> 139 + # libbsd on some platforms provides strlcpy and strlcat 140 + if not conf.CHECK_FUNCS('strlcpy strlcat'): 141 + if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h', 146 + # got strlcpy and strlcat in libc, but not in <string.h>
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/libtalloc/libtalloc/ |
H A D | 0001-talloc-Add-configure-options-for-packages.patch | 122 - # libbsd on some platforms provides strlcpy and strlcat 123 - if not conf.CHECK_FUNCS('strlcpy strlcat'): 124 - if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h', 129 - # got strlcpy and strlcat in libc, but not in <string.h> 148 + # libbsd on some platforms provides strlcpy and strlcat 149 + if not conf.CHECK_FUNCS('strlcpy strlcat'): 150 + if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h', 155 + # got strlcpy and strlcat in libc, but not in <string.h>
|
/openbmc/u-boot/drivers/sysreset/ |
H A D | sysreset_sandbox.c | 34 strlcpy(buf, "Reset Status: WARM", size); in sandbox_warm_sysreset_get_status() 80 strlcpy(buf, "Reset Status: COLD", size); in sandbox_sysreset_get_status()
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/libldb/libldb/ |
H A D | 0002-ldb-Add-configure-options-for-packages.patch | 112 - # libbsd on some platforms provides strlcpy and strlcat 113 - if not conf.CHECK_FUNCS('strlcpy strlcat'): 114 - if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h', 127 + # libbsd on some platforms provides strlcpy and strlcat 128 + if not conf.CHECK_FUNCS('strlcpy strlcat'): 129 + if conf.CHECK_FUNCS_IN('strlcpy strlcat', 'bsd', headers='bsd/string.h',
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/icewm/icewm/ |
H A D | 0001-configure.ac-skip-running-test-program-when-cross-co.patch | 18 AC_MSG_CHECKING([for strlcpy]) 22 if (strlcpy(a, "yes", 2) != 3)
|
/openbmc/linux/lib/test_fortify/ |
H A D | write_overflow-strlcpy-src.c | 3 strlcpy(small, large_src, sizeof(small) + 1)
|
H A D | write_overflow-strlcpy.c | 3 strlcpy(instance.buf, large_src, sizeof(instance.buf) + 1)
|
/openbmc/linux/init/ |
H A D | version.c | 26 arglen = strlcpy(init_uts_ns.name.nodename, arg, bufsize); in early_hostname()
|
/openbmc/linux/tools/lib/subcmd/ |
H A D | exec-cmd.c | 51 strlcpy(buf, pwd, sz); in get_pwd_cwd() 60 if (strlcpy(buf, path, sz) >= sz) in make_nonrelative_path()
|
/openbmc/linux/samples/v4l/ |
H A D | v4l2-pci-skeleton.c | 294 strlcpy(cap->driver, KBUILD_MODNAME, sizeof(cap->driver)); in skeleton_querycap() 295 strlcpy(cap->card, "V4L2 PCI Skeleton", sizeof(cap->card)); in skeleton_querycap() 600 strlcpy(i->name, "S-Video", sizeof(i->name)); in skeleton_enum_input() 604 strlcpy(i->name, "HDMI", sizeof(i->name)); in skeleton_enum_input() 848 strlcpy(vdev->name, KBUILD_MODNAME, sizeof(vdev->name)); in skeleton_probe()
|
/openbmc/linux/tools/perf/ui/tui/ |
H A D | helpline.c | 27 strlcpy(ui_helpline__current, msg, sz); in tui_helpline__push()
|
/openbmc/linux/tools/include/linux/ |
H A D | string.h | 25 extern size_t strlcpy(char *dest, const char *src, size_t size);
|
/openbmc/linux/tools/perf/jvmti/ |
H A D | Build | 4 # For strlcpy
|
/openbmc/linux/arch/m68k/emu/ |
H A D | natfeat.c | 47 n = strlcpy(name_copy, feature_name, sizeof(name_copy)); in nf_get_id()
|
/openbmc/u-boot/include/linux/ |
H A D | string.h | 30 size_t strlcpy(char *, const char *, size_t);
|
/openbmc/u-boot/drivers/fastboot/ |
H A D | fb_common.c | 44 strlcpy(response, tag, FASTBOOT_RESPONSE_LEN); in fastboot_response()
|
/openbmc/linux/tools/perf/ |
H A D | builtin-buildid-cache.c | 39 strlcpy(root_dir, proc_dir, sizeof(root_dir)); in build_id_cache__kcore_buildid() 107 strlcpy(to_dir, to_subdir, to_dir_sz); in build_id_cache__kcore_existing() 124 strlcpy(from_dir, filename, sizeof(from_dir)); in build_id_cache__add_kcore()
|