Репозитории ALT
S: | 2.1.27-alt2.2 |
5.1: | 2.1.24-alt2.cvs.20090508 |
4.1: | 2.1.22-alt4.cvs.20081019.M41.2 |
4.0: | 2.1.22-alt4.cvs.20081019.M40.2 |
3.0: | 2.1.20-alt5 |
Другие репозитории
Upstream: | 2.1.22 |
Группа :: Система/Библиотеки
Пакет: cyrus-sasl2
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: bug_3920_rimap.patch
Скачать
Скачать
https://bugzilla.cyrusimap.org/show_bug.cgi?id=3920
--- saslauthd/auth_rimap.orig 2016-02-19 21:55:07.000000000 -0500
+++ saslauthd/auth_rimap.c 2016-02-19 21:55:36.000000000 -0500
@@ -383,7 +383,7 @@
while( select (fds, &perm, NULL, NULL, &timeout ) >0 ) {
if ( FD_ISSET(s, &perm) ) {
ret = read(s, rbuf+rc, sizeof(rbuf)-rc);
- if ( ret<0 ) {
+ if ( ret<=0 ) {
rc = ret;
break;
} else {
@@ -496,7 +496,7 @@
while( select (fds, &perm, NULL, NULL, &timeout ) >0 ) {
if ( FD_ISSET(s, &perm) ) {
ret = read(s, rbuf+rc, sizeof(rbuf)-rc);
- if ( ret<0 ) {
+ if ( ret<=0 ) {
rc = ret;
break;
} else {