Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37818951
en ru br
ALT Linux repos
S:6.3-alt1
5.0: 3.0.STABLE15-alt0.M50.1
4.1: 3.0.STABLE15-alt0.M41.1
4.0: 3.0.STABLE15-alt0.M40.1
3.0: 2.5.STABLE11-alt2

Group :: System/Servers
RPM: squid

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: squid-2.5.STABLE11-delaypools_truncated.patch
Download


Index: squid/src/delay_pools.c
diff -c squid/src/delay_pools.c:1.19.2.9 squid/src/delay_pools.c:1.19.2.10
*** squid/src/delay_pools.c:1.19.2.9	Sat Sep 10 19:49:53 2005
--- squid/src/delay_pools.c	Tue Sep 27 16:25:30 2005
***************
*** 676,683 ****
  	    d = sc->delay_id;
  	}
      }
!     if (jmax >= 0 && jmax < (int) *read_sz)
  	*read_sz = (size_t) jmax;
      return d;
  }
  
--- 676,686 ----
  	    d = sc->delay_id;
  	}
      }
!     if (jmax >= 0 && jmax < (int) *read_sz) {
! 	if (jmax == 0)
! 	    jmax = 1;
  	*read_sz = (size_t) jmax;
+     }
      return d;
  }
  
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin