SuccessChanges

Summary

  1. Fix null dereference in yaml::Document::skip (details)
Commit ac385ca63fe8bc283d7f5be213319cc3b930b4cc by hintonda
Fix null dereference in yaml::Document::skip
Summary: The attached test case replicates a null dereference crash in
`yaml::Document::skip()`. This was fixed by adding a check and early
return in the method.
Reviewers: Bigcheese, hintonda, beanz
Reviewed By: hintonda
Subscribers: hiraditya, dexonsmith, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69974
The file was modifiedllvm/unittests/Support/YAMLParserTest.cpp
The file was modifiedllvm/lib/Support/YAMLParser.cpp