- strncpy(this->name, name, sizeof this->name);
- strncpy(this->groupName, groupName, sizeof this->groupName);
- strncpy(this->label, label, sizeof this->label);
- strncpy(this->options, options, sizeof this->options);
+ strlcpy(this->name, name, sizeof this->name);
+ strlcpy(this->groupName, groupName, sizeof this->groupName);
+ strlcpy(this->label, label, sizeof this->label);
+ strlcpy(this->options, options, sizeof this->options);