[vtk-developers] BUG: Missing cast operator in vtkImageAccumulate
dave.partyka at kitware.com
Mon Apr 12 17:02:41 EDT 2010
FYI this is fixed on HEAD and on the Branches.
On Mon, Apr 12, 2010 at 8:30 AM, Dave Partyka <dave.partyka at kitware.com>wrote:
> This looks reasonable I'll try and sneak it in.
> On Sun, Apr 11, 2010 at 2:52 PM, Pavel Pokutnev <
> pavel.pokutnev at googlemail.com> wrote:
>> Hello vtk-developers,
>> FYI: I just submitted a bug, that causes a crash due to buffer overflow.
>> 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));
>> Bug Tracker link:
>> I hope the fix can be made until VTK 5.6 release.
>> Best regards!
>> Powered by www.kitware.com
>> Visit other Kitware open-source projects at
>> Follow this link to subscribe/unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtk-developers