Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37839678
en ru br
ALT Linux repositórios
S:2.1.27-alt2.2
5.0: 2.1.22-alt8.cvs.20081104.M50.1
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

Outros repositórios
Upstream:2.1.22

Group :: Sistema/Bibliotecas
RPM: cyrus-sasl2

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: bug_3920_rimap.patch
Download


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 {
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009