commit | 11a934d427502f917dbbf47b088d9abde186c0a7 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Fri Jun 16 11:03:51 2017 -0700 |
committer | Colin Cross <ccross@android.com> | Fri Jun 16 12:51:26 2017 -0700 |
tree | 5545135e808072f7f6a453264fb3c4d74c6fb210 | |
parent | 00f69c17951fee353068c3905b4dd4d08322fdd3 [diff] |
Fix segfault on edge with no inputs PR #1281 added a deference of most_recent_input without checking for NULL, which can occur if a build rule has no inputs. Check it for null before dereferencing, and add a test. Fixes #1290.