diff --git a/cde/programs/dtlogin/util.c b/cde/programs/dtlogin/util.c index 0a5203234..c93d29bf0 100644 --- a/cde/programs/dtlogin/util.c +++ b/cde/programs/dtlogin/util.c @@ -1092,6 +1092,10 @@ ScanNLSDir(char *dirname) { locale = dp->d_name; + if ( (strcmp(dp->d_name, ".") == 0) || + (strcmp(dp->d_name, "..") == 0) ) + continue; + if (locale[0] != '.' && LANGLISTSIZE > (int) (strlen(languageList)+strlen(locale)+2)); {