Commit 392555e8 authored by David Gobbi's avatar David Gobbi Committed by Kitware Robot
Browse files

Merge topic 'dicom-location-crash'


 Fix a vtkDICOMImageReader crash for empty SliceLocation.
Acked-by: Kitware Robot's avatarKitware Robot <>
Reviewed-by: Cory Quammen's avatarCory Quammen <>
Merge-request: !1253
parents 2a3c6f07 1e849019
......@@ -551,7 +551,7 @@ void DICOMAppHelper::SliceLocationCallback(DICOMParser *parser,
this->Implementation->SliceOrderingMap.insert(dicom_stl::pair<const dicom_stl::string,
DICOMOrderingElements>(parser->GetFileName(), ord));
else if (val)
// file found, add new values
(*it).second.SliceLocation =
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment