You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by se...@apache.org on 2013/07/05 10:35:53 UTC

svn commit: r1499938 - in /jmeter/trunk: src/protocol/http/org/apache/jmeter/protocol/http/control/CacheManager.java xdocs/changes.xml

Author: sebb
Date: Fri Jul  5 08:35:52 2013
New Revision: 1499938

URL: http://svn.apache.org/r1499938
Log:
Integer overflow when computing ONE_YEAR_MS in HTTP CacheManager
Bugzilla Id: 55187

Modified:
    jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CacheManager.java
    jmeter/trunk/xdocs/changes.xml

Modified: jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CacheManager.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CacheManager.java?rev=1499938&r1=1499937&r2=1499938&view=diff
==============================================================================
--- jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CacheManager.java (original)
+++ jmeter/trunk/src/protocol/http/org/apache/jmeter/protocol/http/control/CacheManager.java Fri Jul  5 08:35:52 2013
@@ -67,7 +67,7 @@ public class CacheManager extends Config
 
     private static final int DEFAULT_MAX_SIZE = 5000;
 
-    private static final long ONE_YEAR_MS = 365*86400*1000;
+    private static final long ONE_YEAR_MS = 365*24*60*60*1000L;
 
     public CacheManager() {
         setProperty(new BooleanProperty(CLEAR, false));

Modified: jmeter/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.xml?rev=1499938&r1=1499937&r2=1499938&view=diff
==============================================================================
--- jmeter/trunk/xdocs/changes.xml (original)
+++ jmeter/trunk/xdocs/changes.xml Fri Jul  5 08:35:52 2013
@@ -161,6 +161,7 @@ Transaction Controller now sets Response
 <li><bugzilla>54870</bugzilla> - Tree D&amp;D may lost leaf nodes (affected nightly build)</li>
 <li><bugzilla>55056</bugzilla> - wasted work in Data.append()</li>
 <li><bugzilla>55129</bugzilla> -  Change Javadoc generation per CVE-2013-1571, VU#225657</li>
+<li><bugzilla>55187</bugzilla> - Integer overflow when computing ONE_YEAR_MS in HTTP CacheManager</li>
 </ul>
 
 <!-- =================== Improvements =================== -->