| /OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-support/lowpan-tools/lowpan-tools/ |
| H A D | 0001-Fix-potential-string-truncation-in-strncpy.patch | 4 Subject: [PATCH] Fix potential string truncation in strncpy() 8 error: 'strncpy' specified bound 16 equals destination size 32 - strncpy(req.ifr_name, iface, IF_NAMESIZE); 33 + strncpy(req.ifr_name, iface, IF_NAMESIZE - 1); 46 - strncpy(req.ifr_name, iface, IFNAMSIZ); 47 + strncpy(req.ifr_name, iface, IFNAMSIZ - 1); 61 - strncpy(req.ifr_name, argv[1] ?: "wpan0", IF_NAMESIZE); 62 + strncpy(req.ifr_name, argv[1] ?: "wpan0", IF_NAMESIZE - 1); 75 - strncpy(req.ifr_name, argv[1] ?: "wpan0", IF_NAMESIZE); 76 + strncpy(req.ifr_name, argv[1] ?: "wpan0", IF_NAMESIZE - 1); [all …]
|
| H A D | 0001-coordinator-Fix-strncpy-range-warning.patch | 4 Subject: [PATCH] coordinator: Fix strncpy range warning 7 error: 'strncpy' specified bound 4096 equals destination size [-Werror=stringop-truncation] 22 - strncpy(pname, argv[0], PATH_MAX); 23 + strncpy(pname, argv[0], PATH_MAX - 1);
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rk_stream/stream_cfg/ |
| H A D | MediaInfo.cpp | 270 strncpy(ispp_info[index].media_dev_path, devpath, sizeof(ispp_info[index].media_dev_path)-1); in get_ispp_subdevs() 276 …strncpy(ispp_info[index].pp_input_image_path, entity_name, sizeof(ispp_info[index].pp_input_image_… in get_ispp_subdevs() 283 …strncpy(ispp_info[index].pp_m_bypass_path, entity_name, sizeof(ispp_info[index].pp_m_bypass_path)-… in get_ispp_subdevs() 290 … strncpy(ispp_info[index].pp_scale0_path, entity_name, sizeof(ispp_info[index].pp_scale0_path)-1); in get_ispp_subdevs() 297 … strncpy(ispp_info[index].pp_scale1_path, entity_name, sizeof(ispp_info[index].pp_scale1_path)-1); in get_ispp_subdevs() 304 … strncpy(ispp_info[index].pp_scale2_path, entity_name, sizeof(ispp_info[index].pp_scale2_path)-1); in get_ispp_subdevs() 341 …strncpy(ispp_info[index].pp_fec_params_path, entity_name, sizeof(ispp_info[index].pp_fec_params_pa… in get_ispp_subdevs() 348 … strncpy(ispp_info[index].pp_dev_path, entity_name, sizeof(ispp_info[index].pp_dev_path)-1); in get_ispp_subdevs() 421 strncpy(isp_info[index].media_dev_path, devpath, sizeof(isp_info[index].media_dev_path)-1); in get_isp_subdevs() 427 … strncpy(isp_info[index].isp_dev_path, entity_name, sizeof(isp_info[index].isp_dev_path)-1); in get_isp_subdevs() [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/xwin/ |
| H A D | winprefsyacc.y | 266 strncpy (pref.iconDirectory, path, PATH_MAX); in SetIconDirectory() 273 strncpy (pref.defaultIconName, fname, NAME_MAX); in SetDefaultIcon() 280 strncpy (pref.trayIconName, fname, NAME_MAX); in SetTrayIcon() 287 strncpy (pref.rootMenuName, menuname, MENU_MAX); in SetRootMenu() 294 strncpy (pref.defaultSysMenuName, menuname, MENU_MAX); in SetDefaultSysMenu() 304 strncpy(menu.menuName, menuname, MENU_MAX); in OpenMenu() 317 strncpy (menu.menuItem[menu.menuItems].text, text, MENU_MAX); in AddMenuLine() 322 strncpy(menu.menuItem[menu.menuItems].param, param, PARAM_MAX); in AddMenuLine() 369 strncpy(pref.icon[pref.iconItems].match, matchstr, MENU_MAX); in AddIconLine() 372 strncpy(pref.icon[pref.iconItems].iconFile, iconfile, PATH_MAX+NAME_MAX+1); in AddIconLine() [all …]
|
| H A D | winmultiwindowclass.c | 86 strncpy((*res_name), prop->data, len_name); in winMultiWindowGetClassHint() 104 strncpy((*res_class), ((char *) prop->data) + 1 + len_name, len_class); in winMultiWindowGetClassHint() 178 strncpy((*res_role), prop->data, len_role); in winMultiWindowGetWindowRole() 290 strncpy((*wmName), prop->data, len_name); in winMultiWindowGetWMName()
|
| H A D | winprefsyacc.c | 1830 strncpy (pref.iconDirectory, path, PATH_MAX); in SetIconDirectory() 1837 strncpy (pref.defaultIconName, fname, NAME_MAX); in SetDefaultIcon() 1844 strncpy (pref.trayIconName, fname, NAME_MAX); in SetTrayIcon() 1851 strncpy (pref.rootMenuName, menuname, MENU_MAX); in SetRootMenu() 1858 strncpy (pref.defaultSysMenuName, menuname, MENU_MAX); in SetDefaultSysMenu() 1868 strncpy(menu.menuName, menuname, MENU_MAX); in OpenMenu() 1881 strncpy (menu.menuItem[menu.menuItems].text, text, MENU_MAX); in AddMenuLine() 1886 strncpy(menu.menuItem[menu.menuItems].param, param, PARAM_MAX); in AddMenuLine() 1933 strncpy(pref.icon[pref.iconItems].match, matchstr, MENU_MAX); in AddIconLine() 1936 strncpy(pref.icon[pref.iconItems].iconFile, iconfile, PATH_MAX+NAME_MAX+1); in AddIconLine() [all …]
|
| /OK3568_Linux_fs/buildroot/package/wireless_tools/ |
| H A D | 0001-remove-bzero.patch | 14 strncpy(ifr.ifr_name, victimname, IFNAMSIZ); 15 strncpy(ifr.ifr_newname, autoname, IFNAMSIZ); 23 strncpy(ifr.ifr_name, oldname, IFNAMSIZ); 24 strncpy(ifr.ifr_newname, newname, IFNAMSIZ); 32 strncpy(ifr.ifr_name, ifname, IFNAMSIZ); 43 strncpy(ifr.ifr_name, ifname, IFNAMSIZ); 54 strncpy(ifr.ifr_name, ifname, IFNAMSIZ);
|
| /OK3568_Linux_fs/kernel/arch/alpha/lib/ |
| H A D | strncpy.S | 21 .globl strncpy symbol 22 .ent strncpy 23 strncpy: label 82 .end strncpy 83 EXPORT_SYMBOL(strncpy)
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/xcore/ |
| H A D | smart_buffer_priv.cpp | 36 strncpy(str, "RAW_BUFFER", SMTBUF_NAME_STR_LEN); in buf_type_to_str() 39 strncpy(str, "SPIMG_BUFFER", SMTBUF_NAME_STR_LEN); in buf_type_to_str() 42 strncpy(str, "ISPGAIN_BUFFER", SMTBUF_NAME_STR_LEN); in buf_type_to_str() 45 strncpy(str, "NRIMG_BUFFER", SMTBUF_NAME_STR_LEN); in buf_type_to_str() 48 strncpy(str, "GAINKG_BUFFER", SMTBUF_NAME_STR_LEN); in buf_type_to_str() 51 strncpy(str, "GAINWR_BUFFER", SMTBUF_NAME_STR_LEN); in buf_type_to_str() 54 strncpy(str, "UNKNOWN", SMTBUF_NAME_STR_LEN); in buf_type_to_str()
|
| /OK3568_Linux_fs/kernel/include/scsi/ |
| H A D | fc_encode.h | 171 strncpy(ct->payload.spn.fr_name, in fc_ct_ns_fill() 181 strncpy(ct->payload.snn.fr_name, in fc_ct_ns_fill() 263 strncpy((char *)&entry->value, in fc_ct_ms_fill() 275 strncpy((char *)&entry->value, in fc_ct_ms_fill() 287 strncpy((char *)&entry->value, in fc_ct_ms_fill() 299 strncpy((char *)&entry->value, in fc_ct_ms_fill() 311 strncpy((char *)&entry->value, in fc_ct_ms_fill() 323 strncpy((char *)&entry->value, in fc_ct_ms_fill() 335 strncpy((char *)&entry->value, in fc_ct_ms_fill() 347 strncpy((char *)&entry->value, in fc_ct_ms_fill() [all …]
|
| /OK3568_Linux_fs/kernel/fs/orangefs/ |
| H A D | namei.c | 43 strncpy(new_op->upcall.req.create.d_name, in orangefs_create() 139 strncpy(new_op->upcall.req.lookup.d_name, dentry->d_name.name, in orangefs_lookup() 194 strncpy(new_op->upcall.req.remove.d_name, dentry->d_name.name, in orangefs_unlink() 248 strncpy(new_op->upcall.req.sym.entry_name, in orangefs_symlink() 251 strncpy(new_op->upcall.req.sym.target, symname, ORANGEFS_NAME_MAX - 1); in orangefs_symlink() 324 strncpy(new_op->upcall.req.mkdir.d_name, in orangefs_mkdir() 404 strncpy(new_op->upcall.req.rename.d_old_name, in orangefs_rename() 407 strncpy(new_op->upcall.req.rename.d_new_name, in orangefs_rename()
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-daemons/ippool/ippool/ |
| H A D | strncpy-truncation.patch | 1 Replace strncpy with memcpy 4 be copied has already been determined with strlen(). Replace strncpy() 35 - strncpy(&text_buf[0], text1, left_margin - 3);
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-connectivity/rdate/rdate/ |
| H A D | 0001-rdate-define-logwtmp-on-libc-glibc.patch | 27 + strncpy(u.ut_line, line, sizeof(u.ut_line)); 28 + strncpy(u.ut_name, name, sizeof(u.ut_name)); 29 + strncpy(u.ut_host, host, sizeof(u.ut_host));
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/make/make/ |
| H A D | 0001-src-dir.c-fix-buffer-overflow-warning.patch | 7 src/dir.c:1294:7: warning: 'strncpy' specified bound depends on the 32 - strncpy (parent, path, plen - 2); 34 + strncpy (parent, path, MAXPATHLEN);
|
| /OK3568_Linux_fs/kernel/tools/perf/arch/x86/util/ |
| H A D | header.c | 35 strncpy(&vendor[0], (char *)(&b), 4); in __get_cpuid() 36 strncpy(&vendor[4], (char *)(&d), 4); in __get_cpuid() 37 strncpy(&vendor[8], (char *)(&c), 4); in __get_cpuid()
|
| /OK3568_Linux_fs/u-boot/board/corscience/tricorder/ |
| H A D | tricorder-eeprom.c | 146 strncpy(eeprom.board_name, name, length); in tricorder_eeprom_write() 149 strncpy(eeprom.board_version, version, length); in tricorder_eeprom_write() 152 strncpy(eeprom.board_serial, serial, length); in tricorder_eeprom_write() 157 strncpy(eeprom.interface_version, interface, length); in tricorder_eeprom_write()
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-extended/unzip/unzip/ |
| H A D | 06-unzip60-alt-iconv-utf8_CVE-2015-1315.patch | 65 + strncpy(OEM_CP, dos_charset_map[i].archive_charset, 112 + strncpy(string, buf, buflen); 250 + strncpy(ISO_CP, s, sizeof(ISO_CP)); 259 + strncpy(ISO_CP, s, sizeof(ISO_CP)); 286 + strncpy(OEM_CP, s, sizeof(OEM_CP)); 295 + strncpy(OEM_CP, s, sizeof(OEM_CP)); 350 + strncpy(ISO_CP, s, sizeof(ISO_CP)); 359 + strncpy(ISO_CP, s, sizeof(ISO_CP)); 386 + strncpy(OEM_CP, s, sizeof(OEM_CP)); 395 + strncpy(OEM_CP, s, sizeof(OEM_CP));
|
| /OK3568_Linux_fs/external/rkwifibt-app/test/ |
| H A D | main.c | 239 strncpy(szBuf, szBuf_space, strlen(szBuf_space) - 1); in rkwifibt_test_wifi_config() 248 strncpy(cmdBuf, szBuf, strlen(szBuf) - strlen(input_start) - 1); in rkwifibt_test_wifi_config() 281 strncpy(szBuf, szBuf_space, strlen(szBuf_space) - 1); in rkwifibt_test_bluetooth() 291 strncpy(cmdBuf, szBuf, strlen(szBuf) - strlen(input_start) - 1); in rkwifibt_test_bluetooth()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | wldev_common.c | 442 strncpy(cap, "n", caplen); in wldev_get_mode() 444 strncpy(cap, "bg", caplen); in wldev_get_mode() 447 strncpy(cap, "ac", caplen); in wldev_get_mode() 450 strncpy(cap, "n|ac", caplen); in wldev_get_mode() 452 strncpy(cap, "n", caplen); in wldev_get_mode() 454 strncpy(cap, "ac", caplen); in wldev_get_mode() 456 strncpy(cap, "a", caplen); in wldev_get_mode()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/ |
| H A D | wldev_common.c | 442 strncpy(cap, "n", caplen); in wldev_get_mode() 444 strncpy(cap, "bg", caplen); in wldev_get_mode() 447 strncpy(cap, "ac", caplen); in wldev_get_mode() 450 strncpy(cap, "n|ac", caplen); in wldev_get_mode() 452 strncpy(cap, "n", caplen); in wldev_get_mode() 454 strncpy(cap, "ac", caplen); in wldev_get_mode() 456 strncpy(cap, "a", caplen); in wldev_get_mode()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/ |
| H A D | wldev_common.c | 449 strncpy(cap, "n", caplen); in wldev_get_mode() 451 strncpy(cap, "bg", caplen); in wldev_get_mode() 454 strncpy(cap, "ac", caplen); in wldev_get_mode() 457 strncpy(cap, "n|ac", caplen); in wldev_get_mode() 459 strncpy(cap, "n", caplen); in wldev_get_mode() 461 strncpy(cap, "ac", caplen); in wldev_get_mode() 463 strncpy(cap, "a", caplen); in wldev_get_mode()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | wldev_common.c | 442 strncpy(cap, "n", caplen); in wldev_get_mode() 444 strncpy(cap, "bg", caplen); in wldev_get_mode() 447 strncpy(cap, "ac", caplen); in wldev_get_mode() 450 strncpy(cap, "n|ac", caplen); in wldev_get_mode() 452 strncpy(cap, "n", caplen); in wldev_get_mode() 454 strncpy(cap, "ac", caplen); in wldev_get_mode() 456 strncpy(cap, "a", caplen); in wldev_get_mode()
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-protocols/openlldp/files/ |
| H A D | 0008-stringops-fix-some-string-copy-errors.patch | 26 - strncpy(*name, it->second->pgid_desc[bwgid], 54 - strncpy(newport->ifname, ifname, IFNAMSIZ); 55 + strncpy(newport->ifname, ifname, IFNAMSIZ - 1);
|
| /OK3568_Linux_fs/u-boot/common/ |
| H A D | fb_common.c | 16 strncpy(response, fail_str, FASTBOOT_RESPONSE_LEN); in fastboot_fail() 23 strncpy(response, okay_str, FASTBOOT_RESPONSE_LEN); in fastboot_okay()
|
| /OK3568_Linux_fs/kernel/drivers/staging/greybus/Documentation/firmware/ |
| H A D | firmware.c | 66 strncpy((char *)&intf_load.firmware_tag, firmware_tag, in update_intf_firmware() 104 strncpy((char *)&backend_fw_info.firmware_tag, firmware_tag, in update_backend_firmware() 132 strncpy((char *)&backend_update.firmware_tag, firmware_tag, in update_backend_firmware()
|