This is an archive of the discontinued LLVM Phabricator instance.

Relax an assert when there's a type mismatch in forward references
ClosedPublic

Authored by filcab on Apr 27 2015, 3:34 PM.

Details

Summary

We don't seem to need to assert here, since this function's callers expect
to get a nullptr on error. This way we don't assert on user input.

Bug found with AFL fuzz.

Diff Detail

Event Timeline

filcab updated this revision to Diff 24507.Apr 27 2015, 3:34 PM
filcab retitled this revision from to Relax an assert when there's a type mismatch in forward references.
filcab updated this object.
filcab edited the test plan for this revision. (Show Details)
filcab added a reviewer: rafael.
filcab added a subscriber: Unknown Object (MLST).
This revision was automatically updated to reflect the committed changes.