Skip to content
Snippets Groups Projects

Fix memory leak

Merged 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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading