Searched refs:max_cpy_len (Results 1 – 1 of 1) sorted by relevance
1599 const size_t max_cpy_len = sizeof(scan_filter.addr) - 1; in cmd_scan_filter_set_addr() local1603 if (strlen(addr_arg) > max_cpy_len) { in cmd_scan_filter_set_addr()1622 strncpy(scan_filter.addr, addr_arg, max_cpy_len); in cmd_scan_filter_set_addr()1623 scan_filter.addr[max_cpy_len] = '\0'; /* ensure NULL termination */ in cmd_scan_filter_set_addr()