Skip to content
Snippets Groups Projects
Commit 9cd4b9c9 authored by David Cole's avatar David Cole
Browse files

DICOMParser: Fix crashes in DICOMAppHelper methods

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.

(cherry picked from commit d29f2b50)
parent 65309fe5
Branches
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment