Skip to content
Snippets Groups Projects
Commit 374b92b5 authored by Christopher R. Johnson's avatar Christopher R. Johnson Committed by CQ bot account: commit-bot@chromium.org
Browse files

[fit] Fix null target defer bug.

Constructing fit::deferred_action() properly set pending to false, but
constructing fit::deferred_action(nullptr) created a new pointer to a
null target, setting pending to true.

This caused a crash on deferred actions in peridot, where we previously
initialized a null autocall.

TEST=fit-test

Change-Id: I63ee00704b1a3b635834b01c79aa02d0c0e25b89
parent a0d28fd4
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