search for: isskip

Displaying 1 result from an estimated 1 matches for "isskip".

Did you mean: isskin
1997 Jan 27
2
SECURITY: passwd problem (second edition)
...ascist.c --- cracklib25_small.orig/cracklib/fascist.c Mon Jan 27 12:21:13 1997 +++ cracklib25_small/cracklib/fascist.c Mon Jan 27 12:24:28 1997 @@ -223,39 +223,17 @@ wc = 0; ptr = gbuffer; - while (*ptr) + while (*ptr && wc < STRINGSIZE-1) { - while (*ptr && ISSKIP(*ptr)) - { - ptr++; - } - - if (ptr != gbuffer) - { - ptr[-1] = ''\0''; - } - + while (*ptr && ISSKIP(*ptr)) ptr++; + if (!*ptr) break; uwords[wc++] = ptr; - - if (wc == STRINGSIZE) - { - uwords[--wc] = (char *) 0; /* to hell with it */ - break; - } else -...