blockparser icon indicating copy to clipboard operation
blockparser copied to clipboard

Fix buffer overrun in `solveOutputScript`

Open jahrsg opened this issue 6 years ago • 1 comments

pubKeyBuffer was initialized with 256 zeros, but buffers with length 160 are sent to this function.

jahrsg avatar Apr 15 '18 20:04 jahrsg

Hi jahrsg. With your changes does this make it to the end of the blockchain? I assume I just remove parser.cpp and util.cpp and replace with with yours and compile?

Anyway, that what I did as the original only made it to ~74% and crashed. Running with your changes now.

linux-mining avatar Jun 05 '18 01:06 linux-mining