cryptobiu / libscapi

Comprehensive Open Source Library for Secure Multiparty Computation
MIT License
180 stars 66 forks source link

Fix #17: Double-free issues in generateSendableData() methods #18

Closed schoppmp closed 7 years ago

schoppmp commented 7 years ago

This fixes #17 by using an empyt Deleter argument in the shared_ptr constructor, if the object pointed to wasn't newly allocated.

schoppmp commented 7 years ago

This PR seems to have been broken by a bad push to the master branch. The correct comparison can be found here. As of this comment, #17 is still not fixed.