Skip to content

Fix memory leak

Tobias Bockh requested to merge tboeckh/calypso:fix-memory-leak into master

The FillFromStringUtility writes values from a string separated by spaces to a container, without checking the size of the container. This creates an issue in the FaserSCT_ReadCalibChipNoiseCondAlg where the occupancyByChip data with 13 values is written to the FaserSCT_NoiseCalibData container which has only a length of 12. This raises an assertion in debug mode Assertion `(i < N)&&("out of range")' failed. and a memory leak in release mode.

Merge request reports