This is an archive of the discontinued LLVM Phabricator instance.

Fix heap-use-after-free coff::createPDB
ClosedPublic

Authored by vitalybuka on Nov 14 2016, 12:31 PM.

Details

Summary

getInputSections returns std::vector by value and ArrayRef
pointed to destroyed temporarily.

Diff Detail

Repository
rL LLVM

Event Timeline

vitalybuka retitled this revision from to Fix heap-use-after-free coff::createPDB.
vitalybuka updated this object.
vitalybuka added a reviewer: ruiu.
vitalybuka added a subscriber: llvm-commits.
This revision was automatically updated to reflect the committed changes.
ruiu edited edge metadata.Nov 14 2016, 12:54 PM

LGTM. Thanks! That may explain the flakiness of the buildbot.