[vtk-developers] Fwd: New Defects reported by Coverity Scan for VTK
David Lonie
david.lonie at kitware.com
Mon May 16 11:29:02 EDT 2016
On Mon, May 16, 2016 at 11:23 AM, David Lonie <david.lonie at kitware.com>
wrote:
> On Mon, May 16, 2016 at 10:10 AM, Ken Martin <ken.martin at kitware.com>
> wrote:
>
>> 894 in1 = src1DA->GetComponent(srcTuple1, c);
>> >>> CID 1355146: Null pointer dereferences (NULL_RETURNS)
>> >>> Dereferencing a pointer that might be null "src2DA" when calling
>> "GetComponent". (The dereference happens because this is a virtual function
>> call.)
>>
>
> This actually has a NULL check, but there's a missing return statement.
> I'll fix this up.
>
https://gitlab.kitware.com/vtk/vtk/merge_requests/1496
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20160516/608e9c87/attachment.html>
More information about the vtk-developers
mailing list