From 61485188cbcc523e8e1365756941eb7a45ab270d Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 25 Oct 2011 11:48:15 +0000 Subject: [PATCH] 0021403: EDF 1972 VISU: Crash when dumping study --- src/VISU_I/VISU_DumpPython.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/VISU_I/VISU_DumpPython.cc b/src/VISU_I/VISU_DumpPython.cc index 161a9cd0..e0a7b42e 100644 --- a/src/VISU_I/VISU_DumpPython.cc +++ b/src/VISU_I/VISU_DumpPython.cc @@ -1980,6 +1980,9 @@ namespace VISU continue; Result_i* aResult = aDevice->GetCResult(); + if (!aResult) + continue; + std::string aResultEntry = aResult->GetEntry(); std::string aResultName = theEntry2NameMap[aResultEntry]; -- 2.39.2