This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by pcc on Mar 16 2017, 6:49 PM.

Details

Summary

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

Diff Detail

Repository
rL LLVM

Event Timeline

pcc created this revision.Mar 16 2017, 6:49 PM
ruiu accepted this revision.Mar 16 2017, 7:00 PM

LGTM

This revision is now accepted and ready to land.Mar 16 2017, 7:00 PM
This revision was automatically updated to reflect the committed changes.