Fix crash on importing an encrypted DCP.
authorCarl Hetherington <cth@carlh.net>
Sat, 17 Feb 2018 00:25:11 +0000 (00:25 +0000)
committerCarl Hetherington <cth@carlh.net>
Sat, 17 Feb 2018 00:27:15 +0000 (00:27 +0000)
src/lib/dcp_examiner.cc

index 9969245305211b901a4ec66db317af6d53143c51..80887a609eb01f9c593e5e1bfb4f4c7841a3cfe6 100644 (file)
@@ -200,6 +200,8 @@ DCPExaminer::DCPExaminer (shared_ptr<const DCPContent> content)
                }
        } catch (dcp::DCPReadError& e) {
                _kdm_valid = false;
+       } catch (dcp::MiscError& e) {
+               _kdm_valid = false;
        }
 
        DCPOMATIC_ASSERT (cpl->standard ());