View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015150ParaView(No Category)public2014-11-25 09:372015-01-02 10:43
ReporterDan Lipsa 
Assigned ToDan Lipsa 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version4.2 
Target VersionFixed in Version4.3 
Summary0015150: vtkKdTree::GenerateRepresentationWholeSpace does 1 << -1
DescriptionFrom: Sean McBride
Date: Fri, Nov 21, 2014 at 11:46 AM
Subject: [vtk-developers] Need help with a few clang analyzer warnings
To: vtk-developers@vtk.org

Occasionally, I try to fix some of the hundreds of clang static
analyzer warnings in VTK. Some are easy, some are false positives,
and some are real problems that I don't know how to fix.

file: Common/DataModel/vtkKdTree.cxx
line: 3188
method: vtkKdTree::GenerateRepresentationWholeSpace
problem: the first time through the 'for' loop always does "1 << -1".
You can't left shift by a negative count.


TagsNo tags attached.
ProjectTBD
Topic Namekdtree-repr
Typeincorrect functionality
Attached Files

 Relationships

  Notes
(0033846)
Dan Lipsa (developer)
2014-11-25 15:07
edited on: 2014-11-25 16:39

commit 6dee6fdea08f624ced3cbcbc2853859dd4309fa1
Author: Dan Lipsa <dan.lipsa@kitware.com>
Date: Tue Nov 25 15:03:32 2014 -0500

    Fix KdTree::GenerateRepresentation and add test.
    
    Change-Id: I15c9ecb05fc32bca7b4fd14bd0d88e76cf904929

(0033886)
Utkarsh Ayachit (administrator)
2014-12-03 10:40

SUMMARY
---------------------------------------------
Topics merged into master (v4.2.0-200-gdd596c6):
        15165_rename_ADIOSReader
        python-view-15122
        streaming-multiblock-genericio-reader
        update-qttesting
(VTK) update-vtk-20141202
(0033930)
Alan Scott (manager)
2014-12-10 16:00

Developer tag in git. Closing.

 Issue History
Date Modified Username Field Change
2014-11-25 09:37 Dan Lipsa New Issue
2014-11-25 09:37 Dan Lipsa Assigned To => Dan Lipsa
2014-11-25 09:37 Dan Lipsa Status backlog => active development
2014-11-25 12:49 Dan Lipsa Description Updated
2014-11-25 15:07 Dan Lipsa Note Added: 0033846
2014-11-25 15:08 Dan Lipsa Note Edited: 0033846
2014-11-25 15:08 Dan Lipsa Topic Name => kdtree-repr
2014-11-25 16:39 Dan Lipsa Note Edited: 0033846
2014-12-02 15:40 Dan Lipsa Status active development => gatekeeper review
2014-12-03 10:39 Utkarsh Ayachit Fixed in Version => git-master
2014-12-03 10:40 Utkarsh Ayachit Status gatekeeper review => customer review
2014-12-03 10:40 Utkarsh Ayachit Note Added: 0033886
2014-12-10 16:00 Alan Scott Note Added: 0033930
2014-12-10 16:00 Alan Scott Status customer review => closed
2014-12-10 16:00 Alan Scott Resolution open => fixed
2015-01-02 10:43 Utkarsh Ayachit Fixed in Version git-master => 4.3


Copyright © 2000 - 2018 MantisBT Team