Teechain icon indicating copy to clipboard operation
Teechain copied to clipboard

Compiler optimizations in HW mode exposes a memory bug

Open JoshLind opened this issue 6 years ago • 0 comments

If you compile in HW mode using "SGX_PRERELEASE=1", this applies compiler optimizations "-O2" which exposes a memory bug when releasing unused deposits through backup nodes. This will probably be the result of a silly buffer overflow error/type cast somewhere.

I'll look into this when I have more time!

JoshLind avatar Aug 20 '19 19:08 JoshLind