Skip to content
Commit a6ffbdd9 authored by Peter Collingbourne's avatar Peter Collingbourne
Browse files

COFF: Fix use-after-free in /msvclto implementation.

The Archive object owns the memory buffers of any thin archive members, so we
need to make sure the object is still in scope when we access archive members.

Differential Revision: https://reviews.llvm.org/D31066

llvm-svn: 298033
parent 7acabdc4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment