Changeset 76a395a


Ignore:
Timestamp:
Oct 24, 2017, 5:00:29 PM (4 years ago)
Author:
Aaron Moss <a3moss@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, resolv-new, with_gc
Children:
fae6f21
Parents:
d551d0a
Message:

Fix use-after-free in resolver refactor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ResolvExpr/AlternativeFinder.cc

    rd551d0a r76a395a  
    594594                        for (unsigned i = 0; i < tupleEls.back(); ++i) {
    595595                                exprs.push_front( actuals.back().expr );
     596                                actuals.back().expr = nullptr;
    596597                                cost += actuals.back().cost;
    597598                                actuals.pop_back();
Note: See TracChangeset for help on using the changeset viewer.