canonical / multipass

Multipass orchestrates virtual Ubuntu instances
https://multipass.run
GNU General Public License v3.0
7.63k stars 635 forks source link

Fix segfault in `aliases` command #3384

Closed luis4a0 closed 7 months ago

luis4a0 commented 7 months ago

When the alias dictionary contained an empty context, the table formatter segfaulted.

Fixes https://github.com/canonical/multipass/issues/3383.

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (5172bd3) 84.18% compared to head (a1b6a44) 84.18%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #3384 +/- ## ========================================== - Coverage 84.18% 84.18% -0.01% ========================================== Files 251 251 Lines 13816 13820 +4 ========================================== + Hits 11631 11634 +3 - Misses 2185 2186 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

townsend2010 commented 7 months ago

Hey @andrei-toterman! Could you please review this soon? Thanks!