Skip to content

DICOMParser: Fix crashes in DICOMAppHelper methods

David Cole requested to merge dlrdave/vtk:fix-DICOMAppHelper-crashes into master

Extend the pattern already seen in the PatientNameCallback and StudyIDCallback methods to the StudyUIDCallback and GantryAngleCallback methods of DICOMAppHelper. Avoid calling string char* constructor and ReturnAsFloat method when val == nullptr. Use an empty string or a float value of 0 instead.

Merge request reports