SmallVector's elements are moved when resizing and cause use-after-free.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 20629 Build 20629: arc lint + arc unit
Paths
| Differential D49702
[DWARF] Use forward_list in place of SmallVector to fix use-after-free issue ClosedPublic Authored by MaskRay on Jul 23 2018, 3:36 PM.
Details Summary SmallVector's elements are moved when resizing and cause use-after-free.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 23 2018, 4:25 PM Closed by commit rL337772: [DWARF] Use deque in place of SmallVector to fix use-after-free issue (authored by MaskRay). · Explain WhyJul 23 2018, 4:28 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 156921 lib/DebugInfo/DWARF/DWARFContext.cpp
|
Remove this/replace with <deque>?