Closed clalancette closed 5 years ago
It seems that Fast-CDR doesn't always touch all of the bytes it uses for serializing, which means that we can sometimes touch uninitialized data (as pointed out by valgrind). Make sure to zero out all of the serialized data when we allocate it.
Signed-off-by: Chris Lalancette clalancette@openrobotics.org
It seems that Fast-CDR doesn't always touch all of the bytes it uses for serializing, which means that we can sometimes touch uninitialized data (as pointed out by valgrind). Make sure to zero out all of the serialized data when we allocate it.
Signed-off-by: Chris Lalancette clalancette@openrobotics.org