trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jplev...@apache.org
Subject svn commit: r905431 - /incubator/trafficserver/traffic/branches/dev/iocore/cache/CacheDir.cc
Date Mon, 01 Feb 2010 22:29:13 GMT
Author: jplevyak
Date: Mon Feb  1 22:29:13 2010
New Revision: 905431

URL: http://svn.apache.org/viewvc?rev=905431&view=rev
Log:
TS-74: minor fix for uninitialized memory in Cache_dir test

Modified:
    incubator/trafficserver/traffic/branches/dev/iocore/cache/CacheDir.cc

Modified: incubator/trafficserver/traffic/branches/dev/iocore/cache/CacheDir.cc
URL: http://svn.apache.org/viewvc/incubator/trafficserver/traffic/branches/dev/iocore/cache/CacheDir.cc?rev=905431&r1=905430&r2=905431&view=diff
==============================================================================
--- incubator/trafficserver/traffic/branches/dev/iocore/cache/CacheDir.cc (original)
+++ incubator/trafficserver/traffic/branches/dev/iocore/cache/CacheDir.cc Mon Feb  1 22:29:13
2010
@@ -1411,6 +1411,7 @@
 
 
   Dir dir1;
+  memset(&dir1, 0, sizeof(dir1));
   int s1, b1;
 
   rprintf(t, "corrupt_bucket test\n");



Mime
View raw message