Hacker News new | past | comments | ask | show | jobs | submit login

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.




Bitcoin developers do use valgrind. I don't know about B2X, but the Bitcoin Core guys do.


That 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/d8ca44ba4158a9dafe...


This isn't bitcoin you're looking at, this is an attack on bitcoin.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: