initialize values (padding etc) help asan/msan tests
This commit is contained in:
@@ -172,6 +172,9 @@ SIMD_FORCE_INLINE const char* btConvexInternalShape::serialize(void* dataBuffer,
|
||||
m_localScaling.serializeFloat(shapeData->m_localScaling);
|
||||
shapeData->m_collisionMargin = float(m_collisionMargin);
|
||||
|
||||
// Fill padding with zeros to appease msan.
|
||||
shapeData->m_padding = 0;
|
||||
|
||||
return "btConvexInternalShapeData";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user