Skip to content

[#17]:svarga:fix, heatmap title empty-position UB crashing plot_grid CI#18

Merged
steven-varga merged 1 commit into
stagingfrom
17-fix-title-pos
Jun 18, 2026
Merged

[#17]:svarga:fix, heatmap title empty-position UB crashing plot_grid CI#18
steven-varga merged 1 commit into
stagingfrom
17-fix-title-pos

Conversation

@steven-varga

Copy link
Copy Markdown
Contributor

Closes #17. Valgrind: title::ostream dereferenced an empty optional<position_t> (title without explicit position, e.g. in a grid) → uninitialized variant → std::bad_variant_access aborting plot_grid on gcc-13/clang. Fix: title::ostream uses position.value_or(default); heatmap_render gives the title a sensible default position when missing. Valgrind-clean + ctest 5/5. Base: staging.

…itle position — fixes plot_grid on gcc-13/clang
@steven-varga steven-varga merged commit 6d6d6ac into staging Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant