- (stevesk) Old OpenBSD patch wasn't completely applied:

- markus@cvs.openbsd.org 2000/01/24 22:11:20
     [scp.c]
     allow '.' in usernames; from jedgar@fxp.org
This commit is contained in:
Kevin Steves 2000-12-15 23:47:30 +00:00
parent 6b87586965
commit e2737523bd
2 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,8 @@
20001215
- (stevesk) Old OpenBSD patch wasn't completely applied:
- markus@cvs.openbsd.org 2000/01/24 22:11:20
[scp.c]
allow '.' in usernames; from jedgar@fxp.org
- (stevesk) OpenBSD CVS updates:
- markus@cvs.openbsd.org 2000/12/13 16:26:53
[ssh-keyscan.c]

2
scp.c
View File

@ -1049,7 +1049,7 @@ okname(cp0)
c = *cp;
if (c & 0200)
goto bad;
if (!isalpha(c) && !isdigit(c) && c != '_' && c != '-')
if (!isalpha(c) && !isdigit(c) && c != '_' && c != '-' && c != '.')
goto bad;
} while (*++cp);
return (1);