Skip to content

fix: Avoid memory unsafety when loading session from disk#270

Merged
Swatinem merged 3 commits intomasterfrom
fix/session-deser
Jun 2, 2020
Merged

fix: Avoid memory unsafety when loading session from disk#270
Swatinem merged 3 commits intomasterfrom
fix/session-deser

Conversation

@Swatinem
Copy link
Copy Markdown
Contributor

@Swatinem Swatinem commented Jun 2, 2020

The session now owns its release/environment, to avoid borrowing problems when loading from disk. And also add a test that ensures loading from disk and flagging as abnormal works.

@Swatinem Swatinem requested a review from jan-auer June 2, 2020 10:27
Copy link
Copy Markdown
Member

@jan-auer jan-auer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Should have caught this earlier :/

@Swatinem Swatinem merged commit b48c21d into master Jun 2, 2020
@Swatinem Swatinem deleted the fix/session-deser branch June 2, 2020 11:11
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.

2 participants