koinos / koinos-exception-cpp

An exception library used by Koinos C++ applications.
MIT License
0 stars 0 forks source link

Segfault without macro #1

Closed sgerbino closed 3 years ago

sgerbino commented 3 years ago

If you create a koinos::exception without the provided macros these lines can lead to a segmentation fault. We should probably check our pointers before dereferencing.

https://github.com/koinos/koinos-exception-cpp/blob/940a44c7b60b651408281556bad436395721e60c/libraries/exception/exception.cpp#L113-L123