3 ms·
They should start using valgrind! I've just launched few bin files and got a lot of stuff like: "Use of uninitialised value of size 8" "Conditional jump or mo
by milansuk 9y ago
They should start using valgrind! I've just launched few bin files and got a lot of stuff like:
"Use of uninitialised value of size 8"
"Conditional jump or move depends on uninitialised value(s)"
"Syscall param writev(vector[...]) points to uninitialised byte(s)"
Also It doesn't free some memory. Valgrind is not silver bullet, but it helps alot. Bitcoin Market capitalization is around $140 billions and these kind of bugs should not be there.
- pikchurn 9y agoBitcoin developers do use valgrind. I don't know about B2X, but the Bitcoin Core guys do.
- rothbardrand 9y agoThis isn't bitcoin you're looking at, this is an attack on bitcoin.
- ploxiln 9y agoThat kind of thing is common when you use openssl < 1.1.0 without building it with -DPURIFY because it uses some uninitialized memory with its PRNG and this then "infects" other memory reads/writes and branches for valgrind. https://github.com/openssl/openssl/commit/d8ca44ba4158a9dafeaa30d3cba6f113904d2aa6 https://github.com/openssl/openssl/commit/d8ca44ba4158a9dafe...