From: Carl Hetherington Date: Sat, 17 Feb 2018 00:25:11 +0000 (+0000) Subject: Fix crash on importing an encrypted DCP. X-Git-Tag: v2.11.57~1 X-Git-Url: https://main.carlh.net/gitweb/?a=commitdiff_plain;h=2a434c744338ff23ca99e21a130afaf042300ada;p=dcpomatic.git Fix crash on importing an encrypted DCP. --- diff --git a/src/lib/dcp_examiner.cc b/src/lib/dcp_examiner.cc index 996924530..80887a609 100644 --- a/src/lib/dcp_examiner.cc +++ b/src/lib/dcp_examiner.cc @@ -200,6 +200,8 @@ DCPExaminer::DCPExaminer (shared_ptr content) } } catch (dcp::DCPReadError& e) { _kdm_valid = false; + } catch (dcp::MiscError& e) { + _kdm_valid = false; } DCPOMATIC_ASSERT (cpl->standard ());