View | Details | Raw Unified | Return to bug 28773
Collapse All | Expand All

(-)pw_user.c (-1 / +1 lines)
Lines 1211-1217 Link Here
1211
pw_checkname(u_char *name, int gecos)
1211
pw_checkname(u_char *name, int gecos)
1212
{
1212
{
1213
	int             l = 0;
1213
	int             l = 0;
1214
	char const     *notch = gecos ? ":!@" : " ,\t:+&#%$^()!@~*?<>=|\\/\"";
1214
	char const     *notch = gecos ? ":!@" : " ,\t:+&#%^()!@~*?<>=|\\/\"";
1215
1215
1216
	while (name[l]) {
1216
	while (name[l]) {
1217
		if (strchr(notch, name[l]) != NULL || name[l] < ' ' || name[l] == 127 ||
1217
		if (strchr(notch, name[l]) != NULL || name[l] < ' ' || name[l] == 127 ||

Return to bug 28773