Merge branch 'obsd-master' into master

This commit is contained in:
Thomas Adam
2021-07-06 10:01:22 +01:00
4 changed files with 29 additions and 6 deletions

View File

@ -235,6 +235,8 @@ session_check_name(const char *name)
{
char *copy, *cp, *new_name;
if (*name == '\0')
return (NULL);
copy = xstrdup(name);
for (cp = copy; *cp != '\0'; cp++) {
if (*cp == ':' || *cp == '.')