Репозитории ALT
5.1: | 3.5.10-alt20.M51.2 |
4.1: | 3.5.10-alt16.M41.1 |
4.0: | 3.5.9-alt1.M40.1 |
3.0: | 3.4.1-alt12 |
+updates: | 3.4.1-alt12.1.M30 |
+backports: | 3.5.6-alt7.0.M30 |
Группа :: Графические оболочки/KDE
Пакет: kdebase
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: kdepasswd-3.3.1-truncate.patch
Скачать
Скачать
--- kdebase-3.3.1/kdepasswd/passwddlg.cpp~ 2004-10-06 19:15:34 +0400
+++ kdebase-3.3.1/kdepasswd/passwddlg.cpp 2004-10-06 19:16:23 +0400
@@ -101,7 +101,7 @@ bool KDEpasswd2Dialog::checkPassword(con
{
PasswdProcess proc(m_User);
- if (strlen(password) > 8)
+ if (strlen(password) > 512)
{
switch(KMessageBox::questionYesNoCancel(this,
m_User.isEmpty() ?
@@ -118,7 +118,7 @@ bool KDEpasswd2Dialog::checkPassword(con
"truncatePassword"))
{
case KMessageBox::Yes :
- const_cast<char *>(password)[8] = '\000';
+ const_cast<char *>(password)[512] = '\000';
break;
case KMessageBox::No :
break;