Репозитории ALT
5.1: | 1.1.3-alt0.M51.1 |
4.1: | 1.0.1-alt1 |
4.0: | 0.99.6.3-alt2 |
3.0: | 0.75-alt29 |
Группа :: Система/Основа
Пакет: pam
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: Linux-PAM-0.79-deb-pam_time.patch
Скачать
Скачать
--- Linux-PAM-0.79/modules/pam_time/pam_time.c.orig 2004-09-22 16:49:33 +0400
+++ Linux-PAM-0.79/modules/pam_time/pam_time.c 2005-07-19 20:17:41 +0400
@@ -336,7 +336,11 @@ static boolean is_same(const void *A, co
return FALSE;
}
}
- return ( !len );
+ /* By this point we know that we didn't treat a * in b as a wildcard.
+ the only way we got done with the loop is if we consumed every
+ character in b. Thus the strings are equal if their
+ lengths are the same otherwise not equal. */
+ return (strlen (a) == strlen (b));
}
typedef struct {