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.13.0~62 X-Git-Url: https://git.carlh.net/gitweb/?a=commitdiff_plain;ds=sidebyside;h=840a313db32056549f3730af4b0089755bb5b753;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 ());