Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void CcdPhysicsController::RelativeRotate(
- const float rotval[9], bool local)
- {
- ...
- btMatrix3x3 drotmat(
- rotval[0],rotval[4],rotval[8],
- rotval[1],rotval[5],rotval[9],
- rotval[2],rotval[6],rotval[10]);
- ...
- }
- This suspicious code was found in blender project by PVS-Studio static code analyzer.
- Warning message is:
- V557 Array overrun is possible. The '9' index is pointing beyond array bound. ge_phys_bullet ccdphysicscontroller.cpp 867
- PVS-Studio is a static analyzer for detecting bugs in the source code of applications written in C, C++, C++11, C++/CX. Site: http://www.viva64.com/en/pvs-studio/
Advertisement
Add Comment
Please, Sign In to add comment