X-Git-Url: https://git.saurik.com/apple/libsecurity_codesigning.git/blobdiff_plain/6aae018b5d43c30038cfa4003e5d4bcc81f134cf..935e692843d9c528f9a4c5eee98e00961ca5f4a4:/lib/Code.cpp diff --git a/lib/Code.cpp b/lib/Code.cpp index 40a1edc..ab5072a 100644 --- a/lib/Code.cpp +++ b/lib/Code.cpp @@ -49,7 +49,9 @@ SecCode::SecCode(SecCode *host) // Clean up a SecCode object // SecCode::~SecCode() throw() -{ +try { +} catch (...) { + return; } @@ -180,7 +182,7 @@ void SecCode::checkValidity(SecCSFlags flags) { if (this->isRoot()) { // the root-of-trust is valid by definition - CODESIGN_EVAL_DYNAMIC_ROOT(); + CODESIGN_EVAL_DYNAMIC_ROOT(this); return; } DTRACK(CODESIGN_EVAL_DYNAMIC, this, (char*)this->staticCode()->mainExecutablePath().c_str());