projects
/
asdcplib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add another VALGRIND_MAKE_MEM_DEFINED.
[asdcplib.git]
/
src
/
KM_prng.cpp
diff --git
a/src/KM_prng.cpp
b/src/KM_prng.cpp
index a650eb84222692a4b78807650655780cab9de52f..94de208a924a053762426e0c09ac141a0adaf82e 100755
(executable)
--- a/
src/KM_prng.cpp
+++ b/
src/KM_prng.cpp
@@
-214,6
+214,10
@@
Kumu::FortunaRNG::FillRandom(byte_t* buf, ui32_t len)
s_RNG->set_key(rng_key);
}
+#if HAVE_VALGRIND_MEMCHECK_H
+ VALGRIND_MAKE_MEM_DEFINED(buf, len);
+#endif
+
return front_of_buffer;
}