Skip to content

Fix segfault in Ice and Monteverdi

Julien Osman requested to merge ice-segfault into develop

Summary

Add a default ImageMetadata in the ViewSettings so it doesn't generate a SegFault in case the ImageMetadata is not set.

Rationale

Monteverdi crashs when trying to load a product containing a Sensor Model. This MR fixes this issue

Implementation Details

Classes and files

Add a private ImageMetadata in ViewSettings used for initialization.

Copyright

The copyright owner is CNES and has signed the ORFEO ToolBox Contributor License Agreement.


Check before merging:

  • All discussions are resolved
  • At least 2 👍 votes from core developers, no 👎 vote.
  • The feature branch is (reasonably) up-to-date with the base branch
  • Dashboard is green
  • Copyright owner has signed the ORFEO ToolBox Contributor License Agreement
  • Optionally, run git diff develop... -U0 --no-color | clang-format-diff.py -p1 -i on latest changes and commit

Merge request reports