Skip to content

Conversation

@yingcong-wu
Copy link
Contributor

@yingcong-wu yingcong-wu commented Aug 29, 2024

AllocInfo is a shared_ptr, and we need to keep a copy of it to avoid possible early release of objects that cause heap use-aftre-free problem.

SYCLOS PR: intel/llvm#15222

@yingcong-wu yingcong-wu requested a review from a team as a code owner August 29, 2024 07:01
@github-actions github-actions bot added loader Loader related feature/bug sanitizer Sanitizer layer issues/changes/specification labels Aug 29, 2024
@yingcong-wu
Copy link
Contributor Author

Same fix included in #1869, closing this PR.

@yingcong-wu yingcong-wu closed this Sep 2, 2024
@yingcong-wu yingcong-wu deleted the yc/0827-asan-found_use-after-free branch October 25, 2024 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

loader Loader related feature/bug sanitizer Sanitizer layer issues/changes/specification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants