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

(-)pw_user.c.new 2015-12-09 21:20:49.576892000 +0900 (-1 / +1 lines)
Lines 1230-1236 pw_checkname(char *name, int gecos) Link Here
1230
       }
1230
       }
1231
       if (!reject) {
1231
       if (!reject) {
1232
               while (*ch) {
1232
               while (*ch) {
1233
                       if (strchr(badchars, *ch) != NULL || *ch < ' ' ||
1233
                       if (strchr(badchars, *ch) != NULL || (*ch >= 0 && *ch < ' ') ||
1234
                           *ch == 127) {
1234
                           *ch == 127) {
1235
                               reject = 1;
1235
                               reject = 1;
1236
                               break;
1236
                               break;

Return to bug 205157