View Issue Details

IDProjectCategoryView StatusLast Update
0004485Slicer4Core: Base Codepublic2017-12-06 12:00
ReporterinortonAssigned Tojcfr 
PrioritynormalSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0004485: Unsafe call in vtkMRMLModelDisplayNode::GetOutputMesh

These lines of vtkMRMLModelDisplayNode::GetOutputMesh are potentially unsafe:

 vtkAlgorithm* producer =  outputConnection? outputConnection->GetProducer() : 0;

If outputConnection->GetProducer is considered an invariant then we should probably just assert(producer) rather than using the ternary.

(I don't have a crash reproducer, simply noticed this while working through something else)

TagsNo tags attached.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2017-12-06 12:00 inorton New Issue
2017-12-06 12:00 inorton Status new => assigned
2017-12-06 12:00 inorton Assigned To => jcfr