Skip to content

Fix use after free#8022

Merged
shinrich merged 1 commit intoapache:masterfrom
shinrich:fix-h1-server-use-after-free
Jul 12, 2021
Merged

Fix use after free#8022
shinrich merged 1 commit intoapache:masterfrom
shinrich:fix-h1-server-use-after-free

Conversation

@shinrich
Copy link
Member

Introduced by PR #7849

Ran into it while debugging another issue. The Http1ServerSession may be deleted by the time do_io_close() returns so we cannot safely access member variables.

@shinrich shinrich added ASan Address Sanitizer HTTP/1.1 labels Jun 30, 2021
@shinrich shinrich added this to the 10.0.0 milestone Jun 30, 2021
@shinrich shinrich self-assigned this Jun 30, 2021
@shinrich shinrich requested a review from zwoop as a code owner June 30, 2021 21:37
@shinrich shinrich merged commit f559a6b into apache:master Jul 12, 2021
@zwoop zwoop modified the milestones: 10.0.0, 9.2.0 Sep 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ASan Address Sanitizer HTTP/1.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants