View Issue Details

IDProjectCategoryView StatusLast Update
0004485Slicer4Core: Base Codepublic2018-05-27 23:41
ReporterinortonAssigned Tojcfr 
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in VersionSlicer 4.9.0 
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.




2018-05-27 23:41

developer   ~0015751

The current trunk version does not have this issue anymore.

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
2018-05-27 23:41 lassoan Status assigned => resolved
2018-05-27 23:41 lassoan Resolution open => fixed
2018-05-27 23:41 lassoan Fixed in Version => Slicer 4.9.0
2018-05-27 23:41 lassoan Note Added: 0015751