Show
Ignore:
Timestamp:
05/21/15 16:11:54 (2 days ago)
Author:
robert
Message:

Fixed memory error associated with reading over the end of container due to an unbounded while loop.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/branches/OpenSceneGraph-3.2/src/osgPlugins/3ds/WriterCompareTriangle.h

    r13041 r14038  
    2222private: 
    2323    void // This function prevent from cut scene in too many blocs 
    24         setMaxMin(unsigned int & nbVerticesX, 
    25                   unsigned int & nbVerticesY, 
    26                   unsigned int & nbVerticesZ) const; 
     24        setMaxMin(int & nbVerticesX, 
     25                  int & nbVerticesY, 
     26                  int & nbVerticesZ) const; 
    2727 
    2828    /**