Skip to content

Conversation

@shinrich
Copy link
Member

@bneradt found this use-after free when running prod sim.

The problem was introduced with #6469

The do_io_close may close the session object.

@shinrich shinrich added the ASan Address Sanitizer label Apr 24, 2020
@shinrich shinrich added this to the 10.0.0 milestone Apr 24, 2020
@shinrich shinrich self-assigned this Apr 24, 2020
@randall
Copy link
Contributor

randall commented Apr 24, 2020

[approve ci autest]

@shinrich
Copy link
Member Author

I'm reconsidering the original fix to #6469. Will do some more experiments locally.

@shinrich
Copy link
Member Author

Seems likely that this is the same as PR #6574

Copy link
Collaborator

@a-canary a-canary left a comment

Choose a reason for hiding this comment

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

why wouldn't the session's do_io_close also close the vc? ... and do it in the correct order.

@shinrich
Copy link
Member Author

shinrich commented May 1, 2020

There are better ways to do this. Will put up new PR soon.

@shinrich shinrich closed this May 1, 2020
@zwoop zwoop removed this from the 10.0.0 milestone May 5, 2020
@zwoop
Copy link
Contributor

zwoop commented May 5, 2020

Please remember to remove Milestone and Projects from PRs that are closed without merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ASan Address Sanitizer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants