MantisBT - VTK
View Issue Details
0010534VTK(No Category)public2010-04-11 05:462011-12-09 09:13
Pavel Pokutnev 
David Partyka 
normalcrashalways
closedfixed 
 
5.6.0 
0010534: BUG: Missing cast operator in vtkImageAccumulate
There is a missing cast operator in vtkImageAccumulate.cxx line 222.

The line:
    sumSqr[idxC] += (*subPtr * *subPtr);
should be:
    sumSqr[idxC] += (static_cast<double>(*subPtr) * (*subPtr));
This bug cause memory overflow during processing of big volumes (> 8GB).
No tags attached.
cxx vtkImageAccumulate.cxx (15,881) 2010-04-11 05:46
https://www.vtk.org/Bug/file/8019/vtkImageAccumulate.cxx
Issue History
2010-04-11 05:46Pavel PokutnevNew Issue
2010-04-11 05:46Pavel PokutnevFile Added: vtkImageAccumulate.cxx
2010-04-12 08:45David PartykaStatusbacklog => tabled
2010-04-12 08:45David PartykaAssigned To => David Partyka
2010-04-12 09:12David PartykaNote Added: 0020133
2010-04-12 09:12David PartykaNote Deleted: 0020133
2010-04-12 09:12David PartykaNote Added: 0020134
2010-04-12 09:12David PartykaStatustabled => @80@
2010-04-12 09:12David PartykaResolutionopen => fixed
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2011-12-09 09:13Pavel PokutnevStatuscustomer review => closed
2011-12-09 09:13Pavel PokutnevFixed in Version => 5.6.0

Notes
(0020134)
David Partyka   
2010-04-12 09:12   
Committed to HEAD

/cvsroot/VTK/VTK/Imaging/vtkImageAccumulate.cxx,v <-- Imaging/vtkImageAccumulate.cxx
new revision: 1.74; previous revision: 1.73

VTK-5-6

Committer: Dave Partyka <dave.partyka@kitware.com>
/cvsroot/VTK/VTK/Imaging/vtkImageAccumulate.cxx,v <-- Imaging/vtkImageAccumulate.cxx
new revision: 1.73.16.1; previous revision: 1.73

ParaView-3-8

/cvsroot/ParaView3/ParaView3/VTK/Imaging/vtkImageAccumulate.cxx,v <-- VTK/Imaging/vtkImageAccumulate.cxx
new revision: 1.73.14.1; previous revision: 1.73