Skip to content

Comments

fix collect heap-use-after-free#412

Merged
ChuanqiXu9 merged 2 commits intoalibaba:mainfrom
poor-circle:main
Jan 20, 2025
Merged

fix collect heap-use-after-free#412
ChuanqiXu9 merged 2 commits intoalibaba:mainfrom
poor-circle:main

Conversation

@poor-circle
Copy link
Collaborator

Why

The prev pull requests #402 may cause heap-use-after-free due to some error operation in collectAny

What is changing

Fix bug by move variable into await_suspend() function's stack local variable

Example

Copy link
Collaborator

@ChuanqiXu9 ChuanqiXu9 left a comment

Choose a reason for hiding this comment

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

Please fix test failures

@poor-circle
Copy link
Collaborator Author

@ChuanqiXu9 all CI passed

@ChuanqiXu9 ChuanqiXu9 merged commit abaffa9 into alibaba:main Jan 20, 2025
14 checks passed
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