[all-commits] [llvm/llvm-project] 66e907: [LTO] Fix a use-after-free in legacy LTO C APIs (#...
Steven Wu via All-commits
all-commits at lists.llvm.org
Mon Sep 9 14:12:34 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 66e9078f827383f77c1c239f6c09f2b07a963649
https://github.com/llvm/llvm-project/commit/66e9078f827383f77c1c239f6c09f2b07a963649
Author: Steven Wu <stevenwu at apple.com>
Date: 2024-09-09 (Mon, 09 Sep 2024)
Changed paths:
M llvm/tools/lto/lto.cpp
Log Message:
-----------
[LTO] Fix a use-after-free in legacy LTO C APIs (#107896)
Fix a bug that `lto_runtime_lib_symbols_list` is returning the address
of a local variable that will be freed when getting out of scope. This
is a regression from #98512 that rewrites the runtime libcall function
lists into a SmallVector.
rdar://135559037
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list