Permalink
Browse files

Added valgrind suppressions file.

  • Loading branch information...
Fraser999 committed Aug 19, 2011
1 parent 5f4610a commit 1828cdbf0a1bb8a13d934ba24360f210cb2d37da
Showing with 19 additions and 0 deletions.
  1. +17 −0 MemCheck.supp
  2. +2 −0 src/maidsafe/dht/kademlia/tests/test_main.cc
View
@@ -0,0 +1,17 @@
+{
+ Use of uninitialised value of size 4: CryptoPP::Rijndael_Enc_AdvancedProcessBlocks(void*, unsigned int const*)
+ Memcheck:Value4
+ fun:_ZN8CryptoPP34Rijndael_Enc_AdvancedProcessBlocksEPvPKj
+}
+{
+ Conditional jump or move depends on uninitialised value(s): CryptoPP::X917RNG::GenerateIntoBufferedTransformation(CryptoPP::BufferedTransformation, std::string const, unsigned long long)
+ Memcheck:Cond
+ fun:_ZN8CryptoPP7X917RNG34GenerateIntoBufferedTransformationERNS_22BufferedTransformationERKSsy
+ fun:_ZN8CryptoPP21RandomNumberGenerator13GenerateBlockEPhj
+ fun:_ZN8CryptoPP7X917RNGC1EPNS_19BlockTransformationEPKhS4_
+ fun:_ZN8CryptoPP17AutoSeededX917RNGINS_8RijndaelEE6ReseedEPKhjS4_S4_
+ fun:_ZN8CryptoPP17AutoSeededX917RNGINS_8RijndaelEE6ReseedEbPKhj
+ fun:_ZN8CryptoPP17AutoSeededX917RNGINS_8RijndaelEEC1Ebb
+ fun:_Z41__static_initialization_and_destruction_0ii
+ fun:_GLOBAL__I_crypto.cc
+}
@@ -29,6 +29,7 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# pragma warning(push, 1)
#endif
#include "boost/filesystem.hpp"
+#include "google/protobuf/stubs/common.h"
#ifdef __MSVC__
# pragma warning(pop)
#endif
@@ -87,5 +88,6 @@ int main(int argc, char **argv) {
#endif
int result(RUN_ALL_TESTS());
int test_count = testing::UnitTest::GetInstance()->test_to_run_count();
+ google::protobuf::ShutdownProtobufLibrary();
return (test_count == 0) ? -1 : result;
}

0 comments on commit 1828cdb

Please sign in to comment.