projects
/
asdcplib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bb09615
)
Add another VALGRIND_MAKE_MEM_DEFINED.
author
Carl Hetherington
<cth@carlh.net>
Thu, 28 Oct 2021 23:50:18 +0000
(
01:50
+0200)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 28 Oct 2021 23:50:18 +0000
(
01:50
+0200)
src/KM_prng.cpp
patch
|
blob
|
history
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);
}
s_RNG->set_key(rng_key);
}
+#if HAVE_VALGRIND_MEMCHECK_H
+ VALGRIND_MAKE_MEM_DEFINED(buf, len);
+#endif
+
return front_of_buffer;
}
return front_of_buffer;
}